Skip to content
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 🚀 #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Jul 19, 2018

Version 2.0.0 of steal was just published.

Dependency steal
Current Version 1.12.4
Type devDependency

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.0

This 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 use steal-sans-promises.js instead.

In 2.0 that relationship is flipped. steal.js does not contain a polyfill and using steal-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:

<script src="node_modules/steal/steal.js" main="~/app"></script>

Or you can use the boolean attribute and steal.js will load your package.json main, as it would do in 1.x:

<script src="node_modules/steal/steal.js" main></script>
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 🌴

greenkeeper bot added a commit that referenced this pull request Jul 26, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 26, 2018

Version 2.0.1 just got published.

Update to this version instead 🚀

Release Notes 2.0.1

This is a patch release, fixing a bug when attempting to use steal in an Electron environment with the npm plugin.

Commits

The new version differs by 4 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 27, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 27, 2018

Version 2.0.2 just got published.

Update to this version instead 🚀

Release Notes 2.0.2

This is a patch release, removing a false position for the "missing main" warning.

Pull requests

Commits

The new version differs by 3 commits.

  • 79a5651 2.0.2
  • 10da38b Merge pull request #1453 from stealjs/no-main2
  • 6b1a534 Prevent the "no main loaded" warning with inline scripts

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 31, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 31, 2018

Version 2.1.0 just got published.

Update to this version instead 🚀

Release Notes 2.1.0

This is a minor release, adding support for importing modules from http, https, and // as specifiers.

loading from unpkg

Commits

The new version differs by 6 commits.

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 1, 2018

Version 2.1.0 just got published.

Update to this version instead 🚀

Release Notes 2.1.0

This is a minor release, adding support for importing modules from http, https, and // as specifiers.

loading from unpkg

Commits

The new version differs by commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 1, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 1, 2018

Version 2.1.1 just got published.

Update to this version instead 🚀

Release Notes 2.1.1

This is a patch release, fixing a fairly rare case where the specifier ../ is used and points to the package.json main which happens to contain ./

Commits

The new version differs by 3 commits.

  • 54a20a2 2.1.1
  • ec78a02 Merge pull request #1456 from stealjs/jsdom-bugs
  • 645f117 Fix additional case of ../ usage

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 8, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 8, 2018

Version 2.1.2 just got published.

Update to this version instead 🚀

Release Notes 2.1.2

This contains 2 bug fixes:

  • Steal will now tree-shake modules that have bare imports like import "foo";.
  • Fix for using git+ssh type of version URLs in package.json dependencies.
Commits

The new version differs by 8 commits.

  • 4c66952 2.1.2
  • 95d4408 Merge pull request #1459 from stealjs/gitssh
  • 02d018f Merge pull request #1457 from stealjs/client-shake-bare-import
  • 7051cea Merge branch 'master' into gitssh
  • a684771 Don't encode if a tilde version range
  • 53f54b0 Use Firefox 61 in CI
  • 541cc4c Correctly encode git+ssh dependencies
  • 6eedeea allowing bare imports without breaking client-side tree-shaking

See the full diff

greenkeeper bot added a commit that referenced this pull request Sep 14, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Sep 14, 2018

  • The devDependency steal was updated from 1.12.5 to 2.1.3.

Update to this version instead 🚀

Release Notes for 2.1.3

This is a patch release, fixing stealjs/steal-tools#1071

Commits

The new version differs by 3 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 3, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 3, 2018

  • The devDependency steal was updated from 1.12.5 to 2.1.4.

Update to this version instead 🚀

Release Notes for 2.1.4

This is a patch release that fixes a bug with less setting display: none by default in its more recent versions. This change prevents this from occurring (steal-less already uses async loading, so there is no breaking change here).

Commits

The new version differs by 3 commits.

  • 0d2f2a0 2.1.4
  • 71d00ce Merge pull request #1465 from stealjs/window-less
  • 770142b Set less to be async by default

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 18, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 18, 2018

  • The devDependency steal was updated from 1.12.6 to 2.1.5.

Update to this version instead 🚀

Commits

The new version differs by 3 commits.

  • 709a004 2.1.5
  • c8ed817 Merge pull request #1469 from stealjs/empty-es
  • cce3dc5 Mark @empty as an __esModule

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 25, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 25, 2018

  • The devDependency steal was updated from 1.12.6 to 2.1.6.

Update to this version instead 🚀

Release Notes for 2.1.6

This fixes a bug with using steal-clone in a tree-shaken context.

Commits

The new version differs by 3 commits.

  • 21e8207 2.1.6
  • 56eb233 Merge pull request #1471 from stealjs/ts-clone
  • 947e105 Make steal-clone work with tree-shaken trees

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 5, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 5, 2018

  • The devDependency steal was updated from 1.12.6 to 2.1.7.

Update to this version instead 🚀

Release Notes for 2.1.7

Fixes a bug when treeshaking a large app with multiple bundles.

Commits

