Skip to content

Update emoji data for Unicode 16#36596

Merged
silverwind merged 6 commits intogo-gitea:mainfrom
silverwind:unicode16
Feb 12, 2026
Merged

Update emoji data for Unicode 16#36596
silverwind merged 6 commits intogo-gitea:mainfrom
silverwind:unicode16

Conversation

@silverwind
Copy link
Copy Markdown
Member

@silverwind silverwind commented Feb 12, 2026

Use emoji data from github/gemoji#303 because github/gemoji is unmaintained.

assets/emoji.json is now pretty-printed so that future diffs will actually be readable. This causes no isses as the only place where it is used is in frontend which imports it via with {type: 'json'} where whitespace is irrelevant.

image

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Feb 12, 2026
@github-actions github-actions bot added modifies/go Pull requests that update Go code modifies/internal labels Feb 12, 2026
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s emoji dataset to Unicode 16 by switching the upstream gemoji source to a pinned fork/commit and regenerating the derived emoji assets used by both backend and frontend.

Changes:

  • Switch emoji source URL from github/gemoji master to a pinned rhysd/gemoji commit and bump supported Unicode version to 16.
  • Regenerate modules/emoji/emoji_data.go with new/updated emoji entries.
  • Update matchEmoji tests to use inline snapshots (reflecting the updated emoji alias set/order).

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
web_src/js/utils/match.test.ts Updates expected emoji-matching results to inline snapshots to reflect the new dataset.
modules/emoji/emoji_data.go Regenerated emoji data from the new pinned upstream source, including Unicode 16 additions.
build/generate-emoji.go Updates upstream gemoji URL, bumps max Unicode version, and pretty-prints the generated assets/emoji.json.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Feb 12, 2026
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Feb 12, 2026
@silverwind silverwind added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Feb 12, 2026
@silverwind silverwind enabled auto-merge (squash) February 12, 2026 20:33
@silverwind silverwind merged commit 4b36f01 into go-gitea:main Feb 12, 2026
24 checks passed
@GiteaBot GiteaBot added this to the 1.26.0 milestone Feb 12, 2026
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Feb 12, 2026
@wxiaoguang wxiaoguang deleted the unicode16 branch February 13, 2026 01:24
silverwind added a commit to silverwind/gitea that referenced this pull request Feb 14, 2026
* origin/main: (2555 commits)
  automate updating nix flakes (go-gitea#35641)
  Update AGENTS.md instructions (go-gitea#36627)
  use user id in noreply emails (go-gitea#36550)
  feat(db): Improve BuildCaseInsensitiveLike with lowercase (go-gitea#36598)
  [skip ci] Updated translations via Crowdin
  BUG: Fix workflow run jobs API returning null steps (go-gitea#36603)
  Refactor highlight and diff (go-gitea#36599)
  Fix bug when do LFS GC (go-gitea#36500)
  feature to be able to filter project boards by milestones (go-gitea#36321)
  Update emoji data for Unicode 16 (go-gitea#36596)
  Adapt monaco error matching pattern to recent webpack config change (go-gitea#36533)
  Fix a bug user could change another user's primary email (go-gitea#36586)
  fix(repo-editor): disable Monaco `editContext` to avoid bugs with lost focus (go-gitea#36585)
  Fine tune diff highlighting (go-gitea#36592)
  Add code editor setting dropdowns (go-gitea#36534)
  Update to go 1.26.0 and golangci-lint 2.9.0 (go-gitea#36588)
  Improve diff highlighting (go-gitea#36583)
  Fix markup code block layout (go-gitea#36578)
  Remove striped tables in UI (go-gitea#36509)
  Fix vertical alignment of `.commit-sign-badge` children (go-gitea#36570)
  ...

# Conflicts:
#	custom/conf/app.example.ini
#	docs/content/administration/config-cheat-sheet.en-us.md
#	docs/content/administration/config-cheat-sheet.zh-cn.md
#	modules/setting/security.go
#	routers/common/errpage.go
#	services/context/api.go
#	services/context/context.go
Sirherobrine23 pushed a commit to Sirherobrine23/gitea that referenced this pull request Mar 4, 2026
Use emoji data from github/gemoji#303 because
`github/gemoji` is unmaintained.

`assets/emoji.json` is now pretty-printed so that future diffs will
actually be readable. This causes no isses as the only place where it is
used is in frontend which imports it via `with {type: 'json'}` where
whitespace is irrelevant.

<img width="205" height="75" alt="image"
src="https://github.com/user-attachments/assets/96e335b8-acf6-4996-ace4-824c0870a7d3"
/>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/frontend modifies/go Pull requests that update Go code modifies/internal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants