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-typescriptnow deterministically override the base ones fromember-dataandember-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.jsonblueprint to properly include thetypesdirectory.
1.1.4 - 2018-02-20
- The default
tsconfig.jsonnow 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
apptrees 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-checkerversion too low: put it independencies.
1.1.1 - 2018-02-12
- No longer throw when running generators if
ember-cli-version-checkerversion 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-typescriptandtypescriptitself can remain indevDependenciesinstead ofdependencies, and addons can easily distribute compiled JavaScript with TypeScript type definition (.d.ts) files. - Incremental compilation:
ember serveorember test --servenow use TypeScript'stsc --watchmode to only rebuild what changed, so your builds should be much faster
tsconfig.jsonis no longer so annoyingly temperamental; you can largely do what you want with itember serveno 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.jsonblueprint to set thenoImplicitThisoption 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
stdoutand TS error messages now properly go tostderr - Fixed a dead link in the README
1.0.2 - 2017-08-16
- Updates the generated
tsconfig.jsonto 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.jsonto 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-compileroptionthrowOnErrorwith thetsconfig.jsonnoEmitOnErroroption.
- Use
this.ui.writeinstead 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
allowJsoption to TypeScript, since Broccoli manages the tree so.tsand.jsfiles for us.
- Run prettier on the codebase
0.4.0 - 2017-05-03
- Updated the base type definitions in
app/config/environment.d.tsto 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 serveandember testandember buildall 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.jsonblueprint now includes paths to resolve default Ember app structure imports
- Resolved install bugs on macOS and Linux
- All references to
local-typesin the codebase and blueprints, sincelocal-typesis not used by the addon and not a normal TypeScript file location
0.3.0 - 2017-03-13
tsconfig.jsonblueprint 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.