Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency vue-i18n to v9 - autoclosed #522

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 5, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vue-i18n (source) 8.28.2 -> 9.14.0 age adoption passing confidence

Release Notes

intlify/vue-i18n-next (vue-i18n)

v9.14.0

Compare Source

What's Changed

⚡ Improvement Features

Full Changelog: intlify/vue-i18n@v9.13.1...v9.14.0

v9.13.1

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🐛 Bug Fixes

Full Changelog: intlify/vue-i18n@v9.13.0...v9.13.1

v9.13.0

Compare Source

This changelog is generated by GitHub Releases

What's Changed

⚠️ Deprecated Features
⚡ Improvement Features
📝️ Documentations

New Contributors

Full Changelog: intlify/vue-i18n@v9.12.1...v9.13.0

v9.12.1

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🐛 Bug Fixes
👕 Refactoring

Full Changelog: intlify/vue-i18n@v9.12.0...v9.12.1

v9.12.0

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🌟 Features

Full Changelog: intlify/vue-i18n@v9.11.1...v9.12.0

v9.11.1

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🐛 Bug Fixes

Full Changelog: intlify/vue-i18n@v9.11.0...v9.11.1

v9.11.0

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🌟 Features

New Contributors

Full Changelog: intlify/vue-i18n@v9.10.2...v9.11.0

v9.10.2

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🐛 Bug Fixes

New Contributors

Full Changelog: intlify/vue-i18n@v9.10.1...v9.10.2

v9.10.1

Compare Source

This changelog is generated by GitHub Releases

What's Changed

⚡ Improvement Features
📝️ Documentations

New Contributors

Full Changelog: intlify/vue-i18n@v9.10.0...v9.10.1

v9.10.0

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🌟 Features
📝️ Documentations

New Contributors

Full Changelog: intlify/vue-i18n@v9.9.1...v9.10.0

v9.9.1

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🐛 Bug Fixes
📝️ Documentations

New Contributors

Full Changelog: intlify/vue-i18n@v9.9.0...v9.9.1

v9.9.0

Compare Source

This changelog is generated by GitHub Releases

What's Changed

⚡ Improvement Features
📈 Performance Fixes
📝️ Documentations

New Contributors

Full Changelog: intlify/vue-i18n@v9.8.0...v9.9.0

v9.8.0

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🌟 Features

Full Changelog: intlify/vue-i18n@v9.7.1...v9.8.0

v9.7.1

Compare Source

This changelog is generated by GitHub Releases

What's Changed

⚡ Improvement Features

Full Changelog: intlify/vue-i18n@v9.7.0...v9.7.1

v9.7.0

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🌟 Features

Full Changelog: intlify/vue-i18n@v9.6.5...v9.7.0

v9.6.5

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🐛 Bug Fixes

New Contributors

Full Changelog: intlify/vue-i18n@v9.6.4...v9.6.5

v9.6.4

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🐛 Bug Fixes

Full Changelog: intlify/vue-i18n@v9.6.3...v9.6.4

v9.6.3

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🐛 Bug Fixes

New Contributors

Full Changelog: intlify/vue-i18n@v9.6.2...v9.6.3

v9.6.2

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🐛 Bug Fixes

Full Changelog: intlify/vue-i18n@v9.6.1...v9.6.2

v9.6.1

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🐛 Bug Fixes

Full Changelog: intlify/vue-i18n@v9.6.0...v9.6.1

v9.6.0

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🌟 Features
🐛 Bug Fixes
⚡ Improvement Features
📝️ Documentations

Full Changelog: intlify/vue-i18n@v9.5.0...v9.6.0

v9.5.0

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🌟 Features
🐛 Bug Fixes
📝️ Documentations
🍭 Examples

New Contributors

Full Changelog: intlify/vue-i18n@v9.4.1...v9.5.0

v9.4.1

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🐛 Bug Fixes
📝️ Documentations

Full Changelog: intlify/vue-i18n@v9.4.0...v9.4.1

v9.4.0

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🌟 Features
🐛 Bug Fixes
⚡ Improvement Features

New Contributors

Full Changelog: intlify/vue-i18n@v9.3.0...v9.4.0

v9.3.0

Compare Source

We are excited to announce the release of Vue I18n v9.3, finally !! This release includes some new features, bug fixes, improvements, and document fixes.

