Single Spa Versions Save

The router for easy microfrontends

v5.9.1

3 years ago

Fixes

  • (typescript declarations) Add generics to CustomPropsFn, ParcelConfig, and Parcel (#717)
  • (typescript declarations) Remove isStarted from typescript definition, since it's not part of the public API (#717 #715)

v5.9.0

3 years ago

Features

Maintenance

  • Bump ini from 1.3.5 to 1.3.7 (#681)
  • Update slack join link (4988f36ad0fdc55860803973ca95dcbef9f9dbc9)

v5.8.3

3 years ago

Fixes

  • Add type for custom event detail (#680 via @andygauntnervertex) 43d2ffd
  • fix: error message (#678 via @CodeLittlePrince) bd31d08

Maintenance

  • Update slack invitation link 7b787a5

https://github.com/single-spa/single-spa/compare/v5.8.2...v5.8.3

v5.8.2

3 years ago

Fixes

  • Only fire artificial popstate events after start() is called. Resolves #655 (#657)
  • Wait for mount to finish before attempting to unmount parcels. Resolves #656. (#660)

Maintenance

  • Bump dot-prop from 4.2.0 to 4.2.1 (#653)

v5.8.1

3 years ago

Fixes

  • Fix bug where evt.target for artificial popstate events was null instead of window. See (#651)

v5.8.0

3 years ago

Features

  • export the unregisterApplication api (#603 via @yangdan8)

Documentation

unregisterApplication('app-name').then(() => {
  console.log('The application is unmounted, unloaded, and no longer registered!');
})

Maintenance

  • feat: add file size reporter workflow to PR flow (#622 via @tiagostutz)

v5.7.0

3 years ago

Features

  • Add support for canceling navigation events (#641)
  • Add additional properties to single-spa routing events: oldUrl, newUrl, and navigationIsCanceled (#641)
window.addEventListener('single-spa:before-routing-event', evt => {
  console.log(evt.detail.oldUrl);
  console.log(evt.detail.newUrl);
  console.log(evt.detail.navigationIsCanceled);
  evt.detail.cancelNavigation();
})

v5.6.1

3 years ago

Fixes

v5.6.0

3 years ago

Features

  • Make bootstrap lifecycle optional. Resolves #632. (#633)

Maintenance

  • docs: fix angular and angularjs link (#610)
  • Upgrading to latest babel eslint (#624)

v5.5.5

3 years ago

Fixes

  • Fixed pathToActiveWhen so that pathname matching allows for arbitrary hashnames after the prefix (@pkhodaveissi #600)