- Add few emojis to preset json data source.
- Update
http' dependency to
1.*`. - Update colon-syntax to equal sign for default values, dart-lang/language#2357.
- Add
count()
to count number of emojis in the input. - Add
frequency()
to count frequency of a specific emoji. - Add
parseEmojis()
to get a list of emojis found from input. - Add
replace()
to replace a specific emoji by another emoji. - Add ability to fetch latest emoji dataset from server. This would be helpful when local provided emoji dataset not up-to-date.
- Update spec to allow package to be used across all platforms Dart supports.
- Leverage
characters
library to handle grapheme clusters/glyphs emojis.
- Add new list of emojis.
- Replace 'pedantic' by 'lint'.
- Refactoring to null safety according to the official Dart migration guide.
- Update sdk constraints to null safety. Reference: SDK Constraints.
- Update dependencies.
- Fix issue #6: fail to parse
:+1:
emoji.
- Fix issue: emojis with dash
-
in name are not parsed.
- Fix issue: (temp solution) around 600+ emojis not being matched.
Breaking changes
- New
Emoji
class now acts like a data container. - New
EmojiParser
class to handle emoji operation, likeget()
,emojify()
... - New
EmojiUtil
class to handle common operations for normalizing emoji. - Update documentation.
- Description updated.
- Add
unemojify()
. - Fixed bug with multi-bytes emojis.
- Some refactors.
- Update documentation.
- Add
get()
.
- Initial release.