Skip to content

Commit 04b7926

Browse files
authored
release: Update to Emoji v16 and CLDR 46. (#180)
* Update cldr. * Generate data. * Update unicode. * Generate data. * Update deps. * Undo ts. * Update po. * Regen.
1 parent 8af1353 commit 04b7926

File tree

222 files changed

+437586
-294408
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+437586
-294408
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ JSON datasets, regex patterns, and more.
1212

1313
#### Features
1414

15-
- Supports the latest [Emoji 15.1](https://emojipedia.org/emoji-15.1/),
16-
[Unicode 15.1](http://unicode.org/versions/Unicode15.1.0/), and
17-
[CLDR 45](http://cldr.unicode.org/index/downloads/cldr-45) release versions
15+
- Supports the latest [Emoji 16](https://emojipedia.org/emoji-16.0/),
16+
[Unicode 16](http://unicode.org/versions/Unicode16.0.0/), and
17+
[CLDR 46](http://cldr.unicode.org/index/downloads/cldr-46) release versions
1818
- Built directly from the [emoji data source files](http://unicode.org/Public/emoji/)
1919
- Based on the official [Unicode Technical Standard #51](http://unicode.org/reports/tr51/)
2020
- With localization provided by

docs/new-major-checklist.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ Guide for updating emojibase to support new Unicode/Emoji major versions.
1919
- Run `yarn generate:types`. Copy the `GroupKey` and `SubgroupKey` types to
2020
`packages/core/src/types.ts`.
2121
- Update `GROUP_KEY_*` constants in `packages/core/src/constants.ts`.
22-
- Update `po/messages.pot` with any new entries.
22+
- Update `po/base/*.po` with any new entries.
23+
- Run `generate:shortcodes` to gather new shortcode entries.
2324
- Apply pot changes to all `po/<locale>/messages.po` files.
2425
- Localize every entry without a message!
2526

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,26 @@
2727
},
2828
"devDependencies": {
2929
"@moonrepo/dev": "^3.0.2",
30-
"@types/jest": "^29.5.12",
31-
"babel-preset-moon": "^3.0.2",
32-
"cldr-annotations-derived-full": "^45.0.0",
33-
"cldr-annotations-full": "^45.0.0",
34-
"cldr-localenames-full": "^45.0.0",
35-
"cldr-misc-full": "^45.0.0",
36-
"eslint": "^8.50.0",
30+
"@types/jest": "^29.5.14",
31+
"babel-preset-moon": "^3.0.3",
32+
"cldr-annotations-derived-full": "^46.0.0",
33+
"cldr-annotations-full": "^46.0.0",
34+
"cldr-localenames-full": "^46.0.0",
35+
"cldr-misc-full": "^46.0.0",
36+
"eslint": "^8.57.1",
3737
"eslint-config-moon": "^3.1.2",
3838
"fast-glob": "^3.3.2",
3939
"fetch-mock-jest": "^1.5.1",
40-
"filesize": "^10.1.2",
40+
"filesize": "^10.1.6",
4141
"gzip-size": "^7.0.0",
4242
"jest": "^29.7.0",
4343
"jest-preset-moon": "^3.0.2",
44-
"lerna": "^8.1.3",
44+
"lerna": "^8.1.9",
4545
"packemon": "^4.1.1",
46-
"prettier": "^3.3.1",
46+
"prettier": "^3.3.3",
4747
"prettier-config-moon": "^1.1.2",
4848
"tsconfig-moon": "^1.3.0",
49-
"typescript": "^5.4.5"
49+
"typescript": "5.4.5"
5050
},
5151
"workspaces": [
5252
"packages/*",

packages/core/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ JSON datasets, regex patterns, and more.
1212

1313
#### Features
1414

15-
- Supports the latest [Emoji 15.1](https://emojipedia.org/emoji-15.1/),
16-
[Unicode 15.1](http://unicode.org/versions/Unicode15.1.0/), and
17-
[CLDR 45](http://cldr.unicode.org/index/downloads/cldr-45) release versions
15+
- Supports the latest [Emoji 16](https://emojipedia.org/emoji-16.0/),
16+
[Unicode 16](http://unicode.org/versions/Unicode16.0.0/), and
17+
[CLDR 46](http://cldr.unicode.org/index/downloads/cldr-46) release versions
1818
- Built directly from the [emoji data source files](http://unicode.org/Public/emoji/)
1919
- Based on the official [Unicode Technical Standard #51](http://unicode.org/reports/tr51/)
2020
- With localization provided by

packages/core/src/constants.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ export const SKIN_KEY_DARK: SkinToneKey = 'dark';
4848

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

51-
export const LATEST_EMOJI_VERSION = '15.1';
52-
export const LATEST_UNICODE_VERSION = '15.1.0';
53-
export const LATEST_CLDR_VERSION = '45';
51+
export const LATEST_EMOJI_VERSION = '16.0';
52+
export const LATEST_UNICODE_VERSION = '16.0.0';
53+
export const LATEST_CLDR_VERSION = '46';
5454

5555
export const FIRST_UNICODE_EMOJI_VERSION = '6.0.0';
5656
export const EMOJI_VERSIONS = [
@@ -67,6 +67,7 @@ export const EMOJI_VERSIONS = [
6767
'14.0',
6868
'15.0',
6969
'15.1',
70+
'16.0',
7071
];
7172
export const UNICODE_VERSIONS = [
7273
'6.0',
@@ -84,6 +85,7 @@ export const UNICODE_VERSIONS = [
8485
'14.0',
8586
'15.0',
8687
'15.1',
88+
'16.0',
8789
];
8890

8991
export const SUPPORTED_LOCALES: Locale[] = [

packages/core/src/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ export type SubgroupKey =
8989
| 'flag'
9090
| 'food-asian'
9191
| 'food-fruit'
92-
| 'food-marine'
9392
| 'food-prepared'
9493
| 'food-sweet'
9594
| 'food-vegetable'

0 commit comments

Comments
 (0)