Skip to content

Releases: typed-ember/ember-cli-typescript

Collisions are dangerous

22 Jan 19:11
a02dbf5
Compare
Choose a tag to compare

Fixed 🔧

  • Issue a warning if we detect a .js/.ts file collision (#1046)

Under the hood 🚗

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

18 Jan 15:06
c2ebe19
Compare
Choose a tag to compare
Pre-release

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

14 Dec 16:07
0d28481
Compare
Choose a tag to compare

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 🚗

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 ⛓

06 Nov 15:35
52df62a
Compare
Choose a tag to compare

What Changed?

Added ⭐️

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

30 Aug 21:26
688f481
Compare
Choose a tag to compare

What Changed?

Added ⭐️

  • In addons, ember-cli-typescript now installs itself into dependencies regardless of what ember 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

05 Jul 11:21
c157909
Compare
Choose a tag to compare

How do you solve a problem like a name-mismatch? 🎵

10 Apr 17:18
Compare
Choose a tag to compare

What Changed?

Fixed 🔧

  • Correctly handles a mismatch between package and addon names (#669)
  • Uses Notion to specify Node and Yarn versions correctly. (#667)

Upgrading ⚙️

For apps:

ember install ember-cli-typescript@latest

For addons:

ember install ember-cli-typescript@latest --save

Contributors 🙇

One plus one is two

13 Mar 21:59
2ec4b58
Compare
Choose a tag to compare

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

07 Jan 22:38
7a379d7
Compare
Choose a tag to compare
Consistency, we hope Pre-release
Pre-release

For details on the changes since 1.x, see the 2.0.0-beta.1 release notes.

Fixed 🔧

  • Set --isolatedModules back to false in both precompilation and generated blueprints

Added ⭐️

  • We now warn you nicely if you try to use this in an addon via devDependencies instead of dependencies

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…

19 Dec 15:15
e3bf6d1
Compare
Choose a tag to compare
Pre-release

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's paths 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!