Skip to content

Releases: ticky/ruby-emoji-regex

🪻 Ruby Emoji Regex v15.0.0

05 Apr 04:12
Compare
Choose a tag to compare

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

  • Update dependency emoji-test-regex-pattern to v2 by @renovate in #42

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

05 Apr 04:07
Compare
Choose a tag to compare

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.


  1. EmojiRegex::Regex has been updated to use the data from emoji-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.
  2. EmojiRegex::RGIEmoji has been removed entirely.
  3. 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:

  • Update dependency ruby to v3.0.3 (#34)
  • Update dependency ruby to v3.1.0 (#35)

🪺 Ruby Emoji Regex v14.0.0.pre.1

13 Jan 21:14
99db02f
Compare
Choose a tag to compare
Pre-release

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.


  1. EmojiRegex::Regex has been updated to use the data from emoji-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.
  2. EmojiRegex::RGIEmoji has been removed entirely.
  3. 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:

  • Update dependency ruby to v3.0.3 (#34)
  • Update dependency ruby to v3.1.0 (#35)

🔔 Ruby Emoji Regex v3.2.3

28 Sep 23:59
Compare
Choose a tag to compare

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 base ruby-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 existing RGIEmoji 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:

  1. EmojiRegex::Regex will be updated to use the data from emoji-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.
  2. EmojiRegex::RGIEmoji will be removed entirely.
  3. 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:

  • Update dependency rake to v13.0.6 (#29)
  • Update dependency ruby to v3.0.2 (#30)
  • Update dependency ruby to v3.0.1 (#28)
  • Update dependency emoji-regex to v9.2.2 (#27)

❤️‍🩹 Ruby Emoji Regex v3.2.2

20 Feb 01:02
Compare
Choose a tag to compare

Version 3.2.2 is a minor update which includes the following data updates:

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:

  • Update dependency rspec to v3.10.0 (#25)
  • Update dependency rake to v13.0.3 (#24)
  • Update dependency ruby to v3 (#22)
  • Update actions/setup-node action to v2 (#21)

🐈‍⬛ Ruby Emoji Regex v3.2.1

02 Nov 17:51
v3.2.1
065864c
Compare
Choose a tag to compare

Version 3.2.1 is a minor update which includes the following documentation updates:

  • Corrected references to RGIEmoji in README, by @rhymes (#20)

🪅 Ruby Emoji Regex v3.2.0

28 Oct 21:43
v3.2.0
a015bec
Compare
Choose a tag to compare

Version 3.2.0 has landed! 🪶 It contains:

  • emoji-regex@v9.2.0 (#19)
  • Added the EmojiRegex::RGIEmoji regex, mirroring that added in emoji-regex 9.2, which more closely follows Unicode recommendations.
    • I recommend users of the EmojiRegex::Regex expression switch to using EmojiRegex:: 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 with EmojiRegex:: RGIEmoji.
    • EmojiRegex::Regex is thus now deprecated.
  • 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

27 Apr 23:13
v3.0.0
57009b2
Compare
Choose a tag to compare

Version 3.0.0 is here! 🪄 It contains;

🧃 Ruby Emoji Regex v2.0.0

05 Mar 19:44
d55c7b8
Compare
Choose a tag to compare

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

31 Aug 20:22
d80e4ce
Compare
Choose a tag to compare

Version 1.0.1 is here! 🎊 It includes;

  • emoji-regex@7.0.1, featuring fixes for how emoji with variation selectors are matched