canjs / can-list-sort

Live-bound list sorting
MIT License
1 stars 0 forks source link

Update steal to the latest version 🚀 #18

Open greenkeeper[bot] opened 7 years ago

greenkeeper[bot] commented 7 years ago

Version 1.5.7 of steal just got published.

Dependency steal
Current Version 0.16.44
Type devDependency

The version 1.5.7 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of steal. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes 1.5.7

This patch release include fixes for the following issues:

  • Improved error message when mismatched version package is found #1176
  • Improved error message when steal-less is not installed #995
  • Improved error message when package.json is missing "name" and "version" fields #1233
  • Fixes issue with the steal-module script tag type #1185
  • Fixes issue with a flag being out of scope inside Steal's core #1189
  • Fixes a bug loading peerDependencies that are listed as devDependencies as well #1228

🎉 🎉 🎉

Not sure how things should work exactly? There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

greenkeeper[bot] commented 7 years ago

Version 1.5.8 just got published.

Update to this version instead 🚀

Release Notes 1.5.8

This patch release fixes a couple of issues related with the named AMD changes introduced in 1.5.7

  • Side bundles were incorrectly registered and steal would not load them correctly
  • An undefined reference would case steal to throw when bundleSteal is used in steal-tools

See stealjs/steal-tools#811

Commits

The new version differs by 4 commits.

  • 547aa53 1.5.8
  • 9128ba5 Merge pull request #1251 from stealjs/add-guard
  • 7fce49b Only register npm module names
  • f8ecf64 Guard against undefined currentLoad reference.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 1.5.9 just got published.

Update to this version instead 🚀

Release Notes 1.5.9

This is a patch release that prevents forcing the stage-0 babel preset on users.

Commits

The new version differs by 4 commits.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 1.5.10 just got published.

Update to this version instead 🚀

Release Notes 1.5.10

This is a bug fix releasing fixing a couple of parsing problems. One regarding AMD's detection of the CommonJS syntax, and other related to the steal.joinURIs API, used in places like steal-css. Big thanks to @James0x57 for his efforts fixing these bugs.

Pull Requests

Commits

The new version differs by 16 commits.

  • e333bac 1.5.10
  • 89f49c8 Merge pull request #1260 from stealjs/update-readme
  • 518870e Merge branch 'master' into update-readme
  • c210af1 Merge pull request #1259 from stealjs/rm-docs
  • 2053e89 Merge pull request #1257 from stealjs/typo-fix-loadimport
  • 5461dde Merge pull request #1258 from stealjs/joinuris
  • ca395f6 Remove stealjs docs from this repo
  • 5326099 Fix @ in url parsing problem. Tests from Matthew. Closes #1253
  • 72e53d0 Fix typo "load import" in quick-start.md
  • 78a5b4a Merge pull request #1249 from stealjs/amdcjsregex
  • 478b4d6 Merge branch 'master' into amdcjsregex
  • 4d8111d For stealjs/steal-tools#563 - requireAlias boundary check added
  • 153de2b For stealjs/steal-tools#563 - improve regex detection in more cases
  • 1c92217 For stealjs/steal-tools#563 - added comments to describe the algorithm.
  • e08827c Closes stealjs/steal-tools#563 - Parse for amd cjs deps in single loop through and fix dep detection after an inline regex containing a single quote of the same type used in the require param

There are 16 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 1.5.11 just got published.

Update to this version instead 🚀

Release Notes 1.5.11

This is a bug fix release, fixing an issue with steal-css breaking in production. The issue was our new CommonJS dependency detection algorithm, which causes a false-positive detection of a dependency in steal-css.

Issues

#1261 myhub app breaks in production

Commits

The new version differs by 3 commits.

  • e3b701a 1.5.11
  • 7452582 Merge pull request #1262 from stealjs/detect
  • a7d7ded False positive dep detection in minified steal-css

See the full diff

greenkeeper[bot] commented 7 years ago

Version 1.5.12 just got published.

Update to this version instead 🚀

Release Notes 1.5.12

This release is for docs only. It removes the Loading From CDN docs as those will not live in stealjs/stealjs.

Commits

The new version differs by 2 commits.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 1.5.13 just got published.

Update to this version instead 🚀

Release Notes 1.5.13

This is a documentation release, removing the "Moving to Production" doc.

Commits

The new version differs by 2 commits.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.5.14 just got published.

Update to this version instead 🚀

Release Notes 1.5.14