The new version differs by 3 commits.

  • 1fd569d 2.1.7
  • af8026d Merge pull request #1474 from stealjs/newloader-config
  • 5ab883f Maintain all tree-shaking state during the build

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 12, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 12, 2018

  • The devDependency steal was updated from 1.12.6 to 2.1.8.

Update to this version instead 🚀

Commits

The new version differs by 4 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 27, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 27, 2018

  • The devDependency steal was updated from 1.12.6 to 2.1.9.

Update to this version instead 🚀

Release Notes for 2.1.9

This is a bug fix release, fixing an issue with tree-shaking modules with non-ES module parents.

Issues

#1477 Tree-shaking extension fails for non-named imports

Commits

The new version differs by 4 commits.

  • 2bd6ab0 2.1.9
  • 31ce213 Merge pull request #1479 from stealjs/reexptree
  • 38cea48 All exports are used when immediate parent is non-ES
  • 488619c Account for non-ES modules in parent tree

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 29, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 29, 2018

  • The devDependency steal was updated from 1.12.6 to 2.1.10.

Update to this version instead 🚀

Release Notes for 2.1.10

This fixes a false positive JSON parse warning in production when a JSON module is loaded from another bundle.

Commits

The new version differs by 4 commits.

  • 6284000 2.1.10
  • 367badb Merge pull request #1481 from stealjs/json-bundle
  • 490b47e Make JSON error test work in Firefox
  • 9e2e174 Mark loads loaded through bundles config to be defined

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 12, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 12, 2018

  • The devDependency steal was updated from 1.12.6 to 2.1.11.

Update to this version instead 🚀

Commits

The new version differs by 3 commits.

  • e112945 2.1.11
  • 16160cd Merge pull request #1485 from stealjs/reexp
  • ccd3604 Prevent tree-shaking the main

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 28, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 28, 2018

  • The devDependency steal was updated from 1.12.6 to 2.1.12.

Update to this version instead 🚀

Release Notes for 2.1.12

This is a patch release, which adds names to all of the extension functions to make them easier to debug.

Commits

The new version differs by 5 commits.

  • 0a5b510 2.1.12
  • f217d58 Merge pull request #1488 from stealjs/name-extensions
  • 7b4a55c Run the build
  • 93e5c8c Add the npm extension name as well
  • 04f83d6 Give all extensions names

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jan 8, 2019

  • The devDependency steal was updated from 1.12.6 to 2.1.13.

Update to this version instead 🚀

Release Notes for 2.1.13

Fixes an issue where a module loading a dependency by its exact npm module name might load the wrong package version and error out.

Commits

The new version differs by 3 commits.

  • 8c81c5a 2.1.13
  • 81b9932 Merge pull request #1491 from stealjs/res-mod
  • a8f594c Prevent running normalization on already normalized npm names

See the full diff

greenkeeper bot added a commit that referenced this pull request Jan 8, 2019
greenkeeper bot added a commit that referenced this pull request Jan 15, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jan 15, 2019

  • The devDependency steal was updated from 1.12.6 to 2.1.14.

Update to this version instead 🚀

Commits

The new version differs by 7 commits.

  • 66c61e1 2.1.14
  • 13b376b Merge pull request #1493 from stealjs/1463-npm-import-warn-with-importer
  • 344bf2c fix the test
  • 15b8d99 clean up tests
  • 86a7944 fix the stack message
  • eaf8a98 remove comment
  • da1d68b warn with the importer in case of missing module

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 5, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 5, 2019

  • The devDependency steal was updated from 1.12.6 to 2.2.0.

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.

Commits

The new version differs by 6 commits.

  • 506c89c 2.2.0
  • c8d7644 Merge pull request #1495 from stealjs/keep-es2015
  • 8ba4669 Change forceES5 check condition, treat as true by default
  • e4acde4 Call done() to finish test case
  • fb5b348 Introduce forceES5 flag to skip ES2015 transpilation
  • 8d59f3b Update the badges

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 25, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 25, 2019

  • The devDependency steal was updated from 1.12.6 to 2.2.1.

Update to this version instead 🚀

Commits

The new version differs by 3 commits.

  • fcb4dcc 2.2.1
  • 78d1f07 Merge pull request #1496 from stealjs/env2
  • 897fd4b Document possible values of steal.loader.env

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 1, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 1, 2019

  • The devDependency steal was updated from 1.12.6 to 2.2.2.

Update to this version instead 🚀

Commits

The new version differs by 5 commits.

  • a1fd13d 2.2.2
  • 5f4b0d0 Merge pull request #1501 from stealjs/system-register
  • ef3b887 Skip tests checking stack trace erros in Safari / Iphone
  • e91f6c7 Update Saucelabs platform parameters
  • 607f49f Use a stricter RegExp to detect System.register modules

See the full diff

greenkeeper bot added a commit that referenced this pull request Sep 5, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Sep 5, 2019

  • The devDependency steal was updated from 1.12.6 to 2.2.3.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Oct 22, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 22, 2019

  • The devDependency steal was updated from 1.12.6 to 2.2.4.

Update to this version instead 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants