Skip to content

Latest commit

 

History

History
1954 lines (991 loc) · 76.2 KB

CHANGELOG.md

File metadata and controls

1954 lines (991 loc) · 76.2 KB

v8.28.2 (2022-10-31)

🐛 Bug Fixes

Committers: 1

v8.28.1 (2022-10-31)

⚡ Improved Features

Committers: 1

v8.28.0 (2022-10-30)

⭐ New Features

  • #1569 fix(datetime): $d supports key format object (#1502) (@horitaka)

Committers: 1

v8.27.2 (2022-06-20)

🐛 Bug Fixes

📝 Documentation

Committers: 2

v8.27.1 (2022-03-29)

⚡ Improved Features

📝 Documentation

  • #1462 Restrict version to 8 for installing npm package (@arpi17)

Committers: 2

v8.27.0 (2022-01-21)

⭐ New Features

Committers: 1

v8.26.8 (2021-12-28)

⚡ Improved Features

  • #1429 improvement: type definition order for vue-i18n-bridge integration (@kazupon)

📝 Documentation

Committers: 2

v8.26.7 (2021-11-02)

🐛 Bug Fixes

  • #1411 fix: cannot work watchLocale on vue-i18n-bridge (@kazupon)

Committers: 1

v8.26.6 (2021-11-02)

⚡ Improved Features

  • #1409 improvement: notify locale changing to composer (@kazupon)

Committers: 1

v8.26.5 (2021-10-01)

⚡ Improved Features

  • #1396 Revert "improvement: $i18n property deinition for vue-i18n-bridge" (@kazupon)

Committers: 1

v8.26.4 (2021-10-01)

⚡ Improved Features

  • #1394 improvement: $i18n property deinition for vue-i18n-bridge (@kazupon)

Committers: 1

v8.26.3 (2021-09-30)

⚡ Improved Features

Committers: 1

v8.26.2 (2021-09-28)

⚡ Improved Features

Committers: 1

v8.26.1 (2021-09-23)

⚡ Improved Features

Committers: 1

v8.26.0 (2021-09-22)

⭐ New Features

Committers: 1

v8.25.1 (2021-09-13)

🐛 Bug Fixes

🔒 Security Fixes

📝 Documentation

  • #1323 Added version notice for custom pluralizations (@ingria)

Committers: 3

v8.25.0 (2021-07-16)

⭐ New Features

  • #1271 feat: Added linked, locale, formatter, values, path to MessageContext (@fabis94)

🐛 Bug Fixes

Committers: 3

v8.24.5 (2021-06-19)

🐛 Bug Fixes

  • #1278 fix: Ensure that the order at desroy is the same as before change to Set from Array (@kazupon)

⚡ Improved Features

📝 Documentation

Committers: 5

v8.24.4 (2021-04-28)

🐛 Bug Fixes

  • #1192 Revert "fix: i18n reference to root causes memory leak (#1044)" (@kazupon)

Committers: 2

v8.24.3 (2021-04-09)

🐛 Bug Fixes

  • #1175 [perf] Use Set so lookup of _dataListeners can be O(1) (@exoego)

📈 Performance Fixes

  • #1175 [perf] Use Set so lookup of _dataListeners can be O(1) (@exoego)

Committers: 1

v8.24.2 (2021-03-23)

🐛 Bug Fixes

  • #1151 fix: i18n reference to root causes memory leak (#1044) (@lzxb)

📝 Documentation

Committers: 2

v8.24.1 (2021-03-11)

🐛 Bug Fixes

Committers: 1

v8.24.0 (2021-03-08)

⭐ New Features

Committers: 1

v8.23.0 (2021-02-24)

⚡ Improved Features

  • #1118 Fix wrong LocaleMatcher type for TS 4.2 ('best-fit' to 'best fit'). (@mpawelski)

📝 Documentation

Committers: 4

v8.22.4 (2021-01-16)

