Releases: ticky/ruby-emoji-regex
🪻 Ruby Emoji Regex v15.0.0
Emoji 15.0 is here, and now Emoji Regex is ready!
Note that this release has breaking changes when compared to v3.2.3; you can read more about those in v3.2.3's release notes.
What's Changed
Behind the Scenes
- Updated tested Ruby versions in CI to match current Ruby support statuses
Full Changelog: v14.0.0...v15.0.0
🪺 Ruby Emoji Regex v14.0.0
It's (finally) here (for real)! Ruby Emoji Regex has a Unicode 14 update.
This version includes breaking changes which were announced in v3.2.3; the changes were made in #33.
EmojiRegex::Regex
has been updated to use the data fromemoji-test-regex-pattern
, and is no longer marked as deprecated. It matches Emoji recommended for general interchange, as well as some 'colloquial' emoji sequences as produced by emoji keyboards in the real world.EmojiRegex::RGIEmoji
has been removed entirely.EmojiRegex::Text
has been removed entirely.
My recommendation is that if you require compatibility across multiple major versions of this gem, use something like the feature detection code used by Fastlane; use RGIEmoji
if it exists, and if not, use Regex
.
It also includes these behind-the-scenes changes:
🪺 Ruby Emoji Regex v14.0.0.pre.1
It's here! Ruby Emoji Regex has a Unicode 14 update available for testing and feedback.
This version includes breaking changes which were announced in v3.2.3; the changes were made in #33.
EmojiRegex::Regex
has been updated to use the data fromemoji-test-regex-pattern
, and is no longer marked as deprecated. It matches Emoji recommended for general interchange, as well as some 'colloquial' emoji sequences as produced by emoji keyboards in the real world.EmojiRegex::RGIEmoji
has been removed entirely.EmojiRegex::Text
has been removed entirely.
My recommendation is that if you require compatibility across multiple major versions of this gem, use something like the feature detection code used by Fastlane; use RGIEmoji
if it exists, and if not, use Regex
.
It also includes these behind-the-scenes changes:
🔔 Ruby Emoji Regex v3.2.3
This is a very minor patch release with some important news: Unicode 14.0 is here and Ruby Emoji Regex is about to get updated for it.
The deprecations added in v3.2.0 in response to changes in the upstream data provider are about to come into play, and there's more clarity about what exactly that means:
emoji-regex@9.2.2
no longer provides a suitable regex to baseruby-emoji-regex
on, therefore we need to move to the data upstream of it,emoji-test-regex-pattern
emoji-test-regex-pattern
only provides data for a single regular expression; similar to the existingRGIEmoji
regex, but with hand-added patterns for "overqualified" emoji like those input by the iOS Emoji keyboard
What this means is that this will be the final version of Ruby Emoji Regex which contains three regular expressions; in the next version, which will include Unicode 14 compatibility, the following breaking changes will occur:
EmojiRegex::Regex
will be updated to use the data fromemoji-test-regex-pattern
, and no longer marked as deprecated. It will match Emoji recommended for general interchange, as well as some 'colloquial' emoji sequences as produced by emoji keyboards in the real world.EmojiRegex::RGIEmoji
will be removed entirely.EmojiRegex::Text
will be removed entirely.
My recommendation is that if you require compatibility with multiple versions of this gem, use something like the feature detection code used by Fastlane; use RGIEmoji
if it exists, and if not, use Regex
.
In preparation for the next release, the EmojiRegex::Text
emoji has been marked as deprecated in this release. This is the only change of any note in this release.
Finally, some behind-the-scenes updates to dependencies have taken place:
❤️🩹 Ruby Emoji Regex v3.2.2
Version 3.2.2 is a minor update which includes the following data updates:
emoji-regex
@v9.2.1, bringing with it Unicode 13.1 compatibility (#26)
Additionally, the library is now tested across more Ruby versions, as well as on macOS and Windows, and a Ruby compatibility policy has been enacted. (#23)
Finally, some behind-the-scenes updates to dependencies have taken place:
🐈⬛ Ruby Emoji Regex v3.2.1
🪅 Ruby Emoji Regex v3.2.0
Version 3.2.0 has landed! 🪶 It contains:
emoji-regex
@v9.2.0 (#19)- Added the
EmojiRegex::RGIEmoji
regex, mirroring that added inemoji-regex
9.2, which more closely follows Unicode recommendations.- I recommend users of the
EmojiRegex::Regex
expression switch to usingEmojiRegex:: RGIEmoji
at this time, as it is more representative of things truly used as emoji in the wild. - In a future major version,
EmojiRegex::Regex
will be replaced withEmojiRegex:: RGIEmoji
. EmojiRegex::Regex
is thus now deprecated.
- I recommend users of the
- Corrected some issues with the spec suite, and added specs to cover the differences between the now-three Regexes.
- Implemented a spec which runs the example code in the README, to ensure it's functioning as expected.
🧋 Ruby Emoji Regex v3.0.0
Version 3.0.0 is here! 🪄 It contains;
emoji-regex
@9.0.0, with support for Unicode 13.0 and all 117 new emoji.
🧃 Ruby Emoji Regex v2.0.0
Version 2.0.0 is here! 🦩 It includes;
emoji-regex
@8.0.0, bringing support for the recently released Unicode 12.0 and its 230 new emoji.
🔮 Ruby Emoji Regex v1.0.1
Version 1.0.1 is here! 🎊 It includes;
emoji-regex
@7.0.1, featuring fixes for how emoji with variation selectors are matched