mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-11-16 18:10:43 +01:00
3.1 KiB
3.1 KiB
2.1.1 (2019-12-02)
Bug Fixes
- 🐛 fix conflict artifacts (feb7ab9)
2.1.0 (2019-11-30)
Bug Fixes
- 🐛 allow to wait for initial locale load (0b7f61c)
- 🐛 fallback behaviour and simplify API contact points (64e69eb)
- 🐛 consider generic locales when registering loaders (1b0138c)
- 🐛 flush use the same promise if it wasn't resolved yet (66972d4)
- client locale parameters typo (#11) (d1adf4c)
Features
-
🎸 add warnOnMissingMessages (efbe793)
-
🐛 fallback behaviour and simplify API contact points (6e0df2f
-
🎸
addMessagesTo
method (d6b8664) -
🎸 add $loading indicator store (bd2b350)
-
🎸 add custom formats support (d483244)
-
🎸 add pathname and hostname pattern matching (b19b690)
-
🎸 add preloadLocale method (0a0e4b3)
-
🎸 add waitInitialLocale helper (6ee28e7)
-
🎸 also look for message in generic locale (e5d7b84), closes #19
-
🎸 export a store listing all locales available (f58a20b)
-
🎸 locale change automatically updates the document lang (64c8e55)
Performance Improvements
- ⚡️ delay the $loading state change for quick loadings (6573f51)
BREAKING CHANGES
- This PR modifies the formatter method arguments.