Skip to content

chore(release): bump v2026.5.3#383

Closed
Astro-Han wants to merge 1 commit intodevfrom
release/v2026.5.2.2
Closed

chore(release): bump v2026.5.3#383
Astro-Han wants to merge 1 commit intodevfrom
release/v2026.5.2.2

Conversation

@Astro-Han
Copy link
Copy Markdown
Owner

@Astro-Han Astro-Han commented May 2, 2026

Summary

Bump version from 2026.5.2 to 2026.5.3 for the second release today.
Also reverts the 4-segment CalVer support from #374 — the 4-segment format
is incompatible with electron-builder and electron-updater, which both
use npm semver for validation and comparison.

Why

Second same-day release. 4-segment CalVer (2026.5.2.2) is rejected by
app-builder-lib at build time and by electron-updater at runtime.
Revert to 3-segment bumping for same-day releases.

Related Issue

None.

Human Review Status

Pending.

Review Focus

  • Confirm all 4 package.json versions are bumped to 2026.5.3
  • Confirm verify-release.ts normalizeTag regex is back to 3-segment only

Risk Notes

None — version bump only.

How To Verify

bun test scripts/verify-release.test.ts

Checklist

  • Human review status is stated above as pending
  • No related issue — version bump
  • This PR has type, scope, and priority labels, or I requested maintainer labeling
  • I described the review focus and any meaningful risks
  • I listed the relevant verification steps and the key result for each
  • I did not introduce unrelated refactors, dependencies, generated files, or file changes beyond the stated scope
  • Not applicable — no visible UI or copy changes
  • I considered macOS and Windows impact — no platform-specific changes
  • Not applicable — no docs, release notes, dependencies, permissions, credentials, deletion behavior, generated content, or local file changes
  • I reviewed the final diff for unrelated changes and suspicious dependency changes
  • I am targeting dev, and my PR title and commit messages use Conventional Commits in English

Summary by CodeRabbit

  • Chores
    • Version bump: all packages updated to 2026.5.2.2.
  • Bug Fixes
    • Release verification tightened: release tag format validation now enforces a stricter CalVer pattern and related checks/tests were updated accordingly.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 2, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: fd92733d-b6de-4bf7-98d3-8928cce62bb4

📥 Commits

Reviewing files that changed from the base of the PR and between 8302208 and 05cab71.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (6)
  • packages/app/package.json
  • packages/desktop-electron/package.json
  • packages/desktop-electron/scripts/verify-release.test.ts
  • packages/desktop-electron/scripts/verify-release.ts
  • packages/opencode/package.json
  • packages/util/package.json

📝 Walkthrough

Walkthrough

Four package manifests have their version bumped from 2026.5.2 to 2026.5.2.2. Separately, release-tag validation in the desktop-electron release verifier was tightened to accept only vYYYY.M.D (no optional build number), and corresponding tests were updated.

Changes

Unified Version Bump

Layer / File(s) Summary
Package Metadata
packages/app/package.json, packages/desktop-electron/package.json, packages/opencode/package.json, packages/util/package.json
Each manifest's version field changed from 2026.5.22026.5.2.2 (no other manifest contents changed).

Release Tag Validation Tightening

Layer / File(s) Summary
Validation Rule
packages/desktop-electron/scripts/verify-release.ts
normalizeTag(raw: string) regex narrowed to require vYYYY.M.D (or YYYY.M.D) and disallow an extra numeric build segment; error message updated to remove mention of an optional build number.
Tests
packages/desktop-electron/scripts/verify-release.test.ts
Unit tests adjusted: inputs with a fourth numeric segment (e.g., 2026.4.28.1) now expected to throw; expected error strings shortened to match updated validation message.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested labels

ci, P2, desktop

Poem

🐰
I hopped through manifests, tiny and spry,
Bumped versions so releases can fly,
I tightened the tags with a careful paw,
Now builds are neat — oh joy, hurrah! 🥕

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: a version bump to 2026.5.2.2 following conventional commit format.
Description check ✅ Passed The PR description follows the template structure with all major sections populated including summary, rationale, review focus, risks, and verification steps.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/v2026.5.2.2

