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.2.1 #299

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps ember-cli-typescript from 2.0.2 to 4.2.1.

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.2.1] - 2021-06-17

This is a republish of 4.2.0 without the accidentally included 500+ MB of debugging copies of node_modules.

[4.2.0] - 2021-06-15

Added ⭐️

  • Install @​types/ember-data__* when ember-data is found (#1411)

Changed 💥

  • update option noEmitOnError to true (#1415)

Documentation 📖

  • Update Broccoli URL (#1409)
  • Improve sentence about declare modifier (#1414)
  • Link to decorator usage doc from ED-models doc (#1404)
  • Fix link to doc "working with route models" (#1418)
  • Fix typo [in services docs] (#1421)
  • @​ember-data/object is not a thing (#1429)
  • Update README.md (#1425)

Under the hood 🚗

  • Fix qunit types... again (#1401)
  • Rip out commitlint from CI (#1430)
  • CI updates (#1434)
  • Bump y18n from 3.2.1 to 3.2.2 (#1420)
  • Bump underscore from 1.10.2 to 1.13.1 (#1426)
  • Bump handlebars from 4.7.6 to 4.7.7 (#1427)
  • Bump lodash from 4.17.20 to 4.17.21 (#1428)

#1401: typed-ember/ember-cli-typescript#1401 #1404: typed-ember/ember-cli-typescript#1404 #1409: typed-ember/ember-cli-typescript#1409 #1411: typed-ember/ember-cli-typescript#1411 #1414: typed-ember/ember-cli-typescript#1414 #1415: typed-ember/ember-cli-typescript#1415 #1418: typed-ember/ember-cli-typescript#1418 #1420: typed-ember/ember-cli-typescript#1420 #1421: typed-ember/ember-cli-typescript#1421 #1425: typed-ember/ember-cli-typescript#1425 #1426: typed-ember/ember-cli-typescript#1426 #1427: typed-ember/ember-cli-typescript#1427 #1428: typed-ember/ember-cli-typescript#1428 #1429: typed-ember/ember-cli-typescript#1429 #1430: typed-ember/ember-cli-typescript#1430 #1434: typed-ember/ember-cli-typescript#1434

... (truncated)

Commits
  • ccf74c0 release 4.2.1
  • f0f005f Release 4.2.0
  • 08de2e6 Merge pull request #1411 from typed-ember/blueprint_add_ember-data_modules_types
  • f850634 Merge branch 'master' into blueprint_add_ember-data_modules_types
  • 1acbd58 Merge pull request #1434 from typed-ember/ci-cleanup
  • e0c30c0 Don't fast-fail the matrix since cli@latest is a required check
  • edaf688 Update code to be typescript@next strict-friendly
  • 8d2daf9 Use published ansi-to-html types
  • 3ab9370 Fix blueprint tests
  • bf3d38d Merge branch 'master' into blueprint_add_ember-data_modules_types
  • 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 Jul 1, 2021
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