Skip to content

Latest commit

 

History

History
1308 lines (597 loc) · 50.6 KB

CHANGELOG.md

File metadata and controls

1308 lines (597 loc) · 50.6 KB

8.11.2 (2019-04-30)

🐛 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 Fixes

  • fix ES Modules distribution (bb631a1)

8.11.0 (2019-04-26)

⭐ New Features

8.10.0 (2019-03-28)

⭐ New Features

⚡ Improvements

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

📝 docs

8.9.0 (2019-03-08)

🐛 Bug Fixes

⭐ New Features

⚡ Improvements

8.8.2 (2019-02-17)

🐛 Bug Fixes

8.8.1 (2019-02-10)

🐛 Bug Fixes

⚡ Improvements

  • flowtype: update typings (44e04e7)
  • typescript: update typings (dee35b9)

8.8.0 (2019-01-29)

🐛 Bug Fixes

⚡ Improvements

8.7.0 (2019-01-02)

⚡ Improvements

8.6.0 (2018-12-25)

🐛 Bug Fixes

⚡ Improvements

8.5.0 (2018-12-17)

🐛 Bug Fixes

⚡ Improvements

8.4.0 (2018-11-30)

⭐ New Features

8.3.2 (2018-11-16)

📈 Performance Fixes

8.3.1 (2018-11-08)

🐛 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

⚡ Improvements

8.3.0 (2018-10-29)

⚡ Improvements

8.2.1 (2018-10-15)

🐛 Bug Fixes

⚡ 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 Fixes

⚡ Improvements

8.1.1 (2018-10-12)

🐛 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)

⚡ Improvements

  • package.json: tree shaking optimization (38948c5)

8.1.0 (2018-09-03)

🐛 Bug Fixes

⚡ Improvements

8.0.0 (2018-06-23)

💥 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 Fixes

  • bug(directive): fix guard checking at unbind (c74888c), closes #340

NOTE

  • extend:

7.8.1 (2018-06-18)

🐛 Bug Fixes

  • directive: fix cannot unbind bug (105888d), closes #377

7.8.0 (2018-06-01)

⚡ Improvements

  • typescript: add type exportings (a7cb8da)

7.7.0 (2018-05-20)

⚡ Improvements

7.6.0 (2018-03-13)

⚡ Improvements

  • index: support retunable missing handler (#256) by @houd1ni (9fbe467)
  • typescript: update TranslateResult type interface (dffc678)

7.5.0 (2018-03-11)

⭐ New Features

⚡ Improvements

7.4.2 (2018-02-01)

⚡ Improvements

7.4.1 (2018-01-25)

🐛 Bug Fixes

⚡ Improvements

7.4.0 (2018-01-10)

⭐ New Features

7.3.4 (2018-01-07)

🐛 Bug Fixes

7.3.3 (2017-12-19)

🐛 Bug Fixes

7.3.2 (2017-10-19)

⚡ Improvements

7.3.1 (2017-10-04)

🐛 Bug Fixes

  • directive: fix cannot locale reactivity (e1fc12e), closes #227

7.3.0 (2017-09-22)

⭐ New Features

  • directives: support v-t custom directive (welcome back!) (af9a2e7)

🆙 Updates

7.2.0 (2017-08-28)

⭐ New Features

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

7.1.2 (2017-08-25)

⚡ Improvements

7.1.1 (2017-08-03)

🐛 Bug Fixes

  • mixin: fix cannot setup VueI18n instance (13585a4), closes #203

7.1.0 (2017-07-30)

⚡ Improvements

  • custom-block: support multiple custom blocks (ab955a5), closes #189

7.0.5 (2017-07-08)

🐛 Bug Fixes

  • format: fix cannot collectly parse percent (fc71eda), closes #191

7.0.4 (2017-07-01)

🐛 Bug Fixes

📈 Performance Fixes

7.0.3 (2017-06-13)

🐛 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 Fixes

  • sfc: fix cannot parse custom block locale messages (32eb3a7), closes #173

7.0.1 (2017-06-04)

🐛 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)

🎉 🎉 🎉

See the docs

⭐ New Features

📈 Performance Fixes

  • fix translation performance issue (6032a51)

⚡ Improvements

  • path: tweak for ssr

💥 Breaking changes

  • format: re-impelement formatter
  • formatter: change method nam
  • flowtype: fix locale message related type changing and remove underscore type

🐛 Bug Fixes

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

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

📈 Performance Fixes

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

🆙 Updates

  • flowtype: remove unneccesary type (eb60156)

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

🐛 Bug Fixes

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

7.0.0-beta.3 (2017-05-15)

🆙 Updates

  • bring back from bug fix (95be4ea)

7.0.0-beta.2 (2017-05-14)

⚡ Improvements

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

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

⭐ New Features

💥 Breaking changes

  • format: re-impelement formatter (a8c046d)
  • formatter: change method name (6eed51c)
  • flowtype: fix locale message related type changing (c30d576)

🐛 Bug Fixes

6.1.3 (2017-05-15)

🐛 Bug Fixes

6.1.2 (2017-05-15)

6.1.1 (2017-04-19)

🐛 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)

⭐ New Features

  • api: add 'mergeLocaleMessage' method (ef21621), closes #131
  • silent: add silent translation missing option (29b3a17), closes #139

⚡ Improvements

  • change to method from computed property (9135a59), closes #141

6.0.0 (2017-04-05)

🎉 🎉 🎉

See the docs

⚡ Improvements

⭐ NEW Features

💥 Breaking changes

  • API
  • Dynamic locale DEPRECATED

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

💥 Breaking changes

  • change fallbackRoot and sync option default true value (0890b44)
  • remove messages settter, and add getLocaleMessage API (0f0914d)

🐛 Bug Fixes

  • mixin: fix computed props errors (a6b7e37)

🆙 Updates

  • flowtype: argument names (cf14425)

⚡ Improvements

  • fallbackLocale: support reactivity (ed758be)
  • warn: suppress warning messages for production (6e417d2)

6.0.0-alpha.6 (2017-03-16)

⭐ New Features

  • add 'setLocaleMessage' API (8b71eda)

6.0.0-alpha.5 (2017-03-11)

🐛 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)

⭐ New Features

⚡ Improvements

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

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

⚡ 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

⚠️ 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)

⚡ Improvements

5.0.1 (2017-02-16)

⚡ Improvements

  • asset: update locale reactivity setting (b42fd9a)

5.0.0 (2017-02-04)

💥 Breaking changes

4.10.0 (2017-01-01)

⭐ New Features

🆙 Updates

  • override: change langVM keeping variable name (3ec1bb2)

4.9.0 (2016-12-17)

🐛 Bug Fixes

  • path: fix nested key translation (e15ead4), closes #97

⭐ New Features

4.8.0 (2016-12-08)

⚡ Improvements

  • extend: disable no translation warning when set missingHandler (168a97c), closes #96

4.7.4 (2016-11-29)

🐛 Bug Fixes

4.7.3 (2016-11-24)

🐛 Bug Fixes

4.7.2 (2016-11-19)

🐛 Bug Fixes

⚡ Improvements

4.7.1 (2016-10-29)

🐛 Bug Fixes

⚡ Improvements

  • named: using default use nmae when value is missing (c34e8f1)

4.7.0 (2016-10-28)

⭐ New Features

⚡ Improvements

4.6.0 (2016-09-24)

⭐ New Features

4.5.0 (2016-09-15)

⭐ New Features

  • config: translation miss capturing configration (aca0ed6), closes #54

4.4.1 (2016-09-10)

⚡ Improvements

4.4.0 (2016-08-29)

⭐ New Features

4.3.1 (2016-08-26)

🐛 Bug Fixes

4.3.0 (2016-08-26)

⭐ New Features

4.2.3 (2016-08-23)

📈 Performance Fixes

  • improve re-rendering cost when change the lang (0707338)

4.2.2 (2016-08-15)

🐛 Bug Fixes

4.2.1 (2016-08-13)

⚡ Improvements

  • translate: fallback translation warning (5f6b271)

4.2.0 (2016-08-12)

📈 Performance Fixes

  • format: use hasOwn function of Vue.util (a8a19a0)

⭐ New Features

  • fallback: add fallback translation feature (1d1f0f2), closes #36

4.1.0 (2016-07-25)

🐛 Bug Fixes

  • util: fixed isArray reference errors (0c6f6a0)

⭐ New Features

  • support vue 2.0.0.beta later (0e1d2f7)

4.0.1 (2016-06-06)

🐛 Bug Fixes

  • translate: fix underscore named argument translate issue (eeaf936)

4.0.0 (2016-05-10)

⚡ Improvements

  • support vue 2.0-pre-alpha (f6517bc)

3.1.1 (2016-05-09)

⭐ New Features

  • auto installation for standalone (2b0dc09)

3.1.0 (2016-05-09)

⭐ New Features

⚠️ Depcreted

  • options: remove Vue.use options (d87b59b)

⚡ 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 😉 (d99eb15)

BREAKING CHANGES

  • bower: not support bower package manager

I think that bower is dead. 🙅

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