GeezerVison is showing github.com — sync release versions for v2.1.2 [skip ci] · Parad0X/opencode@4b50f5c
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: CHANGELOG.md +58Lines changed: 58 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 2 | 2 |
| 3 | 3 | Release notes for OpenCode V2, newest first. | 4 | 4 |
| | 5 | +## v2.1.2 — 2026-10-21 | | 6 | + | | 7 | +### Highlights | | 8 | + | | 9 | +- **Clear Free-Limit Recovery**: When your free messages run out, Desktop and the TUI now show the reset time, restore your submitted prompt, and offer direct upgrade or model-switching actions instead of a generic error. ([#57466](https://github.com/anomalyco/opencode/pull/57466), [#57467](https://github.com/anomalyco/opencode/pull/57467), [#57471](https://github.com/anomalyco/opencode/pull/57471)) | | 10 | +- **Hide Free Models**: Set `OPENCODE_DISABLE_FREE_MODELS=1` or `true` to remove zero-cost models from OpenCode and OpenCode Go catalogs, defaults, and fallbacks. ([#57478](https://github.com/anomalyco/opencode/pull/57478)) | | 11 | +- **Configurable Location Unloading**: Set `experimental.location_idle_timeout` to a duration such as `"4 hours"`, or to `false`, to control when inactive location services unload. ([#57476](https://github.com/anomalyco/opencode/pull/57476)) | | 12 | +- **Reliable Fresh Installs**: The installer now creates `~/.zshrc` or Fish’s `config.fish` when missing, adds OpenCode to `PATH`, and tells you to run `exec $SHELL`. ([#57348](https://github.com/anomalyco/opencode/pull/57348)) | | 13 | + | | 14 | +### Core | | 15 | + | | 16 | +#### Improvements | | 17 | + | | 18 | +- Added `OPENCODE_DISABLE_FREE_MODELS` for hiding free OpenCode and OpenCode Go models. ([#57478](https://github.com/anomalyco/opencode/pull/57478)) | | 19 | +- Added `experimental.location_idle_timeout`, accepting a duration string or `false`. ([#57476](https://github.com/anomalyco/opencode/pull/57476)) | | 20 | + | | 21 | +#### Bug fixes | | 22 | + | | 23 | +- Fixed fresh zsh and Fish installations not adding OpenCode to `PATH` when their configuration file did not exist. ([#57348](https://github.com/anomalyco/opencode/pull/57348)) | | 24 | +- Kept locations loaded while sessions are waiting for input, running long tools, or owning background jobs. ([#57416](https://github.com/anomalyco/opencode/pull/57416)) | | 25 | +- Fixed legacy `console.opencode.ai` credentials not being forwarded to `opencode.ai/console`. ([#57588](https://github.com/anomalyco/opencode/pull/57588)) | | 26 | +- Reused recent Console configuration checks when inference is rejected, avoiding unnecessary repeated checks. ([#57465](https://github.com/anomalyco/opencode/pull/57465)) | | 27 | + | | 28 | +### TUI | | 29 | + | | 30 | +#### Improvements | | 31 | + | | 32 | +- Added an inline free-limit notice with the reset time and `/connect` and `/models` actions, while restoring the submitted prompt when the composer is empty. ([#57467](https://github.com/anomalyco/opencode/pull/57467)) | | 33 | +- Restored the animated “Free limit reached” OpenCode Go dialog with **Subscribe**, **Dismiss**, and **Don’t show again** actions. ([#57471](https://github.com/anomalyco/opencode/pull/57471)) | | 34 | + | | 35 | +#### Bug fixes | | 36 | + | | 37 | +- Stopped showing redundant failure notifications when the free-message limit is reached. ([#57467](https://github.com/anomalyco/opencode/pull/57467)) | | 38 | +- Only shows “location unavailable” when the server explicitly reports the location as missing. ([#57594](https://github.com/anomalyco/opencode/pull/57594)) | | 39 | + | | 40 | +### Desktop | | 41 | + | | 42 | +#### Bug fixes | | 43 | + | | 44 | +- Restored the free-limit dialog, reset-time timeline notice, and submitted prompt after free usage is exhausted. Subscribing to OpenCode Go now updates the current session’s model instead of opening another draft. ([#57466](https://github.com/anomalyco/opencode/pull/57466)) | | 45 | + | | 46 | +### SDK | | 47 | + | | 48 | +#### Improvements | | 49 | + | | 50 | +- Added `retryAfterMs` to structured session errors so clients can display provider-supplied retry timing. ([#57146](https://github.com/anomalyco/opencode/pull/57146)) | | 51 | + | | 52 | +#### Bug fixes | | 53 | + | | 54 | +- Fixed retry timing being dropped from quota, rate-limit, and provider-internal session errors. ([#57589](https://github.com/anomalyco/opencode/pull/57589)) | | 55 | +- Fixed OpenAI realtime client-secret requests by supplying the required `expires_after.anchor`. | | 56 | + | | 57 | +### Extensions | | 58 | + | | 59 | +#### Bug fixes | | 60 | + | | 61 | +- Fixed Code Mode async jobs interleaving in the middle of statements and losing writes, while preserving concurrent tool calls. Thanks [@RhysSullivan](https://github.com/RhysSullivan)! ([#54276](https://github.com/anomalyco/opencode/pull/54276)) | | 62 | + | 5 | 63 | ## v2.1.0 — 2026-10-20 | 6 | 64 |
| 7 | 65 | ### Highlights | |
Collapse file Copy file name to clipboardExpand all lines: bun.lock +32-32Lines changed: 32 additions & 32 deletions Collapse file Copy file name to clipboardExpand all lines: package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 2 | 2 | "$schema": "https://json.schemastore.org/package.json", | 3 | 3 | "name": "opencode", | 4 | 4 | "description": "AI-powered development tool", | 5 | | - "version": "2.1.1", | | 5 | + "version": "2.1.2", | 6 | 6 | "private": true, | 7 | 7 | "type": "module", | 8 | 8 | | |
Collapse file Copy file name to clipboardExpand all lines: packages/ai/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "$schema": "https://json.schemastore.org/package.json", | 3 | | - "version": "2.1.1", | | 3 | + "version": "2.1.2", | 4 | 4 | "name": "@opencode/ai", | 5 | 5 | "type": "module", | 6 | 6 | "license": "MIT", | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "@opencode/app", | 3 | | - "version": "2.1.1", | | 3 | + "version": "2.1.2", | 4 | 4 | "description": "", | 5 | 5 | "type": "module", | 6 | 6 | "exports": { | |
Collapse file Copy file name to clipboardExpand all lines: packages/cli/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "$schema": "https://json.schemastore.org/package.json", | 3 | 3 | "name": "@opencode/cli", | 4 | | - "version": "2.1.1", | | 4 | + "version": "2.1.2", | 5 | 5 | "type": "module", | 6 | 6 | "license": "MIT", | 7 | 7 | "bin": { | |
Collapse file Copy file name to clipboardExpand all lines: packages/client/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "$schema": "https://json.schemastore.org/package.json", | 3 | 3 | "name": "@opencode/client", | 4 | | - "version": "2.1.1", | | 4 | + "version": "2.1.2", | 5 | 5 | "type": "module", | 6 | 6 | "license": "MIT", | 7 | 7 | "repository": { | |
|