We had commited with 37 contributors. Thanks for your contributing ❤️

In the following, we introduce some of the new features:

🌟 Features

Node.js Dual packages (cjs / mjs)

We provide CommonJS and Native ESM dual module packages for Node.js. This supports both require and import for loading modules in Node.js.

JIT Style Compilation

Supports JIT (Just In Time) style compilation of message formats. This mean, removes the CSP limitation and allows for use in environments such as Service worker, Web worker, and Edge.

It mean also now supports the use-case where locale messages are dynamically retrieved from the backend via the API.

For more information, please see the docs

The performance of JIT-style compilation is close to that of conventional AOT (Ahead Of Time) style compilation, and you can improve the performance to nearly 3x with combination of JIT + AOT.

Below are the compile performance benchmark results for vue-i18n:

> node ./benchmark/index.mjs

compilation:

compile simple message x 396,898 ops/sec ±0.31% (98 runs sampled)
compile complex message x 60,036 ops/sec ±0.34% (99 runs sampled)

simple pattern on 1000 resources (AOT):

resolve time with core x 279,919 ops/sec ±0.19% (99 runs sampled)
resolve time on composition x 93,963 ops/sec ±0.48% (93 runs sampled)
resolve time on composition with compile cache x 230,928 ops/sec ±0.20% (100 runs sampled)

simple pattern on 1000 resources (JIT):

resolve time with core x 277,813 ops/sec ±0.18% (99 runs sampled)
resolve time on composition x 91,959 ops/sec ±0.43% (97 runs sampled)
resolve time on composition with compile cache x 227,117 ops/sec ±0.15% (99 runs sampled)

simple pattern on 1000 resources (JIT + AOT):

resolve time with core x 319,061 ops/sec ±0.18% (100 runs sampled)
resolve time on composition x 204,529 ops/sec ±0.22% (95 runs sampled)
resolve time on composition with compile cache x 204,652 ops/sec ±0.30% (100 runs sampled)

complex pattern on 1000 resources (AOT):

resolve time with core x 240,427 ops/sec ±0.37% (100 runs sampled)
resolve time on composition x 33,959 ops/sec ±0.45% (94 runs sampled)
resolve time on composition with compile cache x 200,980 ops/sec ±0.15% (99 runs sampled)

complex pattern on 1000 resources (JIT):

resolve time with core x 225,739 ops/sec ±0.25% (99 runs sampled)
resolve time on composition x 36,379 ops/sec ±0.49% (97 runs sampled)
resolve time on composition with compile cache x 191,653 ops/sec ±0.24% (100 runs sampled)

complex pattern on 1000 resources (JIT + AOT):

resolve time with core x 278,542 ops/sec ±0.20% (98 runs sampled)
resolve time on composition x 92,781 ops/sec ±0.31% (98 runs sampled)
resolve time on composition with compile cache x 92,865 ops/sec ±0.33% (98 runs sampled)

You can clone Vue I18n and run the benchmark with pnpm build:type && pnpm benchmark to check.

Custome message format

Starting with v9.3, Vue I18n will give message format customization as an experimental feature. This will allow for extending to the message format:

import { createI18n } from 'vue-i18n'
import { messageCompiler } from './compilation'

const i18n = createI18n({
  legacy: false,
  locale: 'en',
  messageCompiler,
  messages: {
    en: {
      hello: 'hello world!',
      greeting: 'hi, {name}!',
      photo: `You have {numPhotos, plural,
        =0 {no photos.}
        =1 {one photo.}
        other {# photos.}
      }`
    }
  }
})

About details, please see the docs

Exports type definition and API

Export v-t type definitions and API $te to support Vue I18n extending for third vendors and your Vue applications.

❗ Important Changes: 1

allowComposition option

The allowComposition option will be removed in Vue I18n v10. We have accordingly output a warning if you are using it.

If you are using Vue I18n Legacy API to migrate to the Composition API, please make sure you have done so with the Vue I18n v9 version.

Deprecate vue-i18n official bundle plugins

The following plugin or loader for bundler is deprecated because it can be replaced by the unplugin-vue-i18n.

These will only be taken as hot fixes in the future, and no additional functionality will be added.

⚡ Improvement Features: 15

🐛 Bug Fixes: 17

📝️ Documentations: 28

