Releases: Julien-Marcou/Unicode-Emoji
v2.6.0
- Updated to
Unicode Emoji v16.0
andUnicode CLDR v46
(#6) - Unicode is now classifying the following emojis π¦π¦π¦π¦π¦ͺ under the subgroup
animal-marine
(it previously wasfood-marine
) - Subgroup
food-marine
no longer exists, therefore you can no longer filter emojis using this subgroup - The JS output is now even more minified to reduce the weight of the file
v2.5.0
v2.4.0
v2.3.0
v2.2.1
Fix generic typing for getEmojisGroupedBy
function
v2.2.0
Features :
- Improved typing for TypeScript
- Added ability to omit versions using 'versionAbove'
Future-proofing :
Until now, if you wanted to avoid using newer versions of Unicode Emoji
, because they were not yet wildely supported on every plateform, you had to do :
import * as unicodeEmoji from 'unicode-emoji';
const omitWhere = { version: ['12.1', '13.0', '13.1'] };
unicodeEmoji.getEmojis(omitWhere);
But this will result in a breaking change when you'll update unicode-emoji
to support Unicode Emoji v14
(release expected on October 20, 2021), as you'll need to update your code in order to keep the same behavior as you have now :
import * as unicodeEmoji from 'unicode-emoji';
const omitWhere = { version: ['12.1', '13.0', '13.1', '14.0'] };
unicodeEmoji.getEmojis(omitWhere);
This is why you can now omit newer versions of Unicode Emoji
, using the aboveVersion
key, which is the prefered way, as it will allow you to update your dependencies without worrying about breaking change :
import * as unicodeEmoji from 'unicode-emoji';
const omitWhere = { versionAbove: '12.0' }; // Versions strictly greater will be omitted, so the version 12.0 is keeped
unicodeEmoji.getEmojis(omitWhere);
v2.1.1
Fixed 'woman: beard' emoji variations not being linked to the base emoji
v2.1.0
Updated to Unicode Emoji v13.1
and Unicode CLDR v38.1
v2.0.3
Fixed a bug with variation filtering