canjs / can-bind

Updates one observable value with the value of another observable.
https://canjs.com/doc/can-bind.html
MIT License
4 stars 0 forks source link

Update steal to the latest version πŸš€ #8

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 6 years ago

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](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

greenkeeper[bot] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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[bot] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 5 years ago

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] commented 5 years ago

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] commented 5 years ago

Update to this version instead πŸš€

Commits

The new version differs by 4 commits.

See the full diff