UNPKG

37.1 kBMarkdownView Raw
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
7## [Unreleased]
8
9## [4.2.1] - 2021-06-17
10
11This is a republish of 4.2.0 without the accidentally included 500+ MB of debugging copies of node_modules.
12
13## [4.2.0] - 2021-06-15
14
15### Added ⭐️
16
17- Install @types/ember-data__* when ember-data is found ([#1411])
18
19### Changed 💥
20
21- update option noEmitOnError to true ([#1415])
22
23### Documentation 📖
24
25- Update Broccoli URL ([#1409])
26- Improve sentence about declare modifier ([#1414])
27- Link to decorator usage doc from ED-models doc ([#1404])
28- Fix link to doc "working with route models" ([#1418])
29- Fix typo [in services docs] ([#1421])
30- @ember-data/object is not a thing ([#1429])
31- Update README.md ([#1425])
32
33### Under the hood 🚗
34
35- Fix qunit types... again ([#1401])
36- Rip out commitlint from CI ([#1430])
37- CI updates ([#1434])
38- Bump y18n from 3.2.1 to 3.2.2 ([#1420])
39- Bump underscore from 1.10.2 to 1.13.1 ([#1426])
40- Bump handlebars from 4.7.6 to 4.7.7 ([#1427])
41- Bump lodash from 4.17.20 to 4.17.21 ([#1428])
42
43[#1401]: https://github.com/typed-ember/ember-cli-typescript/pull/1401
44[#1404]: https://github.com/typed-ember/ember-cli-typescript/pull/1404
45[#1409]: https://github.com/typed-ember/ember-cli-typescript/pull/1409
46[#1411]: https://github.com/typed-ember/ember-cli-typescript/pull/1411
47[#1414]: https://github.com/typed-ember/ember-cli-typescript/pull/1414
48[#1415]: https://github.com/typed-ember/ember-cli-typescript/pull/1415
49[#1418]: https://github.com/typed-ember/ember-cli-typescript/pull/1418
50[#1420]: https://github.com/typed-ember/ember-cli-typescript/pull/1420
51[#1421]: https://github.com/typed-ember/ember-cli-typescript/pull/1421
52[#1425]: https://github.com/typed-ember/ember-cli-typescript/pull/1425
53[#1426]: https://github.com/typed-ember/ember-cli-typescript/pull/1426
54[#1427]: https://github.com/typed-ember/ember-cli-typescript/pull/1427
55[#1428]: https://github.com/typed-ember/ember-cli-typescript/pull/1428
56[#1429]: https://github.com/typed-ember/ember-cli-typescript/pull/1429
57[#1430]: https://github.com/typed-ember/ember-cli-typescript/pull/1430
58[#1434]: https://github.com/typed-ember/ember-cli-typescript/pull/1434
59
60## [4.1.0] - 2021-02-03
61
62### Added ⭐️
63
64- Install @types/ember packages separately via blueprint ([#1383])
65
66### Documentation 📖
67
68- Octane and much polish and clarification ([#935])
69- Fix working with ember outline links ([#1394])
70- Docs fixes ([#1395])
71- Fix typos in the Ember Routes docs ([#1400])
72
73### Under the hood 🚗
74
75- Fix qunit types conflict ([#1344])
76- Bump @types/ember-qunit & @types/qunit to resolve types conflict ([#1380])
77- Fix commitlint action config ([#1388])
78- Dependency updates ([4.1.0-deps-bumps])
79
80[#935]: https://github.com/typed-ember/ember-cli-typescript/pull/935
81[#1344]: https://github.com/typed-ember/ember-cli-typescript/pull/1344
82[#1380]: https://github.com/typed-ember/ember-cli-typescript/pull/1380
83[#1383]: https://github.com/typed-ember/ember-cli-typescript/pull/1383
84[#1388]: https://github.com/typed-ember/ember-cli-typescript/pull/1388
85[#1394]: https://github.com/typed-ember/ember-cli-typescript/pull/1394
86[#1395]: https://github.com/typed-ember/ember-cli-typescript/pull/1395
87[#1400]: https://github.com/typed-ember/ember-cli-typescript/pull/1400
88[4.1.0-deps-bumps]: https://github.com/typed-ember/ember-cli-typescript/pulls?q=is%3Apr+is%3Amerged+base%3Amaster+merged%3A2020-09-02T17%3A55%3A00-0400..2021-02-03T16%3A00%3A00-0500+chore%28deps%29+in%3Atitle+sort%3Aupdated-asc+
89
90## [4.0.0] - 2020-09-02
91
92### Breaking 💥
93
94- Drop support for Node 8 ([#1017])
95- Don't configure Babel for TS transpilation ([#1018])
96
97### Added ⭐️
98
99- Don't run type-checking middleware when an existing build is used via `--path` ([#1148])
100
101### Changed 💥
102
103- Update `tsconfig.json` blueprint `target` value to `2020` ([#1108])
104- Use `prepack` and `postpack` instead of `prepublishOnly` and `postpublish` ([#1196])
105
106### Fixed 🔧
107
108- Bring apps closer to type-checking out of the box ([#1169])
109
110### Under the hood 🚗
111
112- Upgrade [✨ Prettier ✨](https://prettier.io) to a version that supports optional chaining and nullish coalescing ([#1018])
113- Add test for optional chaining and nullish coalescing ([#1018])
114- Add test for class field declaration ([#1018])
115- Add RFCs to repo ([#1157])
116- Fix description of ts:precompile ([#1162])
117- Fix dead link to "packages this addon installs" ([#1164])
118- Get CI passing ([#1167])
119- Avoid false-positive `willTypecheck`s on Linux ([#1198])
120- Dependency updates ([4.0.0-deps-bumps], [#1191])
121
122[#1017]: https://github.com/typed-ember/ember-cli-typescript/pull/1017
123[#1018]: https://github.com/typed-ember/ember-cli-typescript/pull/1018
124[4.0.0-deps-bumps]: https://github.com/typed-ember/ember-cli-typescript/pulls?q=is%3Apr+is%3Amerged+base%3Amaster+merged%3A2020-05-29T11%3A00%3A00-0500..2020-09-02T18%3A00%3A00-0400+chore%28deps%29+in%3Atitle+
125
126### Upgrading ⚙️
127
128- Make sure you are using at least [ember-cli-babel@^7.17.0](https://github.com/babel/ember-cli-babel/releases/tag/v7.17.0) or your `.ts` files will be ignored completely!
129- If you are using `ember-auto-import`, make sure you are using at least [ember-auto-import@^1.6.0](https://github.com/ef4/ember-auto-import/blob/master/CHANGELOG.md#160).
130- Run `ember install ember-cli-typescript@^4.0.0` or use your package manager to upgrade to `ember-cli-typescript@^4.0.0` directly and skip the blueprint.
131
132## [4.0.0-rc.1] - 2020-07-14
133
134### Added ⭐️
135
136- Don't run type-checking middleware when an existing build is used via `--path` ([#1148])
137
138### Changed 💥
139
140- Update `tsconfig.json` blueprint `target` value to `2020` ([#1108])
141- Use `prepack` and `postpack` instead of `prepublishOnly` and `postpublish` ([#1196])
142
143### Fixed 🔧
144
145- Bring apps closer to type-checking out of the box ([#1169])
146
147### Under the hood 🚗
148
149- Add RFCs to repo ([#1157])
150- Fix description of ts:precompile ([#1162])
151- Fix dead link to "packages this addon installs" ([#1164])
152- Get CI passing ([#1167])
153- Avoid false-positive `willTypecheck`s on Linux ([#1198])
154- Dependency updates ([4.0.0-rc.1-deps-bumps], [#1191])
155
156### Upgrading ⚙️
157
158- Make sure you are using at least [ember-cli-babel@^7.17.0](https://github.com/babel/ember-cli-babel/releases/tag/v7.17.0) or your `.ts` files will be ignored completely!
159- If you are using `ember-auto-import`, make sure you are using at least [ember-auto-import@^1.6.0](https://github.com/ef4/ember-auto-import/blob/master/CHANGELOG.md#160).
160- Run `ember install ember-cli-typescript@next` or use your package manager to upgrade to `ember-cli-typescript@next` directly and skip the blueprint.
161
162[#1108]: https://github.com/typed-ember/ember-cli-typescript/pull/1108
163[#1148]: https://github.com/typed-ember/ember-cli-typescript/pull/1148
164[#1157]: https://github.com/typed-ember/ember-cli-typescript/pull/1157
165[#1162]: https://github.com/typed-ember/ember-cli-typescript/pull/1162
166[#1164]: https://github.com/typed-ember/ember-cli-typescript/pull/1164
167[#1167]: https://github.com/typed-ember/ember-cli-typescript/pull/1167
168[#1169]: https://github.com/typed-ember/ember-cli-typescript/pull/1169
169[#1191]: https://github.com/typed-ember/ember-cli-typescript/pull/1191
170[#1196]: https://github.com/typed-ember/ember-cli-typescript/pull/1196
171[#1198]: https://github.com/typed-ember/ember-cli-typescript/pull/1198
172[4.0.0-rc.1-deps-bumps]: https://github.com/typed-ember/ember-cli-typescript/pulls?q=is%3Apr+is%3Amerged+base%3Amaster+merged%3A2020-05-29T11%3A00%3A00-0500..2020-07-14T17%3A15%3A00-0600+chore%28deps%29+in%3Atitle+
173
174## [4.0.0-alpha.1] - 2020-01-18
175
176### Breaking 💥
177
178- Drop support for Node 8 ([#1017])
179- Don't configure Babel for TS transpilation ([#1018])
180
181### Under the hood 🚗
182
183- Upgrade [✨ Prettier ✨](https://prettier.io) to a version that supports optional chaining and nullish coalescing ([#1018])
184- Add test for optional chaining and nullish coalescing ([#1018])
185- Add test for class field declaration ([#1018])
186
187[#1017]: https://github.com/typed-ember/ember-cli-typescript/pull/1017
188[#1018]: https://github.com/typed-ember/ember-cli-typescript/pull/1018
189
190## [3.1.4] - 2020-05-29
191
192### Fixed 🔧
193
194- Use temp dir in project for precompile ([#1153])
195
196### Under the hood 🚗
197
198- Bumped [52 dependency versions][3.1.4-deps-bumps]
199
200[#1153]: https://github.com/typed-ember/ember-cli-typescript/pull/1153
201[3.1.4-deps-bumps]: https://github.com/typed-ember/ember-cli-typescript/pulls?q=is%3Apr+is%3Amerged+base%3Amaster+merged%3A2020-01-22T13%3A00%3A00-0600..2020-05-29T11%3A00%3A00-0500+chore%28deps%29+in%3Atitle+
202
203## [3.1.3] - 2020-01-22
204
205### Fixed 🔧
206
207- Issue a warning if we detect a .js/.ts file collision ([#1046])
208
209[#1046]: https://github.com/typed-ember/ember-cli-typescript/pull/1046
210
211### Under the hood 🚗
212
213- Add prettier eslint deps ([#1045])
214- Use Node 10 for CI (but don't "officially" stop supporting node 8 yet) ([#1047])
215- Bumped [31 dependency versions][3.1.3-deps-bumps]
216
217[#1045]: https://github.com/typed-ember/ember-cli-typescript/pull/1045
218[#1047]: https://github.com/typed-ember/ember-cli-typescript/pull/1047
219[3.1.3-deps-bumps]: https://github.com/typed-ember/ember-cli-typescript/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Amerged+merged%3A2019-12-14T10%3A52%3A00%2B0600..2020-01-22T13%3A00%3A00%2B0600+chore%28deps%29+in%3Atitle+
220
221## [3.1.2] - 2019-12-14
222
223### Fixed 🔧
224
225- Remove trailing space in the `global.d.ts` blueprint ([#866])
226- Ensure we register Babel plugins with their full path ([#946])
227- Ensure errors are emitted when `ts:precompile` fails ([#984])
228
229[#866]: https://github.com/typed-ember/ember-cli-typescript/pull/866
230[#946]: https://github.com/typed-ember/ember-cli-typescript/pull/946
231[#984]: https://github.com/typed-ember/ember-cli-typescript/pull/984
232
233### Under the hood 🚗
234
235- Switch from Azure Pipelines to GitHub Actions. Hopefully our Windows builds will be much more stable now! 🤞 ([#955], [#959])
236- Ensure commitlint uses the correct config in CI ([#985])
237- Move docs to a [custom domain](https://ember-cli-typescript.com) ([#993])
238- Bumped [49 dependency versions][3.1.2-deps-bumps]
239
240[#955]: https://github.com/typed-ember/ember-cli-typescript/pull/955
241[#959]: https://github.com/typed-ember/ember-cli-typescript/pull/959
242[#985]: https://github.com/typed-ember/ember-cli-typescript/pull/985
243[#993]: https://github.com/typed-ember/ember-cli-typescript/pull/993
244[3.1.2-deps-bumps]: https://github.com/typed-ember/ember-cli-typescript/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Amerged+merged%3A2019-11-06T16%3A26%3A25%2B0100..2019-12-14T10%3A52%3A00%2B0600+chore%28deps%29+in%3Atitle+
245
246## [3.1.1] - 2019-11-06
247
248### Added ⭐️
249
250- Adds appropriate Babel plugins to support the [nullish coalescing][nullish-coalescing] and [optional chaining][optional-chaining] proposals, both supported in TypeScript [starting with 3.7][ts-3.7]. ([#914], [#936])
251
252[nullish-coalescing]: https://github.com/tc39/proposal-nullish-coalescing
253[optional-chaining]: https://github.com/tc39/proposal-optional-chaining
254[ts-3.7]: https://devblogs.microsoft.com/typescript/announcing-typescript-3-7/
255[#914]: https://github.com/typed-ember/ember-cli-typescript/pull/914
256[#936]: https://github.com/typed-ember/ember-cli-typescript/pull/936
257
258## 3.1.0 - 2019-11-06
259
2603.1.0 was a bad release on npm, and was yanked accordingly. See **3.1.1**!
261
262## [3.0.0] - 2019-08-30
263
264### Added ⭐️
265
266- In addons, `ember-cli-typescript` now installs itself into `dependencies` regardless of what `ember install` command you use. [#623]
267
268### Breaking 💥
269
270- 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.
271- 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))
272- Drops support for Node 6.
273
274[MU]: https://blog.emberjs.com/2019/03/11/update-on-module-unification-and-octane.html
275[#623]: https://github.com/typed-ember/ember-cli-typescript/issues/623
276[#707]: https://github.com/typed-ember/ember-cli-typescript/issues/707
277
278## [2.0.2] - 2019-07-05
279
280- Lock `@babel/plugin-transform-typescript` version pending a fix to [babel/babel#10162](https://github.com/babel/babel/issues/10162) ([#751](https://github.com/typed-ember/ember-cli-typescript/pull/751))
281
282## [2.0.1] - 2019-04-10
283
284### Fixed 🔧
285
286- Correctly handles a mismatch between package and addon names ([#669](https://github.com/typed-ember/ember-cli-typescript/pull/669))
287- Uses [Notion](https://www.notionjs.com) to specify Node and Yarn versions correctly. ([#667](https://github.com/typed-ember/ember-cli-typescript/pull/667))
288
289## [2.0.0] - 2019-03-13
290
291The 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](https://github.com/typed-ember/ember-cli-typescript/blob/13015d2e7ebef9d7b9b8b5acb84a35b8dfde5502/tests/dummy/app/templates/docs/upgrade-notes.md).
292
293### Fixed 🔧
294
295- We now play nicely with other JS/TS processors, like `ember-auto-import` ([#287](https://github.com/typed-ember/ember-cli-typescript/issues/287))
296- Compilation across projects in monorepos no longer causes `tsc` to panic ([#314](https://github.com/typed-ember/ember-cli-typescript/issues/314))
297
298### Added ⭐️
299
300- Typechecking now occurs off of the main build thread, so the two are no longer in competition for CPU time on multi-core systems.
301- Much nicer formatting for type errors in both the console and browser when running `ember serve`.
302- 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.
303
304## Upgrading ⚙️
305
306See the [2.0 Upgrade Notes](https://github.com/typed-ember/ember-cli-typescript/blob/13015d2e7ebef9d7b9b8b5acb84a35b8dfde5502/tests/dummy/app/templates/docs/upgrade-notes.md) for detailed instructions on upgrading from 1.x to 2.0.
307
308## Contributors 🙇
309
310Thanks to everyone who opened/discovered an issue we fixed or PR we merged over the course of our 2.0 stabilization process!
311
312- @acorncom
313- @allenylzhou
314- @alexlafroscia
315- @anmaikul
316- @Bouke
317- @boris-petrov
318- @championswimmer
319- @chriskrycho
320- @dwickern
321- @dfreeman
322- @ef4
323- @Gaurav0
324- @happycollision
325- @jamescdavis
326- @lifeart
327- @mfeckie
328- @mike-north
329- @runspired
330- @simonihmig
331- @theseyi
332
333## [2.0.0-rc.2] - 2019-01-07
334
335For details on the changes since 1.x, see the [`2.0.0-beta.1` release notes](
336https://github.com/typed-ember/ember-cli-typescript/releases/tag/v2.0.0-beta.1).
337
338### Fixed 🔧
339
340- Set `--isolatedModules` back to `false` in both precompilation and generated blueprints
341
342### Added ⭐️
343
344- We now warn you nicely if you try to use this in an addon via `devDependencies` instead of `dependencies`
345
346### Under the hood 🚗
347
348- Used the same tests commands across providers, so we get the same results
349
350## Upgrading ⚙️
351
352For apps:
353
354```
355ember install ember-cli-typescript@next
356```
357
358For addons:
359
360```
361ember install -S ember-cli-typescript@next
362```
363
364## Contributors 🙇
365
366Thanks to everyone who opened/discovered an issue we fixed or PR we merged in this release!
367
368- @alexlafroscia
369- @dfreeman
370- @happycollision
371
372## [2.0.0-rc.1] - 2018-12-13
373
374## What Changed?
375
376For details on the changes since 1.x, see the [`2.0.0-beta.1` release notes](
377https://github.com/typed-ember/ember-cli-typescript/releases/tag/v2.0.0-beta.1).
378
379### Fixed 🔧
380
381- 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).
382- Type-checking information now properly gets injected into the build pipeline for test builds as well as development and production builds.
383- Declaration maps now have test coverage to make sure they don't break.
384
385### Changed 💥
386
387- The build system now uses the `tsconfig.json` file's `paths` key to copy type definitions during precompile, rather than assuming Ember project structure.
388
389### Added ⭐️
390
391- 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.
392
393### Under the hood 🚗
394
395- Bumped *many* dependency versions.
396- Set up Azure Pipelines configuration.
397- Updated internals to use TypeScript themselves.
398
399## Upgrading ⚙️
400
401```
402ember install ember-cli-typescript@next
403```
404
405## Contributors 🙇
406
407Thanks to everyone who opened/discovered an issue we fixed or PR we merged in this release!
408
409- @mike-north
410- @dfreeman
411- @jamescdavis
412
413## [2.0.0-beta.3] - 2018-11-02
414
415## What Changed?
416
417For details on the changes since 1.x, see the [`2.0.0-beta.1` release notes](
418https://github.com/typed-ember/ember-cli-typescript/releases/tag/v2.0.0-beta.1).
419
420### Fixed 🔧
421- Ensure consistency with `tsc` re: class property initialization order (#365)
422
423## Upgrading ⚙️
424
425```
426ember install ember-cli-typescript@beta
427```
428
429## Contributors 🙇
430
431Thanks to everyone who opened/discovered an issue we fixed or PR we merged in this release!
432
433- @runspired
434- @dfreeman
435
436## [2.0.0-beta.2] - 2018-10-26
437
438### Fixed
439- Ensure that ember-cli-typescript doesn't interfere with parallelizing the Babel transpilation process (#351)
440
441## [2.0.0-beta.1] - 2018-10-25
442
443This 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. ⚡️
444
445We 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.)
446
447***THIS IS A BETA!*** Please test this out in your apps! Please do *not* use this for your production apps!
448
449### Added
450
451* Much nicer reporting of type errors both in the console and in your browser
452* Type errors now use the "pretty" type error format stabilized in TypeScript 2.9
453
454### Changed
455
456* 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:
457 - `const enum` types are unsupported. You should switch to constants or regular enums.
458
459 - trailing commas after rest function parameters (`function foo(...bar[],) {}`) are disallowed by the ECMAScript spec, so Babel also disallows them.
460
461 - re-exports of types have to be disambiguated to be *types*, rather than values. Neither of these will work:
462
463 ```ts
464 export { FooType } from 'foo';
465 ```
466 ```ts
467 import { FooType } from 'foo';
468 export { FooType };
469 ```
470
471 In both cases, Babel attempts to emit a *value* export, not just a *type* export, and fails because there is no actual value to emit. You can do this instead as a workaround:
472
473 ```ts
474 import * as Foo from 'foo';
475 export type FooType = Foo.FooType;
476 ```
477
478 - `this` types in ES5 getters and setters are do not work ([babel/babel#8069](https://github.com/babel/babel/issues/8069))
479
480 - destructuring of parameters in function signatures currently do not work ([babel/babel#8099](https://github.com/babel/babel/issues/8099))
481
482 Other bugs you should be aware of:
483
484 - if an enum has a member with the same name as an imported type ([babel/babel#8881](https://github.com/babel/babel/issues/8881))
485
486* `ember-cli-typescript` must be in `dependencies` instead of `devDependencies` for addons, since we now hook into the normal Broccoli + Babel build pipeline instead of doing an end-run around it
487
488* Addons can no longer use `.ts` in app, because an addon's `app` directory gets merged with and uses the *host's* (i.e. the other addon or app'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. the app's, not the addon's) preprocessors.
489
490* Apps need to use `.js` for overrides in app, since the different file extension means apps no long consistently "win" over addon versions (a limitation of how Babel + app merging interact) – note that this won’t be a problem with Module Unification apps
491
492### Fixed
493
494* Type errors now show properly in the browser when running tests
495
496## [1.5.0] - 2018-10-25
497
498### Fixed
499
500* We now provide better user feedback when installing ember-cli-typescript from a git version (i.e. for testing prereleases)
501* Updated to ember-cli-typescript-blueprints so types in generated files correctly match the latest Ember Data types
502* Updated to latest Ember CLI blueprint (as of 3.5.0)
503
504## [1.4.4] - 2018-10-01
505
506### Fixed
507
508* We no longer claim the absolute highest priority when ember-cli is selecting blueprints (see [#323])
509
510[#323]: https://github.com/typed-ember/ember-cli-typescript/pull/323
511
512## [1.4.3] - 2018-09-24
513
514### Fixed
515
516* We now correctly clean up the system temp directory we create during builds (see [#318])
517
518[#318]: https://github.com/typed-ember/ember-cli-typescript/issues/318
519
520### Changed
521
522* We reference the Discord channel instead of Slack.
523* [Internal] We enabled writing code for this addon itself in TypeScript.
524
525## [1.4.2] - 2018-09-06
526
527### Fixed
528
529* Ensure TS blueprints always take precedence over JS ones ([#253](https://github.com/typed-ember/ember-cli-typescript/pull/253))
530
531## [1.4.1] - 2018-09-05
532
533### Fixed
534
535* Avoid warnings in Ember CLI 3.4+ about missing package directories for our in-repo testing addons ([#252](https://github.com/typed-ember/ember-cli-typescript/pull/252))
536
537### Changed
538
539* All blueprints for Ember and Ember Data entities now come from a standalone [ember-cli-typescript-blueprints](https://github.com/typed-ember/ember-cli-typescript-blueprints) package.
540
541## [1.4.0] - 2018-08-07
542
543### Fixed
544
545* Ignore `node_modules` hoisted above project root (e.g. yarn workspaces)
546
547### Added
548
549* Auto-install of [`@types/ember__test-helpers`](https://www.npmjs.com/package/@types/ember__test-helpers)
550* Initial support for [Module Unification](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)
551* Support for building addons' `test-support` and `addon-test-support` directories
552
553## [1.3.4] - 2018-09-24
554
555### Fixed
556
557* We now correctly clean up the system temp directory we create during builds. (Backported from 1.4.3; see [#318].)
558
559## [1.3.3] - 2018-07-19
560
561### Fixed
562
563* Watcher has been "de-simplified" to make it more consistent with how tsc's own watcher works and prevent rebuild issues.
564* `ember-cli-typescript` will now run after `ember-decorators`, ensuring that the `ember-cli-typescript` blueprints override `ember-decorators`'.
565
566### Changed
567
568* Improved documentation regarding service injection.
569
570### Added
571
572* Getting Help section to readme.
573* Github issue templates.
574
575## [1.3.2] - 2018-06-05
576
577### Fixed
578
579* TypeScript 2.9 no longer causes infinite error loops and/or fails to trigger rebuilds.
580
581## [1.3.1] - 2018-05-14
582
583### Fixed
584
585* No longer requires TypeScript before it has been installed.
586* Properly ignore the root across platforms.
587
588## [1.3.0] - 2018-05-01
589
590### Fixed
591
592* Simplified the file watching implementation, fixing some odd behavior when trees of files were deleted or moved all at once.
593* Synchronization between tsc and the broccoli build process has been improved, reducing spurious rebuilds.
594* TypeScript no longer churns on every change in the `tmp` directory.
595* Make sure ember-cli-typescript is a dev dependency when generating in-repo-addons, so their TypeScript gets built correctly.
596* Eliminated some lint errors in the build.
597
598### Changed
599
600* Updated the generated `tsconfig.json` to use the maximum strictness we can with Ember's typings.
601* Clarified instructions for sourcemaps.
602
603### Added
604
605* The addon now supports failing the build when there are type errors, using `"noEmitOnError": true` in `tsconfig.json`.
606
607## [1.2.2] - 2018-09-24
608
609### Fixed
610
611* We now correctly clean up the system temp directory we create during builds. (Backported from 1.4.3; see [#318].)
612
613## [1.2.1] - 2018-03-14
614
615### Fixed
616
617* Blueprint now correctly adds ember-cli-typescript as a dependency, allowing TS to be merged into the regular app tree.
618
619## [1.2.0] - 2018-03-05
620
621### Added
622
623* Blueprint (and tests) to generate in-repo addons configured for TypeScript
624* Add `// @ts-ignore` component template import.
625* `-addon` blueprints for all the things to generate .ts files in `app/` in an addon.
626
627### Changed
628
629* Improve instructions for setting up [Linked Addons](README.md#linking-addons) and [In-repo Addons](README.md#in-repo-addons).
630
631### Fixed
632
633* Addon components need to manually set their layout property to the imported compiled template.
634* The declaration file for the `<app-name>/config/environment` module now resolves correctly from app code. If you have a version of this file previously generated at `types/<app-name>/config/environment.d.ts`, you'll likely want to move it to `app/config/environment.d.ts`.
635
636## [1.1.7] - 2018-09-24
637
638### Fixed
639
640* We now correctly clean up the system temp directory we create during builds. (Backported from 1.4.3; see [#318].)
641
642## [1.1.6] - 2018-02-23
643
644### Fixed
645
646* The blueprints provided by `ember-cli-typescript` now deterministically override the base ones from `ember-data` and `ember-source`.
647* Correct type declarations are installed out of the box based on what test framework is present.
648* A catch-all model registry is generated on installation to avoid the "error TS2344" problem.
649
650## [1.1.5] - 2018-02-20
651
652### Fixed
653
654* Fixed a regression in 1.1.4 which caused in-repo-addons written in TypeScript not to work correctly.
655* Fixed the `tsconfig.json` blueprint to properly include the `types` directory.
656
657## [1.1.4] - 2018-02-20
658
659### Changed
660
661* 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.
662
663### Fixed
664
665* TypeScript files in addon `app` trees now get compiled properly.
666* 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.)
667
668## [1.1.3] - 2018-02-16
669
670### Fixed
671
672* Fix default blueprint for `types/<my app>/index.d.ts`: add missing import and an export statement so ambient declarations work.
673* Add types to initializer and instance initializer blueprints.
674* Special-case handling for Mirage so that it works at all, and update generators so it works "out of the box".
675* Stop assuming the ember-cli-qunit version consumers have installed will be sufficiently high for our tests to pass.
676
677## [1.1.2] - 2018-02-13
678
679### Fixed
680
681* _Actually_ resolve the problem of throwing when running generators if `ember-cli-version-checker` version too low: put it in `dependencies`.
682
683## [1.1.1] - 2018-02-12
684
685### Fixed
686
687* No longer throw when running generators if `ember-cli-version-checker` version too low by putting it in `peerDependencies`.
688* Clarified some parts of the README that misled people on handling certain errors.
689
690## [1.1.0] - 2018-02-12
691
692### Added
693
694* **Generators:** `ember generate <blueprint>` now creates TypeScript files for you
695* **Support for addons:** we now precompile addon TypeScript so `ember-cli-typescript` and `typescript` itself can remain in `devDependencies` instead of `dependencies`, and addons can easily distribute compiled JavaScript with TypeScript type definition (`.d.ts`) files.
696* **Incremental compilation:** `ember serve` or `ember test --serve` now use TypeScript's `tsc --watch` mode to only rebuild what changed, so your builds should be much faster
697
698### Fixed
699
700* `tsconfig.json` is no longer so annoyingly temperamental; you can largely do what you want with it
701* `ember serve` no longer triggers a full rebuild of all TypeScript files every time _any_ file in your project changes.
702
703## [1.0.6] - 2017-12-17
704
705### Changed
706
707* 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.
708
709## [1.0.5] - 2017-11-23
710
711### Fixed
712
713* Updated the `tsconfig.json` blueprint to set the `noImplicitThis` option to `true`, improving experience around use of updated type definitions
714
715## [1.0.4] - 2017-11-13
716
717### Changed
718
719* Updated broccoli-compiler-typescript
720* Updated package.json to always install latest version of type definitions
721
722### Fixed
723
724* Fixed the default generated `environment.d.ts`
725
726### Internal
727
728* Made everything [✨ Prettier ✨](https://prettier.io)
729
730## [1.0.3] - 2017-08-22
731
732### Changed
733
734* TS info messages now go to `stdout` and TS error messages now properly go to `stderr`
735* Fixed a dead link in the README
736
737## [1.0.2] - 2017-08-16
738
739### Fixed
740
741* 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](https://github.com/ember-cli/babel-plugin-ember-modules-api-polyfill/), will actually work. (Yes, this is 1.0.1, but done correctly.)
742
743## [1.0.1] - 2017-08-16
744
745### Changed
746
747* 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](https://github.com/ember-cli/babel-plugin-ember-modules-api-polyfill/), will actually work.
748
749## [1.0.0] - 2017-08-08
750
751### Added
752
753* Include more type definitions in the default blueprint
754* Documentation of using `paths` (thanks @toranb!)
755* Supports in-repo addons, including in-repo Ember Engines
756
757### Changed
758
759* Update to broccoli-compiler-typescript@2.0
760* Update Ember CLI and TypeScript (thanks @mfeckie!)
761* Match the `broccoli-typescript-compiler` option `throwOnError` with the `tsconfig.json` `noEmitOnError` option.
762
763### Fixed
764
765* Use `this.ui.write` instead of `console.log`.
766* Only process the tsconfig file once, instead of for every Broccoli tree (i.e. addons, the app, and the tests).
767* No longer pass the `allowJs` option to TypeScript, since Broccoli manages the tree so `.ts` and `.js` files for us.
768
769### Internal
770
771* Run prettier on the codebase
772
773## [0.4.0] - 2017-05-03
774
775### Changed
776
777* Updated the base type definitions in `app/config/environment.d.ts` to include the defaults generated when creating an Ember app (thanks, @luketheobscure!)
778* Updated the README with clearer installation instructions and notes on using the add-on to develop other add-ons
779
780### Fixed
781
782* `ember serve` and `ember test` and `ember build` all work properly now, across platforms
783* builds are much faster on all platforms.
784
785## [0.3.2] - 2017-04-22
786
787### Fixed
788
789* Now properly installs on Windows.
790
791## [0.3.1] - 2017-04-22
792
793### Added
794
795* `tsconfig.json` blueprint now includes paths to resolve default Ember app structure imports
796
797### Fixed
798
799* Resolved install bugs on macOS and Linux
800
801### Removed
802
803* All references to `local-types` in the codebase and blueprints, since `local-types` is not used by the addon and not a normal TypeScript file location
804
805## [0.3.0] - 2017-03-13
806
807### Fixed
808
809* `tsconfig.json` blueprint now works for both the addon and editors
810
811## [0.2.0] - 2016-12-17
812
813### Added
814
815* Everything; the 0.2.0 release began by copying the implementation from [ember-cli-typify].
816* Basic, semi-working functionality.
817
818[ember-cli-typify]: https://github.com/winding-lines/ember-cli-typify
819[unreleased]: https://github.com/typed-ember/ember-cli-typescript/compare/v4.2.1...HEAD
820[4.2.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v4.2.0...v4.2.1
821[4.2.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v4.1.0...v4.2.0
822[4.1.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v4.0.0...v4.1.0
823[4.0.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.1.4...v4.0.0
824[4.0.0-rc.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v4.0.0-alpha.1...v4.0.0-rc.1
825<!--
826 This is correctly compared against v3.1.3 because it was released on a branch
827 before v3.1.4 was released.
828-->
829[4.0.0-alpha.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.1.3...v4.0.0-alpha.1
830[3.1.4]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.1.3...v3.1.4
831[3.1.3]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.1.2...v3.1.3
832[3.1.2]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.1.1...v3.1.2
833<!--
834 Note that 3.1.1 *intentionally* includes all the changes between 3.0.0 and
835 3.1.1 and there is no entry for 3.1.0. This is because 3.1.0 was yanked.
836-->
837[3.1.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.0.0...v3.1.1
838[3.0.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.2...v3.0.0
839[2.0.2]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.1...v2.0.2
840[2.0.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.0...v2.0.1
841[2.0.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.0-rc.2...v2.0.0
842[2.0.0-rc.2]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.0-rc.1...v2.0.0-rc.2
843[2.0.0-rc.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.0-beta.3...v2.0.0-rc.1
844[2.0.0-beta.3]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.0-beta.2...v2.0.0-beta.3
845[2.0.0-beta.2]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.0-beta.1...v2.0.0-beta.2
846[2.0.0-beta.1]: https://github.com/typed-ember/ember-cli-typescript/compare/HEAD...v2.0.0-beta.1
847[1.5.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.4.4...v1.5.0
848[1.4.4]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.4.3...v1.4.4
849[1.4.3]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.4.2...v1.4.3
850[1.4.2]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.4.1...v1.4.2
851[1.4.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.4.0...v1.4.1
852[1.4.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.3.3...v1.4.0
853[1.3.4]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.3.3...v1.3.4
854[1.3.3]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.3.2...v1.3.3
855[1.3.2]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.3.1...v1.3.2
856[1.3.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.3.0...v1.3.1
857[1.3.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.2.1...v1.3.0
858[1.2.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.2.0...v1.2.1
859[1.2.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.1.6...v1.2.0
860[1.1.7]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.1.6...v1.1.7
861[1.1.6]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.1.5...v1.1.6
862[1.1.5]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.1.4...v1.1.5
863[1.1.4]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.1.3...v1.1.4
864[1.1.3]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.1.2...v1.1.3
865[1.1.2]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.1.1...v1.1.2
866[1.1.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.1.0...v1.1.1
867[1.1.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.0.6...v1.1.0
868[1.0.6]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.0.5...v1.0.6
869[1.0.5]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.0.4...v1.0.5
870[1.0.4]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.0.3...v1.0.4
871[1.0.3]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.0.2...v1.0.3
872[1.0.2]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.0.1...v1.0.2
873[1.0.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.0.0...v1.0.1
874[1.0.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v0.4.0...v1.0.0
875[0.4.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v0.3.2...v0.4.0
876[0.3.2]: https://github.com/typed-ember/ember-cli-typescript/compare/v0.3.1...v0.3.2
877[0.3.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v0.3.0...v0.3.1
878[0.3.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v0.2.0...v0.3.0
879[0.2.0]: https://github.com/typed-ember/ember-cli-typescript/compare/04dfe8757710ef8fab0d7a0dfec2a4b06593efa2...v0.2.0