v8.21.0 (2020-08-13)
:star: New Features
:pencil: Documentation
Committers: 3
v8.20.0 (2020-07-30)
:star: New Features
- #959 i18n-n component local components passing (@kazupon)
- #928 :zap: improvement(interpolation): enable passage of local components to tag prop (@vhoyer)
Committers: 2
v8.19.0 (2020-07-25)
:star: New Features
- #942 Add vetur support for tags and attributes (@phiter)
:pencil: Documentation
Committers: 3
v8.18.2 (2020-06-08)
:zap: Improved Features
:pencil: Documentation
Committers: 4
v8.18.1 (2020-05-27)
:bug: Bug Fixes
- #896 Fix flow types and enable flow types testing on CI (@rchl)
Committers: 1
v8.18.0 (2020-05-26)
:star: New Features
- #892 Add onComponentInstanceCreated constructor option (@rchl)
:zap: Improved Features
- #890 chore: set up linting for typescript definitions (@rchl)
Committers: 1
v8.17.7 (2020-05-19)
:bug: Bug Fixes
Committers: 1
v8.17.6 (2020-05-15)
:bug: Bug Fixes
:zap: Improved Features
- #878 Allow component interpolation without root element (@danimoh)
:pencil: Documentation
Committers: 4
v8.17.5 (2020-05-10)
:bug: Bug Fixes
:pencil: Documentation
Committers: 3
v8.17.4 (2020-04-26)
:bug: Bug Fixes
Committers: 1
v8.17.3 (2020-04-19)
:zap: Improved Features
:pencil: Documentation
Committers: 2
v8.17.2 (2020-04-18)
:zap: Improved Features
- #844 Use plain object instead of Map, which is not supported in IE9/10 (@exoego)
Committers: 1
v8.17.1 (2020-04-16)
:bug: Bug Fixes
:pencil: Documentation
Committers: 2
v8.17.0 (2020-04-11)
:star: New Features
- #829 #138 Fallback Locale as array for cascading fallbacks (@mmokross)
:pencil: Documentation
Committers: 4
v8.16.0 (2020-03-27)
:star: New Features
Committers: 1
v8.15.7 (2020-03-25)
:bug: Bug Fixes
Committers: 1
v8.15.6 (2020-03-23)
:bug: Bug Fixes
- #817 Bugfix : 'setLocaleMessage' / 'mergeLocaleMessage' doesn't work if 'warnHtmlInMessage' is set to 'error' (@aym3nb)
:pencil: Documentation
Committers: 3
v8.15.5 (2020-03-07)
:star: Features
:zap: Improvement Features
- #794 Support returning 'string' type for customized interpolation (@sihyeonn)
:pencil: Documentation
Committers: 4
8.15.4 (2020-02-25)
:bug: Bug Fixes
:up: Updates
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)
: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
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
: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
- 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:
:chart_with_upwards_trend: Performance Fixes
- 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)
:chart_with_upwards_trend: Performance Fixes
- 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