genai breaking changes
Updated December 4, 2026
On this page
Latest version 0.7.7, released December 3, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
genai 0.7.4 breaking changes
- Behavior changed
Every gemini-4* model now uses the Gemini Interactions adapter, not only gemini-4-argon. Code that relied on the old routing for other gemini-4 models should check its behavior; gemini:: and gemini_ix:: namespaces still take precedence. github.com
genai 0.7.3 breaking changes
- Behavior changed
Streamed Gemini reasoning is now captured with capture_reasoning_content instead of capture_content, so code relying on capture_content for reasoning must switch. github.com - Behavior changed
temperature and top_p are now omitted for Claude Opus 4.7+, Sonnet 5+, Haiku 5+, Fable and Mythos, which only accept defaults. extra_body can still set either. github.com - Behavior changed
Gemini 4 and later take a thinkingLevel rather than a thinkingBudget and get a signature stand-in on the first function call. Gemini 2.5 keeps the budget. github.com - Behavior changed
Adaptive-thinking Claude models on Bedrock now use adaptive thinking and output_config.effort instead of a fixed thinking budget, and Zero sends no reasoning fields. github.com - Behavior changed
Contiguous same-role messages, such as parallel tool results, are now merged into one Converse message on Bedrock. github.com - Behavior changed
reasoning.* blocks captured on another adapter are no longer sent to providers that refuse them, and Anthropic drops them. github.com - Behavior changed
The Responses adapter no longer sends stop or seed, since the API rejects them with HTTP 400. extra_body can still set either. github.com - Behavior changed
all_model_names
all_model_names now returns newer Cohere model ids in place of four deprecated ones. Code that relies on the old list must be updated. github.com - Behavior changed
prompt_tokens
For Bedrock, prompt_tokens now counts cache tokens that Converse leaves out of inputTokens, so token totals change when cache fields are present. github.com
genai 0.7.1 breaking changes
- Behavior changed
ChatResponse.reasoning_content
A non-streaming Gemini answer with no thought parts now yields reasoning_content of None instead of Some(""). Code that checks for Some("") must check for None instead. github.com - Default changed
The default max output tokens for Claude Opus 4.6 and 4.7 rise from 32K to 64K, and Opus 4.8 defaults to 128K. Code that relied on the old 32K default should set max tokens explicitly. github.com
genai 0.7.0 breaking changes
- Removed
Client.default
Client::default was removed. Use Client::new, which returns Result<Client>. github.com - Removed
genai::adapter::AdapterKind::as_lower_str
genai::adapter::AdapterKind::as_lower_str was removed in genai 0.7.0 crates.io - Removed
genai::adapter::AdapterKind::as_str
genai::adapter::AdapterKind::as_str was removed in genai 0.7.0 crates.io - Removed
genai::adapter::AdapterKind::default_key_env_name
genai::adapter::AdapterKind::default_key_env_name was removed in genai 0.7.0 crates.io - Removed
genai::adapter::AdapterKind::from_lower_str
genai::adapter::AdapterKind::from_lower_str was removed in genai 0.7.0 crates.io - Removed
genai::chat::JsonSpec::schema_with_additional_properties_false
This constructor was removed. Provider adapters now sanitize schemas themselves, and JsonSchemaDialect or sanitize_json_schema can be used for explicit sanitization. crates.io - Removed
genai::chat::ReasoningEffort::None
Replace ReasoningEffort::None with ReasoningEffort::Zero. The keyword is now zero, though none is still accepted when parsing. crates.io - Behavior changed
When genai types are serialized to JSON, optional fields set to None are left out instead of written as null. Code that reads those keys must handle their absence. github.com - Behavior changed
Gemini thought signatures are now kept beside the part they arrived on instead of being moved to the front. Code that relies on the old ordering must change. github.com - Behavior changed
Anthropic Sonnet 5 requests now explicitly send thinking as disabled, because thinking is on by default for that model. github.com
And 11 more in this version. Sign up to see every change
genai 0.6.1 breaking changes
- Behavior changed
The OpenAI-only guard on the reasoning suffix was removed, so all OpenAI-compatible adapters now resolve it. Code using reasoning-suffixed model names on those adapters may see different behavior. github.com
genai 0.6.0 breaking changes
- Removed
genai::chat::ContentPart
genai::chat::ContentPart was removed in genai 0.6.0 crates.io
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
genai 0.6.0-beta.21 breaking changes
- Renamed
The zai plan-based namespace changed from coding to zai_coding. Update namespaced model names to zai_coding. github.com - Behavior changed
GPT-5 models are sent through the Responses API instead of the chat completions path, so request and response handling for them changes. github.com
And 7 more in this version.
genai 0.5.2 breaking changes
- Behavior changed
Gemini responses now include model thoughts, which are captured as reasoning content. Code that reads response text or content may see extra reasoning text and should check how it handles that. github.com
genai 0.5.1 breaking changes
- Signature changed
genai::Error::WebStream
The WebStream error variant now carries an extra error field holding the original error. Code that constructs or exhaustively matches this variant must be updated to handle the new field. crates.io
genai 0.5.0 breaking changes
- Removed
genai::Error::EventSourceClone
genai::Error::EventSourceClone was removed in genai 0.5.0 crates.io - Removed
genai::Error::ReqwestEventSource
genai::Error::ReqwestEventSource was removed in genai 0.5.0 crates.io
And 5 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.