Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: Update to Emoji v16 and CLDR 46. #180

Merged
merged 8 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ JSON datasets, regex patterns, and more.

#### Features

- Supports the latest [Emoji 15.1](https://emojipedia.org/emoji-15.1/),
[Unicode 15.1](http://unicode.org/versions/Unicode15.1.0/), and
[CLDR 45](http://cldr.unicode.org/index/downloads/cldr-45) release versions
- Supports the latest [Emoji 16](https://emojipedia.org/emoji-16.0/),
[Unicode 16](http://unicode.org/versions/Unicode16.0.0/), and
[CLDR 46](http://cldr.unicode.org/index/downloads/cldr-46) release versions
- Built directly from the [emoji data source files](http://unicode.org/Public/emoji/)
- Based on the official [Unicode Technical Standard #51](http://unicode.org/reports/tr51/)
- With localization provided by
Expand Down
3 changes: 2 additions & 1 deletion docs/new-major-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Guide for updating emojibase to support new Unicode/Emoji major versions.
- Run `yarn generate:types`. Copy the `GroupKey` and `SubgroupKey` types to
`packages/core/src/types.ts`.
- Update `GROUP_KEY_*` constants in `packages/core/src/constants.ts`.
- Update `po/messages.pot` with any new entries.
- Update `po/base/*.po` with any new entries.
- Run `generate:shortcodes` to gather new shortcode entries.
- Apply pot changes to all `po/<locale>/messages.po` files.
- Localize every entry without a message!

Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,26 @@
},
"devDependencies": {
"@moonrepo/dev": "^3.0.2",
"@types/jest": "^29.5.12",
"babel-preset-moon": "^3.0.2",
"cldr-annotations-derived-full": "^45.0.0",
"cldr-annotations-full": "^45.0.0",
"cldr-localenames-full": "^45.0.0",
"cldr-misc-full": "^45.0.0",
"eslint": "^8.50.0",
"@types/jest": "^29.5.14",
"babel-preset-moon": "^3.0.3",
"cldr-annotations-derived-full": "^46.0.0",
"cldr-annotations-full": "^46.0.0",
"cldr-localenames-full": "^46.0.0",
"cldr-misc-full": "^46.0.0",
"eslint": "^8.57.1",
"eslint-config-moon": "^3.1.2",
"fast-glob": "^3.3.2",
"fetch-mock-jest": "^1.5.1",
"filesize": "^10.1.2",
"filesize": "^10.1.6",
"gzip-size": "^7.0.0",
"jest": "^29.7.0",
"jest-preset-moon": "^3.0.2",
"lerna": "^8.1.3",
"lerna": "^8.1.9",
"packemon": "^4.1.1",
"prettier": "^3.3.1",
"prettier": "^3.3.3",
"prettier-config-moon": "^1.1.2",
"tsconfig-moon": "^1.3.0",
"typescript": "^5.4.5"
"typescript": "5.4.5"
},
"workspaces": [
"packages/*",
Expand Down
6 changes: 3 additions & 3 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ JSON datasets, regex patterns, and more.

#### Features

- Supports the latest [Emoji 15.1](https://emojipedia.org/emoji-15.1/),
[Unicode 15.1](http://unicode.org/versions/Unicode15.1.0/), and
[CLDR 45](http://cldr.unicode.org/index/downloads/cldr-45) release versions
- Supports the latest [Emoji 16](https://emojipedia.org/emoji-16.0/),
[Unicode 16](http://unicode.org/versions/Unicode16.0.0/), and
[CLDR 46](http://cldr.unicode.org/index/downloads/cldr-46) release versions
- Built directly from the [emoji data source files](http://unicode.org/Public/emoji/)
- Based on the official [Unicode Technical Standard #51](http://unicode.org/reports/tr51/)
- With localization provided by
Expand Down
8 changes: 5 additions & 3 deletions packages/core/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ export const SKIN_KEY_DARK: SkinToneKey = 'dark';

// Important release versions and locales in generating accurate data.

export const LATEST_EMOJI_VERSION = '15.1';
export const LATEST_UNICODE_VERSION = '15.1.0';
export const LATEST_CLDR_VERSION = '45';
export const LATEST_EMOJI_VERSION = '16.0';
export const LATEST_UNICODE_VERSION = '16.0.0';
export const LATEST_CLDR_VERSION = '46';

export const FIRST_UNICODE_EMOJI_VERSION = '6.0.0';
export const EMOJI_VERSIONS = [
Expand All @@ -67,6 +67,7 @@ export const EMOJI_VERSIONS = [
'14.0',
'15.0',
'15.1',
'16.0',
];
export const UNICODE_VERSIONS = [
'6.0',
Expand All @@ -84,6 +85,7 @@ export const UNICODE_VERSIONS = [
'14.0',
'15.0',
'15.1',
'16.0',
];

export const SUPPORTED_LOCALES: Locale[] = [
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export type SubgroupKey =
| 'flag'
| 'food-asian'
| 'food-fruit'
| 'food-marine'
| 'food-prepared'
| 'food-sweet'
| 'food-vegetable'
Expand Down
Loading
Loading