Review rate limit: 9/10 reviews remaining, refill in 6 minutes.

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/util/package.json`:
- Line 3: The package.json "version" field currently uses a 4-part version
string ("2026.5.2.2") which is not semver-compliant; update the "version" value
in packages/util/package.json to a strict semver format such as "2026.5.2-2" (or
X.Y.Z-prerelease) and make the same change consistently across any other bumped
manifests (other package.json files or lockfiles) to avoid npm/Bun rejection;
search for "version": "2026.5.2.2" and replace with the chosen semver string,
then run your usual CI/versioning checks.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: c248c6d7-dc92-4293-a9b3-77dd9c8f6667

📥 Commits

Reviewing files that changed from the base of the PR and between d3d5758 and 8302208.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (4)
  • packages/app/package.json
  • packages/desktop-electron/package.json
  • packages/opencode/package.json
  • packages/util/package.json

{
"name": "@opencode-ai/util",
"version": "2026.5.2",
"version": "2026.5.2.2",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

Do npm and Bun accept a package.json version formatted as 2026.5.2.2, or must it be strict SemVer (e.g., 2026.5.2-2)?

💡 Result:

npm and Bun do not accept a package.json "version" formatted as 2026.5.2.2. They expect the version string to be valid SemVer (SemVer “normal version” is X.Y.Z with optional prerelease like -2). Use something like 2026.5.2-2 (or 2026.5.2+build, etc.), not a fourth dot-separated numeric component. Why: - npm states that the package.json "version" must be parseable by node-semver. - node-semver and SemVer’s “normal version” format require exactly three numeric dot-separated components (X.Y.Z); prerelease is introduced with a hyphen. - Bun’s semver implementation is designed to be compatible with node-semver, and Bun’s semver API returns false for invalid versions.

Citations:


Use a semver-compatible version format on Line 3.

2026.5.2.2 is a 4-segment version and is rejected by npm and Bun, which require strict SemVer (X.Y.Z with optional prerelease using hyphen). Use 2026.5.2-2 instead and apply it consistently across all bumped manifests.

Suggested manifest change
-  "version": "2026.5.2.2",
+  "version": "2026.5.2-2",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"version": "2026.5.2.2",
"version": "2026.5.2-2",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/util/package.json` at line 3, The package.json "version" field
currently uses a 4-part version string ("2026.5.2.2") which is not
semver-compliant; update the "version" value in packages/util/package.json to a
strict semver format such as "2026.5.2-2" (or X.Y.Z-prerelease) and make the
same change consistently across any other bumped manifests (other package.json
files or lockfiles) to avoid npm/Bun rejection; search for "version":
"2026.5.2.2" and replace with the chosen semver string, then run your usual
CI/versioning checks.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the version of the @opencode-ai/app, @opencode-ai/desktop-electron, opencode, and @opencode-ai/util packages from 2026.5.2 to 2026.5.2.2. Feedback was provided regarding the bun.lock file, where the version fields for these packages were removed instead of being updated. It is recommended to run bun install to properly synchronize the lockfile with the package.json changes and maintain consistency.

Comment thread bun.lock
"packages/app": {
"name": "@opencode-ai/app",
"version": "2026.5.2",
"dependencies": {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The version field for @opencode-ai/app was removed from the lockfile. Since the version is being bumped in package.json, it should be updated in the lockfile as well to maintain consistency. It is recommended to run bun install to properly update the lockfile.

      "version": "2026.5.2.2",
      "dependencies": {

Comment thread bun.lock
"packages/desktop-electron": {
"name": "@opencode-ai/desktop-electron",
"version": "2026.5.2",
"dependencies": {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The version field for @opencode-ai/desktop-electron was removed from the lockfile. Since the version is being bumped in package.json, it should be updated in the lockfile as well to maintain consistency. It is recommended to run bun install to properly update the lockfile.

      "version": "2026.5.2.2",
      "dependencies": {

Comment thread bun.lock
"packages/opencode": {
"name": "opencode",
"version": "2026.5.2",
"bin": {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The version field for opencode was removed from the lockfile. Since the version is being bumped in package.json, it should be updated in the lockfile as well to maintain consistency. It is recommended to run bun install to properly update the lockfile.

      "version": "2026.5.2.2",
      "bin": {

Comment thread bun.lock
"packages/util": {
"name": "@opencode-ai/util",
"version": "2026.5.2",
"dependencies": {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The version field for @opencode-ai/util was removed from the lockfile. Since the version is being bumped in package.json, it should be updated in the lockfile as well to maintain consistency. It is recommended to run bun install to properly update the lockfile.

      "version": "2026.5.2.2",
      "dependencies": {

@Astro-Han Astro-Han force-pushed the release/v2026.5.2.2 branch from 8302208 to 05cab71 Compare May 2, 2026 12:50
@Astro-Han Astro-Han changed the title chore(release): bump v2026.5.2.2 chore(release): bump v2026.5.3 May 2, 2026
@Astro-Han Astro-Han closed this May 2, 2026
@Astro-Han Astro-Han deleted the release/v2026.5.2.2 branch May 2, 2026 12:50
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