Skip to content

Releases: single-spa/single-spa-react

v4.5.0

01 Nov 21:54
Compare
Choose a tag to compare

Maintenance

  • Use browserslist-config-single-spa and dom-element-getter-helpers. This should not be a breaking change but we're unsure if we missed something that could cause breakage, so we are first publishing this as a beta. npm install --save single-spa-react@beta (#127)
  • Skip unnecessary CI/CD builds (#128)

v4.5.0-beta.0

30 Sep 04:30
Compare
Choose a tag to compare

Maintenance

  • Use browserslist-config-single-spa and dom-element-getter-helpers. This should not be a breaking change but we're unsure if we missed something that could cause breakage, so we are first publishing this as a beta. npm install --save single-spa-react@beta (#127)
  • Skip unnecessary CI/CD builds (#128)

v4.4.0

09 Sep 19:13
Compare
Choose a tag to compare

Features

  • When using <Parcel> component, the domElement prop is now passed to parcels that are being updated. This is helpful for them to ensure that the parcel updates the correct dom element rather than creating a new dom element. (#126)

Fixes

  • Fix issue where parcels created by single-spa-react weren't properly updated if they used ReactDOM.render() rather than ReactDOM.createRoot().render(). This fixes things for React < 18 (#126)

v4.3.1

27 Jul 23:41
Compare
Choose a tag to compare

Fixes

v4.3.0

21 Jul 20:40
Compare
Choose a tag to compare

Features

  • Support for passing errorBoundary and errorBoundaryClass as single-spa props (in addition to being able to do so via singleSpaReact(opts) opts object). (#120 - Documentation)

v4.2.1

15 Jul 00:44
Compare
Choose a tag to compare

Fixes

  • Fix update lifecycle. Resolves #117. #118

v4.2.0

17 Jun 20:30
Compare
Choose a tag to compare

Features

  • Support for React 18. This was a somewhat significant refactor, with no intended changes to functionality. If you find any differences when upgrading to [email protected], please file a github issue. (#114, #112)

v4.1.2

14 May 18:39
Compare
Choose a tag to compare

Fixes

  • Avoid bundling single-spa-react into Parcel component. See #105. (#111)

v4.1.1

06 Mar 21:15
Compare
Choose a tag to compare

Fixes

  • Fixed using mountParcel from React context when rendering <Parcel> inside of a single-spa application (#106 #105)

v4.1.0

15 Feb 17:44
Compare
Choose a tag to compare

Features

  • Type definitions for SingleSpaContext are now exposed. (#104 via @ngfk)