-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update steal to the latest version 🚀 #131
base: master
Are you sure you want to change the base?
Conversation
Version 2.0.1 just got published.Update to this version instead 🚀 Release Notes2.0.1This is a patch release, fixing a bug when attempting to use steal in an Electron environment with the npm plugin. |
Version 2.0.2 just got published.Update to this version instead 🚀 Release Notes2.0.2This is a patch release, removing a false position for the "missing main" warning. Pull requests |
Version 2.1.0 just got published.Update to this version instead 🚀 Release Notes2.1.0This is a minor release, adding support for importing modules from http, https, and CommitsThe new version differs by 6 commits.
See the full diff |
Version 2.1.0 just got published.Update to this version instead 🚀 Release Notes2.1.0This is a minor release, adding support for importing modules from http, https, and |
Version 2.1.1 just got published.Update to this version instead 🚀 Release Notes2.1.1This is a patch release, fixing a fairly rare case where the specifier |
Version 2.1.2 just got published.Update to this version instead 🚀 Release Notes2.1.2This contains 2 bug fixes:
CommitsThe new version differs by 8 commits.
See the full diff |
Update to this version instead 🚀 Release Notes for 2.1.3This is a patch release, fixing stealjs/steal-tools#1071 |
Update to this version instead 🚀 Release Notes for 2.1.4This is a patch release that fixes a bug with less setting |
Update to this version instead 🚀 Release Notes for 2.1.6This fixes a bug with using steal-clone in a tree-shaken context. |
Update to this version instead 🚀 Release Notes for 2.1.7Fixes a bug when treeshaking a large app with multiple bundles. |
Update to this version instead 🚀 Release Notes for 2.1.9This is a bug fix release, fixing an issue with tree-shaking modules with non-ES module parents. Issues |
Update to this version instead 🚀 Release Notes for 2.1.10This fixes a false positive JSON parse warning in production when a JSON module is loaded from another bundle. |
Update to this version instead 🚀 Release Notes for 2.1.12This is a patch release, which adds names to all of the extension functions to make them easier to debug. |
Update to this version instead 🚀 Release Notes for 2.1.13Fixes an issue where a module loading a dependency by its exact npm module name might load the wrong package version and error out. |
Update to this version instead 🚀 CommitsThe new version differs by 7 commits.
See the full diff |
Update to this version instead 🚀 Release Notes for Introduce forceES5 flag to skip ES2015 transpilation{ "steal": { "forceES5": false // defaults to true } } when set to false, Steal.js does not include the ES2015 preset. This is useful when the target browser supports all of the syntax/features transpiled by the ES2015 preset. CommitsThe new version differs by 6 commits.
See the full diff |
Update to this version instead 🚀 CommitsThe new version differs by 5 commits.
See the full diff |
|
|
Version 2.0.0 of steal was just published.
The version 2.0.0 is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
It might be worth looking into these changes and trying to get this project onto the latest version of steal.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
Release Notes
2.0.0This is the second major release of steal, but has minimal number of breaking changes.
Check out the migration guide and upgrade today.
Major features
Native promises by default
In 1.0 the
steal.js
script included a polyfill for Promises. To use native promises you would need to usesteal-sans-promises.js
instead.In 2.0 that relationship is flipped.
steal.js
does not contain a polyfill and usingsteal-with-promises.js
will give you it.Tree shaking
Tree shaking is available in steal 2.0. Any time steal encounters a module that only exports from other modules it will follow that modules dependants and remove any unused imports. This will help when consuming a module that just imports from a lot of children. For builds (discussed in the steal-tools 2.0.0 release notes) this will reduce the size of bundles.
Support for .mjs scripts
With native modules now available in browers, some people are starting to use the file extension
.mjs
for modules using the import/export statement. In 2.0 this modules can be consumed from a steal app.Breaking changes
In addition to the polyfill change, there is one other breaking change.
The main is no longer automatically loaded.
Previously steal.js would always try to load the application's main. This was convenient when getting started but causes problems in larger apps with multiple pages, not all of them wanting the main to load.
So in 2.0, you have to add a
main
in your script tag. You can either be explicit about what to load:Or you can use the boolean attribute and steal.js will load your package.json
main
, as it would do in 1.x:Commits
The new version differs by 79 commits.
0112ad6
2.0.0
13d0471
Merge pull request #1449 from stealjs/major
1633f93
Update travis version
2cd85e3
Merge branch 'master' into major
96fb45d
2.0.0-pre.16
c766683
Merge pull request #1448 from stealjs/no-ts
cb594d6
Only allow tree shaking to be disabled by root package
c1038a3
Provide a way to disable treeShaking
501d041
2.0.0-pre.15
ec53b51
Merge pull request #1447 from stealjs/spec
83a9969
Handle case where moduleSpecifierFromName is called
e59ff89
2.0.0-pre.14
49f5672
Merge pull request #1446 from stealjs/exp-star
ed72087
Tree-shake export * modules that are progressively loaded
e95e45d
Merge pull request #1442 from stealjs/main-warn
There are 79 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot 🌴