Skip to content

Releases: felldo/JEmoji

v1.5.2

06 Sep 21:02
Compare
Choose a tag to compare

Improvements

  • Fixed unicode attribute being the same as emoji. Now the unicode attribute contains the emoji as a string representation.
  • Removed dependency on third aprty services for emoji generation. instead jemoji now uses own custom script to gather additional information.

v1.5.1

13 Aug 12:35
Compare
Choose a tag to compare

Features

  • Fixed mixed up order of github and slack alias in static Java code generation

v1.5.0

12 Aug 22:00
Compare
Choose a tag to compare

Features

  • Added support for emoji keywords Emoji#getKeywords(EmojiLanguage)
  • Added methods to get emojis mapped to their group/subgroup
  • Added a new class EmojiLoader for method separation that are associated to loading/initializing emojis. Currently there are 2 helper methods loadAllEmojiDescriptions and loadAllEmojiKeywords to load all language files.
  • Removed Jackson dependency. Now this library is dependency-less

Breaking

  • Renamed EmojiDescriptionLanguage enum to EmojiLanguage

v1.4.1

11 May 18:30
Compare
Choose a tag to compare

Features

  • Added support for emoji variations

Dependencies

  • Updated Jackson to 2.17.1

v1.4.0

09 Mar 19:59
Compare
Choose a tag to compare

Features

  • Emojis are now auto generated and are directly accessible through a constant. You can now use Emojis.THUMBS_UP to directly get an emoji instance
  • Added emoji description translations from the CLDR Emoji#getDescription(EmojiDescriptionLanguage)

Breaking

  • Renamed EmojiSubGroup ARTS_CRAFTS to ARTS_AND_CRAFTS, LIGHT_VIDEO to LIGHT_AND_VIDEO, SKY_WEATHER to SKY_AND_WEATHER

Dependencies

  • Updated Jackson to 2.16.1

v1.3.4

26 Jan 19:16
Compare
Choose a tag to compare

Improvements

  • Fixed a bug when jemoji is included via module-info.java (thanks to @Terge3141 #45)

v1.3.3

02 Dec 16:29
Compare
Choose a tag to compare

Features

  • Emojis are now Comparable (compared by their codepoints length and if equal, by their emoji unicode value) #18
  • Allowed build.gradle.kts to ignore signing of jars (Jitpack support)
  • Added EmojiManager#extractEmojisInOrderWithIndex (thanks to @freya022 for index idea + implementation #22)
  • The whole library is now annotated non nullable by default to improve usability for other languages like Kotlin #43

Improvements

  • Significantly improved the performance of getBy*Alias methods (thanks to @freya022 #17)
  • Improved the performance of comparing emojis (should only have an effect on initialization of the EmojiManager) (thanks to @freya022 for hinting out a faster alternative to get the codepoints count #18)
  • Improved the performance of getting codepoints from a string (thanks to @freya022 #21)

Dependencies

  • Updated Jackson to 2.16.0

Performance overview

Benchmark Mode Cnt Old Score Score** Error Units
getByAlias -> :+1: avgt 10 No data 59,509 ± 0,608 ns/op
getByAlias -> nope avgt 10 No data 72,004 ± 0,546 ns/op
containsEmoji avgt 10 4,820 1,403 ± 0,004 ms/op
extractEmojisInOrder avgt 10 4,481 1,382 ± 0,013 ms/op
extractEmojisInOrderOnlyEmojisLengthDescending avgt 10 8,967 6,013 ± 0,022 ms/op
extractEmojisInOrderOnlyEmojisRandomOrder avgt 10 9,364 6,614 ± 0,045 ms/op
extractEmojisInOrderWithIndex avgt 10 No data 1,814 ± 0,002 ms/op
removeAllEmojis avgt 10 7,813 2,264 ± 0,370 ms/op
replaceAllEmojis avgt 10 7,213 2,517 ± 0,020 ms/op
replaceAllEmojisFunction avgt 10 No data 2,502 ± 0,023 ms/op

v1.3.2

28 Oct 21:33
Compare
Choose a tag to compare

Changes

  • Remove Pattern.UNICODE_CHARACTER_CLASS argument from the emoji pattern (makes the library compatible with android because it doesn't support this flag)

v1.3.1

26 Oct 05:45
Compare
Choose a tag to compare

Changes

  • Add support for Unicode Emoji Version 15.1
  • Minified the emoji sources in the bundled jar
  • Added a public directory to the repository for perma linking a pretty printed and minified version of the emojis.

v1.3.0

22 Sep 22:18
Compare
Choose a tag to compare

Changes

  • Added methods to get EmojiGroup/EmojiSubGroup of the EmojiSubGroup/EmojiGroup
  • Added more overloaded methods with an varargs Emoji parameter instead of a collection.
  • All operations now also take non "fully-qualified" emojis into account.