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:

Compare OpenCode

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)

View original release

Other Recent OpenCode Releases

Upgrading from v1.2.21? See all 146 releases since.

All OpenCode releases · All AI coding tool releases on Havoptic