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 petite-vue-i18n from 10.0.4 to 11.0.1 #2076

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 14, 2025

Bumps petite-vue-i18n from 10.0.4 to 11.0.1.

Release notes

Sourced from petite-vue-i18n's releases.

v11.0.1

What's Changed

⚡ Improvement Features

Full Changelog: v11.0.0...v11.0.1

v11.0.0

We are excited to announce the release of Vue I18n v11. We had many contributors.

Thanks for your contributing ❤️

Summary

Deprecate Legacy API mode

The Legacy API mode was the API mode compatible with v8 for Vue 2. When v9 was released, the Legacy API was provided to smooth the migration from v8 to v9.

Legacy API mode will be deprecated in v11, as previous vue-i18n releases have already provided the following to support migration to Composition API mode

  • Migration from Legacy API mode to Composition API mode, see the docs
  • Composition API usage, see the docs

For compatibility, Legacy API mode still works in v11, but will be removed entirely in v12, so Legacy API mode will not work after that version.

Deprecate Custom Directive v-t

The advantage of v-t was that it could optimize performance using the vue compiler transform and the pre-translation of vue-i18n-extension.

This feature was supported from Vue 2. About details see the blog article

In Vue 3, due to the Composition API, the pre-translation of vue-i18n-extension is now limited only for global scope.

In addition, Vue 3 Virtual DOM optimization has been introduced, and the optimization provided by vue-i18n-extension is no longer very effective. We need to require settings for SSR, the benefits of using v-t have disappeared. And DX of templates using v-t is not good. Custom directives do not work with key completion in editors (e.g. vscode).

For compatibility, v-t mode still works in v11, but will be removed entirely in v12, so v-t will not work after that version.

Drop tc and $tc for Legacy API mode

These APIs had already deprecated in warning about being dropped in v11. docs says

Vue I18n maintenance Status

... (truncated)

Changelog

Sourced from petite-vue-i18n's changelog.

v11.0.1 (2024-12-26T07:40:58Z)

This changelog is generated by GitHub Releases

What's Changed

⚡ Improvement Features

Full Changelog: v11.0.0...v11.0.1

v11.0.0 (2024-12-24T15:01:00Z)

This changelog is generated by GitHub Releases

What's Changed

Deprecate Legacy API mode

The Legacy API mode was the API mode compatible with v8 for Vue 2. When v9 was released, the Legacy API was provided to smooth the migration from v8 to v9.

Legacy API mode will be deprecated in v11, as previous vue-i18n releases have already provided the following to support migration to Composition API mode

  • Migration from Legacy API mode to Composition API mode, see the docs
  • Composition API usage, see the docs

For compatibility, Legacy API mode still works in v11, but will be removed entirely in v12, so Legacy API mode will not work after that version.

Deprecate Custom Directive v-t

The advantage of v-t was that it could optimize performance using the vue compiler transform and the pre-translation of vue-i18n-extension.

This feature was supported from Vue 2. About details see the blog article

In Vue 3, due to the Composition API, the pre-translation of vue-i18n-extension is now limited only for global scope.

In addition, Vue 3 Virtual DOM optimization has been introduced, and the optimization provided by vue-i18n-extension is no longer very effective. We need to require settings for SSR, the benefits of using v-t have disappeared. And DX of templates using v-t is not good. Custom directives do not work with key completion in editors (e.g. vscode).

For compatibility, v-t mode still works in v11, but will be removed entirely in v12, so v-t will not work after that version.

Drop tc and $tc for Legacy API mode

These APIs had already deprecated in warning about being dropped in v11. docs says

