Releases: intlify/vue-i18n
Releases · intlify/vue-i18n
v9.0.0-alpha.9
v9.0.0-alpha.8
v9.0.0-alpha.7
v9.0.0-alpha.6
v9.0.0-alpha.5
v9.0.0-alpha.5 (2020-04-29)
⭐ Features
🐛 Bug Fixes
⚡ 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)
💥 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
v9.0.0-alpha.4 (2020-04-23)
🐛 Bug Fixes
📝 Documentation
- #17 Minor typo fixes (@sharpshark28)
Committers: 2
- Ava Gaiety Wroten (@sharpshark28)
- kazuya kawaguchi (@kazupon)
v9.0.0-alpha.3
v9.0.0-alpha.2
v9.0.0-alpha.2 (2020-04-13)
⭐ Features
💥 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
v9.0.0-alpha.1 (2020-04-07)
⭐ New Features
Composable API
New style API for Vue 3. See the following docs:
🍭 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
❗ Known issues
💥 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
⚡ Improvements
- See the vue-i18n issues that labeld with
Status: Ready
🔨 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
💿 Installation
npm
npm install --save vue-i18n@next
yarn
yarn add vue-i18n@next
Committers: 1
- kazuya kawaguchi (@kazupon)