📈 Performance Fixes

  • #1101 Improve performance of mergeLocaleMessage (#1099) (@cslee)

Committers: 2

v8.22.3 (2021-01-08)

⚡ Improved Features

  • #1096 @types: Fixed too narrow option types in n() and d() methods (@gehlert)

Committers: 3

v8.22.2 (2020-11-18)

🐛 Bug Fixes

  • #1048 fix: number format keys missing compared the Intl.Number object (@jevillard)

Committers: 2

v8.22.1 (2020-10-19)

💥 Breaking Change

  • #1020 escapeParameterHtml flag: Don't escape ampersand #1019 (@gardarh)

Committers: 1

v8.22.0 (2020-10-06)

⭐ New Features

🐛 Bug Fixes

  • #1003 Bugfix in index.js: wrong if condition in fetchChoice (@cimchd)

Committers: 4

v8.21.1 (2020-09-11)

🐛 Bug Fixes

Committers: 1

v8.21.0 (2020-08-13)

⭐ New Features

📝 Documentation

Committers: 3

v8.20.0 (2020-07-30)

⭐ New Features

  • #959 i18n-n component local components passing (@kazupon)
  • #928 ⚡ improvement(interpolation): enable passage of local components to tag prop (@vhoyer)

Committers: 2

v8.19.0 (2020-07-25)

⭐ New Features

  • #942 Add vetur support for tags and attributes (@phiter)

📝 Documentation

Committers: 3

v8.18.2 (2020-06-08)

⚡ Improved Features

📝 Documentation

Committers: 4

v8.18.1 (2020-05-27)

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

⭐ New Features

  • #892 Add onComponentInstanceCreated constructor option (@rchl)

⚡ Improved Features

  • #890 chore: set up linting for typescript definitions (@rchl)

Committers: 1

  • Rafał Chłodnicki (@rchl)

v8.17.7 (2020-05-19)

🐛 Bug Fixes

Committers: 1

v8.17.6 (2020-05-15)

🐛 Bug Fixes

⚡ Improved Features

  • #878 Allow component interpolation without root element (@danimoh)

📝 Documentation

Committers: 4

v8.17.5 (2020-05-10)

🐛 Bug Fixes

📝 Documentation

Committers: 3

v8.17.4 (2020-04-26)

🐛 Bug Fixes

Committers: 1

v8.17.3 (2020-04-19)

⚡ Improved Features

📝 Documentation

Committers: 2

v8.17.2 (2020-04-18)

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

📝 Documentation

Committers: 2

v8.17.0 (2020-04-11)

⭐ New Features

  • #829 #138 Fallback Locale as array for cascading fallbacks (@mmokross)

📝 Documentation

Committers: 4

v8.16.0 (2020-03-27)

⭐ New Features

Committers: 1

v8.15.7 (2020-03-25)

🐛 Bug Fixes

Committers: 1

v8.15.6 (2020-03-23)

🐛 Bug Fixes

  • #817 Bugfix : 'setLocaleMessage' / 'mergeLocaleMessage' doesn't work if 'warnHtmlInMessage' is set to 'error' (@aym3nb)

📝 Documentation

Committers: 3

v8.15.5 (2020-03-07)

⭐ Features

⚡ Improvement Features

  • #794 Support returning 'string' type for customized interpolation (@sihyeonn)

📝 Documentation

Committers: 4

8.15.4 (2020-02-25)

🐛 Bug Fixes

🆙 Updates

8.15.3 (2019-12-18)

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

8.15.1 (2019-11-27)

⚡ Improvements

  • mixin: change to custom blocks parse error (a9858be)

8.15.0 (2019-10-16)

⭐ New Features

8.14.1 (2019-09-12)

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

⭐ New Features

8.13.0 (2019-08-09)

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

⭐ New Features

  • mixin: shared locale messages feature (82543de)

⚡ Improvements

  • typing: sharedMessages option type (6967a15)

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