CHANGELOG.md 63.4 KB

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

  • Rafał Chłodnicki (@rchl)

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

  • Rafał Chłodnicki (@rchl)

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

  • number: support data fall through in i18n-n (#545) (71cadbf), closes #545

: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

  • extend:

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

  • 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

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

  • interpolation: list formatting refactor and places/place feature (#218) by @myst729 (0f0f3ff)

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

: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

  • examples: fix ssr demo (059034f)
  • pluralization: fix default choice (240cfed)

7.0.0-rc.1 (2017-05-26)

:chart_with_upwards_trend: Performance Fixes

  • fix translation performance issue (6032a51), closes #165

:up: Updates

  • flowtype: remove unneccesary type (eb60156)

7.0.0-beta.4 (2017-05-23)

:bug: Bug Fixes

  • pluralization: fix default choice (240cfed), closes #164

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

  • path: tweak for ssr (eb21921)
  • typescript: change custom formatter method name (c5f043f)

7.0.0-beta.1 (2017-05-11)

: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

  • te: Fix te() that always uses this.locale, even when locale 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

  • 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

6.0.0-beta.1 (2017-03-22)

: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

  • 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

:zap: Improvements

  • mixin: add error throwings and a warning (0e4ac39)

6.0.0-alpha.2 (2017-02-27)

:zap: Improvements

  • mixin: release i18n instance (cc362a3)
  • vue: support vue 2.2 (5e7bf5e)

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 of i18n option (e.g { i18n: { messaes: ... } })

Instance Properties

  • $lang DEPRECATED, use locale of Vue instance property $i18n (e.g vm.$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)

: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

  • 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

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

  • 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