What's Changed
π Bug Fixes
- fix: isolate fallback context per i18n instance by @kazupon in #2542
- fix(core-base): invalidate locale chain cache when fallback changes by @haoku123 in #2564
- fix(core-base): fallbackWithSimple uses map keys and skips default by @haoku123 in #2565
- fix(core-base): avoid throwing on AST keys in devtools groupId by @kazupon in #2605
- fix(core-base): cache locale chains by fallback identity by @kazupon in #2633
- fix(vue-i18n-core): sync the core context when inheritLocale is enabled by @kazupon in #2634
β‘ Improvement Features
- fix(core-base): respect
partoption when format key is omitted innumber/datetimeby @babu-ch in #2520 - Mark Composer te as context-independent by @NVolcz in #2531
- fix(core-base): keep updateFallbackLocale out of the public types by @kazupon in #2637
- fix(core-base): map locale unions without the UnionToTuple round-trip by @lazerg in #2641
π Performance Fixes
- fix(shared): clear performance measures to prevent User Timing API me⦠by @valeriipcorefy in #2515
ποΈ Documentations
- docs: clarify v12 Options API migration by @kazupon in #2523
- docs: add Deno to install instructions by @bartlomieju in #2526
- docs: fix duplicated "the" in v11 pluralization guide by @haoku123 in #2588
- chore(docs): replace TypeDoc with vitepress-api-references by @kazupon in #2599
- fix(docs): point nav API at v12 and keep v11 under Version by @kazupon in #2601
- docs: improve clarity in optimization guide for bundler configuration by @ImadSaddik in #2630
- docs: improve clarity in v11 optimization guide by @kazupon in #2631
- docs: replace "see the [here]" links with links that name their target by @kazupon in #2632
π Refactoring
- refactor: remove dead v12 internals by @kazupon in #2544
- refactor: centralize Vue injection types by @kazupon in #2545
- refactor: type internal symbol protocol by @kazupon in #2546
- refactor: unify scoped Composer lifecycle by @kazupon in #2547
- refactor: extract security sanitizer module by @kazupon in #2548
- refactor: unify intl formatting pipeline by @kazupon in #2549
- fix(ci): replace blocked actions-cool/maintain-one-comment in size report by @haoku123 in #2566
- chore(release): generate changelog in the tagged commit by @kazupon in #2591
- refactor(vue-i18n-core): share the fallbackContext handling in the composer by @lazerg in #2669
- refactor(core-base): give the compile cache a proper type by @lazerg in #2670
- refactor(vue-i18n-core): remove dead branches in getCoreContext() by @lazerg in #2671
- refactor(vue-i18n-core): simplify flat JSON handling in setLocaleMessage / mergeLocaleMessage by @lazerg in #2667
- refactor(core-base): extract the resolved message format check by @kazupon in #2672
- refactor!: remove unused error codes and stale comments by @kazupon in #2673
New Contributors
- @valeriipcorefy made their first contribution in #2515
- @bartlomieju made their first contribution in #2526
- @NVolcz made their first contribution in #2531
- @haoku123 made their first contribution in #2564
- @amannn made their first contribution in #2575
- @ImadSaddik made their first contribution in #2630
- @lazerg made their first contribution in #2641
Full Changelog: v12.0.0-alpha.4...v12.0.0-alpha.5