Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cf843e7

Browse files
committedSep 6, 2022
v5.1.1
1 parent 7f10d23 commit cf843e7

File tree

2 files changed

+153
-132
lines changed

2 files changed

+153
-132
lines changed
 

‎CHANGELOG.md

Lines changed: 152 additions & 131 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## [Unreleased]
88

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))
19+
20+
### Documentation 📖
21+
22+
- Update discord channel name, fix typos ([#1506](https://github.com/typed-ember/ember-cli-typescript/pull/1506))
23+
- Fix spelling resolveable -> resolvable ([#1504](https://github.com/typed-ember/ember-cli-typescript/pull/1504))
24+
925
## [5.1.0] - 2021-04-20
1026

1127
### Added ⭐️
@@ -28,7 +44,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
2844

2945
### Changed 💥
3046

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.
3248

3349
- Update types & ember to 4.x([#1472])
3450

@@ -61,7 +77,7 @@ This is a republish of 4.2.0 without the accidentally included 500+ MB of debugg
6177

6278
### Added ⭐️
6379

64-
- Install @types/ember-data__* when ember-data is found ([#1411])
80+
- Install @types/ember-data\_\_\* when ember-data is found ([#1411])
6581

6682
### Changed 💥
6783

@@ -314,11 +330,11 @@ This is a republish of 4.2.0 without the accidentally included 500+ MB of debugg
314330

315331
### Breaking 💥
316332

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))
319335
- Drops support for Node 6.
320336

321-
[MU]: https://blog.emberjs.com/2019/03/11/update-on-module-unification-and-octane.html
337+
[mu]: https://blog.emberjs.com/2019/03/11/update-on-module-unification-and-octane.html
322338
[#623]: https://github.com/typed-ember/ember-cli-typescript/issues/623
323339
[#707]: https://github.com/typed-ember/ember-cli-typescript/issues/707
324340

@@ -379,8 +395,7 @@ Thanks to everyone who opened/discovered an issue we fixed or PR we merged over
379395

380396
## [2.0.0-rc.2] - 2019-01-07
381397

382-
For details on the changes since 1.x, see the [`2.0.0-beta.1` release notes](
383-
https://github.com/typed-ember/ember-cli-typescript/releases/tag/v2.0.0-beta.1).
398+
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).
384399

385400
### Fixed 🔧
386401

@@ -420,8 +435,7 @@ Thanks to everyone who opened/discovered an issue we fixed or PR we merged in th
420435

421436
## What Changed?
422437

423-
For details on the changes since 1.x, see the [`2.0.0-beta.1` release notes](
424-
https://github.com/typed-ember/ember-cli-typescript/releases/tag/v2.0.0-beta.1).
438+
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).
425439

426440
### Fixed 🔧
427441

@@ -439,7 +453,7 @@ https://github.com/typed-ember/ember-cli-typescript/releases/tag/v2.0.0-beta.1).
439453

440454
### Under the hood 🚗
441455

442-
- Bumped *many* dependency versions.
456+
- Bumped _many_ dependency versions.
443457
- Set up Azure Pipelines configuration.
444458
- Updated internals to use TypeScript themselves.
445459

@@ -461,10 +475,10 @@ Thanks to everyone who opened/discovered an issue we fixed or PR we merged in th
461475

462476
## What Changed?
463477

464-
For details on the changes since 1.x, see the [`2.0.0-beta.1` release notes](
465-
https://github.com/typed-ember/ember-cli-typescript/releases/tag/v2.0.0-beta.1).
478+
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).
466479

467480
### Fixed 🔧
481+
468482
- Ensure consistency with `tsc` re: class property initialization order (#365)
469483

470484
## Upgrading ⚙️
@@ -483,384 +497,387 @@ Thanks to everyone who opened/discovered an issue we fixed or PR we merged in th
483497
## [2.0.0-beta.2] - 2018-10-26
484498

485499
### Fixed
500+
486501
- Ensure that ember-cli-typescript doesn't interfere with parallelizing the Babel transpilation process (#351)
487502

488503
## [2.0.0-beta.1] - 2018-10-25
489504

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. ⚡️
491506

492507
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.)
493508

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!
495510

496511
### Added
497512

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
500515

501516
### Changed
502517

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.
505521

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.
507523

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:
509525

510-
```ts
511-
export { FooType } from 'foo';
512-
```
513-
```ts
514-
import { FooType } from 'foo';
515-
export { FooType };
516-
```
526+
```ts
527+
export { FooType } from 'foo';
528+
```
517529

518-
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:
530+
```ts
531+
import { FooType } from 'foo';
532+
export { FooType };
533+
```
519534

520-
```ts
521-
import * as Foo from 'foo';
522-
export type FooType = Foo.FooType;
523-
```
535+
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:
524536

525-
- `this` types in ES5 getters and setters are do not work ([babel/babel#8069](https://github.com/babel/babel/issues/8069))
537+
```ts
538+
import * as Foo from 'foo';
539+
export type FooType = Foo.FooType;
540+
```
526541

527-
- destructuring of parameters in function signatures currently do not work ([babel/babel#8099](https://github.com/babel/babel/issues/8099))
542+
- `this` types in ES5 getters and setters are do not work ([babel/babel#8069](https://github.com/babel/babel/issues/8069))
528543

529-
Other bugs you should be aware of:
544+
- destructuring of parameters in function signatures currently do not work ([babel/babel#8099](https://github.com/babel/babel/issues/8099))
530545

531-
- if an enum has a member with the same name as an imported type ([babel/babel#8881](https://github.com/babel/babel/issues/8881))
546+
Other bugs you should be aware of:
532547

533-
* `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
548+
- if an enum has a member with the same name as an imported type ([babel/babel#8881](https://github.com/babel/babel/issues/8881))
534549

535-
* 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.
550+
- `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
536551

537-
* Apps need to use `.js` for overrides in app, since the different file extension means apps no longer consistently "win" over addon versions (a limitation of how Babel + app merging interact) – note that this wont be a problem with Module Unification apps
552+
- 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.
553+
554+
- Apps need to use `.js` for overrides in app, since the different file extension means apps no longer consistently "win" over addon versions (a limitation of how Babel + app merging interact) – note that this wont be a problem with Module Unification apps
538555

539556
### Fixed
540557

541-
* Type errors now show properly in the browser when running tests
558+
- Type errors now show properly in the browser when running tests
542559

543560
## [1.5.0] - 2018-10-25
544561

545562
### Fixed
546563

547-
* We now provide better user feedback when installing ember-cli-typescript from a git version (i.e. for testing prereleases)
548-
* Updated to ember-cli-typescript-blueprints so types in generated files correctly match the latest Ember Data types
549-
* Updated to latest Ember CLI blueprint (as of 3.5.0)
564+
- We now provide better user feedback when installing ember-cli-typescript from a git version (i.e. for testing prereleases)
565+
- Updated to ember-cli-typescript-blueprints so types in generated files correctly match the latest Ember Data types
566+
- Updated to latest Ember CLI blueprint (as of 3.5.0)
550567

551568
## [1.4.4] - 2018-10-01
552569

553570
### Fixed
554571

555-
* We no longer claim the absolute highest priority when ember-cli is selecting blueprints (see [#323])
572+
- We no longer claim the absolute highest priority when ember-cli is selecting blueprints (see [#323])
556573

557574
[#323]: https://github.com/typed-ember/ember-cli-typescript/pull/323
558575

559576
## [1.4.3] - 2018-09-24
560577

561578
### Fixed
562579

563-
* We now correctly clean up the system temp directory we create during builds (see [#318])
580+
- We now correctly clean up the system temp directory we create during builds (see [#318])
564581

565582
[#318]: https://github.com/typed-ember/ember-cli-typescript/issues/318
566583

567584
### Changed
568585

569-
* We reference the Discord channel instead of Slack.
570-
* [Internal] We enabled writing code for this addon itself in TypeScript.
586+
- We reference the Discord channel instead of Slack.
587+
- [Internal] We enabled writing code for this addon itself in TypeScript.
571588

572589
## [1.4.2] - 2018-09-06
573590

574591
### Fixed
575592

576-
* Ensure TS blueprints always take precedence over JS ones ([#253](https://github.com/typed-ember/ember-cli-typescript/pull/253))
593+
- Ensure TS blueprints always take precedence over JS ones ([#253](https://github.com/typed-ember/ember-cli-typescript/pull/253))
577594

578595
## [1.4.1] - 2018-09-05
579596

580597
### Fixed
581598

582-
* 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))
599+
- 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))
583600

584601
### Changed
585602

586-
* 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.
603+
- 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.
587604

588605
## [1.4.0] - 2018-08-07
589606

590607
### Fixed
591608

592-
* Ignore `node_modules` hoisted above project root (e.g. yarn workspaces)
609+
- Ignore `node_modules` hoisted above project root (e.g. yarn workspaces)
593610

594611
### Added
595612

596-
* Auto-install of [`@types/ember__test-helpers`](https://www.npmjs.com/package/@types/ember__test-helpers)
597-
* 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)
598-
* Support for building addons' `test-support` and `addon-test-support` directories
613+
- Auto-install of [`@types/ember__test-helpers`](https://www.npmjs.com/package/@types/ember__test-helpers)
614+
- 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)
615+
- Support for building addons' `test-support` and `addon-test-support` directories
599616

600617
## [1.3.4] - 2018-09-24
601618

602619
### Fixed
603620

604-
* We now correctly clean up the system temp directory we create during builds. (Backported from 1.4.3; see [#318].)
621+
- We now correctly clean up the system temp directory we create during builds. (Backported from 1.4.3; see [#318].)
605622

606623
## [1.3.3] - 2018-07-19
607624

608625
### Fixed
609626

610-
* Watcher has been "de-simplified" to make it more consistent with how tsc's own watcher works and prevent rebuild issues.
611-
* `ember-cli-typescript` will now run after `ember-decorators`, ensuring that the `ember-cli-typescript` blueprints override `ember-decorators`'.
627+
- Watcher has been "de-simplified" to make it more consistent with how tsc's own watcher works and prevent rebuild issues.
628+
- `ember-cli-typescript` will now run after `ember-decorators`, ensuring that the `ember-cli-typescript` blueprints override `ember-decorators`'.
612629

613630
### Changed
614631

615-
* Improved documentation regarding service injection.
632+
- Improved documentation regarding service injection.
616633

617634
### Added
618635

619-
* Getting Help section to readme.
620-
* Github issue templates.
636+
- Getting Help section to readme.
637+
- Github issue templates.
621638

622639
## [1.3.2] - 2018-06-05
623640

624641
### Fixed
625642

626-
* TypeScript 2.9 no longer causes infinite error loops and/or fails to trigger rebuilds.
643+
- TypeScript 2.9 no longer causes infinite error loops and/or fails to trigger rebuilds.
627644

628645
## [1.3.1] - 2018-05-14
629646

630647
### Fixed
631648

632-
* No longer requires TypeScript before it has been installed.
633-
* Properly ignore the root across platforms.
649+
- No longer requires TypeScript before it has been installed.
650+
- Properly ignore the root across platforms.
634651

635652
## [1.3.0] - 2018-05-01
636653

637654
### Fixed
638655

639-
* Simplified the file watching implementation, fixing some odd behavior when trees of files were deleted or moved all at once.
640-
* Synchronization between tsc and the broccoli build process has been improved, reducing spurious rebuilds.
641-
* TypeScript no longer churns on every change in the `tmp` directory.
642-
* Make sure ember-cli-typescript is a dev dependency when generating in-repo-addons, so their TypeScript gets built correctly.
643-
* Eliminated some lint errors in the build.
656+
- Simplified the file watching implementation, fixing some odd behavior when trees of files were deleted or moved all at once.
657+
- Synchronization between tsc and the broccoli build process has been improved, reducing spurious rebuilds.
658+
- TypeScript no longer churns on every change in the `tmp` directory.
659+
- Make sure ember-cli-typescript is a dev dependency when generating in-repo-addons, so their TypeScript gets built correctly.
660+
- Eliminated some lint errors in the build.
644661

645662
### Changed
646663

647-
* Updated the generated `tsconfig.json` to use the maximum strictness we can with Ember's typings.
648-
* Clarified instructions for sourcemaps.
664+
- Updated the generated `tsconfig.json` to use the maximum strictness we can with Ember's typings.
665+
- Clarified instructions for sourcemaps.
649666

650667
### Added
651668

652-
* The addon now supports failing the build when there are type errors, using `"noEmitOnError": true` in `tsconfig.json`.
669+
- The addon now supports failing the build when there are type errors, using `"noEmitOnError": true` in `tsconfig.json`.
653670

654671
## [1.2.2] - 2018-09-24
655672

656673
### Fixed
657674

658-
* We now correctly clean up the system temp directory we create during builds. (Backported from 1.4.3; see [#318].)
675+
- We now correctly clean up the system temp directory we create during builds. (Backported from 1.4.3; see [#318].)
659676

660677
## [1.2.1] - 2018-03-14
661678

662679
### Fixed
663680

664-
* Blueprint now correctly adds ember-cli-typescript as a dependency, allowing TS to be merged into the regular app tree.
681+
- Blueprint now correctly adds ember-cli-typescript as a dependency, allowing TS to be merged into the regular app tree.
665682

666683
## [1.2.0] - 2018-03-05
667684

668685
### Added
669686

670-
* Blueprint (and tests) to generate in-repo addons configured for TypeScript
671-
* Add `// @ts-ignore` component template import.
672-
* `-addon` blueprints for all the things to generate .ts files in `app/` in an addon.
687+
- Blueprint (and tests) to generate in-repo addons configured for TypeScript
688+
- Add `// @ts-ignore` component template import.
689+
- `-addon` blueprints for all the things to generate .ts files in `app/` in an addon.
673690

674691
### Changed
675692

676-
* Improve instructions for setting up [Linked Addons](README.md#linking-addons) and [In-repo Addons](README.md#in-repo-addons).
693+
- Improve instructions for setting up [Linked Addons](README.md#linking-addons) and [In-repo Addons](README.md#in-repo-addons).
677694

678695
### Fixed
679696

680-
* Addon components need to manually set their layout property to the imported compiled template.
681-
* 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`.
697+
- Addon components need to manually set their layout property to the imported compiled template.
698+
- 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`.
682699

683700
## [1.1.7] - 2018-09-24
684701

685702
### Fixed
686703

687-
* We now correctly clean up the system temp directory we create during builds. (Backported from 1.4.3; see [#318].)
704+
- We now correctly clean up the system temp directory we create during builds. (Backported from 1.4.3; see [#318].)
688705

689706
## [1.1.6] - 2018-02-23
690707

691708
### Fixed
692709

693-
* The blueprints provided by `ember-cli-typescript` now deterministically override the base ones from `ember-data` and `ember-source`.
694-
* Correct type declarations are installed out of the box based on what test framework is present.
695-
* A catch-all model registry is generated on installation to avoid the "error TS2344" problem.
710+
- The blueprints provided by `ember-cli-typescript` now deterministically override the base ones from `ember-data` and `ember-source`.
711+
- Correct type declarations are installed out of the box based on what test framework is present.
712+
- A catch-all model registry is generated on installation to avoid the "error TS2344" problem.
696713

697714
## [1.1.5] - 2018-02-20
698715

699716
### Fixed
700717

701-
* Fixed a regression in 1.1.4 which caused in-repo-addons written in TypeScript not to work correctly.
702-
* Fixed the `tsconfig.json` blueprint to properly include the `types` directory.
718+
- Fixed a regression in 1.1.4 which caused in-repo-addons written in TypeScript not to work correctly.
719+
- Fixed the `tsconfig.json` blueprint to properly include the `types` directory.
703720

704721
## [1.1.4] - 2018-02-20
705722

706723
### Changed
707724

708-
* 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.
725+
- 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.
709726

710727
### Fixed
711728

712-
* TypeScript files in addon `app` trees now get compiled properly.
713-
* 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.)
729+
- TypeScript files in addon `app` trees now get compiled properly.
730+
- 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.)
714731

715732
## [1.1.3] - 2018-02-16
716733

717734
### Fixed
718735

719-
* Fix default blueprint for `types/<my app>/index.d.ts`: add missing import and an export statement so ambient declarations work.
720-
* Add types to initializer and instance initializer blueprints.
721-
* Special-case handling for Mirage so that it works at all, and update generators so it works "out of the box".
722-
* Stop assuming the ember-cli-qunit version consumers have installed will be sufficiently high for our tests to pass.
736+
- Fix default blueprint for `types/<my app>/index.d.ts`: add missing import and an export statement so ambient declarations work.
737+
- Add types to initializer and instance initializer blueprints.
738+
- Special-case handling for Mirage so that it works at all, and update generators so it works "out of the box".
739+
- Stop assuming the ember-cli-qunit version consumers have installed will be sufficiently high for our tests to pass.
723740

724741
## [1.1.2] - 2018-02-13
725742

726743
### Fixed
727744

728-
* _Actually_ resolve the problem of throwing when running generators if `ember-cli-version-checker` version too low: put it in `dependencies`.
745+
- _Actually_ resolve the problem of throwing when running generators if `ember-cli-version-checker` version too low: put it in `dependencies`.
729746

730747
## [1.1.1] - 2018-02-12
731748

732749
### Fixed
733750

734-
* No longer throw when running generators if `ember-cli-version-checker` version too low by putting it in `peerDependencies`.
735-
* Clarified some parts of the README that misled people on handling certain errors.
751+
- No longer throw when running generators if `ember-cli-version-checker` version too low by putting it in `peerDependencies`.
752+
- Clarified some parts of the README that misled people on handling certain errors.
736753

737754
## [1.1.0] - 2018-02-12
738755

739756
### Added
740757

741-
* **Generators:** `ember generate <blueprint>` now creates TypeScript files for you
742-
* **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.
743-
* **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
758+
- **Generators:** `ember generate <blueprint>` now creates TypeScript files for you
759+
- **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.
760+
- **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
744761

745762
### Fixed
746763

747-
* `tsconfig.json` is no longer so annoyingly temperamental; you can largely do what you want with it
748-
* `ember serve` no longer triggers a full rebuild of all TypeScript files every time _any_ file in your project changes.
764+
- `tsconfig.json` is no longer so annoyingly temperamental; you can largely do what you want with it
765+
- `ember serve` no longer triggers a full rebuild of all TypeScript files every time _any_ file in your project changes.
749766

750767
## [1.0.6] - 2017-12-17
751768

752769
### Changed
753770

754-
* 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.
771+
- 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.
755772

756773
## [1.0.5] - 2017-11-23
757774

758775
### Fixed
759776

760-
* Updated the `tsconfig.json` blueprint to set the `noImplicitThis` option to `true`, improving experience around use of updated type definitions
777+
- Updated the `tsconfig.json` blueprint to set the `noImplicitThis` option to `true`, improving experience around use of updated type definitions
761778

762779
## [1.0.4] - 2017-11-13
763780

764781
### Changed
765782

766-
* Updated broccoli-compiler-typescript
767-
* Updated package.json to always install latest version of type definitions
783+
- Updated broccoli-compiler-typescript
784+
- Updated package.json to always install latest version of type definitions
768785

769786
### Fixed
770787

771-
* Fixed the default generated `environment.d.ts`
788+
- Fixed the default generated `environment.d.ts`
772789

773790
### Internal
774791

775-
* Made everything [✨ Prettier ✨](https://prettier.io)
792+
- Made everything [✨ Prettier ✨](https://prettier.io)
776793

777794
## [1.0.3] - 2017-08-22
778795

779796
### Changed
780797

781-
* TS info messages now go to `stdout` and TS error messages now properly go to `stderr`
782-
* Fixed a dead link in the README
798+
- TS info messages now go to `stdout` and TS error messages now properly go to `stderr`
799+
- Fixed a dead link in the README
783800

784801
## [1.0.2] - 2017-08-16
785802

786803
### Fixed
787804

788-
* 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.)
805+
- 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.)
789806

790807
## [1.0.1] - 2017-08-16
791808

792809
### Changed
793810

794-
* 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.
811+
- 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.
795812

796813
## [1.0.0] - 2017-08-08
797814

798815
### Added
799816

800-
* Include more type definitions in the default blueprint
801-
* Documentation of using `paths` (thanks @toranb!)
802-
* Supports in-repo addons, including in-repo Ember Engines
817+
- Include more type definitions in the default blueprint
818+
- Documentation of using `paths` (thanks @toranb!)
819+
- Supports in-repo addons, including in-repo Ember Engines
803820

804821
### Changed
805822

806-
* Update to broccoli-compiler-typescript@2.0
807-
* Update Ember CLI and TypeScript (thanks @mfeckie!)
808-
* Match the `broccoli-typescript-compiler` option `throwOnError` with the `tsconfig.json` `noEmitOnError` option.
823+
- Update to broccoli-compiler-typescript@2.0
824+
- Update Ember CLI and TypeScript (thanks @mfeckie!)
825+
- Match the `broccoli-typescript-compiler` option `throwOnError` with the `tsconfig.json` `noEmitOnError` option.
809826

810827
### Fixed
811828

812-
* Use `this.ui.write` instead of `console.log`.
813-
* Only process the tsconfig file once, instead of for every Broccoli tree (i.e. addons, the app, and the tests).
814-
* No longer pass the `allowJs` option to TypeScript, since Broccoli manages the tree so `.ts` and `.js` files for us.
829+
- Use `this.ui.write` instead of `console.log`.
830+
- Only process the tsconfig file once, instead of for every Broccoli tree (i.e. addons, the app, and the tests).
831+
- No longer pass the `allowJs` option to TypeScript, since Broccoli manages the tree so `.ts` and `.js` files for us.
815832

816833
### Internal
817834

818-
* Run prettier on the codebase
835+
- Run prettier on the codebase
819836

820837
## [0.4.0] - 2017-05-03
821838

822839
### Changed
823840

824-
* Updated the base type definitions in `app/config/environment.d.ts` to include the defaults generated when creating an Ember app (thanks, @luketheobscure!)
825-
* Updated the README with clearer installation instructions and notes on using the add-on to develop other add-ons
841+
- Updated the base type definitions in `app/config/environment.d.ts` to include the defaults generated when creating an Ember app (thanks, @luketheobscure!)
842+
- Updated the README with clearer installation instructions and notes on using the add-on to develop other add-ons
826843

827844
### Fixed
828845

829-
* `ember serve` and `ember test` and `ember build` all work properly now, across platforms
830-
* builds are much faster on all platforms.
846+
- `ember serve` and `ember test` and `ember build` all work properly now, across platforms
847+
- builds are much faster on all platforms.
831848

832849
## [0.3.2] - 2017-04-22
833850

834851
### Fixed
835852

836-
* Now properly installs on Windows.
853+
- Now properly installs on Windows.
837854

838855
## [0.3.1] - 2017-04-22
839856

840857
### Added
841858

842-
* `tsconfig.json` blueprint now includes paths to resolve default Ember app structure imports
859+
- `tsconfig.json` blueprint now includes paths to resolve default Ember app structure imports
843860

844861
### Fixed
845862

846-
* Resolved install bugs on macOS and Linux
863+
- Resolved install bugs on macOS and Linux
847864

848865
### Removed
849866

850-
* 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
867+
- 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
851868

852869
## [0.3.0] - 2017-03-13
853870

854871
### Fixed
855872

856-
* `tsconfig.json` blueprint now works for both the addon and editors
873+
- `tsconfig.json` blueprint now works for both the addon and editors
857874

858875
## [0.2.0] - 2016-12-17
859876

860877
### Added
861878

862-
* Everything; the 0.2.0 release began by copying the implementation from [ember-cli-typify].
863-
* Basic, semi-working functionality.
879+
- Everything; the 0.2.0 release began by copying the implementation from [ember-cli-typify].
880+
- Basic, semi-working functionality.
864881

865882
[ember-cli-typify]: https://github.com/winding-lines/ember-cli-typify
866883
[unreleased]: https://github.com/typed-ember/ember-cli-typescript/compare/v5.1.0...HEAD
@@ -871,18 +888,22 @@ We now use Babel 7's support for TypeScript to build apps and addons. Most of th
871888
[4.1.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v4.0.0...v4.1.0
872889
[4.0.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.1.4...v4.0.0
873890
[4.0.0-rc.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v4.0.0-alpha.1...v4.0.0-rc.1
891+
874892
<!--
875893
This is correctly compared against v3.1.3 because it was released on a branch
876894
before v3.1.4 was released.
877895
-->
896+
878897
[4.0.0-alpha.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.1.3...v4.0.0-alpha.1
879898
[3.1.4]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.1.3...v3.1.4
880899
[3.1.3]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.1.2...v3.1.3
881900
[3.1.2]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.1.1...v3.1.2
901+
882902
<!--
883903
Note that 3.1.1 *intentionally* includes all the changes between 3.0.0 and
884904
3.1.1 and there is no entry for 3.1.0. This is because 3.1.0 was yanked.
885905
-->
906+
886907
[3.1.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.0.0...v3.1.1
887908
[3.0.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.2...v3.0.0
888909
[2.0.2]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.1...v2.0.2

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ember-cli-typescript",
3-
"version": "5.1.0",
3+
"version": "5.1.1",
44
"description": "Allow Ember apps to use TypeScript files.",
55
"keywords": [
66
"ember-addon",

0 commit comments

Comments
 (0)
Please sign in to comment.