包详细信息
@intlify/devtools-types
@intlify/devtools-types
自述文件
更新日志
v12.0.0-alpha.2 (2025-03-20T05:28:56Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: ESM only with package.json type field by @kazupon in https://github.com/intlify/vue-i18n/pull/2141
Full Changelog: https://github.com/intlify/vue-i18n/compare/v12.0.0-alpha.1...v12.0.0-alpha.2
v12.0.0-alpha.1 (2025-03-17T08:55:44Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat: reactive
availableLocales
using computed property by @mnenie in https://github.com/intlify/vue-i18n/pull/2058 - feat: configurable
ComponentCustomProperties['$i18n']
type by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/2093 - feat(core-base): accessor for locale messages by @kazupon in https://github.com/intlify/vue-i18n/pull/2135
🐛 Bug Fixes
- Fix: Synchronous Watcher Issue Caused by Locale Setting Order by @lcjnil in https://github.com/intlify/vue-i18n/pull/2104
💥 Breaking Changes
- breaking: drop custom directive v-t by @kazupon in https://github.com/intlify/vue-i18n/pull/2061
- feat!: change to
mangle
option name fromminify
option name by @kazupon in https://github.com/intlify/vue-i18n/pull/2064 - drop node v18 by @babu-ch in https://github.com/intlify/vue-i18n/pull/2109
- drop Legacy API by @babu-ch in https://github.com/intlify/vue-i18n/pull/2110
- ship ESM only by @babu-ch in https://github.com/intlify/vue-i18n/pull/2112
⚡ Improvement Features
- fix: update MountOptions.components type by @johnsoncodehk in https://github.com/intlify/vue-i18n/pull/2128
📈 Performance Fixes
- perf: more optimize bundle size by @kazupon in https://github.com/intlify/vue-i18n/pull/2065
📝️ Documentations
- docs: API reference for multi version preparation by @kazupon in https://github.com/intlify/vue-i18n/pull/2059
- fix(installation.md): update installation commands for package manager by @Vincere1st in https://github.com/intlify/vue-i18n/pull/2081
- Update introduction.md by @ismailsabet in https://github.com/intlify/vue-i18n/pull/2095
- Update CONTRIBUTING.md by @babu-ch in https://github.com/intlify/vue-i18n/pull/2111
- docs: clarify
v-t
limitations and reactivity behavior by @docnoe in https://github.com/intlify/vue-i18n/pull/2118
New Contributors
- @mnenie made their first contribution in https://github.com/intlify/vue-i18n/pull/2058
- @Vincere1st made their first contribution in https://github.com/intlify/vue-i18n/pull/2081
- @ismailsabet made their first contribution in https://github.com/intlify/vue-i18n/pull/2095
- @lcjnil made their first contribution in https://github.com/intlify/vue-i18n/pull/2104
- @babu-ch made their first contribution in https://github.com/intlify/vue-i18n/pull/2109
- @johnsoncodehk made their first contribution in https://github.com/intlify/vue-i18n/pull/2128
Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.0.1...v12.0.0-alpha.1
v11.0.1 (2024-12-26T07:40:58Z)
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
- fix: v-t custom directive warning when it will run by @kazupon in https://github.com/intlify/vue-i18n/pull/2057
Full Changelog: https://github.com/intlify/vue-i18n/compare/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
Vue I18n maintenance Status
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:
You can check the maintenance status on the docs
❗ Breaking Changes
- feat!: deprecate Legacy API mode by @kazupon in https://github.com/intlify/vue-i18n/pull/2016
- breaking: drop
$tc
andtc
by @kazupon in https://github.com/intlify/vue-i18n/pull/2017 - feat!: deprecate
v-t
custom directive by @kazupon in https://github.com/intlify/vue-i18n/pull/2045
⚡ Improvement Features
- fix:
tm
function should acceptDefineLocaleMessage
key type by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/2014
🔒 Security Fixes
- fix: security vulnerability fix porting by @kazupon in https://github.com/intlify/vue-i18n/pull/2034
📝️ Documentations
- Change config prop for quasar flags by @chrissyast in https://github.com/intlify/vue-i18n/pull/2003
- docs: Pluralization Page by @Sammuel09 in https://github.com/intlify/vue-i18n/pull/1998
- docs: fix composition section by @Sammuel09 in https://github.com/intlify/vue-i18n/pull/2008
- fix(docs): correct output in composition api example by @pejeio in https://github.com/intlify/vue-i18n/pull/2012
- docs: not use deprecated api by @kazupon in https://github.com/intlify/vue-i18n/pull/2013
- docs: fix wrong plural example by @kazupon in https://github.com/intlify/vue-i18n/pull/2033
- docx(pluralization.md): Correct spelling from 'gloal' to 'global' by @PuppyOne in https://github.com/intlify/vue-i18n/pull/2038
- Fix typo by @shaedrich in https://github.com/intlify/vue-i18n/pull/2040
- Fix another typo by @shaedrich in https://github.com/intlify/vue-i18n/pull/2041
- docs: add maintenance status by @kazupon in https://github.com/intlify/vue-i18n/pull/2044
👋 New Contributors
- @chrissyast made their first contribution in https://github.com/intlify/vue-i18n/pull/2003
- @Sammuel09 made their first contribution in https://github.com/intlify/vue-i18n/pull/1998
- @pejeio made their first contribution in https://github.com/intlify/vue-i18n/pull/2012
- @PuppyOne made their first contribution in https://github.com/intlify/vue-i18n/pull/2038
- @shaedrich made their first contribution in https://github.com/intlify/vue-i18n/pull/2040
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.4...v11.0.0
v11.0.0-rc.1 (2024-12-19T00:10:19Z)
This changelog is generated by GitHub Releases
What's Changed
💥 Breaking Changes
- feat!: deprecate
v-t
custom directive by @kazupon in https://github.com/intlify/vue-i18n/pull/2045
📝️ Documentations
- docx(pluralization.md): Correct spelling from 'gloal' to 'global' by @PuppyOne in https://github.com/intlify/vue-i18n/pull/2038
- Fix typo by @shaedrich in https://github.com/intlify/vue-i18n/pull/2040
- Fix another typo by @shaedrich in https://github.com/intlify/vue-i18n/pull/2041
- docs: add maintenance status by @kazupon in https://github.com/intlify/vue-i18n/pull/2044
New Contributors
- @PuppyOne made their first contribution in https://github.com/intlify/vue-i18n/pull/2038
- @shaedrich made their first contribution in https://github.com/intlify/vue-i18n/pull/2040
Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.0.0-beta.2...v11.0.0-rc.1
v11.0.0-beta.2 (2024-11-28T07:17:09Z)
This changelog is generated by GitHub Releases
What's Changed
🔒 Security Fixes
- fix: security vulnerability fix porting by @kazupon in https://github.com/intlify/vue-i18n/pull/2034
📝️ Documentations
- docs: fix wrong plural example by @kazupon in https://github.com/intlify/vue-i18n/pull/2033
Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.0.0-beta.1...v11.0.0-beta.2
v11.0.0-beta.1 (2024-11-17T14:18:05Z)
This changelog is generated by GitHub Releases
What's Changed
💥 Breaking Changes
- breaking: drop
$tc
andtc
by @kazupon in https://github.com/intlify/vue-i18n/pull/2017
Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.0.0-beta.0...v11.0.0-beta.1
v11.0.0-beta.0 (2024-11-14T15:42:34Z)
This changelog is generated by GitHub Releases
What's Changed
💥 Breaking Changes
- feat!: deprecate Legacy API mode by @kazupon in https://github.com/intlify/vue-i18n/pull/2016
⚡ Improvement Features
- fix:
tm
function should acceptDefineLocaleMessage
key type by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/2014
📝️ Documentations
- Change config prop for quasar flags by @chrissyast in https://github.com/intlify/vue-i18n/pull/2003
- docs: Pluralization Page by @Sammuel09 in https://github.com/intlify/vue-i18n/pull/1998
- docs: fix composition section by @Sammuel09 in https://github.com/intlify/vue-i18n/pull/2008
- fix(docs): correct output in composition api example by @pejeio in https://github.com/intlify/vue-i18n/pull/2012
- docs: not use deprecated api by @kazupon in https://github.com/intlify/vue-i18n/pull/2013
New Contributors
- @chrissyast made their first contribution in https://github.com/intlify/vue-i18n/pull/2003
- @Sammuel09 made their first contribution in https://github.com/intlify/vue-i18n/pull/1998
- @pejeio made their first contribution in https://github.com/intlify/vue-i18n/pull/2012
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.4...v11.0.0-beta.0
v10.0.4 (2024-10-06T07:42:31Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: cannot resolve empty string on plural by @kazupon in https://github.com/intlify/vue-i18n/pull/1985
📝️ Documentations
- Add petite-vue-i18n package to README by @vikingair in https://github.com/intlify/vue-i18n/pull/1971
New Contributors
- @vikingair made their first contribution in https://github.com/intlify/vue-i18n/pull/1971
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.3...v10.0.4
v10.0.3 (2024-09-22T11:09:22Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix(petite-vue-i18n): cannot register correctly message resolver and locale fallbacker by @kazupon in https://github.com/intlify/vue-i18n/pull/1967
📝️ Documentations
- docs: add unplugin-vue-i18n setting for petite-vue-i18n by @kazupon in https://github.com/intlify/vue-i18n/pull/1968
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.2...v10.0.3
v10.0.2 (2024-09-21T18:06:06Z)
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
- fix: revert #1379 by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/1953
- fix: messages
deepCopy
mutatessrc
arguments by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/1947
📝️ Documentations
- docs: add team members by @kazupon in https://github.com/intlify/vue-i18n/pull/1951
- docs: add how to use shared locale messages on composition api by @kazupon in https://github.com/intlify/vue-i18n/pull/1964
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.1...v10.0.2
v10.0.1 (2024-09-12T05:33:56Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: petite-vue-i18n type errors by @TPORL in https://github.com/intlify/vue-i18n/pull/1945
New Contributors
- @TPORL made their first contribution in https://github.com/intlify/vue-i18n/pull/1945
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0...v10.0.1
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 ❤️
Summary
petite-vue-i18n
General Availability
petite-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 Enabled by Default
JIT compilation was introduced in v9.3, but it was not enabled by default.
However, it had the following issues:
- CSP restrictions: Difficult to work with service/web workers, edge-side runtimes of CDNs, etc.
- Backend integration: Hard to fetch messages from a backend (e.g., a database via API) and localize them dynamically.
Starting from v10, JIT compilation is enabled by default.
Support for Generated Locale Types
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.
Changes to $t
and t
Overload Signatures for Legacy API Mode
In 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.
Deprecation of tc
and $tc
for Legacy API Mode
The 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.
Dropping Deprecated Features from v9
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.
🌟 Features
- feat: move to GA from experimental for petite-vue-i18n by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1862
- feat!: default enable for JIT compilation by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1852
- feat: support generated locale type by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/1890
- feat!: change
$t
overloaded signature for Legacy API mode by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1832
❗ Breaking Changes
- breaking: drop translation component
<i18n>
v8.x compatibility by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1844 - breaking: drop
te
behavior v8.x compatibility on v9 by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1845 - feat!: deprecate
tc
and$tc
for Legacy API mode by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1839 - breaking: drop fully
formatter
option codes on Legacy API by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1826 - breaking: drop fully
preserveDirectiveContent
option codes on Legacy API by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1827 - breaking: drop fully
preserve
modifier codes onv-t
directive by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1828 - breaking: drop fully
getChoiceIndex
on Legacy API by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1829 - breaking: drop vue-i18n-bridge by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1816
- breaking: drop
allowComposition
option by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1817 - breaking: drop modulo syntax by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1814
⚡ Improvement Features
- perf: more bundle size optimization by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1851
- fix: type errors by @kazupon in https://github.com/intlify/vue-i18n/pull/1935
- fix(devtools): change vue-devtools label by @kazupon in https://github.com/intlify/vue-i18n/pull/1885
- fix: vue-i18n type definition for vue package by @kazupon in https://github.com/intlify/vue-i18n/pull/1888
- fix: translation interface typing by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1837
- fix: reduce devtools pkgs and size by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1823
✏️ Documentation & Sample Updates
- Improved the global and local Scope descriptions by @pankajrlal in https://github.com/intlify/vue-i18n/pull/1925
- Update ja-JP.json by @awsssrD in https://github.com/intlify/vue-i18n/pull/1914
- Update en-US.json by @awsssrD in https://github.com/intlify/vue-i18n/pull/1913
- chore: fix module augmentation example comment by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/1898
- Added a comment about pluralRules to the code in pluralization docs by @M1h4n1k in https://github.com/intlify/vue-i18n/pull/1873
- docs: fix typos by @SimonVadier in https://github.com/intlify/vue-i18n/pull/1863
- docs: add scoping for custom directive by @kazupon in https://github.com/intlify/vue-i18n/pull/1867
- Update tools.md by @felixhaeberle in https://github.com/intlify/vue-i18n/pull/1866
- Fix typos, syntax by @TheoKondak in https://github.com/intlify/vue-i18n/pull/1881
- fix: typo in migration breaking changes v10 by @khylias in https://github.com/intlify/vue-i18n-next/pull/1854
- docs: fix typo on vue i18n name by @r-moret in https://github.com/intlify/vue-i18n-next/pull/1848
- docs: add favicon by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1824
- docs: fix typos by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1825
- Update started.md to fix typo by @steveclarke in https://github.com/intlify/vue-i18n-next/pull/1822
🐛 Bug Fixes
- fix: fallback linked message params by @kazupon in https://github.com/intlify/vue-i18n/pull/1926
- fix(types):
$t
types by @mitjans in https://github.com/intlify/vue-i18n/pull/1883 - fix: cannot reduce message-compiler bundle size for runtime by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1860
- fix: allow empty default message by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1849
- fix: remove unnecessary types from petite-vue-i18n by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1833
- fix: Not load devtools on Node.js by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1843
- fix(types): allow spyOn of "useI18n()" by @pinguet62 in https://github.com/intlify/vue-i18n-next/pull/1815
New Contributors
- @pinguet62 made their first contribution in https://github.com/intlify/vue-i18n/pull/1815
- @steveclarke made their first contribution in https://github.com/intlify/vue-i18n/pull/1822
- @r-moret made their first contribution in https://github.com/intlify/vue-i18n/pull/1848
- @khylias made their first contribution in https://github.com/intlify/vue-i18n/pull/1854
- @SimonVadier made their first contribution in https://github.com/intlify/vue-i18n/pull/1863
- @felixhaeberle made their first contribution in https://github.com/intlify/vue-i18n/pull/1866
- @mitjans made their first contribution in https://github.com/intlify/vue-i18n/pull/1883
- @TheoKondak made their first contribution in https://github.com/intlify/vue-i18n/pull/1881
- @M1h4n1k made their first contribution in https://github.com/intlify/vue-i18n/pull/1873
- @awsssrD made their first contribution in https://github.com/intlify/vue-i18n/pull/1914
- @pankajrlal made their first contribution in https://github.com/intlify/vue-i18n/pull/1925
Full Changelog: https://github.com/intlify/vue-i18n/compare/v9.13.1...v10.0.0
v10.0.0-rc.1 (2024-09-05T08:44:40Z)
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
- fix: type errors by @kazupon in https://github.com/intlify/vue-i18n/pull/1935
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0-beta.6...v10.0.0-rc.1
v10.0.0-beta.6 (2024-08-29T05:48:00Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: fallback linked message params by @kazupon in https://github.com/intlify/vue-i18n/pull/1926
📝️ Documentations
- Improved the global and local Scope descriptions by @pankajrlal in https://github.com/intlify/vue-i18n/pull/1925
🍭 Examples
- Update ja-JP.json by @awsssrD in https://github.com/intlify/vue-i18n/pull/1914
- Update en-US.json by @awsssrD in https://github.com/intlify/vue-i18n/pull/1913
New Contributors
- @awsssrD made their first contribution in https://github.com/intlify/vue-i18n/pull/1914
- @pankajrlal made their first contribution in https://github.com/intlify/vue-i18n/pull/1925
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0-beta.5...v10.0.0-beta.6
v10.0.0-beta.5 (2024-07-19T02:23:39Z)
This changelog is generated by GitHub Releases
What's Changed
📝️ Documentations
- chore: fix module augmentation example comment by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/1898
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0-beta.4...v10.0.0-beta.5
v10.0.0-beta.4 (2024-07-16T04:02:31Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat: support generated locale type by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/1890
📝️ Documentations
- Added a comment about pluralRules to the code in pluralization docs by @M1h4n1k in https://github.com/intlify/vue-i18n/pull/1873
New Contributors
- @M1h4n1k made their first contribution in https://github.com/intlify/vue-i18n/pull/1873
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0-beta.3...v10.0.0-beta.4
v10.0.0-beta.3 (2024-07-14T08:45:48Z)
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
- fix(devtools): change vue-devtools label by @kazupon in https://github.com/intlify/vue-i18n/pull/1885
- fix: vue-i18n type definition for vue package by @kazupon in https://github.com/intlify/vue-i18n/pull/1888
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0-beta.2...v10.0.0-beta.3
v10.0.0-beta.2 (2024-07-05T00:48:54Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix(types):
$t
types by @mitjans in https://github.com/intlify/vue-i18n/pull/1883
📝️ Documentations
- docs: fix typos by @SimonVadier in https://github.com/intlify/vue-i18n/pull/1863
- docs: add scoping for custom directive by @kazupon in https://github.com/intlify/vue-i18n/pull/1867
- Update tools.md by @felixhaeberle in https://github.com/intlify/vue-i18n/pull/1866
- Fix typos, syntax by @TheoKondak in https://github.com/intlify/vue-i18n/pull/1881
New Contributors
- @SimonVadier made their first contribution in https://github.com/intlify/vue-i18n/pull/1863
- @felixhaeberle made their first contribution in https://github.com/intlify/vue-i18n/pull/1866
- @mitjans made their first contribution in https://github.com/intlify/vue-i18n/pull/1883
- @TheoKondak made their first contribution in https://github.com/intlify/vue-i18n/pull/1881
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0-beta.1...v10.0.0-beta.2
v10.0.0-beta.1 (2024-05-23T08:05:06Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat: move to GA from experimental for petite-vue-i18n by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1862
🐛 Bug Fixes
- fix: cannot reduce message-compiler bundle size for runtime by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1860
📝️ Documentations
- fix: typo in migration breaking changes v10 by @khylias in https://github.com/intlify/vue-i18n-next/pull/1854
New Contributors
- @khylias made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1854
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v10.0.0-alpha.5...v10.0.0-beta.1
v10.0.0-alpha.5 (2024-05-15T08:29:52Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat!: default enable for JIT compilation by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1852
🐛 Bug Fixes
- fix: allow empty default message by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1849
📈 Performance Fixes
- perf: more bundle size optimization by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1851
📝️ Documentations
- docs: fix typo on vue i18n name by @r-moret in https://github.com/intlify/vue-i18n-next/pull/1848
New Contributors
- @r-moret made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1848
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v10.0.0-alpha.4...v10.0.0-alpha.5
v10.0.0-alpha.4 (2024-05-09T08:04:12Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat!: change
$t
overloaded signature for Legacy API mode by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1832
🐛 Bug Fixes
- fix: remove unnecessary types from petite-vue-i18n by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1833
- fix: Not load devtools on Node.js by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1843
💥 Breaking Changes
- breaking: drop translation component
<i18n>
v8.x compatibility by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1844 - breaking: drop
te
behavior v8.x compatibility on v9 by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1845
⚠️ Deprecated Features
- feat!: deprecate
tc
and$tc
for Legacy API mode by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1839
⚡ Improvement Features
- fix: translation interface typing by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1837
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v10.0.0-alpha.3...v10.0.0-alpha.4
v10.0.0-alpha.3 (2024-04-27T09:15:50Z)
This changelog is generated by GitHub Releases
What's Changed
💥 Breaking Changes
- breaking: drop fully
formatter
option codes on Legacy API by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1826 - breaking: drop fully
preserveDirectiveContent
option codes on Legacy API by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1827 - breaking: drop fully
preserve
modifier codes onv-t
directive by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1828 - breaking: drop fully
getChoiceIndex
on Legacy API by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1829
⚡ Improvement Features
- fix: reduce devtools pkgs and size by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1823
📝️ Documentations
- docs: add favicon by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1824
- docs: fix typos by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1825
- Update started.md to fix typo by @steveclarke in https://github.com/intlify/vue-i18n-next/pull/1822
New Contributors
- @steveclarke made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1822
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v10.0.0-alpha.2...v10.0.0-alpha.3
v10.0.0-alpha.2 (2024-04-22T23:27:21Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix(types): allow spyOn of "useI18n()" by @pinguet62 in https://github.com/intlify/vue-i18n-next/pull/1815
💥 Breaking Changes
- breaking: drop vue-i18n-bridge by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1816
- breaking: drop
allowComposition
option by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1817
New Contributors
- @pinguet62 made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1815
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v10.0.0-alpha.1...v10.0.0-alpha.2
v10.0.0-alpha.1 (2024-04-21T12:15:10Z)
This changelog is generated by GitHub Releases
What's Changed
💥 Breaking Changes
- breaking: drop modulo syntax by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1814
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.13.1...v10.0.0-alpha.1
v9.13.1 (2024-04-20T15:25:52Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix(message-compiler): cannot resolve none-identifier characters at linked key by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1813
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.13.0...v9.13.1
v9.13.0 (2024-04-17T14:47:38Z)
This changelog is generated by GitHub Releases
What's Changed
⚠️ Deprecated Features
- fix: EOL announcement warning for vue-i18n-bridge by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1800
⚡ Improvement Features
- fix: not throw warnings when using implicit fallback by @ShinnosukeKomiya in https://github.com/intlify/vue-i18n-next/pull/1798
📝️ Documentations
- fix: spelling by @DamageESP in https://github.com/intlify/vue-i18n-next/pull/1802
- docs: improve documentation by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1801
- docs: fix dead link on menu by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1804
New Contributors
- @ShinnosukeKomiya made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1798
- @DamageESP made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1802
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.12.1...v9.13.0
v9.12.1 (2024-04-14T10:48:11Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: compile error for key with included hyphen in named interpolation by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1797
👕 Refactoring
- refactor: tokenizer by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1799
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.12.0...v9.12.1
v9.12.0 (2024-04-12T01:30:04Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- fix: deprecate named interpolation with modulo syntax by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1795
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.11.1...v9.12.0
v9.11.1 (2024-04-10T05:59:44Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: regression triple slash including in
.d.ts
by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1794
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.11.0...v9.11.1
v9.11.0 (2024-04-04T01:19:34Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- fix: number and date format components not using
scope
prop by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1786
New Contributors
- @xuanzhi33 made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1767
- @YoshiYo made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1781
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.10.2...v9.11.0
v9.10.2 (2024-03-15T13:16:47Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: manually add triple slash directive to
message-compiler
by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1766
New Contributors
- @shinGangan made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1763
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.10.1...v9.10.2
v9.10.1 (2024-03-01T01:26:17Z)
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
- chore(fix): #1630 make the install function synchronous to be aligned… by @k-paxian in https://github.com/intlify/vue-i18n-next/pull/1631
📝️ Documentations
- docs: wrong te docs by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1753
New Contributors
- @k-paxian made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1631
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.10.0...v9.10.1
v9.10.0 (2024-03-01T00:50:42Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- fix: Support for
te
behavior compatibility before v9.6 by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1751
📝️ Documentations
- docs: update description of Nuxt I18n and its status by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1739
New Contributors
- @twolfvb made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1732
- @ismailarilik made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1722
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.9.1...v9.10.0
v9.9.1 (2024-01-31T01:42:27Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: key-value style messages broken after merging (#1717) by @chojnicki in https://github.com/intlify/vue-i18n-next/pull/1718
📝️ Documentations
- chore(typo): update injection.md by @quentinmcq in https://github.com/intlify/vue-i18n-next/pull/1716
- Update syntax.md by @hinogi in https://github.com/intlify/vue-i18n-next/pull/1701
New Contributors
- @chojnicki made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1718
- @quentinmcq made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1716
- @hinogi made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1701
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.9.0...v9.9.1
v9.9.0 (2024-01-06T09:51:05Z)
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
- Register vue jsx types in tsx test by @yyx990803 in https://github.com/intlify/vue-i18n-next/pull/1661
- chore: improve Vue type definition appending by @NozomuIkuta in https://github.com/intlify/vue-i18n-next/pull/1671
📈 Performance Fixes
- fix: lower memory usage by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1677
📝️ Documentations
- Update installation.md by @KumJungMin in https://github.com/intlify/vue-i18n-next/pull/1676
New Contributors
- @yyx990803 made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1661
- @KumJungMin made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1676
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.8.0...v9.9.0
v9.8.0 (2023-11-28T01:00:45Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat: more strictly return type locale detector by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1640
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.7.1...v9.8.0
v9.7.1 (2023-11-22T14:36:24Z)
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
- fix: tweak
@intlify/core
conditional exports by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1639
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.7.0...v9.7.1
v9.7.0 (2023-11-16T07:45:49Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat: export message merging utilities to shared module by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1635
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.6.5...v9.7.0
v9.6.5 (2023-11-04T01:42:38Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: Nuxt I18n type inference by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1628
New Contributors
- @BobbieGoede made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1628
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.6.4...v9.6.5
v9.6.4 (2023-11-02T04:44:53Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: wrong source getting by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1624
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.6.3...v9.6.4
v9.6.3 (2023-11-02T04:05:31Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: adjust
/* #__PURE__*/
comment timing by @newives in https://github.com/intlify/vue-i18n-next/pull/1623
New Contributors
- @newives made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1623
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.6.2...v9.6.3
v9.6.2 (2023-10-27T22:37:12Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: return null for fucntion by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1617
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.6.1...v9.6.2
v9.6.1 (2023-10-27T05:45:30Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: more
te
logic strictly by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1612 - fix:
te
fallback to root by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1613
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.6.0...v9.6.1
v9.6.0 (2023-10-26T03:36:13Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat!: support resource schema type definition for
@intlfy/core-base
(@intlify/core
) by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1594
🐛 Bug Fixes
- fix(examples): remove
@vite-ignore
magic comment by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1590 - fix: cannot resolve flatjson messages when use
setLocaleMessage
by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1601 - fix: strictly key exsisting with
te
by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1602
⚡ Improvement Features
- fix: locale detector type definition by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1591
📝️ Documentations
- docs: add example link by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1608
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.5.0...v9.6.0
v9.5.0 (2023-09-29T02:39:13Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat(core-base): support locale detector by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1566
🐛 Bug Fixes
- Handle falsy values in i18n.te() by @BuuBux in https://github.com/intlify/vue-i18n-next/pull/1554
- fix(core-base): wrong list index resolving on jit optimization by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1571
- fix: support runtime module for node.js by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1573
📝️ Documentations
- docs: fix typo in optimization.md by @Theiaz in https://github.com/intlify/vue-i18n-next/pull/1565
- Fix typos in breaking.md doc by @piercemorris in https://github.com/intlify/vue-i18n-next/pull/1572
🍭 Examples
- Update nuxt.config.ts in Nuxt 3 Minimal Starter Example by @ram-you in https://github.com/intlify/vue-i18n-next/pull/1553
New Contributors
- @BuuBux made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1554
- @Theiaz made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1565
- @piercemorris made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1572
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.4.1...v9.5.0
v9.4.1 (2023-09-14T10:51:39Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: cannot resolve linked refer message by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1549
- fix: cannot resolve linked refer message that has hypen by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1550
- fix: type errors for core-base by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1551
📝️ Documentations
- docs: add build.transpile option by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1548
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.4.0...v9.4.1
v9.4.0 (2023-09-11T10:08:20Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat(shared): support dist package for browser by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1527
🐛 Bug Fixes
- fix(vue-i18n-bridge): peer dependency warning by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1536
⚡ Improvement Features
- feat(core): optimize core package for node.js by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1530
- fix: optimize tree-shaking for devtools packages by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1531
- improvement: tweak compler registration and message condition on compile function by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1532
New Contributors
- @ram-you made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1525
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0...v9.4.0
v9.3.0 (2023-09-05T08:39:25Z)
We are excited to announce the release of Vue I18n v9.3, finally !! This release includes some new features, bug fixes, improvements, and document fixes.
We had commited with 37 contributors. Thanks for your contributing ❤️
In the following, we introduce some of the new features:
🌟 Features
Node.js Dual packages (cjs
/ mjs
)
We provide CommonJS and Native ESM dual module packages for Node.js. This supports both require
and import
for loading modules in Node.js.
- feat: cjs/mjs file extension fully by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1147
- feat: support ESM file extension by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1137
- feat: node esm for message compiler by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1460
JIT Style Compilation
Supports JIT (Just In Time) style compilation of message formats. This mean, removes the CSP limitation and allows for use in environments such as Service worker, Web worker, and Edge.
It mean also now supports the use-case where locale messages are dynamically retrieved from the backend via the API.
For more information, please see the docs
The performance of JIT-style compilation is close to that of conventional AOT (Ahead Of Time) style compilation, and you can improve the performance to nearly 3x with combination of JIT + AOT.
Below are the compile performance benchmark results for vue-i18n:
> node ./benchmark/index.mjs
compilation:
compile simple message x 396,898 ops/sec ±0.31% (98 runs sampled)
compile complex message x 60,036 ops/sec ±0.34% (99 runs sampled)
simple pattern on 1000 resources (AOT):
resolve time with core x 279,919 ops/sec ±0.19% (99 runs sampled)
resolve time on composition x 93,963 ops/sec ±0.48% (93 runs sampled)
resolve time on composition with compile cache x 230,928 ops/sec ±0.20% (100 runs sampled)
simple pattern on 1000 resources (JIT):
resolve time with core x 277,813 ops/sec ±0.18% (99 runs sampled)
resolve time on composition x 91,959 ops/sec ±0.43% (97 runs sampled)
resolve time on composition with compile cache x 227,117 ops/sec ±0.15% (99 runs sampled)
simple pattern on 1000 resources (JIT + AOT):
resolve time with core x 319,061 ops/sec ±0.18% (100 runs sampled)
resolve time on composition x 204,529 ops/sec ±0.22% (95 runs sampled)
resolve time on composition with compile cache x 204,652 ops/sec ±0.30% (100 runs sampled)
complex pattern on 1000 resources (AOT):
resolve time with core x 240,427 ops/sec ±0.37% (100 runs sampled)
resolve time on composition x 33,959 ops/sec ±0.45% (94 runs sampled)
resolve time on composition with compile cache x 200,980 ops/sec ±0.15% (99 runs sampled)
complex pattern on 1000 resources (JIT):
resolve time with core x 225,739 ops/sec ±0.25% (99 runs sampled)
resolve time on composition x 36,379 ops/sec ±0.49% (97 runs sampled)
resolve time on composition with compile cache x 191,653 ops/sec ±0.24% (100 runs sampled)
complex pattern on 1000 resources (JIT + AOT):
resolve time with core x 278,542 ops/sec ±0.20% (98 runs sampled)
resolve time on composition x 92,781 ops/sec ±0.31% (98 runs sampled)
resolve time on composition with compile cache x 92,865 ops/sec ±0.33% (98 runs sampled)
You can clone Vue I18n and run the benchmark with pnpm build:type && pnpm benchmark
to check.
- feat: support JIT like compilation by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1434
- feat: support AST minification by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1474
Custome message format
Starting with v9.3, Vue I18n will give message format customization as an experimental feature. This will allow for extending to the message format:
import { createI18n } from 'vue-i18n'
import { messageCompiler } from './compilation'
const i18n = createI18n({
legacy: false,
locale: 'en',
messageCompiler,
messages: {
en: {
hello: 'hello world!',
greeting: 'hi, {name}!',
photo: `You have {numPhotos, plural,
=0 {no photos.}
=1 {one photo.}
other {# photos.}
}`
}
}
})
About details, please see the docs
- feat: support custom message format with
messageCompiler
option by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1497 - perf: support drop message compiler feature flag by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1510
Exports type definition and API
Export v-t
type definitions and API $te
to support Vue I18n extending for third vendors and your Vue applications.
- feat: export
v-t
directive type by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1511 - feat: export
$te
as global on composition mode by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1222
❗ Important Changes: 1
allowComposition
option
The allowComposition
option will be removed in Vue I18n v10. We have accordingly output a warning if you are using it.
If you are using Vue I18n Legacy API to migrate to the Composition API, please make sure you have done so with the Vue I18n v9 version.
- fix: prepare to drop
allowComposition
option by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1496
Deprecate vue-i18n official bundle plugins
The following plugin or loader for bundler is deprecated because it can be replaced by the unplugin-vue-i18n
.
These will only be taken as hot fixes in the future, and no additional functionality will be added.
⚡ Improvement Features: 15
- fix: improve custom extender by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1494
- Improve documentation about TypeScript Support by @bchazelle-ubitransport in https://github.com/intlify/vue-i18n-next/pull/1374
- fix: typo in I18nErrorCodes enum by @T0TProduction in https://github.com/intlify/vue-i18n-next/pull/1394
- Fix typo by @tkalmar in https://github.com/intlify/vue-i18n-next/pull/1393
- fix: drop node v14 by @NozomuIkuta in https://github.com/intlify/vue-i18n-next/pull/1399
- fix: avoid transform to
globalThis
with bundler by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1413 - fix: global locale is not respected by useI18n by @Csszabi98 in https://github.com/intlify/vue-i18n-next/pull/1316
- chore: switch to vitest from jest by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1342
- fix: support pascal case for components by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1313
- fix: support type inference of Translation, NumberFormat and DatetimeFormat components on SFC template and JSX/TSX by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1310
- fix: update typescript version and fix type error by @littleboarx in https://github.com/intlify/vue-i18n-next/pull/1277
- fix: correct typo in
TranslateVNodeSymbol
by @DamianGlowala in https://github.com/intlify/vue-i18n-next/pull/1236 - fix: exntending for Composer and VueI18n by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1237
- fix: change to
optionalDependencies
by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1184 - improvement: remove feature flag warning by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1140
🐛 Bug Fixes: 17
- fix(message-compiler): linked modifier breaks with parenthesis by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1506
- fix(core-base):
isMessageAST
more strictly by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1509 - fix: root context message availability for linked messages in SFCs on production by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1477
- fix: cleanup global injection resources by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1479
- fix: conditional exports order for message compiler by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1461
- fix: allow AST on
rt
by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1455 - fix: JIT compilation on runtime only by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1451
- fix: reslove with caml-case for components by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1418
- fix: crash of the app when we mix flat json keys by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1419
- fix: Resolve the message in components which was rendered with slots, for about
<i18n-t>
,<i18n-n>
and<i18n-d>
by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1416 - fix: isPlainObject incorrectly identifies objects wrapped in a Proxy object in Safari 10 by @reed-soul in https://github.com/intlify/vue-i18n-next/pull/1379
- fix: useI18n wrong type and other type broken by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1309
- fix: generate ComponentCustomProperties d.ts by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1306
- fix: avoid VueI18n extending on root by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1241
- fix: multiple VueI18n extending by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1239
- fix: tree-shaking Fragment with for vue-i18n-bridge by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1187
- fix:using the better Fragment detection(#1122) by @littleboarx in https://github.com/intlify/vue-i18n-next/pull/1177
📝️ Documentations: 28
- Updates to Nuxt 3 integration guide by @JPF3N998 in https://github.com/intlify/vue-i18n-next/pull/1520
- docs: add vite-plugin-vue-i18n support vite version to warning notice by @regchiu in https://github.com/intlify/vue-i18n-next/pull/1499
- feat!: replace algolia with local search by @g1eny0ung in https://github.com/intlify/vue-i18n-next/pull/1488
- fix(guide): typo resourece -> resource by @regchiu in https://github.com/intlify/vue-i18n-next/pull/1492
- docs: diff with syntax highlighting in nuxt integration by @jd-solanki in https://github.com/intlify/vue-i18n-next/pull/1490
- Add example code for deployed app for nuxt3-app-vue-i18n by @lyqht in https://github.com/intlify/vue-i18n-next/pull/1469
- Fix #1475: Typo in documentation when referring to translation component by @ducksblock in https://github.com/intlify/vue-i18n-next/pull/1476
- Update index.md by @bnss in https://github.com/intlify/vue-i18n-next/pull/1431
- Update breaking.md by @Sojaner in https://github.com/intlify/vue-i18n-next/pull/1366
- docs: adjust Translation props in JSDoc by @iamandrewluca in https://github.com/intlify/vue-i18n-next/pull/1372
- docs: update vue-demi version by @blackwindforce in https://github.com/intlify/vue-i18n-next/pull/1375
- docs: add section about petite-vue-i18n by @NozomuIkuta in https://github.com/intlify/vue-i18n-next/pull/1402
- docs: Add space before link text by @munierujp in https://github.com/intlify/vue-i18n-next/pull/1336
- typo fix by @arikw in https://github.com/intlify/vue-i18n-next/pull/1337
- Fixed Typo by @flashspys in https://github.com/intlify/vue-i18n-next/pull/1339
- Fixed typo in example by @tom-knight in https://github.com/intlify/vue-i18n-next/pull/1341
- fix: broken links in v8 docs by @dekatron in https://github.com/intlify/vue-i18n-next/pull/1354
- Fixed double sentence by @m-glass in https://github.com/intlify/vue-i18n-next/pull/1348
- docs: @huntersofbook/i18n tools by @productdevbook in https://github.com/intlify/vue-i18n-next/pull/1311
- Fixed Links, added up-to-date link to v3 docs by @maxtaube in https://github.com/intlify/vue-i18n-next/pull/1266
- docs: update links by @huynl-96 in https://github.com/intlify/vue-i18n-next/pull/1275
- Docs: search for "useI18n" yields non-existing /ja/api/composition.html by @Jinyoung-s in https://github.com/intlify/vue-i18n-next/pull/1245
- docs: update introduction by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1227
- docs: add roadmap by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1226
- fix(docs): add more unplugin-vue-i18n docs and tweak some sections by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1221
- Updated directive.md by @sayan99614 in https://github.com/intlify/vue-i18n-next/pull/1204
- Fix typo in createI18n by @azrikahar in https://github.com/intlify/vue-i18n-next/pull/1209
- fix typo in legacy API by @Kurtil in https://github.com/intlify/vue-i18n-next/pull/1196
🧑🤝🧑 Contributers: 37
- @JPF3N998
- @g1eny0ung
- @regchiu
- @jd-solanki
- @lyqht
- @ducksblock
- @bnss
- @Sojaner
- @iamandrewluca
- @bchazelle-ubitransport
- @blackwindforce
- @T0TProduction
- @tkalmar
- @NozomuIkuta
- @reed-soul
- @Csszabi98
- @adisamicheal
- @asanvicentec
- @munierujp
- @arikw
- @flashspys
- @tom-knight
- @dekatron
- @m-glass
- @flogehring
- @productdevbook
- @Jinyoung-s
- @huynl-96
- @maxtaube
- @littleboarx
- @DamianGlowala
- @azrikahar
- @Kurtil
- @sayan99614
- @littleboarx
- @domoratskii
- @kazupon
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.2.2...v9.3.0
v9.3.0-beta.27 (2023-08-30T04:08:35Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat: support custom message format with
messageCompiler
option by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1497 - perf: support drop message compiler feature flag by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1510
- feat: export
v-t
directive type by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1511
🐛 Bug Fixes
- fix(message-compiler): linked modifier breaks with parenthesis by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1506
- fix(core-base):
isMessageAST
more strictly by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1509
📝️ Documentations
- docs: add vite-plugin-vue-i18n support vite version to warning notice by @regchiu in https://github.com/intlify/vue-i18n-next/pull/1499
👕 Refactoring
- fix: wrong error & warn code definition by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1500
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.26...v9.3.0-beta.27
v9.3.0-beta.26 (2023-08-16T08:13:10Z)
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
- fix: improve custom extender by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1494
- fix: prepare to drop
allowComposition
option by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1496
📝️ Documentations
- feat!: replace algolia with local search by @g1eny0ung in https://github.com/intlify/vue-i18n-next/pull/1488
- fix(guide): typo resourece -> resource by @regchiu in https://github.com/intlify/vue-i18n-next/pull/1492
- docs: diff with syntax highlighting in nuxt integration by @jd-solanki in https://github.com/intlify/vue-i18n-next/pull/1490
👕 Refactoring
- fix: drop componentInstanceCreatedListener by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1495
New Contributors
- @g1eny0ung made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1488
- @regchiu made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1492
- @jd-solanki made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1490
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.25...v9.3.0-beta.26
v9.3.0-beta.25 (2023-08-02T04:56:14Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat: support AST minification by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1474
🐛 Bug Fixes
- fix: root context message availability for linked messages in SFCs on production by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1477
- fix: cleanup global injection resources by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1479
📝️ Documentations
- Add example code for deployed app for nuxt3-app-vue-i18n by @lyqht in https://github.com/intlify/vue-i18n-next/pull/1469
- Fix #1475: Typo in documentation when referring to translation component by @ducksblock in https://github.com/intlify/vue-i18n-next/pull/1476
New Contributors
- @lyqht made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1469
- @ducksblock made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1476
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.24...v9.3.0-beta.25
v9.3.0-beta.24 (2023-07-08T18:08:10Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: conditional exports order for message compiler by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1461
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.23...v9.3.0-beta.24
v9.3.0-beta.23 (2023-07-08T15:38:05Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat: node esm for message compiler by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1460
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.22...v9.3.0-beta.23
v9.3.0-beta.22 (2023-07-07T01:25:23Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: allow AST on
rt
by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1455
📈 Performance Fixes
- perf: reduce AST size optimization by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1456
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.21...v9.3.0-beta.22
v9.3.0-beta.21 (2023-07-03T04:30:52Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: JIT compilation on runtime only by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1451
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.20...v9.3.0-beta.21
v9.3.0-beta.20 (2023-06-29T07:58:16Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat: support JIT like compilation by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1434
🐛 Bug Fixes
- fix: reslove with caml-case for components by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1418
- fix: crash of the app when we mix flat json keys by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1419
📈 Performance Fixes
- fix: improve string join performance by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1433
📝️ Documentations
- Update index.md by @bnss in https://github.com/intlify/vue-i18n-next/pull/1431
New Contributors
- @bnss made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1431
v9.3.0-beta.19 (2023-06-01T10:19:48Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: Resolve the message in components which was rendered with slots, for about
<i18n-t>
,<i18n-n>
and<i18n-d>
by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1416
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.18...v9.3.0-beta.19
v9.3.0-beta.18 (2023-05-30T09:23:26Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat: support vue 3.3 by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1407
🐛 Bug Fixes
- fix: isPlainObject incorrectly identifies objects wrapped in a Proxy object in Safari 10 by @reed-soul in https://github.com/intlify/vue-i18n-next/pull/1379
⚡ Improvement Features
- Improve documentation about TypeScript Support by @bchazelle-ubitransport in https://github.com/intlify/vue-i18n-next/pull/1374
- fix: typo in I18nErrorCodes enum by @T0TProduction in https://github.com/intlify/vue-i18n-next/pull/1394
- Fix typo by @tkalmar in https://github.com/intlify/vue-i18n-next/pull/1393
- fix: drop node v14 by @NozomuIkuta in https://github.com/intlify/vue-i18n-next/pull/1399
- fix: avoid transform to
globalThis
with bundler by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1413
📝️ Documentations
- Update breaking.md by @Sojaner in https://github.com/intlify/vue-i18n-next/pull/1366
- docs: adjust Translation props in JSDoc by @iamandrewluca in https://github.com/intlify/vue-i18n-next/pull/1372
- docs: update vue-demi version by @blackwindforce in https://github.com/intlify/vue-i18n-next/pull/1375
- docs: add section about petite-vue-i18n by @NozomuIkuta in https://github.com/intlify/vue-i18n-next/pull/1402
New Contributors
- @Sojaner made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1366
- @iamandrewluca made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1372
- @bchazelle-ubitransport made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1374
- @blackwindforce made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1375
- @T0TProduction made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1394
- @tkalmar made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1393
- @NozomuIkuta made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1402
- @reed-soul made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1379
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.17...v9.3.0-beta.18
v9.3.0-beta.17 (2023-03-22T07:38:43Z)
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- feat(message-compiler): export html tag checking by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1359
⚡ Improvement Features
- fix: global locale is not respected by useI18n by @Csszabi98 in https://github.com/intlify/vue-i18n-next/pull/1316
- chore: switch to vitest from jest by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1342
📝️ Documentations
- docs: Add space before link text by @munierujp in https://github.com/intlify/vue-i18n-next/pull/1336
- typo fix by @arikw in https://github.com/intlify/vue-i18n-next/pull/1337
- Fixed Typo by @flashspys in https://github.com/intlify/vue-i18n-next/pull/1339
- Fixed typo in example by @tom-knight in https://github.com/intlify/vue-i18n-next/pull/1341
- fix: broken links in v8 docs by @dekatron in https://github.com/intlify/vue-i18n-next/pull/1354
- Fixed double sentence by @m-glass in https://github.com/intlify/vue-i18n-next/pull/1348
New Contributors
- @Csszabi98 made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1316
- @adisamicheal made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1328
- @asanvicentec made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1329
- @munierujp made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1336
- @arikw made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1337
- @flashspys made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1339
- @tom-knight made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1341
- @dekatron made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1354
- @m-glass made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1348
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.16...v9.3.0-beta.17
v9.3.0-beta.16 (2023-01-14T14:55:05Z)
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
- fix: support pascal case for components by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1313
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.15...v9.3.0-beta.16
v9.3.0-beta.15 (2023-01-13T16:13:34Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: useI18n wrong type and other type broken by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1309
⚡ Improvement Features
- fix: support type inference of Translation, NumberFormat and DatetimeFormat components on SFC template and JSX/TSX by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1310
📝️ Documentations
- docs: @huntersofbook/i18n tools by @productdevbook in https://github.com/intlify/vue-i18n-next/pull/1311
New Contributors
- @flogehring made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1308
- @productdevbook made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1311
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.14...v9.3.0-beta.15
v9.3.0-beta.14 (2023-01-10T07:55:17Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: generate ComponentCustomProperties d.ts by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1306
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.13...v9.3.0-beta.14
v9.3.0-beta.13 (2023-01-08T03:44:30Z)
This changelog is generated by GitHub Releases
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.12...v9.3.0-beta.13
v9.3.0-beta.12 (2022-12-29T18:06:41Z)
This changelog is generated by GitHub Releases
This is new release flow test release
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.3.0-beta.11...v9.3.0-beta.12
v9.3.0-beta.11 (2022-12-23)
:star: Features
:zap: Improvement Features
core-base
,shared
,vue-i18n-core
- #1277 fix: update typescript version and fix type error (@littleboarx)
:pencil: Documentation
- #1266 Fixed Links, added up-to-date link to v3 docs (@maxtaube)
- #1275 docs: update links (@huynl-96)
- #1245 Docs: search for "useI18n" yields non-existing /ja/api/composition.html (@Jinyoung-s)
Committers: 5
- Jinyoung So (@Jinyoung-s)
- Levi (Nguyễn Lương Huy) (@huynl-96)
- Maximilian Taube (@maxtaube)
- @littleboarx
- kazuya kawaguchi (@kazupon)
v9.3.0-beta.10 (2022-11-21)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.3.0-beta.9 (2022-11-21)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.3.0-beta.8 (2022-11-20)
:zap: Improvement Features
vue-i18n-core
- #1236 fix: correct typo in
TranslateVNodeSymbol
(@DamianGlowala) - #1237 fix: exntending for Composer and VueI18n (@kazupon)
- #1236 fix: correct typo in
:pencil: Documentation
Committers: 2
- Damian Głowala (@DamianGlowala)
- kazuya kawaguchi (@kazupon)
v9.3.0-beta.7 (2022-11-14)
:star: Features
petite-vue-i18n
,vue-i18n-bridge
,vue-i18n-core
,vue-i18n
:pencil: Documentation
- Other
- #1221 fix(docs): add more unplugin-vue-i18n docs and tweak some sections (@kazupon)
- #1204 Updated directive.md (@sayan99614)
vue-i18n-core
- #1209 Fix typo in createI18n (@azrikahar)
- #1196 fix typo in legacy API (@Kurtil)
Committers: 4
- Azri Kahar (@azrikahar)
- Gaëtan LAGIER (@Kurtil)
- dheeman pati (@sayan99614)
- kazuya kawaguchi (@kazupon)
v9.3.0-beta.6 (2022-09-28)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.3.0-beta.5 (2022-09-28)
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.3.0-beta.4 (2022-09-28)
:bug: Bug Fixes
vue-i18n-core
- #1177 fix:using the better Fragment detection(#1122) (@littleboarx)
:zap: Improvement Features
Committers: 2
- @littleboarx
- kazuya kawaguchi (@kazupon)
v9.3.0-beta.3 (2022-08-31)
:bug: Bug Fixes
core-base
,core
,devtools-if
,message-compiler
,petite-vue-i18n
,shared
,vue-devtools
,vue-i18n-bridge
,vue-i18n
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.3.0-beta.2 (2022-08-31)
:star: Features
core-base
,core
,devtools-if
,message-compiler
,petite-vue-i18n
,shared
,vue-devtools
,vue-i18n-bridge
,vue-i18n-core
,vue-i18n
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.3.0-beta.1 (2022-08-28)
:star: Features
core-base
,core
,devtools-if
,message-compiler
,petite-vue-i18n
,shared
,size-check-core
,size-check-petite-vue-i18n
,size-check-vue-i18n
,vue-devtools
,vue-i18n-bridge
,vue-i18n-core
,vue-i18n
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.3.0-beta.0 (2022-08-28)
This release is for native ESM support preparation.
:pencil: Documentation
- #1129 Add information about the pluralization option for the Composition API (@domoratskii)
Committers: 1
- Roman Domoratskii (@domoratskii)
v9.2.2 (2022-08-05)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.1 (2022-08-05)
:bug: Bug Fixes
:pencil: Documentation
- Other
- #1106 fix(typo): update IE note on date formatting section (@jcfauchet)
- #1105 i18n.global.locale is a ref (@Cygnut)
- #1099 Editorial fixes (@xfq)
- #1098 Editorial fix (@xfq)
- #1097 Fix(docs): Fixing Typo in optimization.md (@JULO01)
- #1094 Fix documentation typography (@sey)
- #1041 replace docs site with vitepress v1 (@kazupon)
petite-vue-i18n
Committers: 6
- Florian Sey (@sey)
- Fuqiao Xue (@xfq)
- Jean-Charles Fct (@jcfauchet)
- Lee Crosby (@Cygnut)
- @JULO01
- kazuya kawaguchi (@kazupon)
v9.2.0 (2022-08-01)
We are excited to announce the release of Vue I18n v9.2 !! This release includes many new features, bug fixes, improvements, and document fixes.
We had commited with 35 contributors. Thanks for your contributing ❤️
In the following, we introduce some of the new features:
More TypeScript supporting
From Vue I18n v9.2, we have improved TypeScript support. This allows type checking of resources specified in the messages
option of createI18n
and complementing with APIs such as t
.
The following images is the resoureces type-checked:
The following gif image is the API completion working:
For more information on how to setup the system, please read the docs
Web Components
WebComponents has been supported since Vue 3.2. You can support your Vue Component with Vue I18n as well.
About details, See more the docs
Small size subset of Vue I18n
We have released petite-vue-i18n
, a small size subset version of Vue I18n, as an experimental feature.
Only minimal functionality is provided in this module. you can reduce your Vue application bundle size with using this module. If you do not need to use all the features of Vue I18n, this module would be a good option.
About details, See more README
Bridging to Vue 3
We have released a module called vue-i18n-bridge
to support Vue 2 applications with Vue I18n v8.x migrate to Vue 3.
vue-i18n-bridge
is a module that is mostly compatible with the Vue I18n v9 API. It's an add-on to existing Vue I18n v8.26.1 or later + Vue 2 applications to take advantage of the Composition API provided in Vue I18n v9. This module would be able to support the progressive migration to Vue 3.
About details, See more the docs
globalInjection
option As default
From Vue I18n v9.2, the globalInjection
option defaults to true
. If you localize by global scope using $t
in your template, you no longer need to set this option.
useI18n
in Legacy API mode
We have supported for useI18n
in Legacy API mode. This feature would be useful if you want to migrate from the options API style to the Composition API style in your Vue 3 application.
About details, See more the docs
Vue 2.7
vue-i18n-bridge
module for migration to Vue 3 of course supports Vue 2.7.
Instead of going from Vue 2.6 to Vue 3 directly, you can migrate your Vue applications using Vue I18n with a strategy of Vue 2.6, Vue 2.7, and then Vue 3 progressively.
SSR for v-t
We have supported SSR for v-t
. If your Vue application uses v-t
, you can support SSR without having to be aware in your Vue application.
:star: Features (15)
- #1087 feat: support SSR for v-t (@kazupon)
- #1062 feat: support Vue 2.7 for vue-i18n-bridge (@kazupon)
- #974 feat: change
globalInjection
option default value (@kazupon) - #940 feat: Support
useI18n
for Legacy API mode (@kazupon) - #838 feat: composer type definition extending (experimental feature) (@kazupon)
- #811 feat: backport build-in components to vue-i18n-bridge from vue-i18n-next (@kazupon)
- #733 support node native es modules (@kazupon)
- #676 feat: bridge for vue-i18n@v8.26.1 or later (@kazupon)
- #673 feat: export types (@kazupon)
- #588 feat: petite-vue-i18n (@kazupon)
- #508 feat: type-safe with global type definition (@kazupon)
- #478 improvement: target component highlighting on i18n resources inspector (@kazupon)
- #477 feat: custom message resolver (@kazupon)
:boom: Breaking Change (3)
- #757 breaking: revert import.browser fileds (@kazupon)
- #560 breaking: drop node v10 (@kazupon)
- #514 Fix FEATURE_ESM_BUNDLER_WARN flag can not be configured (@PeterAlfredLee)
:zap: Improvement Features (30)
- #1064 fix: slot resolving in render function (@kazupon)
- #1043 fix typo and polish (@lazzzis)
- #1022 improvement: allow custom block
useI18n
on Legacy API mode (@kazupon) - #983 fix(legacy): allow multi legacy i18n instance for bridge (@kazupon)
- #977 feat: release global scope (@kazupon)
- #973 fix(bridge): improvement writable install function for vue-i18n-routing (@kazupon)
- #929 improvement: tweak vue-i18n for SSR (@kazupon)
- #929 improvement: tweak vue-i18n for SSR (@kazupon)
- #907 fix: avoid undefined read (@kazupon)
- #903 fix: revert type test case change in strictI18n (@littleboarx)
- #879 fix: null element access (@kazupon)
- #876 fix: null access on mount hook (@kazupon)
- #861 improvement: export castToVueI18n for @intlity/vue-i18n-bridge (@kazupon)
- #780 improvement: vue-i18n-bridge installation at nuxt-bridge (@kazupon)
- #764 improvement: global injection for vue-i18n-bridge (@kazupon)
- #761 improvement: avoid vite ssrTransform bug (@kazupon)
- #742 fix: node esm for nuxt3 (@kazupon)
- #731 move to pnpm from yarn v1 (@kazupon)
- #709 improvement: support vue-i18n-loader bridge mode (@kazupon)
- #705 improvement: flag for vue-i18n-bridge (@kazupon)
- #700 improvement: expose type casting API for Legacy mode (@kazupon)
- #619 improvement: bundle source map at message-compiler (@kazupon)
- #584 improvement: reduce size (@kazupon)
- #583 improvement: deprecated VUE_I18N_PROD_DEVTOOLS feature flag (@kazupon)
- #578 support for Vue 3.1 (@kazupon)
- #545 Allow number and boolean in args of number formatting (@yannbriancon)
- #541 Add number formatting missing type definition (@yannbriancon)
- #489 Type safe improvements (@kazupon)
- #593 improvement: vue-i18n tree shaking (@kazupon)
- #592 improvement: petite-vue-i18n tree shaking (@kazupon)
:bug: Bug Fixes (36)
- #1086 fix: v-t directive reactivity (@kazupon)
- #1076 fix: lifecycle hook context binding (@kazupon)
- #1071 fix(vue-i18n-bridge): install error cause by peer deps (@kazupon)
- #1057 fix: cannot modulo parse hangup (@kazupon)
- #1056 fix: number and datetime options override formatting (@kazupon)
- #1037 fix postTranslation option (@kazupon)
- #1023 fix: improvement processor for linked and pluralization (@kazupon)
- #1017 fix: number & datetime format options (@kazupon)
- #972 fix(components): strictly slot rendering (@kazupon)
- #965 fix: resolve default message value (@kazupon)
- #954 fix: nullish assignment (@kazupon)
- #945 fix: linked message fallbacking (@kazupon)
- #897 improve types declaration (@littleboarx)
- #856 fix: inherit warn html message setting option (@kazupon)
- #855 fix: not correct error and warning codes (@kazupon)
- #843 fix: export composer custom type definition (@kazupon)
- #820 fix: cannot work correctly v-for on Translation component (@kazupon)
- #806 fix: merge global resources of i18n custom block (@kazupon)
- #799 fix: typescript errors with vue-tsc on vue-i18n-bridge (@kazupon)
- #784 fix(core-base): fallback interpolation should not break in runtime only (Closes #768) (@AlexandreBonaventure)
- #754 fix: remove terser option pure_getters: true, avoid wrong tree-shaking (@PeterAlfredLee)
- #748 fix not a function error (@PeterAlfredLee)
- #725 fix: builtin components bugs (@kazupon)
- #715 fix: vue-i18n components scope resolving in Legacy API mode (@kazupon)
- #713 fix: Maximum call stack size (@fabiankranewitter)
- #698 fix: custom block reosurce processing errors (@kazupon)
- #697 fix: createI18n second argument type error (@kazupon)
- #696 fix: INTLIFY_META access error in vue-i18n-bridge (@kazupon)
- #666 fix: source-map bundling on message-compiler esm bundler (@kazupon)
- #602 fix null access of VUE_I18n (@kazupon)
- #570 fix: INTLIFY_PROD_DEVTOOLS is not defined (#532) (@kazupon)
- #532 fix: INTLIFY_PROD_DEVTOOLS is not defined (@kazupon)
- #524 fix: cannot hook at beforeUnmount/unmounted (@kazupon)
- #515 Datetime format validation (@PeterAlfredLee)
- #519 fix
d.ts
breaking (@kazupon) - #595 fix: build feature flags (@kazupon)
:pencil: Documentation (37)
- #1084 Added pluralization example to custom directive page (@anatolykopyl)
- #1050 Fix spelling (@fabretti)
- #1044 nuxt3 integration (@kazupon)
- #1047 Fix the id of the app's container element (@xfq)
- #1039 fix: typo in the layout slot (@xfq)
- #1032 docs: typo (@xfq)
- #1028 docs: typo (@ashgo-x)
- #1046 docs: add missing imports and fix typescript example of vue-i18n-bridge (@kingyue737)
- #1011 docs: fix wrongly written (@liyangworld)
- #1005 docs: Update vue3.md (@thomasschimbaeck)
- #982 fix: link to vite-plugin-vue-i18n (@dpschen)
- #969 docs (composition): typos, duplication (@docnoe)
- #959 Fix typo (@JesseSousa)
- #956 docs: add composition api migration from legacy api (@kazupon)
- #923 Update optimization.md (@armingjazi)
- #869 docs: fix typos (@AnPineau)
- #863 docs: fix typo in word (@ItMaga)
- #862 docs: add scope resolving section (@kazupon)
- #848 fix typo petitle-vue-i18n (@ElenaTv)
- #839 doc: update package url (@agoni1212)
- #778 docs: improve doc of fall back warinings (@PeterAlfredLee)
- #775 Fix typo in docs (@Zauberbutter)
- #773 feat(docs): add usage with Quasar CLI (@rstoenescu)
- #772 fix: advanced/sfc - wrong definition of warning container (@rstoenescu)
- #704 Fix typo
Stdio
forStudio
(@FMGordillo) - #691 Fix typo in docs/guide/migration/breaking.md (@ota-meshi)
- #664 Fixed a type in the Composition API documentation (it's -> its) (@SeverityOne)
- #661 docs: fix typo dat"a"TimeFormats (@tyankatsu0105)
- #655 docs: add support api mode for injection APIs (@kazupon)
- #643 docs: update breaking changes section (@kazupon)
- #640 added missing comma in code example in Advanced > Composition API (@Topograph)
- #616 docs: typo in typescript.md (@maiolica)
- #555 docs: add
defaultSFCLang
andglobalSFCScope
to sfc (@userquin) - #549 Fix VueJS Syntax (@MarianPohling)
- #484 Fix syntax error in quote example. (@snuggs)
- #487 Add some tests about numberFormats (@PeterAlfredLee)
- #582 docs: add typescript section to advanced (@kazupon)
Contributers: 35
- Anatoly Kopyl (@anatolykopyl)
- Ash Go (@ashgo-x)
- Fuqiao Xue (@xfq)
- Gleb (@fabretti)
- Yue JIN (@kingyue737)
- lazzzis (@lazzzis)
- @thomasschimbaeck
- 李洋 (@liyangworld)
- Dominik Pschenitschni (@dpschen)
- Jesse Sousa (@JesseSousa)
- Johannes Noe (@docnoe)
- armin g jazi (@armingjazi)
- @littleboarx
- Magomed Chemurziev (@ItMaga)
- @AnPineau
- Elena Tverdokhlib (@ElenaTv)
- @agoni1212
- Alexandre Bonaventure Geissmann (@AlexandreBonaventure)
- Lee (@PeterAlfredLee)
- Razvan Stoenescu (@rstoenescu)
- @Zauberbutter
- Fabian Kranewitter (@fabiankranewitter)
- Facundo Martin Gordillo (@FMGordillo)
- Yosuke Ota (@ota-meshi)
- BaboonKing (@baboon-king)
- Peter Korsten (@SeverityOne)
- tyankatsu (@tyankatsu0105)
- @Topograph
- Gualtiero (@maiolica)
- Yann Briançon (@yannbriancon)
- Marian Pohling (@MarianPohling)
- @userquin
- Ahmid (@snuggs)
- @noy4
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.40 (2022-07-19)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.39 (2022-07-17)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.38 (2022-07-16)
:star: Features
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.37 (2022-07-12)
:bug: Bug Fixes
message-compiler
,vue-i18n-core
core-base
,vue-i18n-core
:zap: Improvement Features
:pencil: Documentation
- Other
vue-i18n-bridge
- #1046 docs: add missing imports and fix typescript example of vue-i18n-bridge (@kingyue737)
Committers: 6
- Ash Go (@ashgo-x)
- Fuqiao Xue (@xfq)
- Gleb (@fabretti)
- Yue JIN (@kingyue737)
- kazuya kawaguchi (@kazupon)
- lazzzis (@lazzzis)
v9.2.0-beta.36 (2022-06-06)
:bug: Bug Fixes
core-base
,message-compiler
,vue-i18n-core
core-base
,vue-i18n-core
:zap: Improvement Features
:pencil: Documentation
- #1011 docs: fix wrongly written (@liyangworld)
- #1005 docs: Update vue3.md (@thomasschimbaeck)
Committers: 3
- @thomasschimbaeck
- kazuya kawaguchi (@kazupon)
- 李洋 (@liyangworld)
v9.2.0-beta.35 (2022-04-12)
:zap: Improvement Features
vue-i18n-core
:pencil: Documentation
Committers: 2
v9.2.0-beta.34 (2022-04-01)
:star: Features
:bug: Bug Fixes
:zap: Improvement Features
vue-i18n-core
:pencil: Documentation
Committers: 2
v9.2.0-beta.33 (2022-03-23)
:bug: Bug Fixes
:pencil: Documentation
- #959 Fix typo (@JesseSousa)
- #956 docs: add composition api migration from legacy api (@kazupon)
Committers: 2
- Jesse Sousa (@JesseSousa)
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.32 (2022-03-08)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.31 (2022-03-04)
:star: Features
:bug: Bug Fixes
:zap: Improvement Features
vue-i18n-core
:pencil: Documentation
- #923 Update optimization.md (@armingjazi)
Committers: 2
- armin g jazi (@armingjazi)
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.30 (2022-01-27)
:zap: Improvement Features
vue-i18n-core
- Other
- #903 fix: revert type test case change in strictI18n (@littleboarx)
Committers: 2
- @littleboarx
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.29 (2022-01-25)
:bug: Bug Fixes
vue-i18n-core
- #897 improve types declaration (@littleboarx)
Committers: 2
- @littleboarx
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.28 (2022-01-13)
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.27 (2022-01-13)
:zap: Improvement Features
vue-i18n-core
petite-vue-i18n
,vue-i18n
:pencil: Documentation
- #869 docs: fix typos (@AnPineau)
- #863 docs: fix typo in word (@ItMaga)
- #862 docs: add scope resolving section (@kazupon)
Committers: 3
v9.2.0-beta.26 (2021-12-29)
:bug: Bug Fixes
vue-i18n-core
core-base
,vue-i18n-core
:pencil: Documentation
Committers: 2
v9.2.0-beta.25 (2021-12-22)
:bug: Bug Fixes
petite-vue-i18n
,vue-i18n-bridge
,vue-i18n-core
,vue-i18n
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.24 (2021-12-22)
:star: Features
:pencil: Documentation
- #839 doc: update package url (@agoni1212)
Committers: 2
- @agoni1212
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.23 (2021-12-04)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.22 (2021-11-25)
:star: Features
vue-i18n-bridge
,vue-i18n-core
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.21 (2021-11-23)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.20 (2021-11-18)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.19 (2021-11-16)
:bug: Bug Fixes
core-base
- #784 fix(core-base): fallback interpolation should not break in runtime only (Closes #768) (@AlexandreBonaventure)
Committers: 1
- Alexandre Bonaventure Geissmann (@AlexandreBonaventure)
v9.2.0-beta.18 (2021-11-10)
:zap: Improvement Features
:pencil: Documentation
- #778 docs: improve doc of fall back warinings (@PeterAlfredLee)
- #775 Fix typo in docs (@Zauberbutter)
- #773 feat(docs): add usage with Quasar CLI (@rstoenescu)
- #772 fix: advanced/sfc - wrong definition of warning container (@rstoenescu)
Committers: 4
- Lee (@PeterAlfredLee)
- Razvan Stoenescu (@rstoenescu)
- @Zauberbutter
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.17 (2021-11-02)
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.16 (2021-10-29)
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.15 (2021-10-24)
:boom: Breaking Change
core-base
,core
,message-compiler
,petite-vue-i18n
,vue-i18n-bridge
,vue-i18n-core
,vue-i18n
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.14 (2021-10-21)
:bug: Bug Fixes
- #754 fix: remove terser option pure_getters: true, avoid wrong tree-shaking (@PeterAlfredLee)
Committers: 1
- Lee (@PeterAlfredLee)
v9.2.0-beta.13 (2021-10-19)
:bug: Bug Fixes
petite-vue-i18n
,vue-i18n-bridge
,vue-i18n
- #748 fix not a function error (@PeterAlfredLee)
Committers: 1
- Lee (@PeterAlfredLee)
v9.2.0-beta.12 (2021-10-14)
:star: Features
core-base
,core
,devtools-if
,message-compiler
,petite-vue-i18n
,shared
,vue-devtools
,vue-i18n-bridge
,vue-i18n-core
,vue-i18n
:bug: Bug Fixes
:zap: Improvement Features
core-base
,core
,devtools-if
,message-compiler
,petite-vue-i18n
,shared
,vue-devtools
,vue-i18n-bridge
,vue-i18n-core
,vue-i18n
petite-vue-i18n
,size-check-core
,size-check-petite-vue-i18n
,size-check-vue-i18n
,vue-i18n-bridge
,vue-i18n-core
,vue-i18n
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.11 (2021-10-02)
:bug: Bug Fixes
vue-i18n-core
message-compiler
,vue-i18n-core
- #713 fix: Maximum call stack size (@fabiankranewitter)
Committers: 2
- Fabian Kranewitter (@fabiankranewitter)
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.10 (2021-09-30)
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.9 (2021-09-28)
:zap: Improvement Features
:pencil: Documentation
- #704 Fix typo
Stdio
forStudio
(@FMGordillo)
Committers: 2
- Facundo Martin Gordillo (@FMGordillo)
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.8 (2021-09-28)
:zap: Improvement Features
vue-i18n-bridge
,vue-i18n-core
,vue-i18n
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.7 (2021-09-27)
:bug: Bug Fixes
vue-i18n-core
:pencil: Documentation
- #691 Fix typo in docs/guide/migration/breaking.md (@ota-meshi)
Committers: 2
- Yosuke Ota (@ota-meshi)
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.6 (2021-09-24)
:star: Features
core-base
,vue-i18n-bridge
,vue-i18n-core
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.5 (2021-09-19)
:star: Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.4 (2021-09-13)
:bug: Bug Fixes
:pencil: Documentation
- #664 Fixed a type in the Composition API documentation (it's -> its) (@SeverityOne)
- #661 docs: fix typo dat"a"TimeFormats (@tyankatsu0105)
- #655 docs: add support api mode for injection APIs (@kazupon)
- #643 docs: update breaking changes section (@kazupon)
Committers: 4
- BaboonKing (@baboon-king)
- Peter Korsten (@SeverityOne)
- kazuya kawaguchi (@kazupon)
- tyankatsu (@tyankatsu0105)
v9.2.0-beta.3 (2021-08-23)
:star: Features
:pencil: Documentation
- #640 added missing comma in code example in Advanced > Composition API (@Topograph)
Committers: 2
- @Topograph
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.2 (2021-08-10)
:star: Features
size-check-petite-vue-i18n
,size-check-vue-i18n
,vue-i18n-core
:bug: Bug Fixes
:zap: Improvement Features
:pencil: Documentation
Committers: 3
- Gualtiero (@maiolica)
- Lee (@PeterAlfredLee)
- kazuya kawaguchi (@kazupon)
v9.2.0-beta.1 (2021-07-27)
:star: Features
core-base
,core
,devtools-if
,message-compiler
,message-resolver
,petite-vue-i18n
,runtime
,size-check-core
,size-check-petite-vue-i18n
,size-check-vue-i18n
,vue-devtools
,vue-i18n-core
,vue-i18n
- #588 feat: petite-vue-i18n (@kazupon)
core-base
,vue-i18n
core-base
,message-resolver
,vue-i18n
:boom: Breaking Change
core-base
,core
,devtools-if
,message-compiler
,message-resolver
,runtime
,shared
,vue-devtools
,vue-i18n
vue-i18n
- #514 Fix FEATURE_ESM_BUNDLER_WARN flag can not be configured (@PeterAlfredLee)
:zap: Improvement Features
core-base
,vue-i18n
size-check-vue-i18n
,vue-i18n
vue-i18n
vue-i18n
- #545 Allow number and boolean in args of number formatting (@yannbriancon)
vue-i18n
- #541 Add number formatting missing type definition (@yannbriancon)
core-base
,vue-i18n
vue-i18n
:bug: Bug Fixes
core-base
core-base
vue-i18n
core-base
- #515 Datetime format validation (@PeterAlfredLee)
- Other
:pencil: Documentation
- Other
vue-i18n
- #487 Add some tests about numberFormats (@PeterAlfredLee)
Committers: 1
- kazuya kawaguchi (@kazupon)
- Yann Briançon (@yannbriancon)
- Lee (@PeterAlfredLee)
- Marian Pohling (@MarianPohling)
- @userquin
- Ahmid (@snuggs)
- @noy4
v9.2.0-alpha.9 (2021-07-24)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-alpha.8 (2021-07-24)
:zap: Improvement Features
vue-i18n
petite-vue-i18n
,size-check-petite-vue-i18n
,size-check-vue-i18n
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-alpha.7 (2021-07-23)
:star: Features
core-base
,core
,devtools-if
,message-compiler
,message-resolver
,petite-vue-i18n
,runtime
,size-check-core
,size-check-petite-vue-i18n
,size-check-vue-i18n
,vue-devtools
,vue-i18n-core
,vue-i18n
:zap: Improvement Features
core-base
,vue-i18n
size-check-vue-i18n
,vue-i18n
:pencil: Documentation
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-alpha.6 (2021-07-16)
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.1.7 (2021-07-13)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-alpha.5 (2021-07-06)
:zap: Improvement Features
vue-i18n
- #545 Allow number and boolean in args of number formatting (@yannbriancon)
:boom: Breaking Change
core-base
,core
,devtools-if
,message-compiler
,message-resolver
,runtime
,shared
,vue-devtools
,vue-i18n
:pencil: Documentation
- Other
- #555 docs: add
defaultSFCLang
andglobalSFCScope
to sfc (@userquin) - #549 Fix VueJS Syntax (@MarianPohling)
- #555 docs: add
vue-i18n
- #541 Add number formatting missing type definition (@yannbriancon)
Committers: 5
- Lee (@PeterAlfredLee)
- Marian Pohling (@MarianPohling)
- Yann Briançon (@yannbriancon)
- @userquin
- kazuya kawaguchi (@kazupon)
v9.2.0-alpha.4 (2021-06-12)
:bug: Bug Fixes
core-base
vue-i18n
:boom: Breaking Change
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-alpha.3 (2021-06-02)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.2.0-alpha.2 (2021-06-02)
:star: Features
:bug: Bug Fixes
core-base
- #515 Closes #383 (@PeterAlfredLee)
:boom: Breaking Change
vue-i18n
- #514 Fix FEATURE_ESM_BUNDLER_WARN flag can not be configured (@PeterAlfredLee)
Committers: 2
- Lee (@PeterAlfredLee)
- kazuya kawaguchi (@kazupon)
v9.2.0-alpha.1 (2021-05-25)
:star: Features
:zap: Improvement Features
core-base
,vue-i18n
vue-i18n
:boom: Breaking Change
:pencil: Documentation
vue-i18n
- #487 Add some tests about numberFormats (@PeterAlfredLee)
- Other
Committers: 4
- Ahmid (@snuggs)
- Lee (@PeterAlfredLee)
- @noy4
- kazuya kawaguchi (@kazupon)
v9.1.6 (2021-04-15)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.1.5 (2021-04-15)
:zap: Improvement Features
vue-i18n
- #453 Support passing composer instance to Translation component (@andresberrios)
Committers: 2
- Andrés Berríos (@andresberrios)
- kazuya kawaguchi (@kazupon)
v9.1.4 (2021-04-11)
:zap: Improvement Features
:pencil: Documentation
Committers: 2
v9.1.3 (2021-04-09)
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.1.2 (2021-04-08)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.1.1 (2021-04-07)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.1.0 (2021-04-07)
:star: Features
core-base
,devtools-if
,vue-i18n
core-base
,vue-i18n
message-resolver
,shared
,vue-i18n
- #402 Add support for flat json separated with dot('.') (@PeterAlfredLee)
vue-i18n
:bug: Bug Fixes
vue-i18n
message-compiler
:zap: Improvement Features
core-base
,vue-i18n
core-base
- #417 Coherent update from 'best-fit' to 'best fit' (@ValdoGhafoor)
message-compiler
,shared
,vue-i18n
vue-i18n
:boom: Breaking Change
core-base
,size-check-vue-i18n
,vue-i18n
To provide experimental features for @intlify/devtools
, feature flags have been separated as follows.
__VUE_I18N_PROD_DEVTOOLS__
: enable/disable vue-devtools support in production, default: false__INTLIFY_PROD_DEVTOOLS__
: enable/disable@intlify/devtools
support in production, default: false
Previously, __INTLIFY_PROD_DEVTOOLS__
setting flagged the use of both vue-devtools and @intlify/devtools
in production.
In later v9.1, The feature flags for vue-devtools are now enabled/disabled by setting __VUE_I18N_PROD_DEVTOOLS__
.
:pencil: Documentation
- Other
- #420 Fix typos in Composition API page (@FlandreDaisuki)
- #406 Add easy-i18n as third-party tool (@marhali)
vue-i18n
Committers: 6
- Chun-Hao Lien (@FlandreDaisuki)
- Lee (@PeterAlfredLee)
- Marcel (@marhali)
- Valdo Ghafoor (@ValdoGhafoor)
- Yen Kuan (@kuanyen)
- kazuya kawaguchi (@kazupon)
v9.0.0 (2021-02-27)
See the below link: https://blog.intlify.dev/posts/vue-i18n-9.html
v9.0.0-rc.9 (2021-02-26)
:bug: Bug Fixes
Committers: 2
- Lee (@PeterAlfredLee)
- kazuya kawaguchi (@kazupon)
v9.0.0-rc.8 (2021-02-23)
:bug: Bug Fixes
:pencil: Documentation
- #354 Fix typo in breaking.md (@ota-meshi)
Committers: 3
- Lee (@PeterAlfredLee)
- Yosuke Ota (@ota-meshi)
- kazuya kawaguchi (@kazupon)
v9.0.0-rc.7 (2021-02-16)
:zap: Improvement Features
vue-i18n
message-compiler
- #345 fix: convert Set with Array.from (@sayuti-daniel)
Committers: 2
- Sayuti Daniel (@sayuti-daniel)
- kazuya kawaguchi (@kazupon)
v9.0.0-rc.6 (2021-02-10)
:bug: Bug Fixes
vue-i18n
- #342 fix: feature flags (@kazupon)
- #334 fix for function
mergeLocaleMessage
, and modify some tests (@PeterAlfredLee)
Committers: 2
- Lee (@PeterAlfredLee)
- kazuya kawaguchi (@kazupon)
v9.0.0-rc.5 (2021-02-02)
:bug: Bug Fixes
core-base
- #330 fix won't fallback when
fallbackLocale
is empty string, and add a test (@PeterAlfredLee)
- #330 fix won't fallback when
:zap: Improvement Features
:pencil: Documentation
- #329 fix typo in docs lazy.md (@candy02058912)
- #323 Fix typos in readme.md (@Duncank)
- #317 update lazy loading docs (@kazupon)
- #316 update composition api docs (@kazupon)
- #313 fix some typos in docs/ (@PeterAlfredLee)
- #312 Fix spelling line 195 for sfc doc : lessages to messages (@s3bc40)
Committers: 5
- Candy Tsai (@candy02058912)
- Duncan Krebbers (@Duncank)
- Lee (@PeterAlfredLee)
- @s3bc40
- kazuya kawaguchi (@kazupon)
v9.0.0-rc.4 (2021-01-22)
:bug: Bug Fixes
message-resolver
,vue-i18n
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-rc.3 (2021-01-19)
:bug: Bug Fixes
:zap: Improvement Features
message-resolver
,vue-i18n
- #294 Add support for flat json separated with dot('.') (@PeterAlfredLee)
:pencil: Documentation
- #301 chore/update-guide-doc-error (@JeremyWuuuuu)
Committers: 3
- Lee (@PeterAlfredLee)
- jeremywu (@JeremyWuuuuu)
- kazuya kawaguchi (@kazupon)
v9.0.0-rc.2 (2021-01-12)
:bug: Bug Fixes
:chart_with_upwards_trend: Performance Fixes
:pencil: Documentation
- #280 fix: typo (@fabiofdsantos)
Committers: 2
- Fábio Santos (@fabiofdsantos)
- kazuya kawaguchi (@kazupon)
v9.0.0-rc.1 (2021-01-06)
Vue I18n is entering RC :tada:
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.18 (2021-01-01)
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.17 (2020-12-29)
:zap: Improvement Features
:pencil: Documentation
- #266 Fix casing of datetimeFormats option (@adi-wan)
- #264 update docs (@hong4rc)
- #258 docs: update installing for esm bundler (@sh0ber)
Committers: 5
- Anh Hong (@hong4rc)
- Dan (@sh0ber)
- Lee (@PeterAlfredLee)
- @adi-wan
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.16 (2020-12-23)
:bug: Bug Fixes
:zap: Improvement Features
vue-i18n
message-compiler
- #251 improvement(message-compiler): Improves parse error messages (@ota-meshi)
Committers: 2
- Yosuke Ota (@ota-meshi)
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.15 (2020-12-21)
:bug: Bug Fixes
message-compiler
- #243 Fix maybe typo (@ota-meshi)
- #242 Fix not to get loc when passing true to ParserOptions.location (@ota-meshi)
:zap: Improvement Features
core-base
,core
,message-compiler
,runtime
,shared
,vue-i18n
message-compiler
- #245 improvement(message-compiler): Change to generate AST with linked message error (@ota-meshi)
:boom: Breaking Change
Committers: 2
- Yosuke Ota (@ota-meshi)
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.14 (2020-12-17)
:zap: Improvement Features
core-base
core-base
,message-compiler
,shared
,vue-i18n
core-base
,core
,message-compiler
,runtime
,vue-i18n
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.13 (2020-12-15)
:zap: Improvement Features
core-base
,core
,message-compiler
,runtime
,size-check-core
,size-check-vue-i18n
,vue-i18n
core
,message-compiler
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.12 (2020-12-13)
:bug: Bug Fixes
:zap: Improvement Features
:pencil: Documentation
vue-i18n
- #228 docs: fix various typos (@SamuelAlev)
Committers: 2
- Samuel Alev (@SamuelAlev)
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.11 (2020-12-11)
:star: Features
core
,message-compiler
,message-resolver
,runtime
,shared
,vue-i18n
:zap: Improvement Features
core
,runtime
,shared
,size-check-core
,size-check-vue-i18n
,vue-i18n
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.10 (2020-12-04)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.9 (2020-12-04)
:star: Features
- #206 feat: resources merge to global scope (@kazupon)
- #200 feat: add te for composition API (@kazupon)
:bug: Bug Fixes
:zap: Improvement Features
:boom: Breaking Change
:pencil: Documentation
- #203 docs: typos in website header and submenu (@chartrandf)
Committers: 2
- Francis Chartrand (@chartrandf)
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.8 (2020-11-18)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.7 (2020-11-17)
:star: Features
- #188 feat: export type prop from runtime (@kazupon)
- #187 feat: exports linked and plural function from runtime context (@kazupon)
- #165 Allow d() to take an ISO string as parameter. (@michaelzangl)
:bug: Bug Fixes
- #190 fix: locale changing for legacy mode (@kazupon)
- #180 fix: missing handler not returned (@kazupon)
- #178 fix: can't assign to property "processor" on false: not an object (@nrzull)
- #176 fix: cannot pass modifiers options (@kazupon)
- #168 fix: useScope inconsistency (@kazupon)
:zap: Improvement Features
:boom: Breaking Change
- #157 breaking: change i18n global property (@kazupon)
- #156 breaking: change api mode name (@kazupon)
- #155 breaking: change to default legacy mode from compsable mode (@kazupon)
- #153 port: escape ampersand (@kazupon)
:pencil: Documentation
- #163 Documentation - t() (@michaelzangl)
- #170 Fix readme link (@TeeVenDick)
- #160 Update README.md (@dhritzkiv)
Committers: 5
- Andrey Pavlov (@nrzull)
- Daniel Hritzkiv (@dhritzkiv)
- Michael Zangl (@michaelzangl)
- @TeeVenDick
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.6 (2020-10-19)
:chart_with_upwards_trend: Performance Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.5 (2020-10-18)
:star: Features
- #147 feat: support source map for message functions (@kazupon)
- #139 feat: escape html parameter options (@kazupon)
Committers: 3
- Alexander Sokolov (@Alex-Sokolov)
- Daniel Abrão (@jungleBadger)
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.4 (2020-10-01)
:star: Features
:chart_with_upwards_trend: Performance Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.3 (2020-09-25)
:star: Features
:zap: Improvement Features
- #121 export vue/runtime-core type extending (@kazupon)
- #119 fix: merge custom block locale messages (@kazupon)
Committers: 2
- Raymond Muller (@raymondmuller)
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.2 (2020-09-17)
:star: Features
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-beta.1 (2020-09-13)
:bug: Bug Fixes
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.17 (2020-09-02)
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.16 (2020-08-29)
:bug: Bug Fixes
Committers: 1
- Stephan Groß (@minddust)
v9.0.0-alpha.15 (2020-08-27)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.14 (2020-08-26)
:star: Features
- #97 feat: support for devtools interface (@kazupon)
- #96 feat: support vue3 rc8 (@kazupon)
- #87 feat: how to get locale messages from a given key (@kazupon)
Committers: 2
- kazuya kawaguchi (@kazupon)
- meteorlxy (@meteorlxy)
v9.0.0-alpha.13 (2020-08-07)
:star: Features
:bug: Bug Fixes
:zap: Improvement Features
:boom: Breaking Change
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.12 (2020-06-27)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.11 (2020-06-14)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.10 (2020-06-03)
:star: Features
- #58 feat: componentInstanceCreatedListener option (@kazupon)
- #55 feat: support components maually instalation (@kazupon)
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.9 (2020-05-25)
:star: Features
:bug: Bug Fixes
:boom: Breaking Change
- #47 breaking: change default of tag prop at i18n-n and i18n-d components (@kazupon)
- #43 breaking: rename plugin option name (@kazupon)
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.8 (2020-05-08)
:boom: Breaking Change
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.7 (2020-05-02)
:bug: Bug Fixes
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.6 (2020-05-02)
:star: Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.5 (2020-04-29)
:star: Features
:bug: Bug Fixes
:zap: Improvement Features
- #27 fix: add invalid token errors in placeholder (@kazupon)
- #26 compile error improvements (@kazupon)
- #25 fix: plural syntax error with parser (@kazupon)
- #24 fix: compilation error handling (@kazupon)
- #23 fix: improve literal compilation error (@kazupon)
:boom: Breaking Change
- #29 breaking: HTML message warning (@kazupon)
- #22 deprecated linked key with using paren token (@kazupon)
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.4 (2020-04-23)
:bug: Bug Fixes
:pencil: Documentation
- #17 Minor typo fixes (@sharpshark28)
Committers: 2
- Ava Gaiety Wroten (@sharpshark28)
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.3 (2020-04-17)
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.2 (2020-04-13)
:star: Features
:boom: Breaking Change
- #8 enhancement locale fallbacking (@kazupon)
- #7 Translation component
i18n-t
(In v8.x, it was calledi18n
component as Component interpolation feature) (@kazupon) - #6 breaking: factory improvements (@kazupon)
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.1 (2020-04-07)
:star: New Features
Composable API
New style API for Vue 3. See the following docs:
:lollipop: Examples
See the examples
directory.
The examples are offered that use the following two API styles:
- composable
- new vue-i18n API optimized for Vue 3. details about API
- legacy
- vue-i18n API almost compatible with vue-i18n v8.x
:heavy_exclamation_mark: Known issues
:boom: Breaking changes compared to vue-i18n v8.x
- API
- The return value of
$t
andt
methods is string only. object and array values are no longer returned. - The return value of
$tc
andtc
methods is string only. object and array values are no longer returned. VueI18n
class cannot used withnew
. It can only be used via the$i18n
property of Vue instance.- In vue-i18n-next, by replacing
new VueI18n
withcreateI18n
, you can use existingVueI18n
options as they are. - See the
examples/legacy
directory.
- In vue-i18n-next, by replacing
VueI18n.prototype.getChoiceIndex
- -> Legacy API style:
pluralizationRules
option ofcreateI18n
factory function (likenew VueI18n(...)
) - -> Compsable API style:
pluralRules
option ofcreateI18nComposer
facatory function
- -> Legacy API style:
VueI18n.version
->import { VERSION } from 'vue-i18n'
VueI18n.availabilities
->import { availabilities } from 'vue-i18n'
- See the details here
- The return value of
:zap: Improvements
- See the vue-i18n issues that labeld with
Status: Ready
:hammer: Missing features
- imporve
fallbackLocale
orfallbackLocales
(related vue-i18n issue) <i18n>
custom block supporting for SFCv-t
directivepreserveDirectiveContent
option (depend onv-t
)- Compoonent interpolation with
<i18n>
component - Number custom formatting with
<i18n-n>
component - HTML format suppression with
warnHtmlInMessage
option - SSR
- Custom formatting
- Tooling
vue-cli-plugin-i18n
@intlify/vue-i18n-loader
@intlify/rollup-plugin-vue-i18n
@intlify/vue-i18n-extensions
@intlify/eslint-plugin-vue-i18n
:cd: Installation
npm
npm install --save vue-i18n@next
yarn
yarn add vue-i18n@next
Committers: 1
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.0 (2020-04-07)
Committers: 1
- kazuya kawaguchi (@kazupon)
8.15.3 (2019-12-18)
:zap: Improvements
- index: fix mergeLocaleMessage. add changes notification on merging with an empty target object (#752) by @jekill (048eac5), closes #752
8.15.2 (2019-12-18)
:bug: Bug Fixes
- index: Fix exception when using unit number formatting by @simonjodet (194b801), closes #750 #751
8.15.1 (2019-11-27)
:zap: Improvements
- mixin: change to custom blocks parse error (a9858be)
8.15.0 (2019-10-16)
:star: New Features
- Add constructor option for custom modifiers (#724) by @epaezrubio (3217212), closes #724
8.14.1 (2019-09-12)
:bug: Bug Fixes
- path: fix branket key error (8d2aba7)
- component: Fix interpolation component when there are empty text nodes (547cdd1) by @Demivan
8.14.0 (2019-08-12)
:star: New Features
- fallback formatting (#637) by @sebwas (bf9929c), closes #637
- support slots syntax for component interpolation (#685) by @aavondet (71ca843), closes #685
8.13.0 (2019-08-09)
:star: New Features
- datetime/number formats fallback warning filter (46de19e), closes #558
- fallback translation warning filter (69fc798)
- translation missing warning filter (666dc9d)
8.12.0 (2019-07-09)
:star: New Features
- mixin: shared locale messages feature (82543de)
:zap: Improvements
- typing: sharedMessages option type (6967a15)
8.11.2 (2019-04-30)
:bug: Bug Fixes
- bug(mixin): fix SSR memory leak by moving subscribeDataChanging calls into beforeMount (#572) by @Pindar (32b5795), closes #572
8.11.1 (2019-04-26)
:bug: Bug Fixes
- fix ES Modules distribution (bb631a1)
8.11.0 (2019-04-26)
:star: New Features
- ES modules for browser (#561) (c9b9adf), closes #561
- HTML locale message warning option (#567) (4aecf03), closes #567
8.10.0 (2019-03-28)
:star: New Features
- number: i18n-n functional component (#541) by @bponomarenko (b33579d), closes #541
- path: Keypath should parse if sub path contains spaces. (#533) by @exoego (640daaf), closes #533
:zap: Improvements
:pencil: docs
- vuepress: translate documents for chinese (#536) by @xuhongbo (ccf29f8), closes #536 #531 #1 #533 #540 #541 #1 #2
8.9.0 (2019-03-08)
:bug: Bug Fixes
:star: New Features
- index: add availableLocales (related issue #193, PR #528) by @exoego (8f75b1f), closes #193 #528 #193 #193 #193 #193
:zap: Improvements
8.8.2 (2019-02-17)
:bug: Bug Fixes
8.8.1 (2019-02-10)
:bug: Bug Fixes
:zap: Improvements
8.8.0 (2019-01-29)
:bug: Bug Fixes
- index: fix flat path based key issue (bed9c39), closes #349
- mixin: fix beforeDestroy can not find this.$t (#500) by @masongzhi (311b8f3), closes #500
:zap: Improvements
- directive: Fix typo on warning message (#509) by @kimuraz (e879024), closes #509
- index: silence fallback warnings (#510) by @SzNagyMisu (ddc0c79), closes #510 #139
8.7.0 (2019-01-02)
:zap: Improvements
8.6.0 (2018-12-25)
:bug: Bug Fixes
- pluralization: inherit pluralization rules ⚠ (#493) by @Raiondesu (7a23f32), closes #493
:zap: Improvements
- format: Add the path as argument to the custom formatter (#489) by @Raiondesu (b9437ea), closes #489 #484 #484
8.5.0 (2018-12-17)
:bug: Bug Fixes
:zap: Improvements
- index: Allow pluralization customization via constructor options (closes #464) (#482) by @Raiondesu (ef4b1a6), closes #464 #482 #464 #464 #464 #464 #451
- index: make silentTranslationWarn work for dates and numbers too (#481) by @Raiondesu (402092b), closes #481
- types: typed autocomplete in date and number format options (#485) by @Raiondesu (e2e5993), closes #485
8.4.0 (2018-11-30)
:star: New Features
8.3.2 (2018-11-16)
:chart_with_upwards_trend: Performance Fixes
8.3.1 (2018-11-08)
:bug: Bug Fixes
- directive: fix cannnot update with v-t when had been changed locale message (4895a2e), closes #450
- index: fix merge bug (1798490), closes #458
- missing: fix vm argument passing (dc48099), closes #453
:zap: Improvements
8.3.0 (2018-10-29)
:zap: Improvements
- pluralization: Extendable pluralization by @Raiondesu (bbab90b)
8.2.1 (2018-10-15)
:bug: Bug Fixes
:zap: Improvements
- index: Suppress some warnings in production: smaller min.js and performance gain. (#441) by @ exoego (43931f5), closes #441
8.2.0 (2018-10-13)
:bug: Bug Fixes
- index: Add warning for circular reference in linked message (#438) by @exoego (7583485), closes #438
:zap: Improvements
- index: Allow escaping link key like @:(foo.bar). (#437) by @exoego (acfc458), closes #437
- index: Pre-defined named arguments for Pluraization (#440) by @exoego (e84f0fb), closes #440
- path: Allow non-ascii chars including numbers. (#436) by @exoego (a556c58), closes #436
8.1.1 (2018-10-12)
:bug: Bug Fixes
- build: fix rollup building issues (1a1958a)
- format: Should warn as unknown if named format is not closed. (#435) by @exoego (d1f6ed0), closes #435
- install: fix cannot redfine error (6d5ec61)
:zap: Improvements
- package.json: tree shaking optimization (38948c5)
8.1.0 (2018-09-03)
:bug: Bug Fixes
- install: add support for Vue.extend vue-i18n instance (#420) by @jaredzhu1993 (a60ea8b), closes #420
:zap: Improvements
8.0.0 (2018-06-23)
:boom: Breaking changes
Note that you need to guarantee this context equal to component instance in lifecycle methods (e.g. in data
options, const $t = this.$t.bind(this)
).
export default {
data() {
const $t = this.$t.bind(this)
return { msg: $t('msg') }
}
}
see the API docs
:bug: Bug Fixes
NOTE
- extend:
7.8.1 (2018-06-18)
:bug: Bug Fixes
7.8.0 (2018-06-01)
:zap: Improvements
- typescript: add type exportings (a7cb8da)
7.7.0 (2018-05-20)
:zap: Improvements
- index: resource reactivity (887a137), closes #253
- typescript: Fix typings in components (#344) by @Demivan (2402893), closes #344
7.6.0 (2018-03-13)
:zap: Improvements
- index: support retunable missing handler (#256) by @houd1ni (9fbe467)
- typescript: update TranslateResult type interface (dffc678)
7.5.0 (2018-03-11)
:star: New Features
:zap: Improvements
- flow: update TranslateResult type interface (59f4658)
- index: support object localization (#311) by @manniL (99e5006)
- missing: Add interpolation values to missing handler (#308) by @sebwas (b912d8a)
- numberformat: Explicit number format options (#305) by @bponomarenko (aa07450)
7.4.2 (2018-02-01)
:zap: Improvements
7.4.1 (2018-01-25)
:bug: Bug Fixes
:zap: Improvements
7.4.0 (2018-01-10)
:star: New Features
- typescript: Allow module augmentation (#273) by @CKGrafico (4371344)
7.3.4 (2018-01-07)
:bug: Bug Fixes
7.3.3 (2017-12-19)
:bug: Bug Fixes
- extend: Fix this not found #259 (#260) by @lzxb (c29007e), closes #259 #260
- types: fix using old export (#263) by @jmigual (b295fee), closes #263
7.3.2 (2017-10-19)
:zap: Improvements
- typescript: fix import problem of vue2.5 because of the types update (#238) by @peterchealse (cb98347), closes #238
7.3.1 (2017-10-04)
:bug: Bug Fixes
7.3.0 (2017-09-22)
:star: New Features
- directives: support v-t custom directive (welcome back!) (af9a2e7)
:up: Updates
- typing: fix flowtype (fa06f44)
7.2.0 (2017-08-28)
:star: New Features
7.1.2 (2017-08-25)
:zap: Improvements
7.1.1 (2017-08-03)
:bug: Bug Fixes
7.1.0 (2017-07-30)
:zap: Improvements
7.0.5 (2017-07-08)
:bug: Bug Fixes
7.0.4 (2017-07-01)
:bug: Bug Fixes
- link: fix ie traverse custom Array.prototype method (#188) by @632781460 (d3b308b), closes #188
:chart_with_upwards_trend: Performance Fixes
7.0.3 (2017-06-13)
:bug: Bug Fixes
- fallback: fix cannot fallabck localization (694e6f2), closes #176
- fallback: fix fallback locale issue (d9ceddc), closes #174
- linked: fix cannot fallback linked localization (0c572f3), closes #172
7.0.2 (2017-06-10)
:bug: Bug Fixes
7.0.1 (2017-06-04)
:bug: Bug Fixes
- fix cannat single file component translation (687d406), closes #169
- fix cannnot resolve linked localization with component interpolation (c973619), closes #171
- fix datetime and number fallback localization (be9e1bd), closes #168
- fix linked translation with using hyphen or underscore keypath (6e9f151), closes #170
7.0.0 (2017-05-29)
:tada: :tada: :tada:
See the docs
:star: New Features
- datetime localization:
- number localization:
- component interpolation:
- typescript:
:chart_with_upwards_trend: Performance Fixes
- fix translation performance issue (6032a51)
:zap: Improvements
- path: tweak for ssr
:boom: Breaking changes
- format: re-impelement formatter
- formatter: change method nam
- flowtype: fix locale message related type changing and remove underscore type
:bug: Bug Fixes
7.0.0-rc.1 (2017-05-26)
:chart_with_upwards_trend: Performance Fixes
:up: Updates
- flowtype: remove unneccesary type (eb60156)
7.0.0-beta.4 (2017-05-23)
:bug: Bug Fixes
7.0.0-beta.3 (2017-05-15)
:up: Updates
- bring back from bug fix (95be4ea)
7.0.0-beta.2 (2017-05-14)
:zap: Improvements
7.0.0-beta.1 (2017-05-11)
:star: New Features
- datetime localization: add datetime localization (3282075)
- number localization: add number localization (87ee7b3)
- component interpolation: (23f7d34), closes #145 #144 #37
- typescript: add TypeScript type definitions (#161) by @aicest (61cebca)
:boom: Breaking changes
- format: re-impelement formatter (a8c046d)
- formatter: change method name (6eed51c)
- flowtype: fix locale message related type changing (c30d576)
:bug: Bug Fixes
6.1.3 (2017-05-15)
:bug: Bug Fixes
6.1.2 (2017-05-15)
6.1.1 (2017-04-19)
:bug: Bug Fixes
- te: Fix
te()
that always usesthis.locale
, even whenlocale
supplied (#147) by @aicest (bf15eeb), closes #147
6.1.0 (2017-04-14)
:star: New Features
- api: add 'mergeLocaleMessage' method (ef21621), closes #131
- silent: add silent translation missing option (29b3a17), closes #139
:zap: Improvements
6.0.0 (2017-04-05)
:tada: :tada: :tada:
See the docs
:zap: Improvements
:star: NEW Features
- Single File Components: example
:boom: Breaking changes
- API
- Dynamic locale DEPRECATED
6.0.0-beta.1 (2017-03-22)
:boom: Breaking changes
- change
fallbackRoot
andsync
option defaulttrue
value (0890b44) - remove messages settter, and add getLocaleMessage API (0f0914d)
:bug: Bug Fixes
- mixin: fix computed props errors (a6b7e37)
:up: Updates
- flowtype: argument names (cf14425)
:zap: Improvements
- fallbackLocale: support reactivity (ed758be)
- warn: suppress warning messages for production (6e417d2)
6.0.0-alpha.6 (2017-03-16)
:star: New Features
- add 'setLocaleMessage' API (8b71eda)
6.0.0-alpha.5 (2017-03-11)
:bug: Bug Fixes
- mixin: fix cannot create VueI18n instance error for minify production (7eeb29f)
6.0.0-alpha.4 (2017-03-11)
6.0.0-alpha.3 (2017-03-08)
:star: New Features
- add
sync
option (5c46c07)
:zap: Improvements
- mixin: add error throwings and a warning (0e4ac39)
6.0.0-alpha.2 (2017-02-27)
:zap: Improvements
6.0.0-alpha.1 (2017-02-23)
This is the first release of 6.0. In this version, we are some big breaking changes.
- Recommended for: experiments, prototypes, upgrading small, non-critical apps
- NOT recommended for: production use, upgrading production apps
:warning: Documentation still needs to be worked on. And also, we might change some APIs and features.
In the examples, please refer to this examples directory.
Improvements
Features
- Formatting support
- Pluralization support
- Locale and KeyPath Syntax support
- Linked translation support
- Fallback translation support
- Component locale support
- Dynamic locale DEPRECATED
- Hot reload support
API
Global Config
- Vue.config.lang DEPRECATED, use VueI18n constructor
locale
option, or VueI18n#locale - Vue.config.fallbackLang DEPRECATED, use VueI18n constructor
fallbackLocale
option, or VueI18n#fallbackLocale - Vue.config.missingHandler DEPRECATED, use VueI18n constructor
missing
option, or VueI18n#missing - Vue.config.i18nFormatter DEPRECATED, use VueI18n constructor
formatter
option, or VueI18n#formatter
Global Method
- Vue.locale DEPRECATED, use VueI18n constructor
messages
option, or VueI18n#messages - Vue.t DEPRECATED, use VueI18n#t
- Vue.tc DEPRECATED, use VueI18n#tc
- Vue.te DEPRECATED, use VueI18n#te
Constructor Options
- locales DEPRECATED, use
messages
ofi18n
option (e.g{ i18n: { messaes: ... } }
)
Instance Properties
- $lang DEPRECATED, use
locale
of Vue instance property$i18n
(e.gvm.$i18n.locale = 'en'
)
VueI18n class NEW
- constructor options: See the
I18nOptions
type of flowtype. - methods / properties: See the
I18n
interface definition of flowtype.
5.0.2 (2017-02-18)
:zap: Improvements
5.0.1 (2017-02-16)
:zap: Improvements
- asset: update locale reactivity setting (b42fd9a)
5.0.0 (2017-02-04)
:boom: Breaking changes
4.10.0 (2017-01-01)
:star: New Features
:up: Updates
- override: change langVM keeping variable name (3ec1bb2)
4.9.0 (2016-12-17)
:bug: Bug Fixes
:star: New Features
4.8.0 (2016-12-08)
:zap: Improvements
4.7.4 (2016-11-29)
:bug: Bug Fixes
4.7.3 (2016-11-24)
:bug: Bug Fixes
4.7.2 (2016-11-19)
:bug: Bug Fixes
:zap: Improvements
4.7.1 (2016-10-29)
:bug: Bug Fixes
- interpolate: named formatting: use name if value is missing (#77) by @SebastianS90 (a0cc343)
:zap: Improvements
- named: using default use nmae when value is missing (c34e8f1)
4.7.0 (2016-10-28)
:star: New Features
:zap: Improvements
4.6.0 (2016-09-24)
:star: New Features
- config: custom message formatter (#57) by @jvmccarthy (2748eb4)
4.5.0 (2016-09-15)
:star: New Features
4.4.1 (2016-09-10)
:zap: Improvements
4.4.0 (2016-08-29)
:star: New Features
- add linked translations (#50) by @mmochetti (f7ae073)
4.3.1 (2016-08-26)
:bug: Bug Fixes
4.3.0 (2016-08-26)
:star: New Features
- add pluralization (#44) by @mmochetti (b5b84d8)
4.2.3 (2016-08-23)
:chart_with_upwards_trend: Performance Fixes
- improve re-rendering cost when change the lang (0707338)
4.2.2 (2016-08-15)
:bug: Bug Fixes
4.2.1 (2016-08-13)
:zap: Improvements
- translate: fallback translation warning (5f6b271)
4.2.0 (2016-08-12)
:chart_with_upwards_trend: Performance Fixes
- format: use hasOwn function of Vue.util (a8a19a0)
:star: New Features
4.1.0 (2016-07-25)
:bug: Bug Fixes
- util: fixed isArray reference errors (0c6f6a0)
:star: New Features
- support vue 2.0.0.beta later (0e1d2f7)
4.0.1 (2016-06-06)
:bug: Bug Fixes
- translate: fix underscore named argument translate issue (eeaf936)
4.0.0 (2016-05-10)
:zap: Improvements
- support vue 2.0-pre-alpha (f6517bc)
3.1.1 (2016-05-09)
:star: New Features
- auto installation for standalone (2b0dc09)
3.1.0 (2016-05-09)
:star: New Features
:warning: Depcreted
- options: remove Vue.use options (d87b59b)
:zap: Improvements
- keypath: port the object path parser (3ae04b7)
- translation: fix hypenate included key translating (d0a415f), closes #24
- translation: warning outputing when cannot translate with keypath (b4c7c0e), closes #22
3.0.0 (2016-04-18)
Features
- lang: support lang reactive changing (203ee85), closes #2 #15
- locale: support dynamic local (4d61e8d), closes #6 #21
DEPRECATED
- index: plugin install
Vue.use
options (options.locales
,options.lang
). See README
2.4.1 (2016-02-29)
Features
- i18n: support ruby on rails i18n interpolation format (b6b2490)
2.4.0 (2016-02-06)
Features
2.3.3 (2015-12-09)
Bug Fixes
- npm: npm install error (e31e89e)
Features
- bower: good-bye bower :wink: (d99eb15)
BREAKING CHANGES
- bower: not support
bower
package manager
I think that bower is dead. :no_good:
2.3.2 (2015-12-09)
Features
- bundle: more compact the vue-i18n distribution file (2f32ecc)
2.3.1 (2015-12-01)
Reverts
- index: automatically install for standalone (25b8059)
2.3.0 (2015-11-26)
Bug Fixes
Features
- index: support automatically install for standalone (ada2673)
v2.2.0 / 2015-09-16
- Re-implemetation with ES6 (babel)
v2.1.0 / 2015-07-03
- Add global local language setting with
Vue.config.lang
v2.0.0 / 2015-06-29
- Support Vue.js 0.12
- Remove the followings (Breaking Changes)
Vue.t
functionv-t
directive
v1.1.1 / 2015-04-21
- Fix unit test error
v1.1.0 / 2015-01-10
- Support template string in
$t
method - Support language changing in
$t
method
v1.0.0 / 2015-01-10
- Add
$t
method
v0.11.0 / 2014-11-07
- Bump to 0.11.0
v0.2.0 / 2014-10-08
- Support Vue.js 0.11.0-rc
v0.1.2 / 2014-10-07
- Support bower
v0.1.1 / 2014-10-06
- Add
Vue.t
function
v0.1.0 / 2014-05-06
- Release first
v0.0.0 / 2014-05-03
- Initial project