wallet-core/node_modules/ts-loader/UPGRADE.md
2017-05-03 15:35:00 +02:00

56 lines
2.0 KiB
Markdown

# Upgrade Guide
## v1.x.x to 2.0.x
We no longer support Node 0.12 or webpack 1. Please use Node 4+ and webpack 2.
## v0.9.x to 1.0.x
We no longer support Node 0.12 officially since it is being end-of-lifed.
That said, ts-loader will probably still work with it at present.
(Though you shouldn't depend on it and ought to upgrade your version of node).
Otherwise there are no breaking changes known of; if you find any then let us know!
## v0.8.x to 0.9.x
No breaking changes known of; if there are then let us know!
## v0.7.x to 0.8.x
This release has two breaking changes:
1. If you are using TypeScript 1.7+ and specify `target: es6` and
`module: commonjs`, the output will now be CommonJS instead of ES6
modules. This brings ts-loader into alignment with `tsc`.
2. Declaration files are now emitted when `declaration: true` is
specified in the tsconfig.json.
## v0.6.x to 0.7.x
This release changed loader messages to print on stderr instead of
stdout. While this shouldn't affect most, if for some reason you relied
on messages going to stdout or on messages *not* going to stderr you
may need to make a change.
## v0.5.x to v0.6.x
This release removed support for TypeScript 1.5 and adds preliminary
support for TypeScript 1.7. Please upgrade to the stable release of
TypeScript 1.6 or above.
## v0.4.x to v0.5.x
This release removed the dependency on TypeScript from the loader. This
was done so that it's very easy to use the nightly version of TypeScript
by installing `typescript@next`. This does mean that you are responsible
for installing TypeScript yourself.
## v0.3.x to v0.4.x
This release added support for TypeScript 1.5. One of the major changes
introduced in TypeScript 1.5 is the
[tsconfig.json](https://github.com/Microsoft/TypeScript/wiki/tsconfig.json)
file. All of the TypeScript options that were previously defined through
the loader querystring (`module`, `target`, etc) should now be specified
in the tsconfig.json file instead. The querystring options have been
removed.