🧑‍🤝‍🧑 Contributers: 37

Full Changelog: intlify/vue-i18n@v9.2.2...v9.3.0

v9.2.2

Compare Source

🐛 Bug Fixes
  • vue-i18n-core
Committers: 1

v9.2.1

Compare Source

🐛 Bug Fixes
📝 Documentation
Committers: 6

v9.2.0

Compare Source

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 ❤️

In the following, we introduce some of the new features:

More TypeScript supporting

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:

type check1
type check2

The following gif image is the API completion working:

completion

For more information on how to setup the system, please read the docs

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

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

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

globalInjection option As default

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

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

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.

⭐ Features (15)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the 🤖 Automatic Issues/pull requests marked with this label were generated automatically by our helper bots. label Apr 5, 2022
@renovate
Copy link
Contributor Author

renovate bot commented Apr 5, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/vue
npm ERR!   vue@"2.7.16" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^3.0.0" from [email protected]
npm ERR! node_modules/vue-i18n
npm ERR!   vue-i18n@"9.13.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2024-04-20T18_43_51_445Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-04-20T18_43_51_445Z-debug-0.log

@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch from 395f641 to ae4e4fe Compare May 1, 2022 16:58
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch from ae4e4fe to 12510ea Compare May 16, 2022 19:21
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch from 12510ea to d55b834 Compare June 20, 2022 17:00
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch 5 times, most recently from 1e75c8f to 2653221 Compare July 8, 2022 15:20
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch 3 times, most recently from 789d811 to b371f5c Compare July 16, 2022 17:56
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch from b371f5c to 7cd824d Compare July 22, 2022 06:12
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch 2 times, most recently from 44aff1c to 13b726d Compare August 5, 2022 18:38
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch 5 times, most recently from 784fde4 to 230d9b0 Compare August 25, 2022 13:12
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch 2 times, most recently from a7c2299 to 732907c Compare September 8, 2022 04:17
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch 4 times, most recently from 3401159 to 97de2cd Compare October 14, 2022 11:56
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch 2 times, most recently from 078b10e to 4b88b99 Compare October 31, 2022 08:35
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch from 9fdf559 to 502ac15 Compare September 14, 2023 15:03
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch from 502ac15 to 317b0f3 Compare September 29, 2023 04:22
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch 4 times, most recently from b7ed399 to 1589955 Compare October 30, 2023 03:36
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch 3 times, most recently from 32e6eff to f261ace Compare November 4, 2023 04:52
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch 2 times, most recently from 9dd6ea4 to af309da Compare November 22, 2023 15:57
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch from af309da to 02a9057 Compare November 28, 2023 02:05
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch from 02a9057 to b7cc108 Compare December 24, 2023 18:57
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch from b7cc108 to 80307a9 Compare January 6, 2024 10:38
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch from 80307a9 to 2a8dd66 Compare January 31, 2024 03:36
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch from 2a8dd66 to 91c9bb8 Compare March 1, 2024 03:32
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch from 91c9bb8 to ae52729 Compare March 15, 2024 14:31
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch 2 times, most recently from 5bbe7aa to 4ccefd4 Compare April 10, 2024 07:27
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch 3 times, most recently from ea93ccd to 234264c Compare April 17, 2024 16:26
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch from 234264c to 56402f7 Compare April 20, 2024 18:43
@renovate renovate bot force-pushed the renovate/vue-i18n-9.x branch from 56402f7 to ee66e77 Compare August 16, 2024 20:17
Copy link
Contributor Author

renovate bot commented Aug 16, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/vue
npm error   vue@"2.7.16" from the root project
npm error
npm error Could not resolve dependency:
npm error peer vue@"^3.0.0" from [email protected]
npm error node_modules/vue-i18n
npm error   vue-i18n@"9.14.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2024-08-16T20_17_10_443Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-08-16T20_17_10_443Z-debug-0.log

@renovate renovate bot changed the title Update dependency vue-i18n to v9 Update dependency vue-i18n to v9 - autoclosed Sep 10, 2024
@renovate renovate bot closed this Sep 10, 2024
@renovate renovate bot deleted the renovate/vue-i18n-9.x branch September 10, 2024 06:46
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🤖 Automatic Issues/pull requests marked with this label were generated automatically by our helper bots.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant