A fork of emoji-java modified to satisfy the needs of GitNex.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3.7 KiB

Changelog

v5.1.1

  • Bugfix: respect fitzpatrick modifier when extracting emojis (thanks @sullis)

v5.1.0

  • Many performance improvements to the parsing of the emojis (thanks @freva)
  • Add a containsEmoji function (thanks @freva!)

v5.0.0

  • Fix the HTML to Unicode parser to always parse the longer emojis (thanks @freva)
  • Add alias for "pumpkin" (thanks @sullis)
  • Add a lot of missing flag emojis (thanks @ankitkariryaa)
  • Support for all emojis from Unicode 11.0
  • Support for all emojis from Unicode 10.0
  • Add a EmojiParser.replaceAllEmojis function (thanks @cbedoy)

v4.0.0

  • Add "source code" strings to emoji json database
  • Fix some missing/out-of-order code points (thanks @BillyGalbreath)
  • Upgrade org.json:json dependency (thanks @PhotonQyv)
  • Update README with new emojis (thanks @jtobard)

v3.3.0

  • Add family_man_woman_girl_boy emoji (thanks @freva)
  • Fix EmojiManager.isEmoji to support fitzpatrick modifiers (thanks @freva)
  • Fixed several emojis that had the wrong support_fitzpatrick flag (thanks @Tapchicoma)
  • Add some tests to avoid duplicate aliases
  • Fixed several duplicated aliases in the emoji DB

v3.2.0

  • Fixed Poland flag (thanks @Sheigutn)
  • Improvements to the smile emojis (thanks @miquelbeltran)
  • Add a bunch of emojis from Apple iOS 10.2 release
  • Fix some missing fitzpatrick modifiers
  • Add an EmojiManager.isOnlyEmojis() method

v3.1.3

  • Removed all variance selectors from the JSON database. Thanks @roberterdin !

v3.1.2

  • Additions and updates to the emoji database (victory hand now supports fitzpatrick, adds Saint Vincent Grenadines' flag, add the regional indicator symbols). Thanks @lologist !
  • Force the database to be loaded in UTF-8.
  • Enable the extension of the EmojiParser class.

v3.1.1

  • Add the ability to provide a custom EmojiTransformer that will enable developers to add their custom emoji replacement methods. Thanks @freva !

v3.1.0

  • Add fitzpatrick support for 👃 ("nose") and 👂 ("ear")
  • Fix duplicated "sunglasses" alias
  • Performance improvements (using a Trie structure)
  • Parsing support for multiple emojis (such as "family_man_woman_boy")
  • Fix EmojiManager.getAll() that returned some duplicates
  • Use a BufferedReader to load the database

v3.0.0

Update the emoji database to support the additions of iOS 9.1

v2.2.1

Fix the htmlDec and htmlHex codes for the multiple emojis (such as family (man, man, girl, boy))

v2.2.0

Rollback dependency org.json:json to 20140107 to keep the compatibility with Java 6 & 7

v2.1.0

  • Add methods:
    • EmojiParser#removeAllEmojis(String)
    • EmojiParser#removeAllEmojisExcept(String, Collection<Emoji>)
    • EmojiParser#removeEmojis(String, Collection<Emoji>)
  • Upgrade dependency org.json:json

v2.0.1

Bug fix on the 👎 emoji

v2.0.0

  • Update of the emoji database
    • Add 14 new family emojis (man_man_boy, woman_woman_girl, etc.)
    • Add 4 new couple emojis
    • Add the "vulcan_salute" and "middle_finger" emojis
    • Add 198 flags
  • Addition of the support for the diversity emojis (Fitzpatrick modifiers)
  • Removal of the deprecated methods Emoji#getHtml and EmojiParser#parseToHtml
  • Improvements in the javadoc

v1.1.1

Closing the stream used to read the emoji database in EmojiManager.java

v1.1.0

  • Update of the emoji database
  • Adding support for HTML hexadecimal:
    • Emoji#getHtmlHexadecimal
    • EmojiParser#parseToHtmlHexadecimal
  • The old HTML support is now HTML decimal:
    • Deprecating Emoji#getHtml (replaced by Emoji#getHtmlDecimal)
    • Deprecating EmojiParser#parseToHtml (replaced by EmojiParser#parseToHtmlDecimal)

v1.0.1

Bug fix on the 👍 emoji

v1.0.0

First release.