Repository navigation
v2.0.0
Highlights
- Support for Java <
17has been dropped. The minimum required Java version is now17.v1.7.6is the last release that supports Java 8. - JEmoji is now a proper JPMS module (
net.fellbaum.jemojiandnet.fellbaum.jemoji.languages). The Multi-Release JAR setup has been removed.
Breaking Changes
Emojino longer implementsjava.io.Serializable- Emoji data is now loaded with Jackson 3, which adds
tools.jackson.core:jackson-databindas a runtime dependency org.jspecifyis now anapidependency for nullability annotations- Internal classes have moved to the
net.fellbaum.jemoji.internalpackage. The module only exports this package tonet.fellbaum.jemoji.languages.
Improvements
- Switch back to Jackson for emoji serialization (JSON instead of Java-serialized
.serfiles, including the language module) - Improve performance of various methods:
- Codepoints are precomputed per emoji, with the new
Emoji#getEmojiCodePoints() - Emoji lookup data is precomputed and centralized
- Codepoints are precomputed per emoji, with the new
- Improved immutability throughout the codebase (
records,List.copyOf,Stream#toList)
Emoji Data
- Updated emoji data and added missing emoji aliases
Internal / Build
- New separate
emoji-generatormodule for the code generation - Updated to Gradle 9.4.1 and Kotlin 2.3.20
- Added unit tests for emoji modifiers, aliases, encodings and metadata
- Fixed the README (typos, wording)
Full Changelog: v1.7.6...v2.0.0