@intlify/core-base
Advanced tools
Changelog
v11.0.0 (2024-12-24T15:01:00Z)
This changelog is generated by GitHub Releases
<!-- Release notes generated using configuration in .github/release.yml at v11.0.0 -->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
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.
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.
tc
and $tc
for Legacy API modeThese APIs had already deprecated in warning about being dropped in v11. docs says
Vue I18n v8 is no longer supported after 2025. Vue I18n v9 and Vue I18n v10 is in maintenance mode after 2025 July.
With the release of Vue I18n v11, that version will become mainstream.
The maintenance detail status of Vue I18n v9 and Vue I18n v10 is as follows:
<img src="https://raw.githubusercontent.com/intlify/vue-i18n/master/docs/public/lifecycle2025.svg" />You can check the maintenance status on the docs
$tc
and tc
by @kazupon in https://github.com/intlify/vue-i18n/pull/2017v-t
custom directive by @kazupon in https://github.com/intlify/vue-i18n/pull/2045tm
function should accept DefineLocaleMessage
key type by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/2014Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.4...v11.0.0
Changelog
v11.0.0-rc.1 (2024-12-19T00:10:19Z)
This changelog is generated by GitHub Releases
<!-- Release notes generated using configuration in .github/release.yml at v11.0.0-rc.1 -->v-t
custom directive by @kazupon in https://github.com/intlify/vue-i18n/pull/2045Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.0.0-beta.2...v11.0.0-rc.1
Changelog
v11.0.0-beta.2 (2024-11-28T07:17:09Z)
This changelog is generated by GitHub Releases
<!-- Release notes generated using configuration in .github/release.yml at v11.0.0-beta.2 -->Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.0.0-beta.1...v11.0.0-beta.2
Changelog
v11.0.0-beta.1 (2024-11-17T14:18:05Z)
This changelog is generated by GitHub Releases
<!-- Release notes generated using configuration in .github/release.yml at v11.0.0-beta.1 -->$tc
and tc
by @kazupon in https://github.com/intlify/vue-i18n/pull/2017Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.0.0-beta.0...v11.0.0-beta.1
Changelog
v11.0.0-beta.0 (2024-11-14T15:42:34Z)
This changelog is generated by GitHub Releases
<!-- Release notes generated using configuration in .github/release.yml at v11.0.0-beta.0 -->tm
function should accept DefineLocaleMessage
key type by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/2014Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.4...v11.0.0-beta.0