Vigia

Nâng cấp emojibase từ 17.x lên 18.x

So sánh API công khai của emojibase 17.0.0 và 18.0.0, được tính tự động từ kiểu TypeScript. Chữ ký thay đổi là thay đổi có thể không tương thích, không phải điều chắc chắn.

Tóm tắt

Đường dẫn import bị xóa0
Export bị xóa0
Chữ ký thay đổi4
Thành viên lớp hoặc interface bị xóa0
Thành viên lớp hoặc interface thay đổi0
Mới bị ngừng hỗ trợ0
Thay đổi yêu cầu (engines, phụ thuộc peer)1
Export mới2

Export bị xóa

Không phát hiện.

Chữ ký thay đổi

exportTrướcSau
emojibase · Qualifier0 | 1 | 20 | 1 | 2 | 3
emojibase · LATEST_CLDR_VERSION"48""49"
emojibase · LATEST_EMOJI_VERSION"17.0""18.0"
emojibase · LATEST_UNICODE_VERSION"17.0.0""18.0.0"

Thành viên lớp hoặc interface bị xóa

Không phát hiện.

Thành viên lớp hoặc interface thay đổi

Không phát hiện.

Mới bị ngừng hỗ trợ

Không phát hiện.

Thay đổi yêu cầu (engines, phụ thuộc peer)

TrướcSau
engines.node>=18.12.0—
Export mới (2)
importexportkind
emojibaseCOMPONENTvariable
emojibaseSHORTCODE_PRESETSvariable

Changelog giữa các phiên bản này

Văn bản do tác giả gói công bố, hiển thị nguyên trạng.

18.0.0
### Major Changes

- 8527c93: Update to Emoji v18 and CLDR 49 (beta 1), following UTS #51 revision 31. Adds 9 emoji (🫫 🫹 🫺 🫌 🫝 🛙 🪋
  🪌 🪍), with skin tones for the two thumb signs, and their localized labels and keywords.
- 789b533: Require Node.js 20 or newer. Packages are now built with tsdown instead of Packemon, which targets
  modern syntax and bundles type declarations into a single `index.d.ts` file. Package entry points
  are unchanged.

### Minor Changes

- 06b8716: Align presentation and qualification with UTS #51:
  
  - The `emoji` field is now the fully-qualified form from `emoji-test.txt`. 152 emoji that default to
    emoji presentation, like 👍 and ⌚, no longer have a redundant `FE0F`.
  - `meta/hexcodes.json` now lists statuses exactly as `emoji-test.txt` does. Text presentation
    sequences (`FE0E`) and redundant `FE0F` forms are no longer listed as fully qualified, and the
    skin tone and hair components are listed with the new `COMPONENT` qualifier.
  - The `emojibase-regex/emoji` pattern now matches default-emoji characters without `FE0F`.
- 29b2c8a: Export `SHORTCODE_PRESETS`, the list of every shortcode preset, including the `discord` and `slack`
  aliases.

### Patch Changes

- 06b8716: Resolve CLDR annotations as UTS #35 describes:
  
  - Locales inherit from their real CLDR parents. `en-gb` now uses `en-001` (129 labels, such as "tick
    box with tick"), and `es-mx` uses `es-419` (450 labels, such as "lentes de sol").
  - Labels and keywords inherit separately, so 9 `es-mx` emoji regain their keywords.
  - Flags and keycaps without a CLDR label are named in the locale's own words, which fixes all 262
    Danish flags ("flag: USA") and their `cldr` shortcodes.
  - Keywords keep their CLDR casing in every locale (German nouns, "OK", "DVD"). A keyword identical
    to the label is now reliably left out of `tags`.
  - Fix the Hindi label for regional indicators, which was in Bengali.
- 789b533: Update dependencies to their latest versions, including TypeScript 6.0. The generator now requires
  Node.js 22 or newer.
- 29b2c8a: Fix the types failing to compile without the DOM library, such as in Node.js, because
  `FetchFromCDNOptions` extends `RequestInit`.

Cung cấp dữ liệu này cho tác tử AI của bạn

Vigia là máy chủ MCP miễn phí: tác tử lập trình của bạn kiểm tra phiên bản, thay đổi phá vỡ tương thích và lỗ hổng trước khi viết mã. Không cần đăng ký, không cần khóa API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Thêm vào CursorThêm vào VS Code★ Gắn sao trên GitHub

Mọi ứng dụng MCP khác
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Kỹ năng cho tác tử (SKILL.md): cho tác tử biết khi nào dùng Vigia · GitHub Action cho pull request

Câu hỏi thường gặp

Nâng cấp emojibase từ 17 lên 18 có những thay đổi không tương thích nào?

Giữa emojibase 17.0.0 và 18.0.0, Vigia tìm thấy 0 export bị xóa, 4 chữ ký thay đổi và 0 thành viên lớp hoặc interface bị xóa hay thay đổi.

Những gì bị ngừng hỗ trợ trong emojibase 18?

0 export hoặc thành viên mới bị đánh dấu ngừng hỗ trợ trong emojibase 18.0.0.

Dành cho tác tử

GET https://vigia.coredls.cloud/v1/packages/npm/emojibase/upgrade?from=17.0.0&to=18.0.0