Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build(deps): Bump ember-cli-typescript from 2.0.2 to 4.1.0 #287

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps ember-cli-typescript from 2.0.2 to 4.1.0.

Release notes

Sourced from ember-cli-typescript's releases.

Auto-import suggestions are handy

Added ⭐️

  • Install @types/ember packages separately via blueprint (#1383)

Documentation 📖

  • Octane and much polish and clarification (#935)
  • Fix working with ember outline links (#1394)
  • Docs fixes (#1395)
  • Fix typos in the Ember Routes docs (#1400)

Under the hood 🚗

  • Fix qunit types conflict (#1344)
  • Bump @types/ember-qunit & @types/qunit to resolve types conflict (#1380)
  • Fix commitlint action config (#1388)
  • Dependency updates ([4.1.0-deps-bumps])

#935: typed-ember/ember-cli-typescript#935 #1344: typed-ember/ember-cli-typescript#1344 #1380: typed-ember/ember-cli-typescript#1380 #1383: typed-ember/ember-cli-typescript#1383 #1388: typed-ember/ember-cli-typescript#1388 #1394: typed-ember/ember-cli-typescript#1394 #1395: typed-ember/ember-cli-typescript#1395 #1400: typed-ember/ember-cli-typescript#1400 [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+

No relation to TypeScript 4.0

Overview

ember-cli-typescript no longer manages your Babel configuration, because ember-cli-babel does. This is an early step toward officially supporting TS across the Ember ecosystem. It also means that we now use Babel’s default configuration, which also comes with a small change to align better with the JavaScript spec around class fields.

For most cases, you won’t notice the difference, but if you were previously using TypeScript’s constructor property shorthand to define default values and using those values in a class field initializer, like this—

class Demo {
  constructor(public name = '') {}
  public nameLen = this.name.length;
}

—you will find that the initializer now fails. This is because the spec requires that class field initializers run before anything in the class constructor’s body except a super call, and TS’s custom syntax here is not part of the spec, and Babel therefore runs it after all other class field initializers.

This particular pattern was always a refactoring hazard: class field initializers should not refer to this because they can be broken by unrelated changes in surprising ways. This particular code will now not work at all, so you will need to migrate away from it. You can replace it with this code instead:

class Demo {
  public nameLen: number;
</tr></table> 

... (truncated)

Changelog

Sourced from ember-cli-typescript's changelog.

[4.1.0] - 2021-02-03

Added ⭐️

  • Install @types/ember packages separately via blueprint (#1383)

Documentation 📖

  • Octane and much polish and clarification (#935)
  • Fix working with ember outline links (#1394)
  • Docs fixes (#1395)
  • Fix typos in the Ember Routes docs (#1400)

Under the hood 🚗

  • Fix qunit types conflict (#1344)
  • Bump @types/ember-qunit & @types/qunit to resolve types conflict (#1380)
  • Fix commitlint action config (#1388)
  • Dependency updates ([4.1.0-deps-bumps])

#935: typed-ember/ember-cli-typescript#935 #1344: typed-ember/ember-cli-typescript#1344 #1380: typed-ember/ember-cli-typescript#1380 #1383: typed-ember/ember-cli-typescript#1383 #1388: typed-ember/ember-cli-typescript#1388 #1394: typed-ember/ember-cli-typescript#1394 #1395: typed-ember/ember-cli-typescript#1395 #1400: typed-ember/ember-cli-typescript#1400 [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+

[4.0.0] - 2020-09-02

Breaking 💥

  • Drop support for Node 8 (#1017)
  • Don't configure Babel for TS transpilation (#1018)

Added ⭐️

  • Don't run type-checking middleware when an existing build is used via --path (#1148)

Changed 💥

  • Update tsconfig.json blueprint target value to 2020 (#1108)
  • Use prepack and postpack instead of prepublishOnly and postpublish (#1196)

Fixed 🔧

  • Bring apps closer to type-checking out of the box (#1169)

... (truncated)

Commits
  • feea3d8 chore: release v4.1.0
  • 529f057 Merge pull request #1400 from gitKrystan/fix-resolved-typo
  • 48b9cb3 docs: fix typos in Ember Routes docs
  • ecb513b Merge pull request #1395 from typed-ember/docs_fixes
  • df45945 docs(legacy): fix typo
  • 3505e36 docs(ember): reorder outline and remove overview
  • a8d85ab Merge pull request #1394 from typed-ember/fix_working-with-ember_outline_links
  • a516a4e docs: fix working with ember outline links
  • 7177b77 chore(readme): update documentation link
  • 0d760c2 Merge pull request #935 from typed-ember/octane-docs
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will not automatically merge this PR because it includes an out-of-range update to a production dependency.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 1, 2021
@dependabot-preview
Copy link
Contributor Author

Superseded by #299.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/ember-cli-typescript-4.1.0 branch July 1, 2021 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants