Skip to content

breaking: update component injection APIs for drop legacy #2176

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

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

kazupon
Copy link
Member

@kazupon kazupon commented Apr 28, 2025

related #2110
In v12, the legacy style API will be dropped. As a result, the API signatures $t, $n, and $d injected into components prefixed with $ no longer need to consider the legacy style. Only the composition style applies. Note that these APIs will continue to work only in the global scope.

@kazupon kazupon added the Type: Breaking Includes backwards-incompatible fixes label Apr 28, 2025
@kazupon kazupon requested a review from Copilot April 28, 2025 11:14
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Copy link

Deploying vue-i18n-next with  Cloudflare Pages  Cloudflare Pages

Latest commit: ea5b1c3
Status: ✅  Deploy successful!
Preview URL: https://6e974685.vue-i18n-next.pages.dev
Branch Preview URL: https://breaking-injection-dallar-ap.vue-i18n-next.pages.dev

View logs

Copy link

Size Report

Bundles

File Size Gzip Brotli
core.esm-browser.prod.js 38.05 kB 11.62 kB 10.39 kB
core.global.prod.js 31.11 kB 10.78 kB 9.67 kB
core.runtime.esm-browser.prod.js 23.77 kB 7.71 kB 6.90 kB
core.runtime.global.prod.js 18.08 kB 7.04 kB 6.32 kB
message-compiler.esm-browser.prod.js 19.29 kB 5.76 kB 5.14 kB
message-compiler.global.prod.js 17.32 kB 5.55 kB 4.98 kB
petite-vue-i18n-core.esm-browser.prod.js 20.67 kB 6.96 kB 6.26 kB
petite-vue-i18n-core.global.prod.js 15.63 kB 6.06 kB 5.51 kB
petite-vue-i18n.esm-browser.prod.js 36.98 kB 11.34 kB 10.17 kB
petite-vue-i18n.global.prod.js 29.84 kB 10.19 kB 9.20 kB
petite-vue-i18n.runtime.esm-browser.prod.js 22.55 kB 7.33 kB 6.63 kB
petite-vue-i18n.runtime.global.prod.js 16.83 kB 6.40 kB 5.80 kB
vue-i18n.esm-browser.prod.js 50.67 kB 15.15 kB 13.54 kB
vue-i18n.global.prod.js 40.54 kB 13.61 kB 12.25 kB
vue-i18n.runtime.esm-browser.prod.js 36.24 kB 11.15 kB 10.02 kB
vue-i18n.runtime.global.prod.js 27.52 kB 9.86 kB 8.89 kB

Usages

Name Size Gzip Brotli
packages/size-check-core (@intlify/core) 9.22 kB 3.82 kB 3.46 kB
packages/size-check-petite-vue-i18n (petite-vue-i18n) 77.63 kB 30.24 kB 27.28 kB
packages/size-check-vue-i18n (vue-i18n) 82.84 kB 31.74 kB 28.54 kB

Copy link

pkg-pr-new bot commented Apr 28, 2025

Open in StackBlitz

@intlify/core

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

@intlify/core-base

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

@intlify/devtools-types

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

@intlify/message-compiler

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

petite-vue-i18n

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

@intlify/shared

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

vue-i18n

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

@intlify/vue-i18n-core

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

commit: ea5b1c3

@kazupon kazupon merged commit 0421eed into master Apr 28, 2025
30 checks passed
@kazupon kazupon deleted the breaking/injection-dallar-api branch April 28, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Breaking Includes backwards-incompatible fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant