Releases: kazupon/vue-i18n
Releases · kazupon/vue-i18n
v6.0.0-beta.1
v6.0.0-beta.1 (2017-03-22)
💥 Breaking changes
- change
fallbackRoot
andsync
option defaulttrue
value (0890b44) - remove messages settter, and add getLocaleMessage API (0f0914d)
🐛 Bug Fixes
- mixin: fix computed props errors (a6b7e37)
🆙 Updates
- flowtype: argument names (cf14425)
⚡ Improvements
v6.0.0-alpha.6
v6.0.0-alpha.5
v6.0.0-alpha.5 (2017-03-11)
🐛 Bug Fixes
- mixin: fix cannot create VueI18n instance error for minify production (7eeb29f)
v6.0.0-alpha.4
v6.0.0-alpha.4 (2017-03-11)
v6.0.0-alpha.3
v6.0.0-alpha.3 (2017-03-08)
⭐ New Features
- add
sync
option (5c46c07)
🆙 Updates
- util: add type checker (891f8ea)
⚡ Improvements
- mixin: add error throwings and a warning (0e4ac39)
v6.0.0-alpha.2
v6.0.0-alpha.2 (2017-02-27)
⚡ Improvements
v5.0.3
v6.0.0-alpha.1
v6.0.0-alpha.1 (2017-02-23)
This is the first release of 6.0.
In this version, have some big breaking changes.
- Recommended for: experiments, prototypes, upgrading small, non-critical apps
- NOT recommended for: production use, upgrading production apps
In the examples, please refer to this examples directory.
Improvements
the below server-side rendering demo animation-gif:
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.