What's Changed
🐛 Bug Fixes
- fix: read only own properties in locale, key and plural rule lookups by @kazupon in #2687
- fix: return a message that cannot be compiled as is, in development and production by @kazupon in #2698
- fix: copy the i18n option of components instead of writing internal values into it by @kazupon in #2700
- fix: name datetime and number formats in the warning when a format is not found by @kazupon in #2703
- fix: make te() and tm() look up messages in the same way as t() by @kazupon in #2705
- fix: read only own properties in the key-value message resolver by @kazupon in #2707
- fix: do not read Object.prototype properties as named values, and ignore unknown linked modifiers by @kazupon in #2711
- fix: do not write count and n into the named values of a plural call by @kazupon in #2713
- fix: do not drop a flat key under a message AST with flatJson by @kazupon in #2719
- fix: keep a flat key that ends with cacheKey under a message AST by @kazupon in #2721
- fix: let Node.js ESM load the Node.js builds, so that SSR works in production by @kazupon in #2729
- fix: keep a flat key that goes through a prop key or cacheKey of a message AST by @kazupon in #2731
📝️ Documentations
- docs: explain that locales should be BCP 47 language tags by @kazupon in #2696
- docs: describe the fallback of te(), and list te and $te as not included in petite-vue-i18n by @kazupon in #2709
Full Changelog: v11.4.14...v11.4.15