Skip to content

v4.0.0

Compare
Choose a tag to compare
@joeldenning joeldenning released this 29 Jan 18:39
· 54 commits to main since this release

Breaking Changes

Only typescript users are affected by the breaking changes

  • single-spa-react now includes typescript declarations. You no longer need to use @types/single-spa-react. (#101)

Migrating

When using typescript, single-spa-react@4 requires single-spa@>=5.9.1

npm uninstall @types/single-spa-react
npm install single-spa-react@^4.0.0
npm install single-spa@^5.9.1

Features

  • <Parcel /> now has typescript definitions (#101)
  • Improved typescript definitions for singleSpaReact(), including generics (#101)

Maintenance

  • Removing dead code and adding tests (#95)
  • Upgrade all dependencies. (#102)
  • Switch to react testing library (#102)
  • Switch to pnpm (#102)