Skip to content

chore(deps-dev): bump ember-intl from 6.5.5 to 7.0.2 #381

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

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 14, 2024

Bumps ember-intl from 6.5.5 to 7.0.2.

Release notes

Sourced from ember-intl's releases.

Made getTranslation() public and fixed a bug in setOnFormatjsError()

The intl service's getTranslation() is now a public method, so that you may keep extracting a translation message's arguments as you might have done with lookup() in v6. I went with a patch release (instead of a minor), since changing lookup() to be a private method in v7.0.0-beta.6 could be considered a regression.

The documentations for {{t}} helper and intl service have been updated so that end-developers may know what to do when a translation has arguments with missing values.

Reintroduced extend to handle deeply nested translation folders

7.0.1 patches a regression introduced in 7.0.0-beta.4 (affects Ember apps that set wrapTranslationsWithNamespace: true; see #1895).

Thanks to @​pulien for discovering the issue and providing a reproduction project.

Beginning of the 7.x series

Highlights

  • Minimized API (improved onboarding and project maintainability)
  • Rewrote intl service to provide native types (improved TS and Glint support)
  • Reduced package size from 133 kB to 79.5 kB (by ~40%)
  • Rewrote documentation (see Getting Started, Helpers, Services, and Test Helpers)
  • Created additional docs-apps to test ember-intl

Migration guide

To do an incremental update from 6.5.5, you may install these versions in sequence:

  1. 7.0.0-beta.2
  2. 7.0.0-beta.5
  3. 7.0.0-beta.6
  4. 7.0.0

To learn breaking changes, please check https://ember-intl.github.io/ember-intl/docs/migration/v7 and the release notes for each beta version.

v7.0.0-beta.6

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.

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 14, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ember-intl-7.0.2 branch from b5b930c to aa0e968 Compare June 19, 2024 08:16
Bumps [ember-intl](https://github.com/ember-intl/ember-intl) from 6.5.5 to 7.0.2.
- [Release notes](https://github.com/ember-intl/ember-intl/releases)
- [Commits](ember-intl/ember-intl@v6.5.5...v7.0.2)

---
updated-dependencies:
- dependency-name: ember-intl
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ember-intl-7.0.2 branch from aa0e968 to 8e21dd3 Compare June 19, 2024 11:43
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 24, 2024

Looks like ember-intl is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jun 24, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/ember-intl-7.0.2 branch June 24, 2024 13:20
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants