Skip to content

Releases: vintl-dev/vintl

v4.4.1

30 Oct 05:40
Compare
Choose a tag to compare

Patch Changes

  • e72dd92: Fixed missing global mixin properties when using Volar

v4.4.0

30 Oct 03:33
Compare
Choose a tag to compare

Minor Changes

  • 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
        }
      }
    }

v4.3.0

20 Oct 21:44
Compare
Choose a tag to compare

Minor Changes

  • 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.

v4.2.3

22 Sep 22:14
Compare
Choose a tag to compare

Patch Changes

  • 4310818: Unpin FormatJS dependencies

    Previously FormatJS dependencies were pinned due to an unexpected breaking changed, this has been resolved since.

v4.2.2

22 Sep 21:29
Compare
Choose a tag to compare

Patch Changes

  • abb0805: Unpin FormatJS dependencies

    Previously FormatJS dependencies were pinned because of the unexpected breaking change, but this has since been resolved.

v4.2.1

09 Jun 22:26
Compare
Choose a tag to compare

Patch Changes

  • 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.

v4.2.0

22 May 15:18
Compare
Choose a tag to compare

4.2.0 (2023-05-22)

Features

  • pkg: move vue to peerDependencies (a42fa86)

v4.1.2

19 Apr 19:13
Compare
Choose a tag to compare

4.1.2 (2023-04-19)

Bug Fixes

  • compatible reportError on errors in event listeners (c3b9e5b)

v4.1.1

29 Mar 14:34
Compare
Choose a tag to compare

4.1.1 (2023-03-29)

Bug Fixes

  • composables: use string as injection key (5b43aeb)

v4.1.0

16 Mar 13:56
Compare
Choose a tag to compare

4.1.0 (2023-03-16)

Features

  • add useVIntl composable as an alternative to useI18n (5c5f65a)