Skip to content

Releases: ember-intl/ember-intl

v7.0.0-beta.6

20 May 10:15
100e020
Compare
Choose a tag to compare
v7.0.0-beta.6 Pre-release
Pre-release

Breaking changes

  • Provided native types for the intl service. (This may cause TypeScript and Glint to produce new linting errors.)
  • Minimized API of the intl service.
  • Minimized API of the helpers.

Note

Use your text editor's Find feature with the pattern this.intl(?!\.t), to check if you might have used an API of the intl service that no longer exists or is now private.

The options allowEmpty, default, and resilient, once associated with the format*() and t() methods, have no effect and can be removed.

See https://ember-intl.github.io/ember-intl/docs/migration/v7 for possible migration paths.

Features

  • The intl service lets end-developers specify what to do when a translation is missing
  • The intl service lets end-developers specify what to do when @formatjs/intl errors

v7.0.0-beta.5

14 May 10:28
1639d11
Compare
Choose a tag to compare
v7.0.0-beta.5 Pre-release
Pre-release

Thanks to @mkszepp.

Breaking changes

  • The test helper setLocale() expects its 1st argument locale to be a string, not an array.

Note

See https://ember-intl.github.io/ember-intl/docs/migration/v7 for possible migration paths.

Bug fixes

  • Added @babel/core as a dependency. (The patch can also be found in v6.5.5.)

Added @babel/core as a dependency (required by ember-cli-babel@v8)

14 May 10:19
af508cb
Compare
Choose a tag to compare

Thanks to @mkszepp. (The patch can also be found in v7.0.0-beta.5.)

v7.0.0-beta.4

13 May 17:00
18be69b
Compare
Choose a tag to compare
v7.0.0-beta.4 Pre-release
Pre-release

Breaking changes

  • The test helpers setupIntl() and addTranslations() now require specifying the locale.
  • The test helpers API has been minimized. (This change is unlikely to impact your projects.)

Note

See https://ember-intl.github.io/ember-intl/docs/migration/v7 for possible migration paths.

Bug fixes

  • The intl service no longer calls setLocale() in the constructor. (In technical terms, locales no longer lists 'en-us' by default. In layman's terms, ember-intl no longer assumes that all projects support 'en-us'.)
  • Used assert() correctly in test helpers.

Dependencies

  • Removed broccoli-stew (unused).
  • Removed extend.
  • Removed fast-memoize (unused).

v7.0.0-beta.3

06 May 18:23
13a6ec4
Compare
Choose a tag to compare
v7.0.0-beta.3 Pre-release
Pre-release

Thanks to @MichalBryxi and @LucasHill.

Breaking changes

None.

Note

See https://ember-intl.github.io/ember-intl/docs/migration/v7 for possible migration paths.

Dependencies

  • Removed broccoli-merge-files. (The security patch can also be found in v6.5.4.)

Removed broccoli-merge-files (security patch)

06 May 18:14
a673796
Compare
Choose a tag to compare

Thanks to @LucasHill for removing the dependency. (The patch can also be found in v7.0.0-beta.3.)

v7.0.0-beta.2

15 Apr 06:27
7eb32ce
Compare
Choose a tag to compare
v7.0.0-beta.2 Pre-release
Pre-release

Breaking changes

  • Updated minimum requirements for Ember, Node, and TypeScript.

Note

See https://ember-intl.github.io/ember-intl/docs/migration/v7 for possible migration paths.

Bug fixes

  • Added CHANGELOG.md and tsconfig.json to .npmignore (reduced package size to 105 kB).
  • Removed incorrect passage in quickstart for addons. Updated the migration guide to v7.

v7.0.0-beta.1

12 Apr 14:02
5237476
Compare
Choose a tag to compare
v7.0.0-beta.1 Pre-release
Pre-release

Breaking changes

  • Removed ember generate translation
  • Removed @intl and @t macros
  • Removed the use of @dependentKeyCompat decorator

Note

See https://ember-intl.github.io/ember-intl/docs/migration/v7 for possible migration paths.

Bug fixes

  • The removal of @dependentKeyCompat should have fixed the error You attempted to update _locale [...] in the same computation. that you might have seen in ember-intl@v6. (thanks to @Windvis)

Fixed a memory leak introduced in v6.3.0. Ensured that registerDestructor is called when helpers are destroyed.

11 Mar 14:45
505c443
Compare
Choose a tag to compare

Important

If your ember-intl is currently between versions 6.3.0 and 6.5.2, please update it to 6.5.3 or higher.

Thanks to @johanrd for investigating the issue and providing the fix quickly.

Updated ember-cli-typescript to v5.3.0. Deprecated `ember g translation`.

08 Mar 13:01
3eb8030
Compare
Choose a tag to compare

Updating ember-cli-typescript will help remove warnings that ember-intl (along with other addons) might have produced.

WARNING: ember-cli-typescript requires ember-cli-babel ^7.17.0, but you have version 8.0.0 installed; your TypeScript files may not be transpiled correctly

Important

The blueprint files, which make ember g translation <locale> currently possible, will be removed in v7.0.0. You can manually create the translation file (more accurately).