[Snyk] Upgrade vue-i18n from 9.10.2 to 10.0.3 #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade vue-i18n from 9.10.2 to 10.0.3.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 24 versions ahead of your current version.
The recommended version was released on a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-ROLLUP-8073097
Release notes
Package name: vue-i18n
-
10.0.3 - 2024-09-22
- fix(petite-vue-i18n): cannot register correctly message resolver and locale fallbacker by @ kazupon in #1967
- docs: add unplugin-vue-i18n setting for petite-vue-i18n by @ kazupon in #1968
-
10.0.2 - 2024-09-21
- fix: revert #1379 by @ BobbieGoede in #1953
- fix: messages
- docs: add team members by @ kazupon in #1951
- docs: add how to use shared locale messages on composition api by @ kazupon in #1964
-
10.0.1 - 2024-09-12
- fix: petite-vue-i18n type errors by @ TPORL in #1945
- @ TPORL made their first contribution in #1945
-
10.0.0 - 2024-09-10
- CSP restrictions: Difficult to work with service/web workers, edge-side runtimes of CDNs, etc.
- Backend integration: Hard to fetch messages from a backend (e.g., a database via API) and localize them dynamically.
- feat: move to GA from experimental for petite-vue-i18n by @ kazupon in #1862
- feat!: default enable for JIT compilation by @ kazupon in #1852
- feat: support generated locale type by @ BobbieGoede in #1890
- feat!: change
- breaking: drop translation component
- breaking: drop
- feat!: deprecate
- breaking: drop fully
- breaking: drop fully
- breaking: drop fully
- breaking: drop fully
- breaking: drop vue-i18n-bridge by @ kazupon in #1816
- breaking: drop
- breaking: drop modulo syntax by @ kazupon in #1814
- perf: more bundle size optimization by @ kazupon in #1851
- fix: type errors by @ kazupon in #1935
- fix(devtools): change vue-devtools label by @ kazupon in #1885
- fix: vue-i18n type definition for vue package by @ kazupon in #1888
- fix: translation interface typing by @ kazupon in #1837
- fix: reduce devtools pkgs and size by @ kazupon in #1823
- Improved the global and local Scope descriptions by @ pankajrlal in #1925
- Update ja-JP.json by @ awsssrD in #1914
- Update en-US.json by @ awsssrD in #1913
- chore: fix module augmentation example comment by @ BobbieGoede in #1898
- Added a comment about pluralRules to the code in pluralization docs by @ M1h4n1k in #1873
- docs: fix typos by @ SimonVadier in #1863
- docs: add scoping for custom directive by @ kazupon in #1867
- Update tools.md by @ felixhaeberle in #1866
- Fix typos, syntax by @ TheoKondak in #1881
- fix: typo in migration breaking changes v10 by @ khylias in #1854
- docs: fix typo on vue i18n name by @ r-moret in #1848
- docs: add favicon by @ BobbieGoede in #1824
- docs: fix typos by @ BobbieGoede in #1825
- Update started.md to fix typo by @ steveclarke in #1822
- fix: fallback linked message params by @ kazupon in #1926
- fix(types):
- fix: cannot reduce message-compiler bundle size for runtime by @ kazupon in #1860
- fix: allow empty default message by @ kazupon in #1849
- fix: remove unnecessary types from petite-vue-i18n by @ kazupon in #1833
- fix: Not load devtools on Node.js by @ kazupon in #1843
- fix(types): allow spyOn of "useI18n()" by @ pinguet62 in #1815
- @ pinguet62 made their first contribution in #1815
- @ steveclarke made their first contribution in #1822
- @ r-moret made their first contribution in #1848
- @ khylias made their first contribution in #1854
- @ SimonVadier made their first contribution in #1863
- @ felixhaeberle made their first contribution in #1866
- @ mitjans made their first contribution in #1883
- @ TheoKondak made their first contribution in #1881
- @ M1h4n1k made their first contribution in #1873
- @ awsssrD made their first contribution in #1914
- @ pankajrlal made their first contribution in #1925
-
10.0.0-rc.1 - 2024-09-05
- fix: type errors by @ kazupon in #1935
-
10.0.0-beta.6 - 2024-08-29
- fix: fallback linked message params by @ kazupon in #1926
- Improved the global and local Scope descriptions by @ pankajrlal in #1925
- Update ja-JP.json by @ awsssrD in #1914
- Update en-US.json by @ awsssrD in #1913
- @ awsssrD made their first contribution in #1914
- @ pankajrlal made their first contribution in #1925
-
10.0.0-beta.5 - 2024-07-19
- chore: fix module augmentation example comment by @ BobbieGoede in #1898
-
10.0.0-beta.4 - 2024-07-16
- feat: support generated locale type by @ BobbieGoede in #1890
- Added a comment about pluralRules to the code in pluralization docs by @ M1h4n1k in #1873
- @ M1h4n1k made their first contribution in #1873
-
10.0.0-beta.3 - 2024-07-14
- fix(devtools): change vue-devtools label by @ kazupon in #1885
- fix: vue-i18n type definition for vue package by @ kazupon in #1888
-
10.0.0-beta.2 - 2024-07-05
-
10.0.0-beta.1 - 2024-05-23
-
10.0.0-alpha.5 - 2024-05-15
-
10.0.0-alpha.4 - 2024-05-09
-
10.0.0-alpha.3 - 2024-04-27
-
10.0.0-alpha.2 - 2024-04-22
-
10.0.0-alpha.1 - 2024-04-21
-
9.14.1 - 2024-09-26
-
9.14.0 - 2024-08-16
- fix: vue-i18n type definition for vue package by @ BobbieGoede in #1919
-
9.13.1 - 2024-04-20
-
9.13.0 - 2024-04-17
-
9.12.1 - 2024-04-14
-
9.12.0 - 2024-04-12
-
9.11.1 - 2024-04-10
-
9.11.0 - 2024-04-04
-
9.10.2 - 2024-03-15
from vue-i18n GitHub release notesWhat's Changed
🐛 Bug Fixes
📝️ Documentations
Full Changelog: v10.0.2...v10.0.3
What's Changed
⚡ Improvement Features
deepCopymutatessrcarguments by @ BobbieGoede in #1947📝️ Documentations
Full Changelog: v10.0.1...v10.0.2
What's Changed
🐛 Bug Fixes
New Contributors
Full Changelog: v10.0.0...v10.0.1
We are excited to announce the release of Vue I18n v10.
We had many contributors.
Thanks for your contributing ❤️
Summary
petite-vue-i18nGeneral Availabilitypetite-vue-i18nis an alternative distribution of Vue I18n, providing only minimal features.If you don't need the full functionality of vue-i18n and are just looking for basic translation features with a smaller footprint, this will suit your use case.
For more details, please see the docs.
JIT Compilation Enabled by Default
JIT compilation was introduced in v9.3, but it was not enabled by default.
However, it had the following issues:
Starting from v10, JIT compilation is enabled by default.
Support for Generated Locale Types
We provide an interface to extend the Locale type in TypeScript, similar to
ComponentCustomPropertiesin Vue.This feature is useful when using vue-i18n as part of a framework.
For more details, see the PR for the Nuxt I18n use case.
Changes to
$tandtOverload Signatures for Legacy API ModeIn Vue I18n v9,
$tandthad different overload signatures in Composition API mode compared to Legacy API mode.When migrating from Legacy API mode to Composition API mode, these differences sometimes caused confusion.
Starting from v10, Legacy API mode will use the same
$tandtoverload signatures as Composition API mode.For details on the signature pattern, see the migration guide.
Deprecation of
tcand$tcfor Legacy API ModeThe
tand$tfunctions already support pluralization, sotcand$tccan be replaced.In v10,
tcand$tcstill exist to aid in migration, but they will be fully removed in v11.If you use them, Vue I18n will display a console warning in your application.
For migration instructions, see the docs.
Dropping Deprecated Features from v9
Some features were marked as deprecated in v9 with warnings.
These deprecated features will be completely removed in v10.
For more details on the deprecated features, see the docs.
🌟 Features
$toverloaded signature for Legacy API mode by @ kazupon in #1832❗ Braeking Changes
<i18n>v8.x compatibility by @ kazupon in #1844tebehavior v8.x compatibility on v9 by @ kazupon in #1845tcand$tcfor Legacy API mode by @ kazupon in #1839formatteroption codes on Legacy API by @ kazupon in #1826preserveDirectiveContentoption codes on Legacy API by @ kazupon in #1827preservemodifier codes onv-tdirective by @ kazupon in #1828getChoiceIndexon Legacy API by @ kazupon in #1829allowCompositionoption by @ kazupon in #1817⚡ Improvement Features
✏️ Documentation & Sample Updates
🐛 Bug Fixes
$ttypes by @ mitjans in #1883New Contributors
Full Changelog: v9.13.1...v10.0.0
What's Changed
⚡ Improvement Features
Full Changelog: v10.0.0-beta.6...v10.0.0-rc.1
What's Changed
🐛 Bug Fixes
📝️ Documentations
🍭 Examples
New Contributors
Full Changelog: v10.0.0-beta.5...v10.0.0-beta.6
What's Changed
📝️ Documentations
Full Changelog: v10.0.0-beta.4...v10.0.0-beta.5
What's Changed
🌟 Features
📝️ Documentations
New Contributors
Full Changelog: v10.0.0-beta.3...v10.0.0-beta.4
What's Changed
⚡ Improvement Features
Full Changelog: v10.0.0-beta.2...v10.0.0-beta.3
What's Changed
⚡ Improvement Features
Full Changelog: v9.13.1...v9.14.0
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: