7.0.0-beta.0
Major Changes
-
#1186
a061710
Thanks @joeldenning! - Begin migration to typescriptWHAT: 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 pointsThe
"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
-
#1254
4992efe
Thanks @joeldenning! - Allow unloading applications in SKIP_BECAUSE_BROKEN status -
#1199
b1fbbca
Thanks @joeldenning! - Migrate applications folder to typescript -
#1202
a00b0df
Thanks @joeldenning! - Migrate navigation folder to typescript -
#1196
a52a3e4
Thanks @joeldenning! - Migrate devtools to typescript -
#1210
d717968
Thanks @joeldenning! - Migrate lifecycles folder to typescript
Patch Changes
-
#1213
65a71b9
Thanks @joeldenning! - Change test files to .ts extension -
#1210
d717968
Thanks @joeldenning! - Update eslint config for typescript