This patch release fixes the following issues:

  • Missing docs for plugin configuration stealjs/stealjs#34
  • Show full package.json content in progressive loading guide #1267
  • npm config map is not being set properly #1208
  • Warn if someone loaded a module at the same path twice #1264
Commits

The new version differs by 14 commits.

  • fd74d20 1.5.14
  • de374a1 Merge pull request #1273 from stealjs/loads-twice-warning
  • 9889943 Use Function::bind instead of console.warn.bind
  • e6dfcb2 Warn if a module is loaded at the same path twice
  • 38d9835 Merge pull request #1271 from stealjs/map-right
  • d548dd8 Apply mappings when left-side is not a pkg but right-side is.
  • cc8ad7d Merge pull request #1211 from stealjs/map-right
  • c61222b Add missing import
  • 4c7da96 Use Node 7 for tests
  • c0ff9eb Restructure npm normalize tests
  • d0b771b Merge pull request #1270 from stealjs/update-guide
  • e15e2e4 Show full package.json content with diff
  • 4f35064 Add plugins configuration documentation
  • cd6cd0b NPM -> npm

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.5.15 just got published.

Update to this version instead 🚀

Release Notes 1.5.15

This patch release fixes false positives from occurring in a warning for when a module loads multiple times.

Pull requests

Commits

The new version differs by 3 commits.

  • 42e8ba8 1.5.15
  • e749f8b Merge pull request #1281 from stealjs/warn2
  • 6b999af Prevent false positives in double-loaded module warning

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.5.16 just got published.

Update to this version instead 🚀

Release Notes 1.5.16

This is a patch release of steal, adding documentation about using development bundles configuration. The documentation will be available on stealjs.com under API -> steal -> devBundle/depsBundle.

Commits

The new version differs by 7 commits.

  • 96c6003 1.5.16
  • 6ce78c9 Merge pull request #1295 from stealjs/dbundle
  • ecf34ca Document the deps-bundle and dev-bundles configuration values
  • 7eddfbc Merge pull request #1293 from eben-roux/patch-2
  • 4ad5788 - fixed typo
  • c020e8b Merge pull request #1283 from stealjs/node-promises
  • 67cd99c Use Node.js native promises

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.5.17 just got published.

Update to this version instead 🚀

Release Notes 1.5.17

This is a patch release, fixing two issues with live-reload:

Issues

Commits

The new version differs by 5 commits.

  • 8da837d 1.5.17
  • 93952bc Merge pull request #1301 from stealjs/warn-live-reload
  • 3844f52 Override loader.delete to prevent live-reload loaded twice warnings
  • 0e5714b Merge pull request #1296 from stealjs/fix-live-reload-with-dynamic-import
  • 5c45fea Fix issue breaking live-reload when used with dynamic-import

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.5.18 just got published.

Update to this version instead 🚀

Commits

The new version differs by 3 commits.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.6.0 just got published.

Update to this version instead 🚀

Release Notes 1.6.0

This is a minor release, adding one new feature (the ability to define dependencies).

meta.deps for ES and CommonJS modules

1.6.0 adds the ability to define dependencies on ES modules (modules using import/export) and CommonJS (using require). This is useful when a module has an implicit dependency (such as a css file) that it does not define as a dependency itself.

As an example, let's say you had a module:

counter.js

function makeCounter() {
  let counter = document.createElement("div");
  counter.className = "counter";
  counter.textContent = 0;

  let start = Date.now();
  setInterval(() => {
    let end = Date.now();
    let diff = start - end;
    let seconds = Math.floor(diff / 1000);
    counter.textContent = seconds;
  }, 500);

  return counter;
}

export default makeCounter;

Which has an associated CSS for styling:

counter.css

.counter {
  font-weight: bolder;
  color: tomato;
}

If you wanted to use this component, previously you would have to remember to import both of these files in each place that needed them.

In 1.6.0 you can now add meta.deps to any ES or CommonJS module, adding to globals which were previously supported.

To fix the above, edit your package.json:

{
  "name": "my-app",
  "version": "1.0.0",
  "main": "main.js",

  "steal": {
    "meta": {
      "my-app/counter":  {
        "deps": ["my-app/counter.css"]
      }
    }
  }
}

And now you can simply import the counter.js module, and the styles will come with it.

Thanks to @DesignByOnyx for adding this feature.

Issues

Commits

The new version differs by 6 commits.

  • 804c421 1.6.0
  • 02258c5 Merge pull request #1302 from stealjs/meta-deps-config
  • a8a0d5e 1.5.19
  • a588b03 Merge pull request #1304 from stealjs/warn-false-positive2
  • 6cba492 Prevent false positive 'loaded twice' warnings
  • e4506a2 Add ability to define implicit dependencies using meta deps

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.6.1 just got published.