... (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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [petite-vue-i18n](https://github.com/intlify/vue-i18n/tree/HEAD/packages/petite-vue-i18n) from 10.0.4 to 11.0.1.
- [Release notes](https://github.com/intlify/vue-i18n/releases)
- [Changelog](https://github.com/intlify/vue-i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/intlify/vue-i18n/commits/v11.0.1/packages/petite-vue-i18n)

---
updated-dependencies:
- dependency-name: petite-vue-i18n
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the Type: Dependency Dependencies fixes label Jan 14, 2025
Copy link

cloudflare-workers-and-pages bot commented Jan 14, 2025

Deploying vue-i18n-next with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5d02c2a
Status: ✅  Deploy successful!
Preview URL: https://e9a35265.vue-i18n-next.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-peti-tqzb.vue-i18n-next.pages.dev

View logs

Copy link

Size Report

Bundles

File Size Gzip Brotli
core.esm-browser.prod.js 37.16 kB 11.35 kB 10.12 kB
core.global.prod.js 30.50 kB 10.55 kB 9.52 kB
core.prod.cjs 0.88 kB 0.43 kB 0.34 kB
core.runtime.esm-browser.prod.js 22.87 kB 7.45 kB 6.65 kB
core.runtime.global.prod.js 17.48 kB 6.81 kB 6.12 kB
message-compiler.esm-browser.prod.js 19.28 kB 5.76 kB 5.14 kB
message-compiler.global.prod.js 17.32 kB 5.54 kB 4.97 kB
message-compiler.prod.cjs 57.50 kB 10.06 kB 8.60 kB
petite-vue-i18n-core.esm-browser.prod.js 20.36 kB 6.84 kB 6.15 kB
petite-vue-i18n-core.global.prod.js 15.64 kB 6.05 kB 5.47 kB
petite-vue-i18n-core.prod.cjs 25.99 kB 6.14 kB 5.31 kB
petite-vue-i18n.esm-browser.prod.js 36.86 kB 11.32 kB 10.15 kB
petite-vue-i18n.global.prod.js 29.87 kB 10.18 kB 9.19 kB
petite-vue-i18n.prod.cjs 25.67 kB 6.05 kB 5.25 kB
petite-vue-i18n.runtime.esm-browser.prod.js 22.43 kB 7.32 kB 6.60 kB
petite-vue-i18n.runtime.global.prod.js 16.86 kB 6.41 kB 5.80 kB
vue-i18n.esm-browser.prod.js 56.43 kB 16.42 kB 14.67 kB
vue-i18n.global.prod.js 46.06 kB 14.87 kB 13.37 kB
vue-i18n.prod.cjs 0.72 kB 0.34 kB 0.28 kB
vue-i18n.runtime.esm-browser.prod.js 42.00 kB 12.43 kB 11.15 kB
vue-i18n.runtime.global.prod.js 33.04 kB 11.13 kB 10.07 kB

Usages

Name Size Gzip Brotli
packages/size-check-core (@intlify/core) 9.10 kB 3.76 kB 3.41 kB
packages/size-check-petite-vue-i18n (petite-vue-i18n) 78.21 kB 30.49 kB 27.41 kB
packages/size-check-vue-i18n (vue-i18n) 83.20 kB 31.90 kB 28.65 kB

Copy link

pkg-pr-new bot commented Jan 14, 2025

Open in Stackblitz

@intlify/core

npm i https://pkg.pr.new/@intlify/core@2076

@intlify/core-base

npm i https://pkg.pr.new/@intlify/core-base@2076

@intlify/devtools-types

npm i https://pkg.pr.new/@intlify/devtools-types@2076

@intlify/message-compiler

npm i https://pkg.pr.new/@intlify/message-compiler@2076

petite-vue-i18n

npm i https://pkg.pr.new/petite-vue-i18n@2076

@intlify/shared

npm i https://pkg.pr.new/@intlify/shared@2076

vue-i18n

npm i https://pkg.pr.new/vue-i18n@2076

@intlify/vue-i18n-core

npm i https://pkg.pr.new/@intlify/vue-i18n-core@2076

commit: 5d02c2a

Copy link

pkg-pr-new bot commented Jan 14, 2025

Open in Stackblitz

@intlify/core

npm i https://pkg.pr.new/@intlify/core@2076

@intlify/core-base

npm i https://pkg.pr.new/@intlify/core-base@2076

@intlify/devtools-types

npm i https://pkg.pr.new/@intlify/devtools-types@2076

petite-vue-i18n

npm i https://pkg.pr.new/petite-vue-i18n@2076

@intlify/shared

npm i https://pkg.pr.new/@intlify/shared@2076

@intlify/message-compiler

npm i https://pkg.pr.new/@intlify/message-compiler@2076

vue-i18n

npm i https://pkg.pr.new/vue-i18n@2076

@intlify/vue-i18n-core

npm i https://pkg.pr.new/@intlify/vue-i18n-core@2076

commit: 5d02c2a

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 21, 2025

Looks like petite-vue-i18n is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jan 21, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/petite-vue-i18n-11.0.1 branch January 21, 2025 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Dependency Dependencies fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants