All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Improve instructions for setting up Linked Addons and In-repo Addons.
1.1.6 - 2018-02-23
- The blueprints provided by
ember-cli-typescript
now deterministically override the base ones fromember-data
andember-source
. - Correct type declarations are installed out of the box based on what test framework is present.
- A catch-all model registry is generated on installation to avoid the "error TS2344" problem.
1.1.5 - 2018-02-20
- Fixed a regression in 1.1.4 which caused in-repo-addons written in TypeScript not to work correctly.
- Fixed the
tsconfig.json
blueprint to properly include thetypes
directory.
1.1.4 - 2018-02-20
- The default
tsconfig.json
now includes inline source maps to support integrating with Babel sourcemaps, and the README has instructions for configuring Ember CLI's Babel integration.
- TypeScript files in addon
app
trees now get compiled properly. - App files now correctly take precedence over any files of the same name earlier in the tree. (If you had a component with the same name as an addon-supplied component, for example, the addon version could override yours.)
1.1.3 - 2018-02-16
- Fix default blueprint for
types/<my app>/index.d.ts
: add missing import and an export statement so ambient declarations work. - Add types to initializer and instance initializer blueprints.
- Special-case handling for Mirage so that it works at all, and update generators so it works "out of the box".
- Stop assuming the ember-cli-qunit version consumers have installed will be sufficiently high for our tests to pass.
1.1.2 - 2018-02-13
- Actually resolve the problem of throwing when running generators if
ember-cli-version-checker
version too low: put it independencies
.
1.1.1 - 2018-02-12
- No longer throw when running generators if
ember-cli-version-checker
version too low by putting it inpeerDependencies
. - Clarified some parts of the README that misled people on handling certain errors.
1.1.0 - 2018-02-12
- Generators:
ember generate <blueprint>
now creates TypeScript files for you - Support for addons: we now precompile addon TypeScript so
ember-cli-typescript
andtypescript
itself can remain indevDependencies
instead ofdependencies
, and addons can easily distribute compiled JavaScript with TypeScript type definition (.d.ts
) files. - Incremental compilation:
ember serve
orember test --serve
now use TypeScript'stsc --watch
mode to only rebuild what changed, so your builds should be much faster
tsconfig.json
is no longer so annoyingly temperamental; you can largely do what you want with itember serve
no longer triggers a full rebuild of all TypeScript files every time any file in your project changes.
1.0.6 - 2017-12-17
- Update to broccoli-typescript-compiler 2.1.1, for proper support for TS 2.6. This should make your build properly respect things like // @ts-ignore special comments.
1.0.5 - 2017-11-23
- Updated the
tsconfig.json
blueprint to set thenoImplicitThis
option totrue
, improving experience around use of updated type definitions
1.0.4 - 2017-11-13
- Updated broccoli-compiler-typescript
- Updated package.json to always install latest version of type definitions
- Fixed the default generated
environment.d.ts
- Made everything ✨ Prettier ✨
1.0.3 - 2017-08-22
- TS info messages now go to
stdout
and TS error messages now properly go tostderr
- Fixed a dead link in the README
1.0.2 - 2017-08-16
- Updates the generated
tsconfig.json
to set"modules": "ES6"
in the compiler options, so that codemods which operate on modules, like babel-plugin-ember-modules-api-polyfill, will actually work. (Yes, this is 1.0.1, but done correctly.)
1.0.1 - 2017-08-16
- Updates the generated
tsconfig.json
to set"modules": "ES6"
in the compiler options, so that codemods which operate on modules, like babel-plugin-ember-modules-api-polyfill, will actually work.
1.0.0 - 2017-08-08
- Include more type definitions in the default blueprint
- Documentation of using
paths
(thanks @toranb!) - Supports in-repo addons, including in-repo Ember Engines
- Update to broccoli-compiler-typescript@2.0
- Update Ember CLI and TypeScript (thanks @mfeckie!)
- Match the
broccoli-typescript-compiler
optionthrowOnError
with thetsconfig.json
noEmitOnError
option.
- Use
this.ui.write
instead ofconsole.log
. - Only process the tsconfig file once, instead of for every Broccoli tree (i.e. addons, the app, and the tests).
- No longer pass the
allowJs
option to TypeScript, since Broccoli manages the tree so.ts
and.js
files for us.
- Run prettier on the codebase
0.4.0 - 2017-05-03
- Updated the base type definitions in
app/config/environment.d.ts
to include the defaults generated when creating an Ember app (thanks, @luketheobscure!) - Updated the README with clearer installation instructions and notes on using the add-on to develop other add-ons
ember serve
andember test
andember build
all work properly now, across platforms- builds are much faster on all platforms.
0.3.2 - 2017-04-22
- Now properly installs on Windows.
0.3.1 - 2017-04-22
tsconfig.json
blueprint now includes paths to resolve default Ember app structure imports
- Resolved install bugs on macOS and Linux
- All references to
local-types
in the codebase and blueprints, sincelocal-types
is not used by the addon and not a normal TypeScript file location
0.3.0 - 2017-03-13
tsconfig.json
blueprint now works for both the addon and editors
0.2.0 - 2016-12-17
- Everything; the 0.2.0 release began by copying the implementation from ember-cli-typify.
- Basic, semi-working functionality.