Update to this version instead 🚀

Release Notes 1.6.1

This is a patch release, fixing a cause when importing CommonJS modules from ES modules, that themselves import a common CommonJS module that happens to export the global object (in the browser the self property).

Issues

#1312 Importing a CommonJS module that exports the window object receives the Module object rather than the exported value

Commits

The new version differs by 6 commits.

  • a94e95d 1.6.1
  • a7a0e21 Merge pull request #1315 from stealjs/npmignore
  • e231b0c Merge pull request #1313 from stealjs/cjs-module
  • d3333df adds a npmignore file.
  • 0cd50d7 Remove package-lock.json from source control
  • 4b613ad Allow the global to be exported as a CJS value, and then imported into a

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.6.2 just got published.

Update to this version instead 🚀

Release Notes 1.6.2

This release fixes a mistake made in the 1.6.1 release, where some needed files were excluded from npm.

Commits

The new version differs by 2 commits.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.6.3 just got published.

Update to this version instead 🚀

Release Notes 1.6.3

This is a patch release, fixing a bug where configuration in buildConfig would override other configuration during a build. So any configuration needed during production wouldn't exist.

Commits

The new version differs by 3 commits.

  • 80c9ab4 1.6.3
  • 93856cc Merge pull request #1320 from stealjs/buildconfig
  • 634de88 Prevents buildConfig from overriding package's configuration

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.6.4 just got published.

Update to this version instead 🚀

Release Notes 1.6.4

This fixes an issue where steal would try to load a module that had already failed to load. This prevents a variety of repetitive error messages.

Commits

The new version differs by 9 commits.

  • 462b286 1.6.4
  • 6e68bde Merge pull request #1321 from stealjs/mod-twice-bug
  • 29e7d1d Prevent rerunning module loading on modules that have already failed
  • 584469b Merge pull request #1314 from stealjs/sec-vuln
  • d8b2e3e Remove jquery-ui from npm tests
  • 9429b6f Saucelabs only supports FF 56
  • 4d7c6ba Increase the firefox version
  • 61049f3 Remove jquery-ui from the copied scripts
  • c91540d Remove jquery-ui

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.6.5 just got published.

Update to this version instead 🚀

Commits

The new version differs by 3 commits.

  • e945932 1.6.5
  • 1774cc8 Merge pull request #1328 from stealjs/pr
  • 47421c4 Prevent failed loads from one linkset to prevent other linksets to load

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.7.0 just got published.

Update to this version instead 🚀

Release Notes 1.7.0

This is a minor release, adding improved error messaging for 404 errors.

Improved 404 Errors

When a 404 occurs because the module is not able to be found by Steal, we have improved the error messaging.

Before it looked like:

36687970-0de91776-1af9-11e8-83e3-b48489f9aa63

And now it is:

36808550-6b835694-1c93-11e8-8420-16789dde804e

As you can see from the screenshot we have changed it so that:

  • We explain what module could not be found.
  • Link to some documentation that gives pointers on how to fix the problem. The documentation is here.
  • Show the code where it was imported inline.
  • The stack-trace also links to this same code.

While this improvement is now in steal, some plugins are still be updated to take advantage of it.

Commits

The new version differs by 10 commits.

  • 6d59147 Build for 1.7.0
  • 3efd871 1.7.0
  • dd1a473 Merge pull request #1341 from stealjs/file-missing
  • c141fc9 Improve 404 error message
  • 30876e1 Merge pull request #1340 from stealjs/file-missing
  • a014707 Completely remove dependency on jquery in the live-reload test
  • 3586e3d Prevent 'Is this an npm module not saved' error
  • 725490e Merge pull request #1339 from stealjs/load-twice-dep
  • 31aa362 Remove dependency on jquery
  • 8737076 Remove 'loaded twice' false positive when there is a missing file

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.8.0 just got published.

Update to this version instead 🚀

Release Notes 1.8.0

This is a minor release, featuring improved error messaging with malformed JSON in a package.json.

Features

package.json error messaging

With #1347 we know get a clear indication of what is wrong with a package.json:

screen shot 2018-03-02 at 4 48 44 pm

Pull Requests

Commits

The new version differs by 5 commits.

  • 53f54ea 1.8.0
  • ddc92e0 Merge pull request #1349 from stealjs/sd-lr
  • d841938 Prevent unhandled rejections caused by live-reload
  • 58c7ecf Merge pull request #1347 from stealjs/bad-json
  • fb05799 Improve the error message when there is a malformed package.json

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.9.0 just got published.

Update to this version instead 🚀

Release Notes 1.9.0

This is a minor releasing adding error handling to the live-reload module.

Now when an error occurs reloading a module, an Error is called as the first argument to the callback.

import reload from "live-reload";

reload(function(err){
    if(err) {
        displayErrorMessage(err);
    } else {
        // Do whatever is normal
    }
});
Commits

The new version differs by 3 commits.

  • 94ab543 1.9.0
  • fde0ab3 Merge pull request #1351 from stealjs/reloader
  • 0255624 reload(callback) syntax now returns an error

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.9.2 just got published.

Update to this version instead 🚀

Release Notes 1.9.2

This is a patch release, fixing a bug where modules in a failed loading state were not recoverable after a live-reload that fixes the underlying problem.

Commits

The new version differs by 6 commits.

  • 36cfdcd 1.9.2
  • 2093b92 Merge pull request #1358 from stealjs/lr-failed
  • fb22fcd When a module is deleted, ensure any 'failed' records are removed
  • cdbf99f 1.9.1
  • 4f4f34d Merge pull request #1352 from stealjs/frame
  • e854828 Update code-frame so that it will run in Node

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.10.0 just got published.

Update to this version instead 🚀

Release Notes 1.10.0

This is a minor releasing add a few improved error messages.

Pull Requests

Commits

The new version differs by 15 commits.

  • 983d081 1.10.0
  • e6d2afc Merge pull request #1363 from stealjs/json-err
  • cb070dc Parse out JSON syntax error for Edge
  • 29bd738 Correctly parse line and column for firefox syntax errors
  • 2299add Improve error messaging on malformed JSON
  • 031d368 Merge pull request #1362 from stealjs/vers-mis
  • 29f0f00 Remove old version mismatch test
  • 6761b4b Do not mask the passed in pkg variable
  • 0df89ef Improve the error message on mismatched package versions
  • 29e8c03 Merge pull request #1360 from stealjs/dev-bundle-err
  • e73f297 Provide a nice error message when dev bundle fails to load
  • 39e83c8 Merge pull request #1359 from stealjs/append-error
  • b994fff Move codeframe loading to its own function
  • f69ea99 Only remove the steal.js stack parts from errors
  • f519527 Implements loader.rejectWithCodeFrame

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.10.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 4 commits.

  • 8b9f98d 1.10.1
  • 4bfebac Merge pull request #1365 from stealjs/es-circ
  • 56fc7d5 Make esModule regex work with minified files
  • cfd9fda Detect circular ES modules in AMD bundles

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.11.0 just got published.

Update to this version instead 🚀

Release Notes 1.11.0

Improved error messaging on SyntaxErrors during parsing.

This is a minor release, improving the SyntaxErrors generated during parsing, both for ES and CommonJS modules. On the ES side this change removes the unhelpful Babel stack trace and puts instead a stack trace to where the error occurred.

screen shot 2018-03-21 at 10 56 57 am

Commits

The new version differs by 4 commits.

  • 0b62e43 1.11.0
  • f23c959 Merge pull request #1368 from stealjs/parse
  • 05734d7 Conditionally user loader.StackTrace
  • 263cda1 Improve error messages on parse errors

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.11.1 just got published.

Update to this version instead 🚀

Release Notes 1.11.1

This is a patch release, fixing an issue where errors lost their stack trace if a dependent module.

Pull Requests

Commits

The new version differs by 4 commits.

  • 8782e35 1.11.1
  • db9785b Merge pull request #1374 from stealjs/err-now
  • 0c2c0bf Make work in Edge
  • 0687016 Prevent removing stack trace when a dependent module throws.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.11.2 just got published.

Update to this version instead 🚀

Commits

The new version differs by 4 commits.

  • 54e2ff3 Merge pull request #1375 from stealjs/buildconfig
  • 45c0abc Prevent buildConfig from being applied in development
  • 6044fda Merge branch 'master' of github.com:stealjs/steal into buildconfig
  • de87aa3 Start of buildConfig refactor

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.11.3 just got published.

Update to this version instead 🚀

Commits

The new version differs by 4 commits.

  • 8fcc529 1.11.3
  • 08a9c9b Merge pull request #1376 from stealjs/resave
  • 8d150e5 Don't save the package.json of config set "late"
  • d8d8259 1.11.2

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.11.4 just got published.

Update to this version instead 🚀

Release Notes 1.11.4

This is a patch release, fixing an issue where multiple packages with their own babelOptions could conflict with each other.

