OpenCode v1.2.21
OpenCode v1.2.21 was released on .
Summary
Core - Preserve original line endings in edit tool (@ranqn) - Fix Git path resolution for modified files across Git Bash, MSYS2, and Cygwin on Windows - Fix PTY session handle leak (@kikuchan) - Sa...
Release Context
- This was the 54th OpenCode release of 2026 tracked by Havoptic.
- It shipped 1 day after OpenCode v1.2.20 (March 6, 2026).
Shipped around the same time
Within 3 days of this release, other AI coding tools also shipped:
- OpenAI Codex CLI rust-v0.113.0 (March 10, 2026)
- v0 2026.03.10 (March 10, 2026)
- Claude Code v2.1.72 (March 9, 2026)
- GitHub Copilot CLI v1.0.3 (March 9, 2026)
- Gemini CLI v0.33.0-preview.7 (March 9, 2026)
Compare OpenCode
- OpenCode vs Claude Code
- OpenCode vs OpenAI Codex CLI
- OpenCode vs Cursor
- OpenCode vs Gemini CLI
- OpenCode vs Kiro CLI
- OpenCode vs GitHub Copilot CLI
- OpenCode vs Devin Desktop
- OpenCode vs Antigravity CLI
- OpenCode vs Grok Build
- OpenCode vs Cline
- OpenCode vs Zed
- OpenCode vs Factory Droid
- OpenCode vs Devin
- OpenCode vs Lovable
- OpenCode vs Amp
- OpenCode vs GitHub Copilot in VS Code
- OpenCode vs Replit Agent
- OpenCode vs Bolt
- OpenCode vs v0
Release Notes
Core - Preserve original line endings in edit tool (@ranqn) - Fix Git path resolution for modified files across Git Bash, MSYS2, and Cygwin on Windows - Fix PTY session handle leak (@kikuchan) - Sanitize preview database filenames - Log stack trace when schema validation fails - I need to see the actual commit diff to understand what was fixed and provide an accurate changelog entry. - Add project git init API - Update Drizzle and channel database handling - Speed up share loads - Enable auto-accept keybind regardless of permission config (@luisfelipesena) TUI - Fix broken /export toggling in TUI (@natewill) Desktop - Guard session-header current() against undefined when options is empty (@cyberprophet) - Preserve file tree tab on reopen and fix e2e test regressions (@neriousy) - Remove close button from project hover popover - New session uses agent model/variant - Model sticks to session after being changed - Based on the commit message "fix(app): all panels transition", here's the changelog entry: All panels transition correctly - Can't scroll files in app - Fix maximum width on timeline component - Align session empty states in TUI - Add interactive timeline visualization feature - Share workspace slug wait helper across e2e specs - Abort sessions and wait for idle before e2e cleanup - Show skill issue when snapshotting is off in desktop app - Fix portal positioning for sidebar menus and tooltips by removing conditional mount logic - Add end-to-end tests for app (part 67) (@neriousy) - Add sidebar reveal animation, hover peek overlay, and weaker dividers to app - Better review and file tree empty states - Enable Safari autocorrect in normal mode, disable in shell mode (@alexandrereyes) - Revert stale read error fix in app - Add English to locale matchers (@KirillTregubov) Thank you to 12 community contributors: - @luisfelipesena: - fix(app): enable auto-accept keybind regardless of permission config (16259) - @imdzx: - feat: Add Vietnamese README and update all language navigation links … (16322) - @KirillTregubov: - fix(app): add english to locale matchers (16280) - @hoshiumiarata: - fix(ui): prevent unwanted key events during composition in LineCommentEditor (16361) - @alexandrereyes: - fix(app): enable Safari autocorrect in normal mode, disable in shell mode (15563) - @neriousy: - tests(app): e2e tests part 67 (16406) - fix(app): preserve file tree tab on reopen + fix e2e test regressions (16482) - @kikuchan: - fix(pty): pty session handle leak (15599) - @ShriKaranHanda: - fix(config): point GitHub PR search tool at current repository (16441) - fix(storybook): restore build by mocking useLocation (16472) - @natewill: - fix(tui): fix broken /export toggling (16443) - @ranqn: - fix(opencode): preserve original line endings in 'edit' tool (9443) - @cyberprophet: - fix(app): guard session-header current() against undefined when options is empty (16478) - @Eric-Guo: - fix(app): text-shimmer undefined length (16475)
Other Recent OpenCode Releases
- v1.19.3 (October 16, 2026)
- v1.19.2 (October 16, 2026)
- v1.19.1 (October 15, 2026)
- v1.19.0 (October 11, 2026)
- v1.18.35 (October 6, 2026)
Upgrading from v1.2.21? See all 146 releases since.
All OpenCode releases · All AI coding tool releases on Havoptic