Skip to content

Releases: single-spa/single-spa-layout

v1.0.0-beta.12

01 Oct 22:35
Compare
Choose a tag to compare

Breaking changes

All breaking changes are for the single-spa-layout-server.js file. The build used in the browser (single-spa-layout.min.js) is unaffected.

  • renderServerResponseBody and setResponseHeaders have been removed. (#75)

Features

  • Add sendLayoutHTTPResponse API to the server build (#75)

Maintenance

v1.0.0-beta.11

21 Sep 16:35
Compare
Choose a tag to compare

Features

  • renderApplication and renderFragment may now return Promises that resolve with strings or Readable streams. #72

Fixess

  • renderServerResponseBody no longer hangs when renderFragment or renderApplication throw errors. #72

v1.0.0-beta.10

18 Sep 19:36
Compare
Choose a tag to compare

Fixes

  • Fixing issue with types. (#71)

v1.0.0-beta.9

17 Sep 22:51
Compare
Choose a tag to compare

Features

  • Implement Error UIs for applications. Resolves #49. (#70) Docs
  • Implement defining dom elements in JSON. Resolves #40. (#69) Docs
  • Automatically adding container div around server rendered applications. (#67 )

Fixes

  • Fix double-rendering of applications in renderServerResponseBody (#68)

v1.0.0-beta.8

17 Sep 22:47
Compare
Choose a tag to compare

This was published in error. Use 1.0.0-beta.9 instead.

v1.0.0-beta.7

11 Sep 22:59
Compare
Choose a tag to compare

Features

  • Implementing concurrent server rendering of fragments and applications. (#59)
  • Add setResponseHeaders API for SSR. (#62)
  • Allow for renderFragment and renderApplication to return a string. (#63)

Fixes

  • fix: Retrieve containerEl attribute value from HTML tag when provided. (#54 via @NightkingCH)
  • Fix bug with trailing slashes. Resolves #64. (#65)

Maintenance

  • Bump serialize-javascript from 3.0.0 to 3.1.0 (#57)
  • Restructuring for server rendering. (#58)

v1.0.0-beta.6

24 Jul 16:57
Compare
Choose a tag to compare

Features

  • The WithLoadFunction type is now exported from the main single-spa-layout entry point. (#55 #56)

v1.0.0-beta.5

01 Jul 15:27
Compare
Choose a tag to compare

Fixes

v1.0.0-beta.4

17 Jun 15:18
Compare
Choose a tag to compare

Fixes

  • Fixing issues with loaders (#50)

v1.0.0-beta.3

15 Jun 20:58
Compare
Choose a tag to compare

Breaking changes

  • The API for defining props in HTML was changed, to allow for case sensitive prop names (#44)

Previously:

<application propName propName2></application>

Now:

<application props="propName,propName2"></application>

Fixes

  • Fixed bug with HTML loaders. (#47)