- e72dd92: Fixed missing global mixin properties when using Volar
-
985b5a0: Added Vue types augmentation to type the global mixin properties
Mixin-provided global properties like
$t
,$fmt
and$i18n
should be properly typed now.If you don't use the global mixin, the below augmentation will remove these unusable properties.
declare global { namespace VueIntlController { interface Options { globalMixin: false } } }
-
a1e63be: Added defineMessage(s) utility functions
Similar to
@formatjs/intl
, they allow you to define messages with correct types. They don't really do anything else besides returning what you passed into them.
-
4310818: Unpin FormatJS dependencies
Previously FormatJS dependencies were pinned due to an unexpected breaking changed, this has been resolved since.
-
abb0805: Unpin FormatJS dependencies
Previously FormatJS dependencies were pinned because of the unexpected breaking change, but this has since been resolved.
-
1a085f1: Downgrade and pin specific FormatJS packages versions
Unfortunately, newer version shipped with export conditions that result in ESM files being imported as CJS ones. We're temporarily downgrading the versions and pin their versions instead of using a range to mitigate the issue.
For more details check out the issue at formatjs/formatjs#4126.