ember-polyfills / ember-cached-decorator-polyfill

Polyfill for RFC 566: @cached
MIT License
20 stars 6 forks source link

chore(deps-dev): bump ember-cli-typescript from 3.1.4 to 4.0.0 #24

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 4 years ago

Bumps ember-cli-typescript from 3.1.4 to 4.0.0.

Release notes

Sourced from ember-cli-typescript's releases.

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;
  constructor(public name = '') {
    this.nameLen = this.name.length;
  }
}

Changelog

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)

Under the hood 🚗

Changelog

Sourced from ember-cli-typescript's changelog.

[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)

Under the hood 🚗

  • Upgrade ✨ Prettier ✨ to a version that supports optional chaining and nullish coalescing (#1018)
  • Add test for optional chaining and nullish coalescing (#1018)
  • Add test for class field declaration (#1018)
  • Add RFCs to repo (#1157)
  • Fix description of ts:precompile (#1162)
  • Fix dead link to "packages this addon installs" (#1164)
  • Get CI passing (#1167)
  • Avoid false-positive willTypechecks on Linux (#1198)
  • Dependency updates ([4.0.0-deps-bumps], #1191)

#1017: typed-ember/ember-cli-typescript#1017 #1018: typed-ember/ember-cli-typescript#1018 [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+

Upgrading ⚙️

  • Make sure you are using at least ember-cli-babel@^7.17.0 or your .ts files will be ignored completely!
  • If you are using ember-auto-import, make sure you are using at least ember-auto-import@^1.6.0.
  • 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.

[4.0.0-rc.1] - 2020-07-14

Added ⭐️

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

Changed 💥

Commits
  • 0dd078b chore: release v4.0.0
  • e27904c chore(deps): update dependency @types/node to v14.6.3
  • d3ad529 chore(deps): update dependency got to v11.6.0
  • bedd1bd chore(deps): update dependency eslint to v7.8.1
  • 6399ba1 chore(deps): update dependency ember-cli to v3.21.0
  • d932f6d chore(deps): update dependency ember-cli to v3.20.1
  • 77a386b chore(deps): update dependency eslint to v7.8.0
  • 27ef88f chore(deps): update dependency ember-source to v3.21.1
  • ac57736 chore(deps): update dependency @types/node to v14.6.2
  • 0db4ec1 chore(deps): update dependency mocha to v8.1.3
  • 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 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[bot] commented 3 years ago

Superseded by #52.