Version Packages (next)#88
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 17, 2023 23:25
11b2259 to
ed55c45
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
December 11, 2023 19:44
ed55c45 to
0a18c24
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
December 13, 2023 02:57
0a18c24 to
0b8e7f0
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
December 13, 2023 03:08
0b8e7f0 to
01d676d
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
December 13, 2023 05:35
01d676d to
496b793
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
December 18, 2023 04:58
496b793 to
d16a914
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
December 25, 2023 09:23
d16a914 to
e06035a
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
January 4, 2024 14:44
e06035a to
6801736
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
January 8, 2024 08:16
6801736 to
c648f6f
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
February 16, 2024 23:55
c648f6f to
3613e5d
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
February 23, 2024 18:10
3613e5d to
1351d0c
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
May 9, 2024 09:24
1351d0c to
b04354b
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
May 17, 2024 09:17
b04354b to
180b7d6
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
May 17, 2024 09:18
180b7d6 to
b8d3028
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 12, 2024 11:00
b8d3028 to
2f9a50f
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 12, 2024 11:05
2f9a50f to
04f8765
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
@vintl/vintl@5.0.0-next.0
Major Changes
997402a: Removed deprecated composables
Composables like
useI18n,useTranslateanduseFormatterswere previously deprecated with the warning that they will be removed in the next major version. They now get removed as scheduled.Here's how you migrate:
Replace all uses of
useI18nwithuseVIntl, the former was just an alias foruseVIntlin the previous versions.To retrieve translate function previously returned by
useTranslate, destructureformatMessagefunction from the controller:It is bound to the controller and as such is safe to use on its own.
To retrieve formatters previously returned by
useFormatters, destructureformatsproperty from the controller:It is a reactively updated object and is also safe to use on its own.
c2c6cb6: Bumped Vue version to 3.3.4
We now require a newer Vue version because we are relying on functionality added in Vue 3.3, such as generic components. Since this is not compatible with the previous versions of Vue, this is marked as a breaking change.
Minor Changes
5e746fa: Add more formatting components similar to ones found in
react-intl:FormattedDate,FormattedDatePartsFormattedTime,FormattedTimePartsFormattedDateTimeRangeFormattedRelativeTime(doesn't update live likereact-intl)FormattedNumber,FormattedNumberPartsFormattedPluralFormattedList,FormattedListPartsFormattedDisplayNameFormattedMessageSlots can be used to receive the formatted values instead of being formatted as is.
FormattedMessageis very similar toIntlFormatted, but accepts descriptor properties and does not allow to format raw messages.b194662: Added
useMessagescomposableuseMessagesis the new composable that allows you to pass in an object with the extended message descriptors, and returns back a reactive object with the current messages. Extended message descriptors can contain values or formatters that will be used when interpreting the message. This allows you to create messages in a very inefferctive manner.