v11.0.1 (2024-12-26T07:40:58Z)
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
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
❗ Braeking Changes
⚡ Improvement Features
🔒 Security Fixes
📝️ Documentations
👋 New Contributors
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
📝️ Documentations
New Contributors
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
📝️ Documentations
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
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
⚡ Improvement Features
📝️ Documentations
New Contributors
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
📝️ Documentations
New Contributors
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
📝️ Documentations
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
📝️ Documentations
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
New Contributors
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
❗ Braeking Changes
⚡ Improvement Features
✏️ Documentation & Sample Updates
🐛 Bug Fixes
New Contributors
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
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
📝️ Documentations
🍭 Examples
New Contributors
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
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
📝️ Documentations
New Contributors
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
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
📝️ Documentations
New Contributors
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
🐛 Bug Fixes
📝️ Documentations
New Contributors
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
🐛 Bug Fixes
📝️ Documentations
New Contributors
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
🐛 Bug Fixes
💥 Breaking Changes
⚠️ Deprecated Features
⚡ Improvement Features
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
⚡ Improvement Features
📝️ Documentations
New Contributors
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
💥 Breaking Changes
New Contributors
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
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
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
⚡ Improvement Features
📝️ Documentations
New Contributors
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
👕 Refactoring
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
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
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
New Contributors
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
New Contributors
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
📝️ Documentations
New Contributors
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
📝️ Documentations
New Contributors
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
📝️ Documentations
New Contributors
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
📝️ Documentations
New Contributors
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
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
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
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
New Contributors
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
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
New Contributors
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
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
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
🐛 Bug Fixes
⚡ Improvement Features
📝️ Documentations
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
🐛 Bug Fixes
📝️ Documentations
🍭 Examples
New Contributors
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
📝️ Documentations
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
🐛 Bug Fixes
⚡ Improvement Features
New Contributors
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.
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.
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
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.
❗ 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.
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
🐛 Bug Fixes: 17
📝️ Documentations: 28
🧑🤝🧑 Contributers: 37
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
🐛 Bug Fixes
📝️ Documentations
👕 Refactoring
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
📝️ Documentations
👕 Refactoring
New Contributors
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
🐛 Bug Fixes
📝️ Documentations
New Contributors
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
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
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
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
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
🐛 Bug Fixes
📝️ Documentations
New Contributors
v9.3.0-beta.19 (2023-06-01T10:19:48Z)
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
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
🐛 Bug Fixes
⚡ Improvement Features
📝️ Documentations
New Contributors
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
⚡ Improvement Features
📝️ Documentations
New Contributors
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
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
⚡ Improvement Features
📝️ Documentations
New Contributors
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
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
:pencil: Documentation
Committers: 5
v9.3.0-beta.10 (2022-11-21)
:bug: Bug Fixes
Committers: 1
v9.3.0-beta.9 (2022-11-21)
:bug: Bug Fixes
Committers: 1
v9.3.0-beta.8 (2022-11-20)
:zap: Improvement Features
:pencil: Documentation
Committers: 2
v9.3.0-beta.7 (2022-11-14)
:star: Features
petite-vue-i18n
, vue-i18n-bridge
, vue-i18n-core
, vue-i18n
:pencil: Documentation
Committers: 4
v9.3.0-beta.6 (2022-09-28)
:bug: Bug Fixes
vue-i18n-core
- #1187 fix: tree-shaking Fragment with for vue-i18n-bridge (@kazupon)
Committers: 1
v9.3.0-beta.5 (2022-09-28)
:zap: Improvement Features
Committers: 1
v9.3.0-beta.4 (2022-09-28)
:bug: Bug Fixes
:zap: Improvement Features
Committers: 2
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
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
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
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
v9.2.2 (2022-08-05)
:bug: Bug Fixes
vue-i18n-core
- #1110 fix: conflict process global object in vDirective function (@kazupon)
Committers: 1
v9.2.1 (2022-08-05)
:bug: Bug Fixes
:pencil: Documentation
Committers: 6
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)
:boom: Breaking Change (3)
:zap: Improvement Features (30)
:bug: Bug Fixes (36)
:pencil: Documentation (37)
Contributers: 35
v9.2.0-beta.40 (2022-07-19)
:bug: Bug Fixes
Committers: 1
v9.2.0-beta.39 (2022-07-17)
:bug: Bug Fixes
vue-i18n-bridge
- #1071 fix(vue-i18n-bridge): install error cause by peer deps (@kazupon)
Committers: 1
v9.2.0-beta.38 (2022-07-16)
:star: Features
vue-i18n-bridge
, vue-i18n-core
:zap: Improvement Features
Committers: 1
v9.2.0-beta.37 (2022-07-12)
:bug: Bug Fixes
message-compiler
, vue-i18n-core
core-base
, vue-i18n-core
:zap: Improvement Features
message-compiler
, vue-i18n-core
:pencil: Documentation
- Other
vue-i18n-bridge
- #1046 docs: add missing imports and fix typescript example of vue-i18n-bridge (@kingyue737)
Committers: 6
v9.2.0-beta.36 (2022-06-06)
:bug: Bug Fixes
core-base
, message-compiler
, vue-i18n-core
- #1023 fix: improvement processor for linked and pluralization (@kazupon)
core-base
, vue-i18n-core
:zap: Improvement Features
vue-i18n-core
- #1022 improvement: allow custom block
useI18n
on Legacy API mode (@kazupon)
:pencil: Documentation
Committers: 3
v9.2.0-beta.35 (2022-04-12)
:zap: Improvement Features
:pencil: Documentation
Committers: 2
v9.2.0-beta.34 (2022-04-01)
:star: Features
vue-i18n-core
- #974 feat: change
globalInjection
option default value (@kazupon)
:bug: Bug Fixes
:zap: Improvement Features
vue-i18n-core
- #973 fix(bridge): improvement writable install function for vue-i18n-routing (@kazupon)
:pencil: Documentation
Committers: 2
v9.2.0-beta.33 (2022-03-23)
:bug: Bug Fixes
:pencil: Documentation
Committers: 2
v9.2.0-beta.32 (2022-03-08)
:bug: Bug Fixes
Committers: 1
v9.2.0-beta.31 (2022-03-04)
:star: Features
:bug: Bug Fixes
:zap: Improvement Features
:pencil: Documentation
Committers: 2
v9.2.0-beta.30 (2022-01-27)
:zap: Improvement Features
Committers: 2
v9.2.0-beta.29 (2022-01-25)
:bug: Bug Fixes
Committers: 2
v9.2.0-beta.28 (2022-01-13)
:zap: Improvement Features
Committers: 1
v9.2.0-beta.27 (2022-01-13)
:zap: Improvement Features
vue-i18n-core
petite-vue-i18n
, vue-i18n
- #861 improvement: export castToVueI18n for @intlity/vue-i18n-bridge (@kazupon)
:pencil: Documentation
Committers: 3
v9.2.0-beta.26 (2021-12-29)
:bug: Bug Fixes
vue-i18n-core
- #856 fix: inherit warn html message setting option (@kazupon)
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
v9.2.0-beta.24 (2021-12-22)
:star: Features
vue-i18n-core
- #838 feat: composer type definition extending (experimental feature) (@kazupon)
:pencil: Documentation
Committers: 2
v9.2.0-beta.23 (2021-12-04)
:bug: Bug Fixes
vue-i18n-core
- #820 fix: cannot work correctly v-for on Translation component (@kazupon)
Committers: 1
v9.2.0-beta.22 (2021-11-25)
:star: Features
vue-i18n-bridge
, vue-i18n-core
- #811 feat: backport build-in components to vue-i18n-bridge from vue-i18n-next (@kazupon)
Committers: 1
v9.2.0-beta.21 (2021-11-23)
:bug: Bug Fixes
vue-i18n-core
- #806 fix: merge global resources of i18n custom block (@kazupon)
Committers: 1
v9.2.0-beta.20 (2021-11-18)
:bug: Bug Fixes
vue-i18n-core
- #799 fix: typescript errors with vue-tsc on vue-i18n-bridge (@kazupon)
Committers: 1
v9.2.0-beta.19 (2021-11-16)
:bug: Bug Fixes
Committers: 1
v9.2.0-beta.18 (2021-11-10)
:zap: Improvement Features
vue-i18n-core
- #780 improvement: vue-i18n-bridge installation at nuxt-bridge (@kazupon)
:pencil: Documentation
Committers: 4
v9.2.0-beta.17 (2021-11-02)
:zap: Improvement Features
vue-i18n-core
- #764 improvement: global injection for vue-i18n-bridge (@kazupon)
Committers: 1
v9.2.0-beta.16 (2021-10-29)
:zap: Improvement Features
Committers: 1
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
v9.2.0-beta.14 (2021-10-21)
:bug: Bug Fixes
Committers: 1
v9.2.0-beta.13 (2021-10-19)
:bug: Bug Fixes
petite-vue-i18n
, vue-i18n-bridge
, vue-i18n
Committers: 1
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
v9.2.0-beta.11 (2021-10-02)
:bug: Bug Fixes
vue-i18n-core
- #715 fix: vue-i18n components scope resolving in Legacy API mode (@kazupon)
message-compiler
, vue-i18n-core
Committers: 2
v9.2.0-beta.10 (2021-09-30)
:zap: Improvement Features
vue-i18n-core
- #709 improvement: support vue-i18n-loader bridge mode (@kazupon)
Committers: 1
v9.2.0-beta.9 (2021-09-28)
:zap: Improvement Features
:pencil: Documentation
Committers: 2
v9.2.0-beta.8 (2021-09-28)
:zap: Improvement Features
vue-i18n-bridge
, vue-i18n-core
, vue-i18n
- #700 improvement: expose type casting API for Legacy mode (@kazupon)
Committers: 1
v9.2.0-beta.7 (2021-09-27)
:bug: Bug Fixes
vue-i18n-core
- #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)
:pencil: Documentation
Committers: 2
v9.2.0-beta.6 (2021-09-24)
:star: Features
core-base
, vue-i18n-bridge
, vue-i18n-core
Committers: 1
v9.2.0-beta.5 (2021-09-19)
:star: Features
Committers: 1
v9.2.0-beta.4 (2021-09-13)
:bug: Bug Fixes
- #666 fix: source-map bundling on message-compiler esm bundler (@kazupon)
:pencil: Documentation
Committers: 4
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
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
message-compiler
- #619 improvement: bundle source map at message-compiler (@kazupon)
:pencil: Documentation
Committers: 3
v9.2.0-beta.1 (2021-07-27)
:star: Features
:boom: Breaking Change
core-base
, core
, devtools-if
, message-compiler
, message-resolver
, runtime
, shared
, vue-devtools
, vue-i18n
vue-i18n
:zap: Improvement Features
core-base
, vue-i18n
size-check-vue-i18n
, vue-i18n
- #583 improvement: deprecated VUE_I18N_PROD_DEVTOOLS feature flag (@kazupon)
vue-i18n
vue-i18n
vue-i18n
core-base
, vue-i18n
vue-i18n
- #478 improvement: target component highlighting on i18n resources inspector (@kazupon)
:bug: Bug Fixes
core-base
- #570 fix: INTLIFY_PROD_DEVTOOLS is not defined (#532) (@kazupon)
core-base
vue-i18n
core-base
- Other
:pencil: Documentation
Committers: 1
v9.2.0-alpha.9 (2021-07-24)
:bug: Bug Fixes
petite-vue-i18n
, vue-i18n
Committers: 1
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
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
- #583 improvement: deprecated VUE_I18N_PROD_DEVTOOLS feature flag (@kazupon)
:pencil: Documentation
Committers: 1
v9.2.0-alpha.6 (2021-07-16)
:zap: Improvement Features
Committers: 1
v9.1.7 (2021-07-13)
:bug: Bug Fixes
core-base
- #570 fix: INTLIFY_PROD_DEVTOOLS is not defined (#532) (@kazupon)
Committers: 1
v9.2.0-alpha.5 (2021-07-06)
:zap: Improvement Features
:boom: Breaking Change
core-base
, core
, devtools-if
, message-compiler
, message-resolver
, runtime
, shared
, vue-devtools
, vue-i18n
:pencil: Documentation
Committers: 5
v9.2.0-alpha.4 (2021-06-12)
:bug: Bug Fixes
:boom: Breaking Change
Committers: 1
v9.2.0-alpha.3 (2021-06-02)
:bug: Bug Fixes
Committers: 1
v9.2.0-alpha.2 (2021-06-02)
:star: Features
:bug: Bug Fixes
:boom: Breaking Change
Committers: 2
v9.2.0-alpha.1 (2021-05-25)
:star: Features
core-base
, message-resolver
, vue-i18n
:zap: Improvement Features
core-base
, vue-i18n
vue-i18n
- #478 improvement: target component highlighting on i18n resources inspector (@kazupon)
:boom: Breaking Change
:pencil: Documentation
Committers: 4
v9.1.6 (2021-04-15)
:bug: Bug Fixes
Committers: 1
v9.1.5 (2021-04-15)
:zap: Improvement Features
Committers: 2
v9.1.4 (2021-04-11)
:zap: Improvement Features
core-base
, devtools-if
, vue-i18n
:pencil: Documentation
- #449 Japanese translation (~essential) (@noy4)
Committers: 2
v9.1.3 (2021-04-09)
:zap: Improvement Features
core-base
, vue-i18n
- #446 experimental: improve meta for intlify devtools (@kazupon)
Committers: 1
v9.1.2 (2021-04-08)
:bug: Bug Fixes
Committers: 1
v9.1.1 (2021-04-07)
:bug: Bug Fixes
Committers: 1
v9.1.0 (2021-04-07)
:star: Features
core-base
, devtools-if
, vue-i18n
core-base
, vue-i18n
- #411 feat: resolve locale message translation new API
rt
(@kazupon)
message-resolver
, shared
, vue-i18n
vue-i18n
:bug: Bug Fixes
vue-i18n
message-compiler
:zap: Improvement Features
core-base
, vue-i18n
core-base
message-compiler
, shared
, vue-i18n
- #397 fix: Support for browsers that don't support object spread literals (@kazupon)
vue-i18n
:boom: Breaking Change
core-base
, size-check-vue-i18n
, vue-i18n
- #434 breaking: split devtools production feature flags (@kazupon)
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
Committers: 6
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
v9.0.0-rc.8 (2021-02-23)
:bug: Bug Fixes
vue-i18n
- #357 fix: cannot apply custom pluralization rules (@kazupon)
:pencil: Documentation
Committers: 3
v9.0.0-rc.7 (2021-02-16)
:zap: Improvement Features
vue-i18n
message-compiler
Committers: 2
v9.0.0-rc.6 (2021-02-10)
:bug: Bug Fixes
Committers: 2
v9.0.0-rc.5 (2021-02-02)
:bug: Bug Fixes
:zap: Improvement Features
vue-i18n
- #332 fix: support vue-devtools component inspector custom tags breaking change (@kazupon)
:pencil: Documentation
Committers: 5
v9.0.0-rc.4 (2021-01-22)
:bug: Bug Fixes
message-resolver
, vue-i18n
- #308 Revert "Add support for flat json separated with dot('.')" (@kazupon)
Committers: 1
v9.0.0-rc.3 (2021-01-19)
:bug: Bug Fixes
:zap: Improvement Features
message-resolver
, vue-i18n
:pencil: Documentation
Committers: 3
v9.0.0-rc.2 (2021-01-12)
:bug: Bug Fixes
:pencil: Documentation
Committers: 2
v9.0.0-rc.1 (2021-01-06)
Vue I18n is entering RC :tada:
Committers: 1
v9.0.0-beta.18 (2021-01-01)
:zap: Improvement Features
vue-i18n
- #273 improvement: vue-i18n debugging on vue-devtools (@kazupon)
Committers: 1
v9.0.0-beta.17 (2020-12-29)
:zap: Improvement Features
:pencil: Documentation
Committers: 5
v9.0.0-beta.16 (2020-12-23)
:bug: Bug Fixes
:zap: Improvement Features
vue-i18n
- #256 revert: change default ES module bundler module (@kazupon)
- #250 improvement: display message function details (@kazupon)
message-compiler
- #251 improvement(message-compiler): Improves parse error messages (@ota-meshi)
Committers: 2
v9.0.0-beta.15 (2020-12-21)
:bug: Bug Fixes
:zap: Improvement Features
core-base
, core
, message-compiler
, runtime
, shared
, vue-i18n
- #247 change vue-i18n and core es module for bundler (@kazupon)
message-compiler
- #245 improvement(message-compiler): Change to generate AST with linked message error (@ota-meshi)
:boom: Breaking Change
Committers: 2
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
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
v9.0.0-beta.12 (2020-12-13)
:bug: Bug Fixes
:zap: Improvement Features
core
, message-compiler
, vue-i18n
:pencil: Documentation
Committers: 2
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
v9.0.0-beta.10 (2020-12-04)
:bug: Bug Fixes
Committers: 1
v9.0.0-beta.9 (2020-12-04)
:star: Features
:bug: Bug Fixes
:zap: Improvement Features
- #197 improve: component injection properties typing hints on VSCode (@kazupon)
:boom: Breaking Change
- #204 breaking: change globalInjection default disable (@kazupon)
:pencil: Documentation
Committers: 2
v9.0.0-beta.8 (2020-11-18)
:bug: Bug Fixes
- #192 fix: cannot locale change for specified i18n custom blocks only (@kazupon)
Committers: 1
v9.0.0-beta.7 (2020-11-17)
:star: Features
:bug: Bug Fixes
:zap: Improvement Features
:boom: Breaking Change
:pencil: Documentation
Committers: 5
v9.0.0-beta.6 (2020-10-19)
Committers: 1
v9.0.0-beta.5 (2020-10-18)
:star: Features
Committers: 3
v9.0.0-beta.4 (2020-10-01)
:star: Features
Committers: 1
v9.0.0-beta.3 (2020-09-25)
:star: Features
- #122 feat: global props and methods injection for composable mode (@kazupon)
:zap: Improvement Features
Committers: 2
v9.0.0-beta.2 (2020-09-17)
:star: Features
:zap: Improvement Features
Committers: 1
v9.0.0-beta.1 (2020-09-13)
:bug: Bug Fixes
:zap: Improvement Features
Committers: 1
v9.0.0-alpha.17 (2020-09-02)
:zap: Improvement Features
Committers: 1
v9.0.0-alpha.16 (2020-08-29)
:bug: Bug Fixes
Committers: 1
v9.0.0-alpha.15 (2020-08-27)
:bug: Bug Fixes
Committers: 1
v9.0.0-alpha.14 (2020-08-26)
:star: Features
Committers: 2
v9.0.0-alpha.13 (2020-08-07)
:star: Features
:bug: Bug Fixes
:zap: Improvement Features
:boom: Breaking Change
Committers: 1
v9.0.0-alpha.12 (2020-06-27)
:bug: Bug Fixes
Committers: 1
v9.0.0-alpha.11 (2020-06-14)
:bug: Bug Fixes
Committers: 1
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
- #57 improve: accept object resource custom block (@kazupon)
Committers: 1
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
v9.0.0-alpha.8 (2020-05-08)
:boom: Breaking Change
Committers: 1
v9.0.0-alpha.7 (2020-05-02)
:bug: Bug Fixes
- #34 fix: pre-compile locale messages registration bug (@kazupon)
Committers: 1
v9.0.0-alpha.6 (2020-05-02)
:star: Features
Committers: 1
v9.0.0-alpha.5 (2020-04-29)
:star: Features
:bug: Bug Fixes
:zap: Improvement Features
:boom: Breaking Change
Committers: 1
v9.0.0-alpha.4 (2020-04-23)
:bug: Bug Fixes
:pencil: Documentation
Committers: 2
v9.0.0-alpha.3 (2020-04-17)
:zap: Improvement Features
Committers: 1
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 called i18n
component as Component interpolation feature) (@kazupon)
- #6 breaking: factory improvements (@kazupon)
Committers: 1
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
and t
methods is string only. object and array values are no longer returned.
- The return value of
$tc
and tc
methods is string only. object and array values are no longer returned.
VueI18n
class cannot used with new
. It can only be used via the $i18n
property of Vue instance.
- In vue-i18n-next, by replacing
new VueI18n
with createI18n
, you can use existing VueI18n
options as they are.
- See the
examples/legacy
directory.
VueI18n.prototype.getChoiceIndex
- -> Legacy API style:
pluralizationRules
option of createI18n
factory function (like new VueI18n(...)
)
- -> Compsable API style:
pluralRules
option of createI18nComposer
facatory function
VueI18n.version
-> import { VERSION } from 'vue-i18n'
VueI18n.availabilities
-> import { availabilities } from 'vue-i18n'
- See the details here
:zap: Improvements
:hammer: Missing features
- imporve
fallbackLocale
or fallbackLocales
(related vue-i18n issue)
<i18n>
custom block supporting for SFC
v-t
directive
preserveDirectiveContent
option (depend on v-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
v9.0.0-alpha.0 (2020-04-07)
Committers: 1
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
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
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
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
8.10.0 (2019-03-28)
:star: New Features
:zap: Improvements
:pencil: docs
8.9.0 (2019-03-08)
:bug: Bug Fixes
:star: New Features
:zap: Improvements
8.8.2 (2019-02-17)
:bug: Bug Fixes
8.8.1 (2019-02-10)
:bug: Bug Fixes
:zap: Improvements
- flowtype: update typings (44e04e7)
- typescript: update typings (dee35b9)
8.8.0 (2019-01-29)
:bug: Bug Fixes
:zap: Improvements
8.7.0 (2019-01-02)
:zap: Improvements
8.6.0 (2018-12-25)
:bug: Bug Fixes
:zap: Improvements
8.5.0 (2018-12-17)
:bug: Bug Fixes
:zap: Improvements
8.4.0 (2018-11-30)
:star: New Features
8.3.2 (2018-11-16)
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
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
:zap: Improvements
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
: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
- bug(directive): fix guard checking at unbind (c74888c), closes #340
NOTE
7.8.1 (2018-06-18)
:bug: Bug Fixes
- directive: fix cannot unbind bug (105888d), closes #377
7.8.0 (2018-06-01)
:zap: Improvements
- typescript: add type exportings (a7cb8da)
7.7.0 (2018-05-20)
:zap: Improvements
7.6.0 (2018-03-13)
:zap: Improvements
7.5.0 (2018-03-11)
:star: New Features
:zap: Improvements
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
7.3.4 (2018-01-07)
:bug: Bug Fixes
7.3.3 (2017-12-19)
:bug: Bug Fixes
7.3.2 (2017-10-19)
:zap: Improvements
7.3.1 (2017-10-04)
:bug: Bug Fixes
- directive: fix cannot locale reactivity (e1fc12e), closes #227
7.3.0 (2017-09-22)
:star: New Features
- directives: support v-t custom directive (welcome back!) (af9a2e7)
:up: Updates
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
- mixin: fix cannot setup VueI18n instance (13585a4), closes #203
7.1.0 (2017-07-30)
:zap: Improvements
- custom-block: support multiple custom blocks (ab955a5), closes #189
7.0.5 (2017-07-08)
:bug: Bug Fixes
- format: fix cannot collectly parse percent (fc71eda), closes #191
7.0.4 (2017-07-01)
:bug: Bug 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
- sfc: fix cannot parse custom block locale messages (32eb3a7), closes #173
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:
- fix translation performance issue (6032a51)
:zap: Improvements
: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
- examples: fix ssr demo (059034f)
- pluralization: fix default choice (240cfed)
- fix translation performance issue (6032a51), closes #165
:up: Updates
- flowtype: remove unneccesary type (eb60156)
:bug: Bug Fixes
- pluralization: fix default choice (240cfed), closes #164
:up: Updates
:zap: Improvements
- path: tweak for ssr (eb21921)
- typescript: change custom formatter method name (c5f043f)
:star: New Features
: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
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
- change to method from computed property (9135a59), closes #141
6.0.0 (2017-04-05)
:tada: :tada: :tada:
See the docs
:zap: Improvements
:star: NEW Features
:boom: Breaking changes
- API
- Dynamic locale DEPRECATED
:boom: Breaking changes
- change
fallbackRoot
and sync
option default true
value (0890b44)
- remove messages settter, and add getLocaleMessage API (0f0914d)
:bug: Bug Fixes
- mixin: fix computed props errors (a6b7e37)
:up: Updates
:zap: Improvements
- fallbackLocale: support reactivity (ed758be)
- warn: suppress warning messages for production (6e417d2)
:star: New Features
- add 'setLocaleMessage' API (8b71eda)
:bug: Bug Fixes
- mixin: fix cannot create VueI18n instance error for minify production (7eeb29f)
:star: New Features
:zap: Improvements
- mixin: add error throwings and a warning (0e4ac39)
:zap: Improvements
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
of i18n
option (e.g { i18n: { messaes: ... } }
)
Instance Properties
- $lang DEPRECATED, use
locale
of Vue instance property $i18n
(e.gvm.$i18n.locale = 'en'
)
VueI18n class NEW
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
- path: fix nested key translation (e15ead4), closes #97
:star: New Features
4.8.0 (2016-12-08)
:zap: Improvements
- extend: disable no translation warning when set missingHandler (168a97c), closes #96
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
: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
4.5.0 (2016-09-15)
:star: New Features
- config: translation miss capturing configration (aca0ed6), closes #54
4.4.1 (2016-09-10)
:zap: Improvements
4.4.0 (2016-08-29)
:star: New Features
4.3.1 (2016-08-26)
:bug: Bug Fixes
4.3.0 (2016-08-26)
:star: New Features
4.2.3 (2016-08-23)
- 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)
- format: use hasOwn function of Vue.util (a8a19a0)
:star: New Features
- fallback: add fallback translation feature (1d1f0f2), closes #36
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
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
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
- index: cannot work at Vue 1.0.10 later (6fd543e), closes #9
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
function
v-t
directive
v1.1.1 / 2015-04-21
v1.1.0 / 2015-01-10
- Support template string in
$t
method
- Support language changing in
$t
method
v1.0.0 / 2015-01-10
v0.11.0 / 2014-11-07
v0.2.0 / 2014-10-08
v0.1.2 / 2014-10-07
v0.1.1 / 2014-10-06
v0.1.0 / 2014-05-06
v0.0.0 / 2014-05-03