Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/release/tag-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
. "$(dirname "$0")/lib.sh"

tag="v$OPENCODE_VERSION"
git ls-files -z -- '*package.json' bun.lock | xargs -0 sed -i -E "s/\"version\": \"[^\"]+\"/\"version\": \"$OPENCODE_VERSION\"/g"
# @opencode/pty is versioned separately, by process-daemon-v<version> tags.
git ls-files -z -- '*package.json' bun.lock ':!packages/process-daemon/**' | xargs -0 sed -i -E "s/\"version\": \"[^\"]+\"/\"version\": \"$OPENCODE_VERSION\"/g"

if [ -n "${OPENCODE_RELEASE_NOTES:-}" ] && ! grep -qF -x "## $tag" CHANGELOG.md && ! grep -qF "## $tag " CHANGELOG.md; then
notes=$(mktemp)
Expand Down
73 changes: 73 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,79 @@

Release notes for OpenCode V2, newest first.

## v2.2.2 — 2026-10-29

### Highlights

- **Image Generation by Default**: When a connected provider supports image models, agents can now use `experimental_image_generate` without additional configuration. Set its preferred model through `experimental.image_generate.model`. ([#60258](https://github.com/anomalyco/opencode/pull/60258))
- **Faster Worktree Selection**: On the new-session screen, click the current Git branch to open that project’s “Run session in” worktree picker directly. ([#60263](https://github.com/anomalyco/opencode/pull/60263))
- **Unified Quotes and Annotations**: Timeline quotes, terminal quotes, and browser annotations now share a compact optional-comment editor, while source highlights remain attached to local drafts. ([#60164](https://github.com/anomalyco/opencode/pull/60164))

### Core

#### Improvements

- Enabled `experimental_image_generate` by default when an image-capable provider is connected. ([#60258](https://github.com/anomalyco/opencode/pull/60258))
- Recorded the start time of each session’s latest execution.

#### Bug fixes

- Rejected persistent terminal requests whose working directory no longer exists.
- Preserved media when sessions are forked or imported.
- Associated image-generation notices with the correct background job.

### TUI

#### Bug fixes

- Preserved captured attachments and their original source paths. Thanks [@OpeOginni](https://github.com/OpeOginni). ([#60222](https://github.com/anomalyco/opencode/pull/60222))
- Prevented middle-truncated paths from overflowing at very narrow terminal widths.
- Improved Go usage-limit messages with the reset time and account page link.
- Correctly typed and displayed Go and ChatGPT usage-limit errors.

### Desktop

#### Improvements

- Made the Git branch on the new-session screen open the current project’s worktree picker directly. ([#60263](https://github.com/anomalyco/opencode/pull/60263))
- Unified timeline quotes, terminal quotes, and browser annotations around one optional-comment workflow. ([#60164](https://github.com/anomalyco/opencode/pull/60164))
- Restored classic question cards by default and added **Settings → Experimental → New question UI** for the redesigned keyboard-oriented dock. ([#59723](https://github.com/anomalyco/opencode/pull/59723))
- Added a side-panel tab menu and kept close buttons visible when tabs overflow.
- Moved user-message actions into a compact menu.
- Redesigned the active todo pill to show the current task and concurrent work more clearly.
- Added consistent styling for searchable dialogs and composer pills.

#### Bug fixes

- Stopped queued prompts from dropping frames as their content grows.
- Counted queued quotes and browser annotations as attachments.
- Reported failures to persist composer attachments through the normal error UI.
- Made Markdown fragment links scroll to the referenced heading.
- Kept each tab’s timeline state when switching directories.
- Ordered the inbox’s **Working** shelf by execution start time.
- Fixed side-panel launchers and automatic closing when the final tab is removed.
- Focused the matching navigation arrow while reviewing changes.
- Preserved pending model labels only when a queued prompt actually changes models.
- Added reset details, an account link, and a composer tray for Go usage limits.

### SDK

#### Improvements

- Added `if` and `until` inputs for `client.experimental.schedule.create`, plus schedule check results and output fields. ([#60137](https://github.com/anomalyco/opencode/pull/60137))
- Exposed `SessionInfo.time.busy` for the latest execution’s start time.
- Added optional source metadata to prompt file attachments.

### Extensions

#### Improvements

- Added optional `title` and `subtitle` fields to composer notes, source-relative quote positioning, and focus options for composer integrations. ([#60164](https://github.com/anomalyco/opencode/pull/60164))

#### Bug fixes

- Corrected visible flowchart edges connected through Merman subgraphs.

## v2.2.1 — 2026-10-29

### Highlights
Expand Down
66 changes: 33 additions & 33 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json.schemastore.org/package.json",
"name": "opencode",
"description": "AI-powered development tool",
"version": "2.2.1",
"version": "2.2.2",
"private": true,
"type": "module",
"packageManager": "bun@1.4.4",
Expand Down
Loading
Loading