[Snyk] Upgrade vue-i18n from 10.0.0 to 10.0.1 #852
Closed
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 10.0.0 to 10.0.1.
ℹ️ 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 1 version ahead of your current version.
The recommended version was released on 22 days ago.
Release notes
Package name: vue-i18n
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-i18n
General Availabilitypetite-vue-i18n
is 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
ComponentCustomProperties
in 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
$t
andt
Overload Signatures for Legacy API ModeIn Vue I18n v9,
$t
andt
had 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
$t
andt
overload signatures as Composition API mode.For details on the signature pattern, see the migration guide.
Deprecation of
tc
and$tc
for Legacy API ModeThe
t
and$t
functions already support pluralization, sotc
and$tc
can be replaced.In v10,
tc
and$tc
still 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
$t
overloaded signature for Legacy API mode by @ kazupon in #1832❗ Braeking Changes
<i18n>
v8.x compatibility by @ kazupon in #1844te
behavior v8.x compatibility on v9 by @ kazupon in #1845tc
and$tc
for Legacy API mode by @ kazupon in #1839formatter
option codes on Legacy API by @ kazupon in #1826preserveDirectiveContent
option codes on Legacy API by @ kazupon in #1827preserve
modifier codes onv-t
directive by @ kazupon in #1828getChoiceIndex
on Legacy API by @ kazupon in #1829allowComposition
option by @ kazupon in #1817⚡ Improvement Features
✏️ Documentation & Sample Updates
🐛 Bug Fixes
$t
types by @ mitjans in #1883New Contributors
Full Changelog: v9.13.1...v10.0.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: