Skip to content

Bump version to 2.1.0-beta.1 - #786

Merged
ryanwelcher merged 1 commit into
trunkfrom
release/2.1.0-beta.1
Nov 17, 2026
Merged

ryanwelcher merged 1 commit into
trunkfrom
release/2.1.0-beta.1

Conversation

@ryanwelcher

@ryanwelcher ryanwelcher commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Why

First beta of 2.1.0. 25 commits have reached trunk since v2.0.0, the last one being the 2.1.0 docs update (#777). electron-builder names the artifacts after the version in package.json, so the version has to move before the tag and the artifacts exist. This is a beta, so it does not take releases/latest.

What changes

  • The version moves from 2.0.0 to 2.1.0-beta.1 in package.json and both root fields of package-lock.json. No dependency versions change.
  • npm run i18n:download refreshed src/languages/. Five locales reach 80% for the first time and now ship: bcc, de, es, ja and zh-cn. The other ten were updated.
  • build.electronLanguages gains the Chromium locales those catalogs need: de, es, ja, zh-CN and zh_CN.
Locale Translated Strings
bcc 95% 1109
cs 89% 1036
de 100% 1158
en-ca 90% 1049
en-gb 100% 1158
es 100% 1158
gl 100% 1158
hu 90% 1051
ja 95% 1109
lo 90% 1049
nl 100% 1158
pl 94% 1096
sr 100% 1158
tr 95% 1111
zh-cn 100% 1158

Chromium locales kept (build.electronLanguages): en-US, cs, de, en-GB, en_GB, es, hu, ja, nl, pl, sr, tr, zh-CN, zh_CN

How to test this

Platforms: any for the checks below. macOS and Windows for the signed artifact checks in RELEASING.md section 2, which run on this PR's Buildkite build before the merge.

Run from the repository root:

  1. node -e "console.log(require('./package.json').version)" prints 2.1.0-beta.1.
  2. python3 -c "import json;d=json.load(open('package-lock.json'));print(d['version'], d['packages']['']['version'])" prints 2.1.0-beta.1 2.1.0-beta.1.
  3. git diff origin/trunk...HEAD -- . ':!src/languages' shows only the three version lines and the build.electronLanguages list.
  4. npx electron . --lang=de opens the app in German. Repeat with es, ja and zh-CN; each shows that language, not English.

What must not have happened: no dependency version changes in package-lock.json, and no locale that shipped in 2.0.0 is missing from src/languages/.

Risks and limitations

Southern Balochi (bcc) ships as a right-to-left catalog. Its catalog sets text direction to rtl, but bcc is missing from RTL_LANGUAGES in scripts/download-translations.cjs, so the script did not hold it back. Choosing Baluchi in Settings, or an OS that reports bal, gives a half-mirrored window. Kept on purpose for this beta; the script fix should land before 2.1.0.

The translations come from translate.wordpress.org as they stand today. Strings below 100% fall back to English.

Related

Part of the v2.1.0 milestone. The bcc fix is tracked in #787.


Review outcome (required, see AGENTS.md)

1 [fix here] · 1 [follow-up]. Neither fixed in this PR.

  • bcc is a right-to-left catalog that was not held back (src/languages/bcc.json, scripts/download-translations.cjs:48). Kept for the beta by the release manager's decision. The fix is to add bcc to RTL_LANGUAGES and re-run npm run i18n:download before 2.1.0.
  • Follow-up: the script could also hold back any catalog whose own text direction entry is rtl, so the next right-to-left locale is not missed the same way, with a case in tests/unit/download-translations.test.cjs.

Checked with nothing to report: the diff outside src/languages/ is the three version lines plus build.electronLanguages; that list matches a fresh calculation from the catalogs; the new catalogs have the same shape as the existing ones and pass resolveCatalog; placeholders and HTML tags match the source strings in all 15 catalogs. An older Czech string leaves out %2$s; it predates this branch and is fixed on translate.wordpress.org, not here.

  • Review: completed; separate-context subagent; reviewed head 1b58aeb / base 6a4df96 (trunk); npm run lint clean, npm test 2312 pass, 0 fail, 9 skipped; outcome above.
  • Since review: none.

🤖 Generated with Claude Code

Download translations: adds bcc, de, es, ja and zh-cn, and the Chromium
locales de, es, ja, zh-CN and zh_CN to build.electronLanguages.
@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ryanwelcher
ryanwelcher merged commit 60e9d96 into trunk Nov 17, 2026
15 checks passed
@ryanwelcher
ryanwelcher deleted the release/2.1.0-beta.1 branch November 17, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant