funcunit
Version:
<!-- @hide title
160 lines (107 loc) • 7.63 kB
Markdown
@page StealJS.changelog Changelog
@parent StealJS.guides
@body
## 0.15.0
### steal
- [steal-clone](http://stealjs.com/docs/steal.steal-clone.html) is a new module that can be used for dependency injection, making it easy to replace modules for testing purposes.
- A [new scheme](http://stealjs.com/docs/locate.html) was added for Less and CSS, allowing you to import styles with Steal's internal locating resolution.
### steal-tools
- Builds can be customized using the granular [streams](http://stealjs.com/docs/steal-tools.guides.streams.html) API.
- Modules can now be ignored with the [ignore](http://stealjs.com/docs/steal-tools.build.html#ignore) option, preventing them from being included in the build.
## 0.14.0
### steal
- package.jsons are now [progressively fetched](https://github.com/stealjs/system-npm/issues/41) as needed to configure.
- Using npm you can [now load](https://github.com/stealjs/system-npm/issues/3) modules that use the `folder/index.js` convention.
- When importing json files you can now make transformations with the new [jsonOptions](http://stealjs.com/docs/System.jsonOptions.html).
- The [contextual module](https://github.com/stealjs/steal/issues/518) extension makes it easy to create modules that are aware of their parent.
- Better [CommonJS detection](https://github.com/stealjs/steal/pull/583).
- Configuration added to the script tag now [beats out](https://github.com/stealjs/steal/pull/579) global configuration.
### steal-tools
- It is now possible to perform custom [ES6 transpiling](https://github.com/stealjs/steal-tools/pull/355), for use if using a transpiler different that what Steal provides.
- Bug [fixes](https://github.com/stealjs/steal-tools/pull/376) for multi-main builds.
## 0.13.0
### steal
- Support added for [NPM 3](https://github.com/stealjs/steal/pull/522).
- Support added for [scoped packages](https://github.com/stealjs/system-npm/pull/78).
## 0.12.0
### steal
- New [system-trace](https://github.com/stealjs/system-trace) extension comes with Steal. Provides useful APIs for module metadata.
- The ext extension no longer requires [the bang](https://github.com/stealjs/steal/issues/503).
- Upgrades to the npm and live-reload plugins.
### steal-tools
- [babelOptions](https://github.com/stealjs/steal-tools/pull/320) are now passed into transpile.
- `inferGlobals: false` will speed up production when you have a lot of globals and don't need the default behavior of inferring a global's export value.
- Various live-reload bug fixes.
### steal-tools
## 0.11.0
### steal
- css and less extensions moved to their own projects [steal-css](https://github.com/stealjs/steal-css) and [steal-less](https://github.com/stealjs/steal-less).
- Babel and Traceur updated to the latest versions.
- [envs configuration](https://github.com/stealjs/steal/issues/454).
- The [@loader](https://github.com/stealjs/steal/pull/460) module not works with the Steal syntax.
- Whether bundles are loaded is not configured by [System.loadBundles], not the `env` flag, but env=production still works for backworks compatibility.
- The [@steal] module was created to serve a similar purpose as [@loader].
### steal-tools
- `sideBundle: true` metadata property can be set to make a bundle be set as a "sideBundle". A sideBundle is not considered in the progressive loading algorithm so it is perfect for bundles that are rarely used.
- Globals are no longer transpiled to a `System.define` form, but instead to an AMD module.
- Virtual modules (modules created dynamically with `System.define` can now be [bundles](https://github.com/stealjs/steal-tools/pull/276) themselves.
- [steal-tools.BundleAssetsOptions bundleAssets] is a new option that allows you to bundle all of your assets along with your JavaScript and CSS bundles, to put everything into a common `dist` folder.
- StealTools is now tested in CI on Node 0.10, 0.12, and IO.js, on both Linux and Windows.
## 0.10.0
### steal
- New [live-reload](http://stealjs.com/docs/steal.live-reload.html) extension.
- Added a [steal.import](http://stealjs.com/docs/steal.import.html) to make it easier to work in Node. [#407](https://github.com/stealjs/steal/issues/407).
### steal-tools
- Added a [new command](http://stealjs.com/docs/steal-tools.cmd.live-reload.html) for the cli, `steal-tools live-reload` which starts a server for use with the live-reload workflow. [#223](https://github.com/stealjs/steal-tools/pull/233).
## 0.9.0
### steal
- The npm plugin added a `configDependencies` option. [#55](https://github.com/stealjs/system-npm/pull/55).
- Steal can be launched within a web worker. [#386](https://github.com/stealjs/steal/issues/386).
- The bower plugin can take a `system.main` that mirrors npm's behavior. [#16](https://github.com/stealjs/system-bower/pull/16).
- The bower plugin supports `system.bowerIgnore` for ignoring modules. [#17](https://github.com/stealjs/system-bower/pull/17).
- You can now pass your own paths to `lessOptions`. [#378](https://github.com/stealjs/steal/pull/378).
### steal-tools
- Added a Watch Mode [#226](https://github.com/stealjs/steal-tools/pull/226) for multi-builds. See the [guide](http://stealjs.com/docs/steal-tools.guides.watch_mode.html) for usage.
## 0.8.0
- StealTools now produces source maps for both multi-build and export. [#210](https://github.com/stealjs/steal-tools/pull/210). Check out the [build docs](http://stealjs.com/docs/steal-tools.build.html) for example usage.
- The cli is now easier to use. The `package.json` is now the default config, so no `--config` or `--main` option is needed if using the npm plugin. [#212](https://github.com/stealjs/steal-tools/pull/212)
- Upgraded SystemJS to `0.16.6`, ES6 Module Loader to `0.16.3` and Traceur to `0.0.87`.
## 0.7.0
### steal
- [npm] and [bower] plugins can be used with each other using [configDependencies](http://stealjs.com/docs/npm.html)
(and [here](http://stealjs.com/docs/bower.html)).
- Updated SystemJS and ESML.
- Choice of ES6 compiler can be controlled through the [System.transpiler transpiler] config.
- [System.bundle] can now take a glob.
- Loading in Node on Windows no longer requires setting paths with `file:` prefix.
- Less plugin upgraded to use Less 2.4.0.
### steal-tools
- Bundles now get written to subdirectories of [System.bundlesPath bundlesPath] to ensure unique. [#52](https://github.com/bitovi/steal-tools/pull/54)
- All tests passing on Windows.
- `main` and `bundle` names can be the unnormalized. [#89](https://github.com/bitovi/steal-tools/issues/89).
stealTools.build({
main: "foo/bar/"
});
## 0.6.0
### steal
- Added the [npm] extension.
- Add the [bower] extension.
- Updated SystemJS and ESML
- If _steal.js_ is found in node_modules,
load `package.json!npm` as [System.configMain].
- If _steal.js_ is found in bower_components, load
`bower.json!bower` as [System.configMain].
- Replaced `@config` with [System.configMain]. If you were doing:
System.import("@config")
You should do:
System.import(System.configMain)
### steal-tools
- Added [steal-tools/lib/build/helpers/amd],
[steal-tools/lib/build/helpers/cjs] and
[steal-tools/lib/build/helpers/global] export helpers.
- Grunt task `stealPluginify` is now `steal-export`
- Grunt task `stealBuild` is now `steal-build`.
- `stealTools.pluginifier` is now `steal.transform`.
- Command line `steal-tools pluginify` is now `steal tools transform`.
- [steal-tools.export], formerly the _lib/build/pluginifier_builder_ module
now returns a deferred and the defaults and modules arguments have been switched.