OpenCode v1.2.0

OpenCode v1.2.0 was released on .

Summary

This release includes a data migration that will execute on first run. It will migrate all flat files in data directory to a single sqlite database. Depending on how much data you have and speed of...

Release Context

  • This was the 33rd OpenCode release of 2026 tracked by Havoptic.
  • It shipped 1 day after OpenCode v1.1.65 (February 13, 2026).

Shipped around the same time

Within 3 days of this release, other AI coding tools also shipped:

Compare OpenCode

Release Notes

This release includes a data migration that will execute on first run. It will migrate all flat files in data directory to a single sqlite database. Depending on how much data you have and speed of computer this can take some time. if anything goes wrong you can retrigger the migration by deleting ~/.local/share/opencode/opencode.db files (%APPDATA% on windows) If you have any issues with the migration the original data is not yet deleted and downgrading should work. But please open an issue so we can investigate and include sqlite in the issue title. SDK Users We now have a PartDelta event which sends only incremental changes to parts. This avoids sending the full content of text parts over and over when it is updated js PartDelta: BusEvent.define( "message.part.delta", z.object({ sessionID: z.string(), messageID: z.string(), partID: z.string(), field: z.string(), delta: z.string(), }), ) Core - Revert to SQLite database implementation - Move timeout configuration from programmatic API to CLI flag (@yanhao98) - Update AI SDK packages and use adaptive reasoning for Claude Opus 4.6 on Vertex, Bedrock, and Anthropic TUI - Prevent crash when tool inputs are malformed during opencode run (@0xK3vin) - Add --dir option to run command (@BlankParticle) Desktop - Fix Rust compilation issues in desktop application (@Brendonovich) - Remove OPENCODESQLITE environment variable from desktop (@Brendonovich) - Terminal resize handling fixed in app - Use promptasync endpoint to avoid timeout over VPN/tunnel (@eytans) - Remount SDK and sync tree when server URL changes (@ysm-dev) - Sync docs locale cookie on alias redirects (@Seungjun0906) - Performance optimization for showing large diffs and files in desktop (@neriousy) Thank you to 12 community contributors: - @BlankParticle: - feat(cli): add --dir option to run command (12443) - @neriousy: - fix(desktop): performance optimization for showing large diff & files (13460) - @Seungjun0906: - fix(web): sync docs locale cookie on alias redirects (13109) - docs(ko): polish Korean phrasing in acp, agents, config, and custom-tools docs (13446) - @ysm-dev: - fix(app): remount SDK/sync tree when server URL changes (13437) - @Annopick: - docs: Fix zh-cn translation mistake in tools.mdx (13407) - @eytans: - fix(web): use promptasync endpoint to avoid timeout over VPN/tunnel (12749) - @G36maid: - docs: add pacman installation option for Arch Linux alongside AUR (13293) - @yanhao98: - fix(test): move timeout config to CLI flag (13494) - @niushuai1991: - fix: standardize zh-CN docs character set and terminology (13500) - @kitlangton: - fix(ui): support cmd-click links in inline code (12552) - @0xK3vin: - fix: prevent opencode run crash on malformed tool inputs (13051) - @Brendonovich: - desktop: remote OPENCODESQLITE env (13545) - desktop: fix rust

View original release

Other Recent OpenCode Releases

Upgrading from v1.2.0? See all 167 releases since.

All OpenCode releases · All AI coding tool releases on Havoptic