async-openai breaking changes
Updated December 4, 2026
On this page
Latest version 0.43.0, released November 1, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
async-openai 0.43.0 breaking changes
- Removed
async_openai::types::audio::CreateVoiceRequest::audio_sample
async_openai::types::audio::CreateVoiceRequest::audio_sample was removed in async-openai 0.43.0 crates.io - Removed
async_openai::types::audio::CreateVoiceRequest::consent
async_openai::types::audio::CreateVoiceRequest::consent was removed in async-openai 0.43.0 crates.io - Removed
async_openai::types::audio::CreateVoiceRequest::name
async_openai::types::audio::CreateVoiceRequest::name was removed in async-openai 0.43.0 crates.io - Removed
async_openai::types::chat::ChatCompletionMessageListItem
async_openai::types::chat::ChatCompletionMessageListItem was removed in async-openai 0.43.0 crates.io - Removed
async_openai::types::images::ImageModel::DallE2
async_openai::types::images::ImageModel::DallE2 was removed in async-openai 0.43.0 crates.io - Removed
async_openai::types::images::ImageModel::DallE3
async_openai::types::images::ImageModel::DallE3 was removed in async-openai 0.43.0 crates.io - Removed
async_openai::types::images::ImageModel::GptImage1
async_openai::types::images::ImageModel::GptImage1 was removed in async-openai 0.43.0 crates.io - Removed
async_openai::types::responses::ComputerTool
async_openai::types::responses::ComputerTool was removed in async-openai 0.43.0 crates.io - Signature changed
async_openai::types::admin::usage::UsageCompletionsResult::input_cache_write_tokens
Was input_cache_write_tokens: Option<i64>; now input_cache_write_tokens: Option<u32>. crates.io - Signature changed
async_openai::types::audio::CreateVoiceRequest
Was struct CreateVoiceRequest; now enum CreateVoiceRequest. crates.io - Signature changed
async_openai::types::chat::ChatCompletionMessageList::data
Was data: Vec<ChatCompletionMessageListItem>; now data: Vec<ChatCompletionStoreMessage>. crates.io - Signature changed
async_openai::types::chat::ContentPart::ImageUrl
Was ImageUrl(ChatCompletionRequestMessageContentPartImage); now ImageUrl(StoredMessageImageUrlPart). crates.io - Signature changed
async_openai::types::chat::ContentPart::Text
Was Text(ChatCompletionRequestMessageContentPartText); now Text(StoredMessageTextPart). crates.io - Signature changed
async_openai::types::evals::EvalRun::model
Was model: String; now model: Option<String>. crates.io - Signature changed
async_openai::types::evals::EvalRun::name
Was name: String; now name: Option<String>. crates.io - Signature changed
async_openai::types::files::OpenAIFile::bytes
Was bytes: u32; now bytes: Option<u32>. crates.io - Signature changed
async_openai::types::finetuning::FineTuningJob::hyperparameters
Was hyperparameters: Hyperparameters; now hyperparameters: Option<Hyperparameters>. crates.io - Signature changed
async_openai::types::finetuning::FineTuningJob::seed
Was seed: u32; now seed: Option<u32>. crates.io - Signature changed
async_openai::types::graders::GraderMulti::graders
Was graders: Graders; now graders: std::collections::HashMap<String, Graders>. crates.io - Signature changed
async_openai::types::images::CreateImageEditRequest::model
Was model: Option<ImageModel>; now model: ImageModel. crates.io - Signature changed
async_openai::types::images::CreateImageRequest::model
Was model: Option<ImageModel>; now model: ImageModel. crates.io - Signature changed
async_openai::types::realtime::AudioInput::noise_reduction
Was noise_reduction: Option<NoiseReductionType>; now noise_reduction: Option<RealtimeNoiseReduction>. crates.io - Signature changed
async_openai::types::realtime::RealtimeResponseCreateParams::input
Was input: Vec<RealtimeConversationItem>; now input: Vec<crate::types::realtime::RealtimeResponseInputItem>. crates.io - Signature changed
async_openai::types::responses::Tool::Computer
Was Computer(ComputerTool); now Computer. crates.io - Signature changed
async_openai::types::responses::ToolSearchOutputItemParam::tools
Was tools: Vec<Tool>; now tools: Vec<ToolSearchOutputTool>. crates.io - Signature changed
async_openai::types::responses::WebSearchActionFind::url
Was url: String; now url: Option<String>. crates.io
async-openai 0.42.0 breaking changes
- Removed
async_openai::Assistants
Use Responses instead. crates.io - Removed
async_openai::Client::assistants
Use Responses instead. crates.io - Removed
async_openai::Client::threads
Use Responses instead. crates.io - Removed
async_openai::Messages
Use Responses instead. crates.io - Removed
async_openai::Runs
Use Responses instead. crates.io - Removed
async_openai::Steps
Use Responses instead. crates.io - Removed
async_openai::Threads
Use Responses instead. crates.io - Removed
async_openai::types::assistants
async_openai::types::assistants was removed in async-openai 0.42.0 crates.io - Removed
async_openai::types::responses::ContextManagementParam::type_
async_openai::types::responses::ContextManagementParam::type_ was removed in async-openai 0.42.0 crates.io - Removed
async_openai::types::responses::ErrorObject
async_openai::types::responses::ErrorObject was removed in async-openai 0.42.0 crates.io
And 16 more in this version. Sign up to see every change
async-openai 0.41.0 breaking changes
- Removed
async_openai::types::admin::api_keys::AdminApiKey::value
async_openai::types::admin::api_keys::AdminApiKey::value was removed in async-openai 0.41.0 crates.io - Removed
async_openai::types::admin::certificates::UploadCertificateRequest::content
async_openai::types::admin::certificates::UploadCertificateRequest::content was removed in async-openai 0.41.0 crates.io - Removed
async_openai::types::admin::invites::Invite::invited_at
async_openai::types::admin::invites::Invite::invited_at was removed in async-openai 0.41.0 crates.io - Removed
async_openai::types::admin::project_users::ProjectUserRole
async_openai::types::admin::project_users::ProjectUserRole was removed in async-openai 0.41.0 crates.io - Removed
async_openai::types::admin::projects::ProjectStatus
async_openai::types::admin::projects::ProjectStatus was removed in async-openai 0.41.0 crates.io - Removed
async_openai::types::admin::usage::CostsResult::object
async_openai::types::admin::usage::CostsResult::object was removed in async-openai 0.41.0 crates.io - Removed
async_openai::types::admin::usage::CostsResult::organization_id
async_openai::types::admin::usage::CostsResult::organization_id was removed in async-openai 0.41.0 crates.io - Removed
async_openai::types::admin::usage::UsageAudioSpeechesResult::object
async_openai::types::admin::usage::UsageAudioSpeechesResult::object was removed in async-openai 0.41.0 crates.io - Removed
async_openai::types::admin::usage::UsageAudioTranscriptionsResult::object
async_openai::types::admin::usage::UsageAudioTranscriptionsResult::object was removed in async-openai 0.41.0 crates.io - Removed
async_openai::types::admin::usage::UsageCodeInterpreterSessionsResult::object
async_openai::types::admin::usage::UsageCodeInterpreterSessionsResult::object was removed in async-openai 0.41.0 crates.io
And 38 more in this version. Sign up to see every change
async-openai 0.40.0 breaking changes
- Signature changed
OpenAIError.ApiError
The ApiError variant of OpenAIError now holds ApiErrorResponse rather than ApiError. Code that matches on or constructs this variant must be updated. github.com
async-openai 0.39.0 breaking changes
- Signature changed
async_openai::types::assistants::ResponseFormatJsonSchema::schema
Was schema: Option<serde_json::Value>; now schema: serde_json::Value. crates.io - Signature changed
async_openai::types::chat::ResponseFormatJsonSchema::schema
Was schema: Option<serde_json::Value>; now schema: serde_json::Value. crates.io - Signature changed
async_openai::types::responses::ResponseFormatJsonSchema::schema
Was schema: Option<serde_json::Value>; now schema: serde_json::Value. crates.io - Signature changed
async_openai::types::responses::WebSearchToolCall::action
Was action: WebSearchToolCallAction; now action: Option<WebSearchToolCallAction>. crates.io - Signature changed
response.output_item.added
The action field in response.output_item.added is now optional, so code that reads it as a required value must handle a missing value. github.com - Signature changed
ResponseFormatJsonSchema.schema
The schema field of ResponseFormatJsonSchema is now required, so code that builds this type without a schema must supply one. github.com
async-openai 0.38.0 breaking changes
- Removed
async_openai::middleware::MiddlewareInput
async_openai::middleware::MiddlewareInput was removed in async-openai 0.38.0 crates.io - Signature changed
async_openai::traits::AsyncTryFrom::try_from
Was fn try_from(value: T) -> impl std::future::Future<Output = Result<Self, Self::Error>> + Send; now fn try_from(value: T) -> impl std::future::Future<Output = Result<Self, Self::Error>> + MaybeSend. crates.io - Signature changed
async_openai::types::assistants::AssistantEventStream
Was type AssistantEventStream = std::pin::Pin<Box<dyn futures::Stream<Item = Result<AssistantStreamEvent, crate::error::OpenAIError>> + Send>>; now type AssistantEventStream = crate::types::stream::StreamResponse<AssistantStreamEvent>. crates.io - Signature changed
async_openai::types::audio::SpeechResponseStream
Was type SpeechResponseStream = std::pin::Pin<Box<dyn futures::Stream<Item = Result<CreateSpeechResponseStreamEvent, crate::error::OpenAIError>> + Send>>; now type SpeechResponseStream =... crates.io - Signature changed
async_openai::types::audio::TranscriptionResponseStream
Was type TranscriptionResponseStream = std::pin::Pin<Box<dyn futures::Stream<Item = Result<CreateTranscriptionResponseStreamEvent, crate::error::OpenAIError>> + Send>>; now type TranscriptionResponseStream =... crates.io - Signature changed
async_openai::types::chat::ChatCompletionResponseStream
Was type ChatCompletionResponseStream = std::pin::Pin<Box<dyn futures::Stream<Item = Result<CreateChatCompletionStreamResponse, OpenAIError>> + Send>>; now type ChatCompletionResponseStream =... crates.io - Signature changed
async_openai::types::completions::CompletionResponseStream
Was type CompletionResponseStream = std::pin::Pin<Box<dyn futures::Stream<Item = Result<CreateCompletionResponse, OpenAIError>> + Send>>; now type CompletionResponseStream = crate::types::stream::StreamResponse<CreateCompletionResponse>. crates.io - Signature changed
async_openai::types::images::ImageEditStream
Was type ImageEditStream = std::pin::Pin<Box<dyn futures::Stream<Item = Result<ImageEditStreamEvent, crate::error::OpenAIError>> + Send>>; now type ImageEditStream = crate::types::stream::StreamResponse<ImageEditStreamEvent>. crates.io - Signature changed
async_openai::types::images::ImageGenStream
Was type ImageGenStream = std::pin::Pin<Box<dyn futures::Stream<Item = Result<ImageGenStreamEvent, crate::error::OpenAIError>> + Send>>; now type ImageGenStream = crate::types::stream::StreamResponse<ImageGenStreamEvent>. crates.io - Signature changed
async_openai::types::responses::ReasoningItem::content
Was content: Option<Vec<ReasoningTextContent>>; now content: Option<Vec<ReasoningItemContent>>. crates.io
And 1 more in this version. Sign up to see every change
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
async-openai 0.37.0 breaking changes
- Removed
async_openai::Client::with_backoff
async_openai::Client::with_backoff was removed in async-openai 0.37.0 crates.io - Signature changed
async_openai::Client::build
The signature of async_openai::Client::build changed in async-openai 0.37.0 crates.io
async-openai 0.36.0 breaking changes
- Removed
async_openai::error::StreamError::ReqwestEventSource
async_openai::error::StreamError::ReqwestEventSource was removed in async-openai 0.36.0 crates.io
async-openai 0.35.0 breaking changes
- Signature changed
The spec sync changes some types in breaking ways. If your code uses none of the affected types, upgrading needs no changes; otherwise check the linked PR diffs for the types you use. github.com - Signature changed
async_openai::types::responses::ItemResourceItem::ComputerCallOutput
Was ComputerCallOutput(ComputerCallOutputItemParam); now ComputerCallOutput(ComputerToolCallOutputResource). crates.io
And 3 more in this version.
async-openai 0.34.0 breaking changes
- Behavior changed
The release syncs the upstream OpenAI spec and makes breaking changes to certain types, without naming them in the notes. Code that uses those types must be checked and updated; code that uses none of them needs no changes. github.com - Signature changed
async_openai::types::responses::ComputerToolCall::action
Was action: ComputerAction; now action: Option<ComputerAction>. crates.io
async-openai 0.33.0 breaking changes
- Removed
async_openai::types::responses::Drag
async_openai::types::responses::Drag was removed in async-openai 0.33.0 crates.io - Removed
async_openai::types::responses::DragPoint
async_openai::types::responses::DragPoint was removed in async-openai 0.33.0 crates.io
And 11 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.