v0.5.0
BREAKING
- If you need to keep using the same shortcodes as previous versions, set the
shortcodes.dataset
config option toemojibase-legacy
. Make sure to define a fallback (e.g.emojibase
). See README. - Codepoint JSON keys are now uppercase
Changes
- Update
emojibase-data
to v7.0.0 (Emoji 14 & Unicode 14)- Shortcode dataset has been updated
- Added option to choose shortcode dataset (see breaking notice)
- Added
lang
&shortcodes.lang
options to change the data locale - Added
shortcodes.fallbackDataset
andshortcodes.fallbackLang
options to allow for the usage of legacy datasets while including new emojis - Fixed
regex
option not working (flags not supported)
Full Changelog: v0.4.1...v0.5.0