Pull Requests

#1377 https://github.com/stealjs/steal/pull/1377

Commits

The new version differs by 3 commits.

  • e880ab3 1.11.4
  • 45f6bb1 Merge pull request #1377 from stealjs/child-bopts
  • 093e318 Derive babelOptions from the pkg when available

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.11.5 just got published.

Update to this version instead 🚀

Release Notes 1.11.5

This is a patch release, fixing an issue where a syntax error in a child module could result in the wrong module showing up in a codeframe.

Pull requests

Commits

The new version differs by 6 commits.

  • 368e802 1.11.5
  • 6ef96ea Merge pull request #1379 from stealjs/cjs-syntax
  • 9c3fc8c Skip this test in Edge, sigh
  • 29c291b Add in the codeframe for non SyntaxErrors
  • 8c23764 Make syntaxerror message work in Firefox
  • 0ea3618 Makes SyntaxErrors in child modules work

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.11.6 just got published.

Update to this version instead 🚀

Commits

The new version differs by 7 commits.

  • 7584d93 1.11.6
  • 922fbde 1.11.6
  • b10422e Merge pull request #1387 from stealjs/syntax-throw
  • 682f659 Only use the rethrow method in Chrome, since it is the only browser that displays syntaxerrors with the line number in this way.
  • a145062 Implement custom logging for syntax errors
  • ad80d59 Merge pull request #1386 from stealjs/cf-build
  • 551bbd1 use codeframe during the build

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.11.7 just got published.

Update to this version instead 🚀

Release Notes 1.11.7

This is a patch release, fixing projects that use the folder/index convention and dev bundles.

Pull Requests

Commits

The new version differs by 5 commits.

  • 4d20196 1.11.7
  • a031f37 Merge pull request #1411 from stealjs/db-index
  • d9d07e6 Make folder/index convention work in dev bundles / production mode
  • 7dd7557 Merge pull request #1407 from stealjs/chasenlehara-patch-1
  • 0cb4833 Add note about pnpm to the npmAlgorithm docs

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.11.8 just got published.

Update to this version instead 🚀

Release Notes 1.11.8

Fixes an issue where an object like freeModule.require('util') would inadvertently trigger CommonJS dependency detection.

Commits

The new version differs by 4 commits.

  • 31d4a94 1.11.8
  • 633cbdb Merge pull request #1414 from stealjs/amd-require-2
  • 7d4032f Prevent that is a property on an object from being detected as a CJS dependency
  • 118f4ec Test for #1412

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.12.0 just got published.

Update to this version instead 🚀

Release Notes 1.12.0

This is a minor release, adding the ability to set load-bundles="false" from the steal script tag.

You can now turn off loading of bundles while still in production mode.
This means that any code that checks for
steal.loader.isEnv("production") will have a truthy value.

Commits

The new version differs by 3 commits.

  • 1145970 1.12.0
  • 3930a58 Merge pull request #1421 from stealjs/load-bundles-false
  • 2bdc9b6 Adds load-bundles=false

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.12.1 just got published.

Update to this version instead 🚀

Release Notes 1.12.1

This is a patch release, fixing an issue with envs map configuration not taking precedent over base-level map configuration.

Commits

The new version differs by 3 commits.

  • fd4ae25 1.12.1
  • 3e59bfb Merge pull request #1427 from stealjs/map-envs
  • 543205f Make envs map override configuration work

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.12.2 just got published.

Update to this version instead 🚀

Release Notes 1.12.2

Fixes a bug where Node builtins where not auto-configured to be loaded.

Commits

The new version differs by 3 commits.

  • 4376557 1.12.2
  • 9253877 Merge pull request #1429 from stealjs/builtin-normalize
  • a49d119 Correctly load steal's package.json for Node builtins

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.12.3 just got published.

Update to this version instead 🚀

Release Notes 1.12.3

Resolves a bug when loading the steal package.json from multiple entry points.

Commits

The new version differs by 2 commits.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.12.4 just got published.

Update to this version instead 🚀

Release Notes 1.12.4

This is a patch release, fixing a bug where a CommonJS module was detected as ES6 because of code inside of a comment.

Bugs

Commits

The new version differs by 3 commits.

  • d867dbd 1.12.4
  • b51263c Merge pull request #1430 from stealjs/react-redux
  • 4ff1605 Make steal ignore ES6 syntax inside of comments

See the full diff

greenkeeper[bot] commented 6 years ago

Version 2.0.0 just got published.

Update to this version instead 🚀

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

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 5 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 5 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