npm single-spa 7.0.0-beta.0
v7.0.0-beta.0

13 hours ago

7.0.0-beta.0

Major Changes

  • #1186 a061710 Thanks @joeldenning! - Begin migration to typescript

    WHAT: single-spa@6 was implemented in Javascript, with additional hand-crafted typescript declaration files. single-spa@7 is now implemented in Typescript. The typescript interfaces, types, etc changed somewhat during the migration. single-spa's package.json now includes typescript definitions in the "exports" field.

    WHY: The single-spa core team hopes to migrate most single-spa projects to typescript, for type safety.

    HOW: JS-only users of single-spa can safely upgrade without any changes. Typescript users will notice that some of the exported types are no longer available, modified, or renamed. See the rest of the changelog for exact descriptions of which types have changed. We encourage single-spa's typescript users to use the Parameters utility type to access function argument types that previously were exported.

  • #1230 66c7f33 Thanks @joeldenning! - Update package.json entry points

    The "module" and "typings" fields have been removed from the package.json, in favor of the "exports" field only.

  • #1216 45255a9 Thanks @joeldenning! - Drop IE11 support. Change browserslist target

  • #1230 66c7f33 Thanks @joeldenning! - Remove different builds for ES5 versus ES2015

  • #1216 45255a9 Thanks @joeldenning! - remove es2015 and es5 folders from published tarball

Minor Changes

Patch Changes

Don't miss a new single-spa release

NewReleases is sending notifications on new releases.