Skip to content

This release includes breaking changes for platform teams planning a safe upgrade.

Published 1mo API Development
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

aws-bedrock claude claude-code claude-code-cli opencode opencode-ai
+2 more
opencode-go opencode-zen

Summary

AI summary

Updates Bug Fixes, New Features, and Chores across a mixed release.

Full changelog

Breaking Changes

  • None

New Features

  • Add streaming_timeout_ms to OpenCodeGoConfig and OpenCodeZenConfig for per‑request streaming timeouts.
  • Expose heartbeat_paused flag during raw Anthropic streaming to avoid keep‑alive injection into SSE frames.
  • Add IsAnthropicModel and isAnthropicNativeGo helpers that now include minimax‑m2.5/2.7/3 and qwen‑plus models.
  • Add RequestTimeout, StreamingTimeout, and StreamIdleTimeout helpers on OpenCodeClient.
  • Add walkthrough.md documenting integration and timeout configuration.

Bug Fixes

  • Fix streaming timeout handling: bind streaming body reads to the per‑attempt context so mid‑stream stalls abort.
  • Prevent panic when transformTools receives a whitespace‑only "null" schema.
  • Stop fallback chain early on parent context cancellation or deadline exceeded; do not record client cancellations as circuit‑breaker failures.
  • Correct error handling in Anthropic API calls, surface ErrStreamReadCanceled, and streamline SSE error messages.
  • Resolve lint issues in test files (discard unused return values, remove redundant type assertions).
  • Fix concurrent write handling in TestResponseWriter by using Fprintf.

Improvements

  • Harden transformTools: skip empty/whitespace names, normalize null/empty schemas, validate object type and properties, guard against nil schema objects.
  • Update ApplyDefaults to honor streaming_timeout_ms before timeout_ms when the former is unset.
  • Optimize retry logic and error handling with a dedicated APIError type.
  • Reload messaging in atomic.go now reports timeout changes immediately.
  • Add per‑byte idle‑gap enforcement via StreamIdleTimeout.

Documentation

  • Update CONFIGURATION.md and README.md with Streaming Scenario Routing and new streaming_timeout_ms config.
  • Add streaming_timeout_ms to config.example.json.
  • Expand documentation for new timeout helpers and Anthropic‑native streaming behavior.

Chores

  • Add extensive test coverage for new streaming and timeout features.
  • Update test files and remove lint warnings.
  • Minor refactorings in provider architecture and fallback logic.
  • Update CI configuration and dependency checks.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track Oc-go-cc, an Open-source proxy that lets Claude Code use OSS models

Get notified when new releases ship.

Sign up free

About Oc-go-cc, an Open-source proxy that lets Claude Code use OSS models

All releases →

Related context

Related tools

Earlier breaking changes

  • v0.6.0 Configuration format updated; migration required for compatibility.
  • v0.5.2 Catalog storage migrates from JSON files to SQLite by default.
  • v0.3.0 Anthropic model routing now prioritizes Zen-specific endpoints over legacy Anthropic when `IsZen` is true; existing configs may need updates using `model_overrides`.
  • v0.3.0 `model_overrides` now requires explicit model names for DeepSeek V4 Pro and Flash Free variants; shorthand syntax removed.
  • v0.2.9 Removes models mimo-v2-pro, mimo-v2-omni, qwen3.5-plus from routing

Beta — feedback welcome: [email protected]