You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -6,6 +6,22 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
6
6
7
7
## [Unreleased]
8
8
9
+
## [5.1.1] - 2022-09-06
10
+
11
+
### Fixed 🔧
12
+
13
+
- Use `ember-cli-htmlbars` rather than `htmlbars-inline-precompile` in blueprints ([#1519](https://github.com/typed-ember/ember-cli-typescript/pull/1519))
14
+
- Fix `import/newline-after-import` lint violation in `global.d.ts` ([#1520](https://github.com/typed-ember/ember-cli-typescript/pull/1520))
15
+
- Fix `no-use-before-define` lint violation in `environment.d.ts` ([#1521](https://github.com/typed-ember/ember-cli-typescript/pull/1521))
16
+
- Add `@types/ember` to installed packages from blueprint ([#1508](https://github.com/typed-ember/ember-cli-typescript/pull/1508))
17
+
- Update blueprint to use `@tsconfig/ember` ([#1507](https://github.com/typed-ember/ember-cli-typescript/pull/1507))
18
+
- Clarify babel version error message ([#1500](https://github.com/typed-ember/ember-cli-typescript/pull/1500))
@@ -28,7 +44,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
28
44
29
45
### Changed 💥
30
46
31
-
This now requires Node 12+! That's the only technically *breaking* change.
47
+
This now requires Node 12+! That's the only technically _breaking_ change.
32
48
33
49
- Update types & ember to 4.x([#1472])
34
50
@@ -61,7 +77,7 @@ This is a republish of 4.2.0 without the accidentally included 500+ MB of debugg
61
77
62
78
### Added ⭐️
63
79
64
-
- Install @types/ember-data__* when ember-data is found ([#1411])
80
+
- Install @types/ember-data\_\_\* when ember-data is found ([#1411])
65
81
66
82
### Changed 💥
67
83
@@ -314,11 +330,11 @@ This is a republish of 4.2.0 without the accidentally included 500+ MB of debugg
314
330
315
331
### Breaking 💥
316
332
317
-
- 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.
318
-
- Removes support in the default blueprint for initializing new Module Unification projects, in line with [MU's removal][MU] 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](https://github.com/typed-ember/ember-cli-typescript/pull/826))
333
+
- 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.
334
+
- Removes support in the default blueprint for initializing new Module Unification projects, in line with [MU's removal][mu] 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](https://github.com/typed-ember/ember-cli-typescript/pull/826))
For details on the changes since 1.x, see the [`2.0.0-beta.1` release notes](https://github.com/typed-ember/ember-cli-typescript/releases/tag/v2.0.0-beta.1).
384
399
385
400
### Fixed 🔧
386
401
@@ -420,8 +435,7 @@ Thanks to everyone who opened/discovered an issue we fixed or PR we merged in th
420
435
421
436
## What Changed?
422
437
423
-
For details on the changes since 1.x, see the [`2.0.0-beta.1` release notes](
For details on the changes since 1.x, see the [`2.0.0-beta.1` release notes](https://github.com/typed-ember/ember-cli-typescript/releases/tag/v2.0.0-beta.1).
For details on the changes since 1.x, see the [`2.0.0-beta.1` release notes](https://github.com/typed-ember/ember-cli-typescript/releases/tag/v2.0.0-beta.1).
466
479
467
480
### Fixed 🔧
481
+
468
482
- Ensure consistency with `tsc` re: class property initialization order (#365)
469
483
470
484
## Upgrading ⚙️
@@ -483,384 +497,387 @@ Thanks to everyone who opened/discovered an issue we fixed or PR we merged in th
483
497
## [2.0.0-beta.2] - 2018-10-26
484
498
485
499
### Fixed
500
+
486
501
- Ensure that ember-cli-typescript doesn't interfere with parallelizing the Babel transpilation process (#351)
487
502
488
503
## [2.0.0-beta.1] - 2018-10-25
489
504
490
-
This is a major release with 💥 breaking changes 💥! However, most apps will compile with minimal (or no) changes! 🎉 They'll also tend to compile *much faster* in many cases. ⚡️
505
+
This is a major release with 💥 breaking changes 💥! However, most apps will compile with minimal (or no) changes! 🎉 They'll also tend to compile _much faster_ in many cases. ⚡️
491
506
492
507
We now use Babel 7's support for TypeScript to build apps and addons. Most of the horrible hacks we had to do before are now gone, and the error outputs you will see for type errors are much nicer as well. (As a particular note, we should work better with `ember-auto-import` now, since we're just part of the normal Broccoli/Babel pipeline Ember CLI uses.)
493
508
494
-
***THIS IS A BETA!*** Please test this out in your apps! Please do *not* use this for your production apps!
509
+
**_THIS IS A BETA!_** Please test this out in your apps! Please do _not_ use this for your production apps!
495
510
496
511
### Added
497
512
498
-
* Much nicer reporting of type errors both in the console and in your browser
499
-
* Type errors now use the "pretty" type error format stabilized in TypeScript 2.9
513
+
- Much nicer reporting of type errors both in the console and in your browser
514
+
- Type errors now use the "pretty" type error format stabilized in TypeScript 2.9
500
515
501
516
### Changed
502
517
503
-
* We now build the application using Babel 7's TypeScript plugin. This has a few important limitations – some of them bugs (linked below); others are conscious decisions on the part of Babel. The changes:
504
-
-`const enum` types are unsupported. You should switch to constants or regular enums.
518
+
- We now build the application using Babel 7's TypeScript plugin. This has a few important limitations – some of them bugs (linked below); others are conscious decisions on the part of Babel. The changes:
519
+
520
+
-`const enum` types are unsupported. You should switch to constants or regular enums.
505
521
506
-
- trailing commas after rest function parameters (`function foo(...bar[],) {}`) are disallowed by the ECMAScript spec, so Babel also disallows them.
522
+
- trailing commas after rest function parameters (`function foo(...bar[],) {}`) are disallowed by the ECMAScript spec, so Babel also disallows them.
507
523
508
-
- re-exports of types have to be disambiguated to be *types*, rather than values. Neither of these will work:
524
+
- re-exports of types have to be disambiguated to be _types_, rather than values. Neither of these will work:
* Addonscannolongeruse`.ts`inapp, becauseanaddon's `app` directory gets merged with and uses the *host's* (i.e. theotheraddonorapp's) preprocessors, and we cannot guarantee the host has TS support. Note that in-repo-addons will continue to work for in-repo addons because of the app build works with the host's (i.e. theapp's, not the addon's) preprocessors.
- Addonscannolongeruse`.ts`inapp, becauseanaddon's `app` directory gets merged with and uses the _host's_ (i.e. theotheraddonorapp's) preprocessors, and we cannot guarantee the host has TS support. Note that in-repo-addons will continue to work for in-repo addons because of the app build works with the host's (i.e. theapp's, not the addon's) preprocessors.
*Initialsupportfor [ModuleUnification](https://github.com/emberjs/rfcs/blob/master/text/0143-module-unification.md) (see [#199](https://github.com/typed-ember/ember-cli-typescript/pull/199) for what is/isn't supported in this release)
598
-
*Supportforbuildingaddons' `test-support` and `addon-test-support` directories
-Initialsupportfor [ModuleUnification](https://github.com/emberjs/rfcs/blob/master/text/0143-module-unification.md) (see [#199](https://github.com/typed-ember/ember-cli-typescript/pull/199) for what is/isn't supported in this release)
615
+
-Supportforbuildingaddons' `test-support` and `addon-test-support` directories
599
616
600
617
## [1.3.4] - 2018-09-24
601
618
602
619
### Fixed
603
620
604
-
*Wenowcorrectlycleanupthesystemtempdirectorywecreateduringbuilds. (Backportedfrom1.4.3; see [#318].)
621
+
-Wenowcorrectlycleanupthesystemtempdirectorywecreateduringbuilds. (Backportedfrom1.4.3; see [#318].)
605
622
606
623
## [1.3.3] - 2018-07-19
607
624
608
625
### Fixed
609
626
610
-
*Watcherhasbeen"de-simplified"tomakeitmoreconsistentwithhowtsc's own watcher works and prevent rebuild issues.
*Thedeclarationfileforthe`<app-name>/config/environment`modulenowresolvescorrectlyfromappcode. Ifyouhaveaversionofthisfilepreviouslygeneratedat`types/<app-name>/config/environment.d.ts`, you'll likely want to move it to `app/config/environment.d.ts`.
-Thedeclarationfileforthe`<app-name>/config/environment`modulenowresolvescorrectlyfromappcode. Ifyouhaveaversionofthisfilepreviouslygeneratedat`types/<app-name>/config/environment.d.ts`, you'll likely want to move it to `app/config/environment.d.ts`.
682
699
683
700
## [1.1.7] - 2018-09-24
684
701
685
702
### Fixed
686
703
687
-
*Wenowcorrectlycleanupthesystemtempdirectorywecreateduring builds. (Backportedfrom 1.4.3; see [#318].)
704
+
-Wenowcorrectlycleanupthesystemtempdirectorywecreateduring builds. (Backportedfrom 1.4.3; see [#318].)
* **Incrementalcompilation:** `ember serve`or`ember test --serve`nowuseTypeScript's `tsc --watch` mode to only rebuild what changed, so your builds should be much faster
- **Incrementalcompilation:** `ember serve`or`ember test --serve`nowuseTypeScript's `tsc --watch` mode to only rebuild what changed, so your builds should be much faster
*Updatesthegenerated`tsconfig.json`toset`"modules": "ES6"`inthecompileroptions, sothatcodemodswhichoperateonmodules, like [babel-plugin-ember-modules-api-polyfill](https://github.com/ember-cli/babel-plugin-ember-modules-api-polyfill/), will actually work. (Yes, this is 1.0.1, but done correctly.)
805
+
-Updatesthegenerated`tsconfig.json`toset`"modules": "ES6"`inthecompileroptions, sothatcodemodswhichoperateonmodules, like [babel-plugin-ember-modules-api-polyfill](https://github.com/ember-cli/babel-plugin-ember-modules-api-polyfill/), will actually work. (Yes, this is 1.0.1, but done correctly.)
789
806
790
807
## [1.0.1] - 2017-08-16
791
808
792
809
### Changed
793
810
794
-
*Updatesthegenerated`tsconfig.json`toset`"modules": "ES6"`inthecompileroptions, sothatcodemodswhichoperateonmodules, like [babel-plugin-ember-modules-api-polyfill](https://github.com/ember-cli/babel-plugin-ember-modules-api-polyfill/), will actually work.
811
+
-Updatesthegenerated`tsconfig.json`toset`"modules": "ES6"`inthecompileroptions, sothatcodemodswhichoperateonmodules, like [babel-plugin-ember-modules-api-polyfill](https://github.com/ember-cli/babel-plugin-ember-modules-api-polyfill/), will actually work.
0 commit comments