@intlify/shared
Advanced tools
Changelog
v10.0.4 (2024-10-06T07:42:31Z)
This changelog is generated by GitHub Releases
<!-- Release notes generated using configuration in .github/release.yml at v10.0.4 -->Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.3...v10.0.4
Changelog
v10.0.3 (2024-09-22T11:09:22Z)
This changelog is generated by GitHub Releases
<!-- Release notes generated using configuration in .github/release.yml at v10.0.3 -->Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.2...v10.0.3
Changelog
v10.0.2 (2024-09-21T18:06:06Z)
This changelog is generated by GitHub Releases
<!-- Release notes generated using configuration in .github/release.yml at v10.0.2 -->deepCopy
mutates src
arguments by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/1947Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.1...v10.0.2
Changelog
v10.0.1 (2024-09-12T05:33:56Z)
This changelog is generated by GitHub Releases
<!-- Release notes generated using configuration in .github/release.yml at v10.0.1 -->Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0...v10.0.1
Changelog
v10.0.0 (2024-09-10T04:41:41Z)
We are excited to announce the release of Vue I18n v10. We had many contributors.
Thanks for your contributing ❤️
petite-vue-i18n
General Availabilitypetite-vue-i18n
is an alternative distribution of Vue I18n, providing only minimal features.
If you don't need the full functionality of vue-i18n and are just looking for basic translation features with a smaller footprint, this will suit your use case.
For more details, please see the docs.
JIT compilation was introduced in v9.3, but it was not enabled by default.
However, it had the following issues:
Starting from v10, JIT compilation is enabled by default.
We provide an interface to extend the Locale type in TypeScript, similar to ComponentCustomProperties
in Vue.
This feature is useful when using vue-i18n as part of a framework.
For more details, see the PR for the Nuxt I18n use case.
$t
and t
Overload Signatures for Legacy API ModeIn Vue I18n v9, $t
and t
had different overload signatures in Composition API mode compared to Legacy API mode.
When migrating from Legacy API mode to Composition API mode, these differences sometimes caused confusion.
Starting from v10, Legacy API mode will use the same $t
and t
overload signatures as Composition API mode.
For details on the signature pattern, see the migration guide.
tc
and $tc
for Legacy API ModeThe t
and $t
functions already support pluralization, so tc
and $tc
can be replaced.
In v10, tc
and $tc
still exist to aid in migration, but they will be fully removed in v11.
If you use them, Vue I18n will display a console warning in your application.
For migration instructions, see the docs.
Some features were marked as deprecated in v9 with warnings.
These deprecated features will be completely removed in v10.
For more details on the deprecated features, see the docs.
$t
overloaded signature for Legacy API mode by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1832<i18n>
v8.x compatibility by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1844te
behavior v8.x compatibility on v9 by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1845tc
and $tc
for Legacy API mode by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1839formatter
option codes on Legacy API by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1826preserveDirectiveContent
option codes on Legacy API by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1827preserve
modifier codes on v-t
directive by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1828getChoiceIndex
on Legacy API by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1829allowComposition
option by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1817$t
types by @mitjans in https://github.com/intlify/vue-i18n/pull/1883Full Changelog: https://github.com/intlify/vue-i18n/compare/v9.13.1...v10.0.0
Changelog
v10.0.0-rc.1 (2024-09-05T08:44:40Z)
This changelog is generated by GitHub Releases
<!-- Release notes generated using configuration in .github/release.yml at v10.0.0-rc.1 -->Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0-beta.6...v10.0.0-rc.1
Changelog
v10.0.0-beta.6 (2024-08-29T05:48:00Z)
This changelog is generated by GitHub Releases
<!-- Release notes generated using configuration in .github/release.yml at v10.0.0-beta.6 -->Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0-beta.5...v10.0.0-beta.6