Releases: typed-ember/ember-cli-typescript
Collisions are dangerous
Fixed 🔧
- Issue a warning if we detect a .js/.ts file collision (#1046)
Under the hood 🚗
- Add prettier eslint deps (#1045)
- Use Node 10 for CI (but don't "officially" stop supporting node 8 yet) (#1047)
- Bumped 31 dependency versions
Upgrading ⚙️
ember install ember-cli-typescript@latest
Contributors 🙇
Thanks to everyone who contributed to this release in any way! In randomly shuffled order:
Let's try handing over the Babel
What Changed?
Breaking 💥
- Drop support for Node 8 (#1017)
- Don't configure Babel for TypeScript transpilation (
ember-cli-babel
will handle this now) (#1018)
Under the hood 🚗
- Upgrade ✨Prettier ✨ to a version that supports optional chaining and nullish coalescing (#1018)
- Add test for optional chaining and nullish coalescing (#1018)
- Add test for class field declaration (#1018)
Upgrading ⚙️
ember install ember-cli-typescript@alpha
Contributors 🙇
Thanks to everyone who contributed to this release in any way! In randomly shuffled order:
Errors are useful
What Changed?
Fixed 🔧
- Remove trailing space in the
global.d.ts
blueprint (#866) - Ensure we register Babel plugins with their full path (#946)
- Ensure errors are emitted when
ts:precompile
fails (#984)
Under the hood 🚗
- Switch from Azure Pipelines to GitHub Actions. Hopefully our Windows builds will be much more stable now! 🤞 (#955, #959)
- Ensure commitlint uses the correct config in CI (#985)
- Move docs to a custom domain (#993)
- Bumped 49 dependency versions
Upgrading ⚙️
ember install ember-cli-typescript@latest
Contributors 🙇
Thanks to everyone who contributed to this release in any way! In randomly shuffled order:
If you like ⛓
What Changed?
Added ⭐️
- Adds appropriate Babel plugins to support the nullish coalescing and optional chaining proposals, both supported in TypeScript starting with 3.7. (#914, #936)
Upgrading ⚙️
ember install ember-cli-typescript@latest
Contributors 🙇
Thanks to everyone who contributed to this release in any way! In randomly shuffled order:
Make less noise, do fewer needless things
What Changed?
Added ⭐️
- In addons,
ember-cli-typescript
now installs itself intodependencies
regardless of whatember install
command you use. [#623]
Breaking 💥
- No longer adds the Babel class properties plugin. This is a fix for #707, but it will break against ember-cli-babel versions before 7.7.
- Removes support in the default blueprint for initializing new Module Unification projects, in line with MU's removal from Ember's roadmap in favor of other directions. Existing MU projects should continue to build and typecheck according to the local
tsconfig.json
. (#826) - Drops support for Node 6.
Upgrading
Thanks to #623, whether in an app or an addon you can simply run:
ember install ember-cli-typescript@latest
Contributors 🙇
Thanks to everyone who contributed to this release in any way! In randomly shuffled order:
v2.0.2
How do you solve a problem like a name-mismatch? 🎵
One plus one is two
What Changed?
The bullets below comprise a Greatest Hits list of the fixes and additions from 1.x, but the 2.0 release constitutes a ground-up rewrite of how we handle both transpiling and typechecking TypeScript code. For a full guide for upgrading from 1.x to 2.0, see the Upgrade Notes document.
Fixed 🔧
- We now play nicely with other JS/TS processors, like
ember-auto-import
(#287) - Compilation across projects in monorepos no longer causes
tsc
to panic (#314)
Added ⭐️
- Typechecking now occurs off of the main build thread, so the two are no longer in competition for CPU time on multi-core systems.
- Much nicer formatting for type errors in both the console and browser when running
ember serve
. - TS code is now transpiled by Babel, allowing it to benefit from the same caching and parallelization as JS transpilation, and ensuring consistent language semantics between TS and JS files.
Upgrading ⚙️
See the 2.0 Upgrade Notes for detailed instructions on upgrading from 1.x to 2.0.
Contributors 🙇
Thanks to everyone who opened/discovered an issue we fixed or PR we merged over the course of our 2.0 stabilization process!
Consistency, we hope
For details on the changes since 1.x, see the 2.0.0-beta.1
release notes.
Fixed 🔧
- Set
--isolatedModules
back tofalse
in both precompilation and generated blueprints
Added ⭐️
- We now warn you nicely if you try to use this in an addon via
devDependencies
instead ofdependencies
Under the hood 🚗
- Used the same tests commands across providers, so we get the same results
Upgrading ⚙️
For apps:
ember install ember-cli-typescript@next
For addons:
ember install -S ember-cli-typescript@next
Contributors 🙇
Thanks to everyone who opened/discovered an issue we fixed or PR we merged in this release!
Stay on target… stay on target…
What Changed?
For details on the changes since 1.x, see the 2.0.0-beta.1
release notes.
Fixed 🔧
- Builds no longer hang if a changed TypeScript file did not trigger a TS rebuild (which can happen e.g. if it is not yet imported elsewhere).
- Type-checking information now properly gets injected into the build pipeline for test builds as well as development and production builds.
- Declaration maps now have test coverage to make sure they don't break.
Changed 💥
- The build system now uses the
tsconfig.json
file'spaths
key to copy type definitions during precompile, rather than assuming Ember project structure.
Added ⭐️
- The addon now checks to confirm you're using Ember CLI 3.5+, since the new approach to builds has serious performance problems with a local
tmp
directory.
Under the hood 🚗
- Bumped many dependency versions.
- Set up Azure Pipelines configuration.
- Updated internals to use TypeScript themselves.
Upgrading ⚙️
ember install ember-cli-typescript@next
Contributors 🙇
Thanks to everyone who opened/discovered an issue we fixed or PR we merged in this release!