From 3cd43f59213178e4c5afd22d2133ff1b8e5137ec Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Mon, 1 Aug 2022 09:55:19 +0900 Subject: [PATCH 1/4] minor release v9.2.0 --- CHANGELOG.md | 18 ++++++++++ package.json | 2 +- packages/core-base/package.json | 10 +++--- packages/core/package.json | 4 +-- packages/devtools-if/package.json | 4 +-- packages/message-compiler/package.json | 4 +-- packages/petite-vue-i18n/package.json | 10 +++--- packages/shared/package.json | 2 +- packages/vue-devtools/package.json | 6 ++-- packages/vue-i18n-bridge/package.json | 10 +++--- packages/vue-i18n-core/package.json | 10 +++--- packages/vue-i18n/package.json | 10 +++--- pnpm-lock.yaml | 50 +++++++++++++------------- 13 files changed, 79 insertions(+), 61 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f68423ac..b0f73e825 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,22 @@ +## v9.2.0 (2022-08-01) + +#### :star: Features +* `vue-i18n-core` + * [#1087](https://github.com/intlify/vue-i18n-next/pull/1087) feat: support SSR for v-t ([@kazupon](https://github.com/kazupon)) + +#### :bug: Bug Fixes +* `vue-i18n-core` + * [#1086](https://github.com/intlify/vue-i18n-next/pull/1086) fix: v-t directive reactivity ([@kazupon](https://github.com/kazupon)) + +#### :pencil: Documentation +* [#1084](https://github.com/intlify/vue-i18n-next/pull/1084) Added pluralization example to custom directive page ([@anatolykopyl](https://github.com/anatolykopyl)) + +#### Committers: 2 +- Anatoly Kopyl ([@anatolykopyl](https://github.com/anatolykopyl)) +- kazuya kawaguchi ([@kazupon](https://github.com/kazupon)) + + ## v9.2.0-beta.40 (2022-07-19) #### :bug: Bug Fixes diff --git a/package.json b/package.json index 9254bff8f..b4840ede4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-i18n-next", - "version": "9.2.0-beta.40", + "version": "9.2.0", "license": "MIT", "author": { "name": "kazuya kawaguchi", diff --git a/packages/core-base/package.json b/packages/core-base/package.json index 393b748df..2f64485ef 100644 --- a/packages/core-base/package.json +++ b/packages/core-base/package.json @@ -1,6 +1,6 @@ { "name": "@intlify/core-base", - "version": "9.2.0-beta.40", + "version": "9.2.0", "description": "@intlify/core-base", "keywords": [ "core", @@ -34,10 +34,10 @@ "jsdelivr": "dist/core-base.global.js", "types": "dist/core-base.d.ts", "dependencies": { - "@intlify/devtools-if": "9.2.0-beta.40", - "@intlify/message-compiler": "9.2.0-beta.40", - "@intlify/shared": "9.2.0-beta.40", - "@intlify/vue-devtools": "9.2.0-beta.40" + "@intlify/devtools-if": "9.2.0", + "@intlify/message-compiler": "9.2.0", + "@intlify/shared": "9.2.0", + "@intlify/vue-devtools": "9.2.0" }, "engines": { "node": ">= 14" diff --git a/packages/core/package.json b/packages/core/package.json index dd8bf7850..6f283817a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@intlify/core", - "version": "9.2.0-beta.40", + "version": "9.2.0", "description": "@intlify/core", "keywords": [ "core", @@ -34,7 +34,7 @@ "jsdelivr": "dist/core.global.js", "types": "dist/core.d.ts", "dependencies": { - "@intlify/core-base": "9.2.0-beta.40" + "@intlify/core-base": "9.2.0" }, "engines": { "node": ">= 14" diff --git a/packages/devtools-if/package.json b/packages/devtools-if/package.json index b26cd5ee3..43eda3625 100644 --- a/packages/devtools-if/package.json +++ b/packages/devtools-if/package.json @@ -1,6 +1,6 @@ { "name": "@intlify/devtools-if", - "version": "9.2.0-beta.40", + "version": "9.2.0", "description": "@intlify/devtools-if", "keywords": [ "devtools", @@ -31,7 +31,7 @@ "module": "dist/devtools-if.esm-bundler.js", "types": "dist/devtools-if.d.ts", "dependencies": { - "@intlify/shared": "9.2.0-beta.40" + "@intlify/shared": "9.2.0" }, "engines": { "node": ">= 14" diff --git a/packages/message-compiler/package.json b/packages/message-compiler/package.json index 2ad2e1e3f..989e863ab 100644 --- a/packages/message-compiler/package.json +++ b/packages/message-compiler/package.json @@ -1,6 +1,6 @@ { "name": "@intlify/message-compiler", - "version": "9.2.0-beta.40", + "version": "9.2.0", "description": "@intlify/message-compiler", "keywords": [ "compiler", @@ -34,7 +34,7 @@ "jsdelivr": "dist/message-compiler.global.js", "types": "dist/message-compiler.d.ts", "dependencies": { - "@intlify/shared": "9.2.0-beta.40", + "@intlify/shared": "9.2.0", "source-map": "0.6.1" }, "engines": { diff --git a/packages/petite-vue-i18n/package.json b/packages/petite-vue-i18n/package.json index 147b3ecaf..05ff738cb 100644 --- a/packages/petite-vue-i18n/package.json +++ b/packages/petite-vue-i18n/package.json @@ -1,6 +1,6 @@ { "name": "petite-vue-i18n", - "version": "9.2.0-beta.40", + "version": "9.2.0", "description": "Vue I18n lite version", "keywords": [ "i18n", @@ -36,13 +36,13 @@ "jsdelivr": "dist/petite-vue-i18n.global.js", "types": "dist/petite-vue-i18n.d.ts", "dependencies": { - "@intlify/core-base": "9.2.0-beta.40", - "@intlify/shared": "9.2.0-beta.40", - "@intlify/vue-devtools": "9.2.0-beta.40", + "@intlify/core-base": "9.2.0", + "@intlify/shared": "9.2.0", + "@intlify/vue-devtools": "9.2.0", "@vue/devtools-api": "^6.2.1" }, "devDependencies": { - "@intlify/devtools-if": "9.2.0-beta.40" + "@intlify/devtools-if": "9.2.0" }, "peerDependencies": { "vue": "^3.0.0" diff --git a/packages/shared/package.json b/packages/shared/package.json index cbb757a63..a7a4e639f 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@intlify/shared", - "version": "9.2.0-beta.40", + "version": "9.2.0", "description": "@intlify/shared", "keywords": [ "i18n", diff --git a/packages/vue-devtools/package.json b/packages/vue-devtools/package.json index d196767bb..50d9365a1 100644 --- a/packages/vue-devtools/package.json +++ b/packages/vue-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@intlify/vue-devtools", - "version": "9.2.0-beta.40", + "version": "9.2.0", "description": "@intlify/vue-devtools", "keywords": [ "i18n", @@ -31,8 +31,8 @@ "module": "dist/vue-devtools.esm-bundler.js", "types": "dist/vue-devtools.d.ts", "dependencies": { - "@intlify/core-base": "9.2.0-beta.40", - "@intlify/shared": "9.2.0-beta.40" + "@intlify/core-base": "9.2.0", + "@intlify/shared": "9.2.0" }, "engines": { "node": ">= 14" diff --git a/packages/vue-i18n-bridge/package.json b/packages/vue-i18n-bridge/package.json index 4384d8406..b725209d8 100644 --- a/packages/vue-i18n-bridge/package.json +++ b/packages/vue-i18n-bridge/package.json @@ -1,6 +1,6 @@ { "name": "vue-i18n-bridge", - "version": "9.2.0-beta.40", + "version": "9.2.0", "description": "A bridge for Vue I18n Legacy", "keywords": [ "bridge", @@ -37,14 +37,14 @@ "jsdelivr": "dist/vue-i18n-bridge.global.js", "types": "dist/vue-i18n-bridge.d.ts", "dependencies": { - "@intlify/core-base": "9.2.0-beta.40", - "@intlify/shared": "9.2.0-beta.40", - "@intlify/vue-devtools": "9.2.0-beta.40", + "@intlify/core-base": "9.2.0", + "@intlify/shared": "9.2.0", + "@intlify/vue-devtools": "9.2.0", "@vue/devtools-api": "^6.2.1", "vue-demi": "^0.13.4" }, "devDependencies": { - "@intlify/devtools-if": "9.2.0-beta.40" + "@intlify/devtools-if": "9.2.0" }, "peerDependencies": { "@vue/composition-api": "^1.2.0" diff --git a/packages/vue-i18n-core/package.json b/packages/vue-i18n-core/package.json index ab6197dab..0d4af6529 100644 --- a/packages/vue-i18n-core/package.json +++ b/packages/vue-i18n-core/package.json @@ -1,6 +1,6 @@ { "name": "@intlify/vue-i18n-core", - "version": "9.2.0-beta.40", + "version": "9.2.0", "description": "@intlify/vue-i18n-core", "keywords": [ "core", @@ -36,13 +36,13 @@ "jsdelivr": "dist/vue-i18n-core.global.js", "types": "dist/vue-i18n-core.d.ts", "dependencies": { - "@intlify/core-base": "9.2.0-beta.40", - "@intlify/shared": "9.2.0-beta.40", - "@intlify/vue-devtools": "9.2.0-beta.40", + "@intlify/core-base": "9.2.0", + "@intlify/shared": "9.2.0", + "@intlify/vue-devtools": "9.2.0", "@vue/devtools-api": "^6.2.1" }, "devDependencies": { - "@intlify/devtools-if": "9.2.0-beta.40" + "@intlify/devtools-if": "9.2.0" }, "peerDependencies": { "vue": "^3.0.0" diff --git a/packages/vue-i18n/package.json b/packages/vue-i18n/package.json index 5e68192db..221c85ba6 100644 --- a/packages/vue-i18n/package.json +++ b/packages/vue-i18n/package.json @@ -1,6 +1,6 @@ { "name": "vue-i18n", - "version": "9.2.0-beta.40", + "version": "9.2.0", "description": "Internationalization plugin for Vue.js", "keywords": [ "i18n", @@ -36,13 +36,13 @@ "jsdelivr": "dist/vue-i18n.global.js", "types": "dist/vue-i18n.d.ts", "dependencies": { - "@intlify/core-base": "9.2.0-beta.40", - "@intlify/shared": "9.2.0-beta.40", - "@intlify/vue-devtools": "9.2.0-beta.40", + "@intlify/core-base": "9.2.0", + "@intlify/shared": "9.2.0", + "@intlify/vue-devtools": "9.2.0", "@vue/devtools-api": "^6.2.1" }, "devDependencies": { - "@intlify/devtools-if": "9.2.0-beta.40" + "@intlify/devtools-if": "9.2.0" }, "peerDependencies": { "vue": "^3.0.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9063c4881..b07ec514f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -331,16 +331,16 @@ importers: packages/core: specifiers: - '@intlify/core-base': 9.2.0-beta.40 + '@intlify/core-base': 9.2.0 dependencies: '@intlify/core-base': link:../core-base packages/core-base: specifiers: - '@intlify/devtools-if': 9.2.0-beta.40 - '@intlify/message-compiler': 9.2.0-beta.40 - '@intlify/shared': 9.2.0-beta.40 - '@intlify/vue-devtools': 9.2.0-beta.40 + '@intlify/devtools-if': 9.2.0 + '@intlify/message-compiler': 9.2.0 + '@intlify/shared': 9.2.0 + '@intlify/vue-devtools': 9.2.0 dependencies: '@intlify/devtools-if': link:../devtools-if '@intlify/message-compiler': link:../message-compiler @@ -349,7 +349,7 @@ importers: packages/devtools-if: specifiers: - '@intlify/shared': 9.2.0-beta.40 + '@intlify/shared': 9.2.0 dependencies: '@intlify/shared': link:../shared @@ -374,7 +374,7 @@ importers: packages/message-compiler: specifiers: - '@intlify/shared': 9.2.0-beta.40 + '@intlify/shared': 9.2.0 source-map: 0.6.1 dependencies: '@intlify/shared': link:../shared @@ -382,10 +382,10 @@ importers: packages/petite-vue-i18n: specifiers: - '@intlify/core-base': 9.2.0-beta.40 - '@intlify/devtools-if': 9.2.0-beta.40 - '@intlify/shared': 9.2.0-beta.40 - '@intlify/vue-devtools': 9.2.0-beta.40 + '@intlify/core-base': 9.2.0 + '@intlify/devtools-if': 9.2.0 + '@intlify/shared': 9.2.0 + '@intlify/vue-devtools': 9.2.0 '@vue/devtools-api': ^6.2.1 dependencies: '@intlify/core-base': link:../core-base @@ -443,18 +443,18 @@ importers: packages/vue-devtools: specifiers: - '@intlify/core-base': 9.2.0-beta.40 - '@intlify/shared': 9.2.0-beta.40 + '@intlify/core-base': 9.2.0 + '@intlify/shared': 9.2.0 dependencies: '@intlify/core-base': link:../core-base '@intlify/shared': link:../shared packages/vue-i18n: specifiers: - '@intlify/core-base': 9.2.0-beta.40 - '@intlify/devtools-if': 9.2.0-beta.40 - '@intlify/shared': 9.2.0-beta.40 - '@intlify/vue-devtools': 9.2.0-beta.40 + '@intlify/core-base': 9.2.0 + '@intlify/devtools-if': 9.2.0 + '@intlify/shared': 9.2.0 + '@intlify/vue-devtools': 9.2.0 '@vue/devtools-api': ^6.2.1 dependencies: '@intlify/core-base': link:../core-base @@ -466,10 +466,10 @@ importers: packages/vue-i18n-bridge: specifiers: - '@intlify/core-base': 9.2.0-beta.40 - '@intlify/devtools-if': 9.2.0-beta.40 - '@intlify/shared': 9.2.0-beta.40 - '@intlify/vue-devtools': 9.2.0-beta.40 + '@intlify/core-base': 9.2.0 + '@intlify/devtools-if': 9.2.0 + '@intlify/shared': 9.2.0 + '@intlify/vue-devtools': 9.2.0 '@vue/devtools-api': ^6.2.1 vue-demi: ^0.13.4 dependencies: @@ -483,10 +483,10 @@ importers: packages/vue-i18n-core: specifiers: - '@intlify/core-base': 9.2.0-beta.40 - '@intlify/devtools-if': 9.2.0-beta.40 - '@intlify/shared': 9.2.0-beta.40 - '@intlify/vue-devtools': 9.2.0-beta.40 + '@intlify/core-base': 9.2.0 + '@intlify/devtools-if': 9.2.0 + '@intlify/shared': 9.2.0 + '@intlify/vue-devtools': 9.2.0 '@vue/devtools-api': ^6.2.1 dependencies: '@intlify/core-base': link:../core-base From 7552ba24993a9af66c0d59bf567d79f9c9f1c7ad Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Mon, 1 Aug 2022 10:59:54 +0900 Subject: [PATCH 2/4] update changelog --- CHANGELOG.md | 185 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 174 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0f73e825..49344909f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,20 +1,183 @@ - ## v9.2.0 (2022-08-01) -#### :star: Features -* `vue-i18n-core` - * [#1087](https://github.com/intlify/vue-i18n-next/pull/1087) feat: support SSR for v-t ([@kazupon](https://github.com/kazupon)) +We are excited to announce the release of Vue I18n v9.2 !! This release includes many new features, bug fixes, improvements, and document fixes. + +We had commited with 35 contributors. Thanks for your contributing! + + +#### :star: Features (15) +* [#1087](https://github.com/intlify/vue-i18n-next/pull/1087) feat: support SSR for v-t ([@kazupon](https://github.com/kazupon)) +* [#1062](https://github.com/intlify/vue-i18n-next/pull/1062) feat: support Vue 2.7 for vue-i18n-bridge ([@kazupon](https://github.com/kazupon)) +* [#974](https://github.com/intlify/vue-i18n-next/pull/974) feat: change `globalInjection` option default value ([@kazupon](https://github.com/kazupon)) +* [#940](https://github.com/intlify/vue-i18n-next/pull/940) feat: Support `useI18n` for Legacy API mode ([@kazupon](https://github.com/kazupon)) +* [#838](https://github.com/intlify/vue-i18n-next/pull/838) feat: composer type definition extending (**experimental feature**) ([@kazupon](https://github.com/kazupon)) +* [#811](https://github.com/intlify/vue-i18n-next/pull/811) feat: backport build-in components to vue-i18n-bridge from vue-i18n-next ([@kazupon](https://github.com/kazupon)) +* [#733](https://github.com/intlify/vue-i18n-next/pull/733) support node native es modules ([@kazupon](https://github.com/kazupon)) +* [#676](https://github.com/intlify/vue-i18n-next/pull/676) feat: bridge for vue-i18n@v8.26.1 or later ([@kazupon](https://github.com/kazupon)) +* [#673](https://github.com/intlify/vue-i18n-next/pull/673) feat: export types ([@kazupon](https://github.com/kazupon)) +* [#641](https://github.com/intlify/vue-i18n-next/pull/641) feat: support web components ([@kazupon](https://github.com/kazupon)) + +* [#623](https://github.com/intlify/vue-i18n-next/pull/623) feat: support Vue 3.2 ([@kazupon](https://github.com/kazupon)) +* [#588](https://github.com/intlify/vue-i18n-next/pull/588) feat: [petite-vue-i18n](https://github.com/intlify/vue-i18n-next/tree/master/packages/petite-vue-i18n) ([@kazupon](https://github.com/kazupon)) +* [#508](https://github.com/intlify/vue-i18n-next/pull/508) feat: type-safe with global type definition ([@kazupon](https://github.com/kazupon)) +* [#478](https://github.com/intlify/vue-i18n-next/pull/478) improvement: target component highlighting on i18n resources inspector ([@kazupon](https://github.com/kazupon)) +* [#477](https://github.com/intlify/vue-i18n-next/pull/477) feat: custom message resolver ([@kazupon](https://github.com/kazupon)) + + +#### :boom: Breaking Change (3) +* [#757](https://github.com/intlify/vue-i18n-next/pull/757) breaking: revert import.browser fileds ([@kazupon](https://github.com/kazupon)) +* [#560](https://github.com/intlify/vue-i18n-next/pull/560) breaking: drop node v10 ([@kazupon](https://github.com/kazupon)) +* [#514](https://github.com/intlify/vue-i18n-next/pull/514) Fix **FEATURE_ESM_BUNDLER_WARN** flag can not be configured ([@PeterAlfredLee](https://github.com/PeterAlfredLee)) + + +#### :zap: Improvement Features (30) +* [#1064](https://github.com/intlify/vue-i18n-next/pull/1064) fix: slot resolving in render function ([@kazupon](https://github.com/kazupon)) +* [#1043](https://github.com/intlify/vue-i18n-next/pull/1043) fix typo and polish ([@lazzzis](https://github.com/lazzzis)) +* [#1022](https://github.com/intlify/vue-i18n-next/pull/1022) improvement: allow custom block `useI18n` on Legacy API mode ([@kazupon](https://github.com/kazupon)) +* [#983](https://github.com/intlify/vue-i18n-next/pull/983) fix(legacy): allow multi legacy i18n instance for bridge ([@kazupon](https://github.com/kazupon)) +* [#977](https://github.com/intlify/vue-i18n-next/pull/977) feat: release global scope ([@kazupon](https://github.com/kazupon)) +* [#973](https://github.com/intlify/vue-i18n-next/pull/973) fix(bridge): improvement writable install function for vue-i18n-routing ([@kazupon](https://github.com/kazupon)) +* [#929](https://github.com/intlify/vue-i18n-next/pull/929) improvement: tweak vue-i18n for SSR ([@kazupon](https://github.com/kazupon)) +* [#929](https://github.com/intlify/vue-i18n-next/pull/929) improvement: tweak vue-i18n for SSR ([@kazupon](https://github.com/kazupon)) +* [#907](https://github.com/intlify/vue-i18n-next/pull/907) fix: avoid undefined read ([@kazupon](https://github.com/kazupon)) +* [#903](https://github.com/intlify/vue-i18n-next/pull/903) fix: revert type test case change in strictI18n ([@littleboarx](https://github.com/littleboarx)) +* [#879](https://github.com/intlify/vue-i18n-next/pull/879) fix: null element access ([@kazupon](https://github.com/kazupon)) +* [#876](https://github.com/intlify/vue-i18n-next/pull/876) fix: null access on mount hook ([@kazupon](https://github.com/kazupon)) +* [#861](https://github.com/intlify/vue-i18n-next/pull/861) improvement: export castToVueI18n for @intlity/vue-i18n-bridge ([@kazupon](https://github.com/kazupon)) +* [#780](https://github.com/intlify/vue-i18n-next/pull/780) improvement: vue-i18n-bridge installation at nuxt-bridge ([@kazupon](https://github.com/kazupon)) +* [#764](https://github.com/intlify/vue-i18n-next/pull/764) improvement: global injection for vue-i18n-bridge ([@kazupon](https://github.com/kazupon)) +* [#761](https://github.com/intlify/vue-i18n-next/pull/761) improvement: avoid vite ssrTransform bug ([@kazupon](https://github.com/kazupon)) +* [#742](https://github.com/intlify/vue-i18n-next/pull/742) fix: node esm for nuxt3 ([@kazupon](https://github.com/kazupon)) +* [#731](https://github.com/intlify/vue-i18n-next/pull/731) move to pnpm from yarn v1 ([@kazupon](https://github.com/kazupon)) +* [#709](https://github.com/intlify/vue-i18n-next/pull/709) improvement: support vue-i18n-loader bridge mode ([@kazupon](https://github.com/kazupon)) +* [#705](https://github.com/intlify/vue-i18n-next/pull/705) improvement: flag for vue-i18n-bridge ([@kazupon](https://github.com/kazupon)) +* [#700](https://github.com/intlify/vue-i18n-next/pull/700) improvement: expose type casting API for Legacy mode ([@kazupon](https://github.com/kazupon)) +* [#619](https://github.com/intlify/vue-i18n-next/pull/619) improvement: bundle source map at message-compiler ([@kazupon](https://github.com/kazupon)) +* [#584](https://github.com/intlify/vue-i18n-next/pull/584) improvement: reduce size ([@kazupon](https://github.com/kazupon)) +* [#583](https://github.com/intlify/vue-i18n-next/pull/583) improvement: deprecated __VUE_I18N_PROD_DEVTOOLS__ feature flag ([@kazupon](https://github.com/kazupon)) +* [#578](https://github.com/intlify/vue-i18n-next/pull/578) support for Vue 3.1 ([@kazupon](https://github.com/kazupon)) +* [#545](https://github.com/intlify/vue-i18n-next/pull/545) Allow number and boolean in args of number formatting ([@yannbriancon](https://github.com/yannbriancon)) +* [#541](https://github.com/intlify/vue-i18n-next/pull/541) Add number formatting missing type definition ([@yannbriancon](https://github.com/yannbriancon)) +* [#489](https://github.com/intlify/vue-i18n-next/pull/489) Type safe improvements ([@kazupon](https://github.com/kazupon)) +* [#593](https://github.com/intlify/vue-i18n-next/pull/593) improvement: vue-i18n tree shaking ([@kazupon](https://github.com/kazupon)) +* [#592](https://github.com/intlify/vue-i18n-next/pull/592) improvement: petite-vue-i18n tree shaking ([@kazupon](https://github.com/kazupon)) + + +#### :bug: Bug Fixes (36) +* [#1086](https://github.com/intlify/vue-i18n-next/pull/1086) fix: v-t directive reactivity ([@kazupon](https://github.com/kazupon)) +* [#1076](https://github.com/intlify/vue-i18n-next/pull/1076) fix: lifecycle hook context binding ([@kazupon](https://github.com/kazupon)) +* [#1071](https://github.com/intlify/vue-i18n-next/pull/1071) fix(vue-i18n-bridge): install error cause by peer deps ([@kazupon](https://github.com/kazupon)) +* [#1057](https://github.com/intlify/vue-i18n-next/pull/1057) fix: cannot modulo parse hangup ([@kazupon](https://github.com/kazupon)) +* [#1056](https://github.com/intlify/vue-i18n-next/pull/1056) fix: number and datetime options override formatting ([@kazupon](https://github.com/kazupon)) +* [#1037](https://github.com/intlify/vue-i18n-next/pull/1037) fix postTranslation option ([@kazupon](https://github.com/kazupon)) +* [#1023](https://github.com/intlify/vue-i18n-next/pull/1023) fix: improvement processor for linked and pluralization ([@kazupon](https://github.com/kazupon)) +* [#1017](https://github.com/intlify/vue-i18n-next/pull/1017) fix: number & datetime format options ([@kazupon](https://github.com/kazupon)) +* [#972](https://github.com/intlify/vue-i18n-next/pull/972) fix(components): strictly slot rendering ([@kazupon](https://github.com/kazupon)) +* [#965](https://github.com/intlify/vue-i18n-next/pull/965) fix: resolve default message value ([@kazupon](https://github.com/kazupon)) +* [#954](https://github.com/intlify/vue-i18n-next/pull/954) fix: nullish assignment ([@kazupon](https://github.com/kazupon)) +* [#945](https://github.com/intlify/vue-i18n-next/pull/945) fix: linked message fallbacking ([@kazupon](https://github.com/kazupon)) +* [#897](https://github.com/intlify/vue-i18n-next/pull/897) improve types declaration ([@littleboarx](https://github.com/littleboarx)) +* [#856](https://github.com/intlify/vue-i18n-next/pull/856) fix: inherit warn html message setting option ([@kazupon](https://github.com/kazupon)) +* [#855](https://github.com/intlify/vue-i18n-next/pull/855) fix: not correct error and warning codes ([@kazupon](https://github.com/kazupon)) +* [#843](https://github.com/intlify/vue-i18n-next/pull/843) fix: export composer custom type definition ([@kazupon](https://github.com/kazupon)) +* [#820](https://github.com/intlify/vue-i18n-next/pull/820) fix: cannot work correctly v-for on Translation component ([@kazupon](https://github.com/kazupon)) +* [#806](https://github.com/intlify/vue-i18n-next/pull/806) fix: merge global resources of i18n custom block ([@kazupon](https://github.com/kazupon)) +* [#799](https://github.com/intlify/vue-i18n-next/pull/799) fix: typescript errors with vue-tsc on vue-i18n-bridge ([@kazupon](https://github.com/kazupon)) +* [#784](https://github.com/intlify/vue-i18n-next/pull/784) fix(core-base): fallback interpolation should not break in runtime only (Closes [#768](https://github.com/intlify/vue-i18n-next/issues/768)) ([@AlexandreBonaventure](https://github.com/AlexandreBonaventure)) +* [#754](https://github.com/intlify/vue-i18n-next/pull/754) fix: remove terser option pure_getters: true, avoid wrong tree-shaking ([@PeterAlfredLee](https://github.com/PeterAlfredLee)) +* [#748](https://github.com/intlify/vue-i18n-next/pull/748) fix not a function error ([@PeterAlfredLee](https://github.com/PeterAlfredLee)) +* [#725](https://github.com/intlify/vue-i18n-next/pull/725) fix: builtin components bugs ([@kazupon](https://github.com/kazupon)) +* [#715](https://github.com/intlify/vue-i18n-next/pull/715) fix: vue-i18n components scope resolving in Legacy API mode ([@kazupon](https://github.com/kazupon)) +* [#713](https://github.com/intlify/vue-i18n-next/pull/713) fix: Maximum call stack size ([@fabiankranewitter](https://github.com/fabiankranewitter)) +* [#698](https://github.com/intlify/vue-i18n-next/pull/698) fix: custom block reosurce processing errors ([@kazupon](https://github.com/kazupon)) +* [#697](https://github.com/intlify/vue-i18n-next/pull/697) fix: createI18n second argument type error ([@kazupon](https://github.com/kazupon)) +* [#696](https://github.com/intlify/vue-i18n-next/pull/696) fix: __INTLIFY_META__ access error in vue-i18n-bridge ([@kazupon](https://github.com/kazupon)) +* [#666](https://github.com/intlify/vue-i18n-next/pull/666) fix: source-map bundling on message-compiler esm bundler ([@kazupon](https://github.com/kazupon)) +* [#602](https://github.com/intlify/vue-i18n-next/pull/602) fix null access of __VUE_I18n__ ([@kazupon](https://github.com/kazupon)) +* [#570](https://github.com/intlify/vue-i18n-next/pull/570) fix: __INTLIFY_PROD_DEVTOOLS__ is not defined (#532) ([@kazupon](https://github.com/kazupon)) +* [#532](https://github.com/intlify/vue-i18n-next/pull/532) fix: **INTLIFY_PROD_DEVTOOLS** is not defined ([@kazupon](https://github.com/kazupon)) +* [#524](https://github.com/intlify/vue-i18n-next/pull/524) fix: cannot hook at beforeUnmount/unmounted ([@kazupon](https://github.com/kazupon)) +* [#515](https://github.com/intlify/vue-i18n-next/pull/515) Datetime format validation ([@PeterAlfredLee](https://github.com/PeterAlfredLee)) +* [#519](https://github.com/intlify/vue-i18n-next/pull/519) fix `d.ts` breaking ([@kazupon](https://github.com/kazupon)) +* [#595](https://github.com/intlify/vue-i18n-next/pull/595) fix: build feature flags ([@kazupon](https://github.com/kazupon)) -#### :bug: Bug Fixes -* `vue-i18n-core` - * [#1086](https://github.com/intlify/vue-i18n-next/pull/1086) fix: v-t directive reactivity ([@kazupon](https://github.com/kazupon)) -#### :pencil: Documentation +#### :pencil: Documentation (37) * [#1084](https://github.com/intlify/vue-i18n-next/pull/1084) Added pluralization example to custom directive page ([@anatolykopyl](https://github.com/anatolykopyl)) +* [#1050](https://github.com/intlify/vue-i18n-next/pull/1050) Fix spelling ([@fabretti](https://github.com/fabretti)) +* [#1044](https://github.com/intlify/vue-i18n-next/pull/1044) nuxt3 integration ([@kazupon](https://github.com/kazupon)) +* [#1047](https://github.com/intlify/vue-i18n-next/pull/1047) Fix the id of the app's container element ([@xfq](https://github.com/xfq)) +* [#1039](https://github.com/intlify/vue-i18n-next/pull/1039) fix: typo in the layout slot ([@xfq](https://github.com/xfq)) +* [#1032](https://github.com/intlify/vue-i18n-next/pull/1032) docs: typo ([@xfq](https://github.com/xfq)) +* [#1028](https://github.com/intlify/vue-i18n-next/pull/1028) docs: typo ([@ashgo-x](https://github.com/ashgo-x)) +* [#1046](https://github.com/intlify/vue-i18n-next/pull/1046) docs: add missing imports and fix typescript example of vue-i18n-bridge ([@kingyue737](https://github.com/kingyue737)) +* [#1011](https://github.com/intlify/vue-i18n-next/pull/1011) docs: fix wrongly written ([@liyangworld](https://github.com/liyangworld)) +* [#1005](https://github.com/intlify/vue-i18n-next/pull/1005) docs: Update vue3.md ([@thomasschimbaeck](https://github.com/thomasschimbaeck)) +* [#982](https://github.com/intlify/vue-i18n-next/pull/982) fix: link to vite-plugin-vue-i18n ([@dpschen](https://github.com/dpschen)) +* [#969](https://github.com/intlify/vue-i18n-next/pull/969) docs (composition): typos, duplication ([@docnoe](https://github.com/docnoe)) +* [#959](https://github.com/intlify/vue-i18n-next/pull/959) Fix typo ([@JesseSousa](https://github.com/JesseSousa)) +* [#956](https://github.com/intlify/vue-i18n-next/pull/956) docs: add composition api migration from legacy api ([@kazupon](https://github.com/kazupon)) +* [#923](https://github.com/intlify/vue-i18n-next/pull/923) Update optimization.md ([@armingjazi](https://github.com/armingjazi)) +* [#869](https://github.com/intlify/vue-i18n-next/pull/869) docs: fix typos ([@AnPineau](https://github.com/AnPineau)) +* [#863](https://github.com/intlify/vue-i18n-next/pull/863) docs: fix typo in word ([@ItMaga](https://github.com/ItMaga)) +* [#862](https://github.com/intlify/vue-i18n-next/pull/862) docs: add scope resolving section ([@kazupon](https://github.com/kazupon)) +* [#848](https://github.com/intlify/vue-i18n-next/pull/848) fix typo petitle-vue-i18n ([@ElenaTv](https://github.com/ElenaTv)) +* [#839](https://github.com/intlify/vue-i18n-next/pull/839) doc: update package url ([@agoni1212](https://github.com/agoni1212)) +* [#778](https://github.com/intlify/vue-i18n-next/pull/778) docs: improve doc of fall back warinings ([@PeterAlfredLee](https://github.com/PeterAlfredLee)) +* [#775](https://github.com/intlify/vue-i18n-next/pull/775) Fix typo in docs ([@Zauberbutter](https://github.com/Zauberbutter)) +* [#773](https://github.com/intlify/vue-i18n-next/pull/773) feat(docs): add usage with Quasar CLI ([@rstoenescu](https://github.com/rstoenescu)) +* [#772](https://github.com/intlify/vue-i18n-next/pull/772) fix: advanced/sfc - wrong definition of warning container ([@rstoenescu](https://github.com/rstoenescu)) +* [#704](https://github.com/intlify/vue-i18n-next/pull/704) Fix typo `Stdio` for `Studio` ([@FMGordillo](https://github.com/FMGordillo)) +* [#691](https://github.com/intlify/vue-i18n-next/pull/691) Fix typo in docs/guide/migration/breaking.md ([@ota-meshi](https://github.com/ota-meshi)) +* [#664](https://github.com/intlify/vue-i18n-next/pull/664) Fixed a type in the Composition API documentation (it's -> its) ([@SeverityOne](https://github.com/SeverityOne)) +* [#661](https://github.com/intlify/vue-i18n-next/pull/661) docs: fix typo dat"a"TimeFormats ([@tyankatsu0105](https://github.com/tyankatsu0105)) +* [#655](https://github.com/intlify/vue-i18n-next/pull/655) docs: add support api mode for injection APIs ([@kazupon](https://github.com/kazupon)) +* [#643](https://github.com/intlify/vue-i18n-next/pull/643) docs: update breaking changes section ([@kazupon](https://github.com/kazupon)) +* [#640](https://github.com/intlify/vue-i18n-next/pull/640) added missing comma in code example in Advanced > Composition API ([@Topograph](https://github.com/Topograph)) +* [#616](https://github.com/intlify/vue-i18n-next/pull/616) docs: typo in typescript.md ([@maiolica](https://github.com/maiolica)) +* [#555](https://github.com/intlify/vue-i18n-next/pull/555) docs: add `defaultSFCLang` and `globalSFCScope` to sfc ([@userquin](https://github.com/userquin)) +* [#549](https://github.com/intlify/vue-i18n-next/pull/549) Fix VueJS Syntax ([@MarianPohling](https://github.com/MarianPohling)) +* [#484](https://github.com/intlify/vue-i18n-next/pull/484) Fix syntax error in quote example. ([@snuggs](https://github.com/snuggs)) +* [#487](https://github.com/intlify/vue-i18n-next/pull/487) Add some tests about numberFormats ([@PeterAlfredLee](https://github.com/PeterAlfredLee)) +* [#582](https://github.com/intlify/vue-i18n-next/pull/582) docs: add typescript section to advanced ([@kazupon](https://github.com/kazupon)) -#### Committers: 2 -- Anatoly Kopyl ([@anatolykopyl](https://github.com/anatolykopyl)) -- kazuya kawaguchi ([@kazupon](https://github.com/kazupon)) + +#### Contributers: 35 +* Anatoly Kopyl ([@anatolykopyl](https://github.com/anatolykopyl)) +* Ash Go ([@ashgo-x](https://github.com/ashgo-x)) +* Fuqiao Xue ([@xfq](https://github.com/xfq)) +* Gleb ([@fabretti](https://github.com/fabretti)) +* Yue JIN ([@kingyue737](https://github.com/kingyue737)) +* lazzzis ([@lazzzis](https://github.com/lazzzis)) +* [@thomasschimbaeck](https://github.com/thomasschimbaeck) +* 李洋 ([@liyangworld](https://github.com/liyangworld)) +* Dominik Pschenitschni ([@dpschen](https://github.com/dpschen)) +* Jesse Sousa ([@JesseSousa](https://github.com/JesseSousa)) +* Johannes Noe ([@docnoe](https://github.com/docnoe)) +* armin g jazi ([@armingjazi](https://github.com/armingjazi)) +* [@littleboarx](https://github.com/littleboarx) +* Magomed Chemurziev ([@ItMaga](https://github.com/ItMaga)) +* [@AnPineau](https://github.com/AnPineau) +* Elena Tverdokhlib ([@ElenaTv](https://github.com/ElenaTv)) +* [@agoni1212](https://github.com/agoni1212) +* Alexandre Bonaventure Geissmann ([@AlexandreBonaventure](https://github.com/AlexandreBonaventure)) +* Lee ([@PeterAlfredLee](https://github.com/PeterAlfredLee)) +* Razvan Stoenescu ([@rstoenescu](https://github.com/rstoenescu)) +* [@Zauberbutter](https://github.com/Zauberbutter) +* Fabian Kranewitter ([@fabiankranewitter](https://github.com/fabiankranewitter)) +* Facundo Martin Gordillo ([@FMGordillo](https://github.com/FMGordillo)) +* Yosuke Ota ([@ota-meshi](https://github.com/ota-meshi)) +* BaboonKing ([@baboon-king](https://github.com/baboon-king)) +* Peter Korsten ([@SeverityOne](https://github.com/SeverityOne)) +* tyankatsu ([@tyankatsu0105](https://github.com/tyankatsu0105)) +* [@Topograph](https://github.com/Topograph) +* Gualtiero ([@maiolica](https://github.com/maiolica)) +* Yann Briançon ([@yannbriancon](https://github.com/yannbriancon)) +* Marian Pohling ([@MarianPohling](https://github.com/MarianPohling)) +* [@userquin](https://github.com/userquin) +* Ahmid ([@snuggs](https://github.com/snuggs)) +* [@noy4](https://github.com/noy4) +* kazuya kawaguchi ([@kazupon](https://github.com/kazupon)) ## v9.2.0-beta.40 (2022-07-19) From 8c876a9dd4fc7e28765d35f72f5589cc1f63573e Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Mon, 1 Aug 2022 12:16:04 +0900 Subject: [PATCH 3/4] updates --- CHANGELOG.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 49344909f..a3cd15d67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,66 @@ We are excited to announce the release of Vue I18n v9.2 !! This release includes many new features, bug fixes, improvements, and document fixes. -We had commited with 35 contributors. Thanks for your contributing! +We had commited with 35 contributors. Thanks for your contributing ❤️ + +In the following, we introduce some of the new features: + +### More TypeScript supporting + +Starting with Vue I18n v9.2, we have improved TypeScript support. This allows type checking of resources specified in the `messages` option of `createI18n` and complementing with APIs such as `t`. + +The following images is the resoureces type-checked: + +![type check1](https://vue-i18n.intlify.dev/ts-support-1.png) +![type check2](https://vue-i18n.intlify.dev/ts-support-2.png) + +The following gif image is the API completion working: + +![completion](https://vue-i18n.intlify.dev/ts-support-3.gif) + +For more information on how to setup the system, please read [the docs](https://vue-i18n.intlify.dev/guide/advanced/typescript.html) + +### Web Components + +WebComponents has been supported since Vue 3.2. You can support your Vue Component with Vue I18n as well. + +About details, See more [the docs](https://vue-i18n.intlify.dev/guide/advanced/wc.html) + +### Small size subset of Vue I18n + +We have released `petite-vue-i18n`, a small size subset version of Vue I18n, as an experimental feature. + +Only minimal functionality is provided in this module. you can reduce your Vue application bundle size with using this module. If you do not need to use all the features of Vue I18n, this module would be a good option. + +About details, See more [README](https://github.com/intlify/vue-i18n-next/tree/master/packages/petite-vue-i18n#petite-vue-i18n) + +### Bridging to Vue 3 + +We have released a module called `vue-i18n-bridge` to support Vue 2 applications with Vue I18n v8.x migrate to Vue 3. + +`vue-i18n-bridge` is a module that is mostly compatible with the Vue I18n v9 API. It's an add-on to existing Vue I18n v8.26.1 or later + Vue 2 applications to take advantage of the Composition API provided in Vue I18n v9. This module would be able to support the progressive migration to Vue 3. + +About details, See more [the docs](https://vue-i18n.intlify.dev/guide/migration/vue2.html#what-is-vue-i18n-bridge) + +### `globalInjection` option **As default** + +Starting with Vue I18n v9.2, the `globalInjection` option defaults to `true`. If you localize by global scope using `$t` in your template, you no longer need to set this option. + +### `useI18n` in Legacy API mode + +We have supported for `useI18n` in Legacy API mode. This feature would be useful if you want to migrate from the options API style to the Composition API style in your Vue 3 application. + +About details, See more [the docs](https://vue-i18n.intlify.dev/guide/migration/vue3.html#migration-to-composition-api-from-legacy-api) + +### Vue 2.7 + +`vue-i18n-bridge` module for migration to Vue 3 of course supports Vue 2.7. + +Instead of going from Vue 2.6 to Vue 3 directly, you can migrate your Vue applications using Vue I18n with a strategy of Vue 2.6, Vue 2.7, and then Vue 3 progressively. + +### SSR for `v-t` + +We have supported SSR for `v-t`. If your Vue application uses `v-t`, you can support SSR without having to be aware in your Vue application. #### :star: Features (15) From ed55f869958f6337a908852414fac9efa62ece77 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Mon, 1 Aug 2022 12:25:19 +0900 Subject: [PATCH 4/4] tweak --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3cd15d67..960404627 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ In the following, we introduce some of the new features: ### More TypeScript supporting -Starting with Vue I18n v9.2, we have improved TypeScript support. This allows type checking of resources specified in the `messages` option of `createI18n` and complementing with APIs such as `t`. +From Vue I18n v9.2, we have improved TypeScript support. This allows type checking of resources specified in the `messages` option of `createI18n` and complementing with APIs such as `t`. The following images is the resoureces type-checked: @@ -45,7 +45,7 @@ About details, See more [the docs](https://vue-i18n.intlify.dev/guide/migration/ ### `globalInjection` option **As default** -Starting with Vue I18n v9.2, the `globalInjection` option defaults to `true`. If you localize by global scope using `$t` in your template, you no longer need to set this option. +From Vue I18n v9.2, the `globalInjection` option defaults to `true`. If you localize by global scope using `$t` in your template, you no longer need to set this option. ### `useI18n` in Legacy API mode