zhipuai breaking changes
zhipuai 2.1.5.20250801 (August 1, 2025) is its newest release with breaking changes. The first: Signature changed zhipuai.api_resource.Audio.speech. Every breaking API change we have recorded in zhipuai on PyPI: 20 breaking changes in 13 versions. Below, its 13 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.1.5.20250825, released August 25, 2025.
Packages on PyPI run on Python. Python end of life dates.
- From 2.1.5.20241203 to 2.1.5.20250801: 19 breaking changes in 12 versions.
zhipuai 2.1.5.20250801 breaking changes
- Signature changed
zhipuai.api_resource.Audio.speech
Was def speech(self, *, model: str, input: str = None, voice: str = None, response_format: str = None, sensitive_word_check: Optional[SensitiveWordCheckRequest] | NotGiven = NOT_GIVEN, request_id: str = None, user_id: str = None, stream... pypi.org
zhipuai 2.1.5.20250726 breaking changes
- Signature changed
zhipuai.api_resource.Completions.create
Was def create(self, *, model: str, request_id: Optional[str] | NotGiven = NOT_GIVEN, user_id: Optional[str] | NotGiven = NOT_GIVEN, do_sample: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN, stream... pypi.org
zhipuai 2.1.5.20250725 breaking changes
- Signature changed
zhipuai.types.audio.audio_speech_chunk.AudioError
Was class AudioError; now class AudioError(BaseModel). pypi.org
zhipuai 2.1.5.20250717 breaking changes
- Signature changed
zhipuai.api_resource.web_search.WebSearchApi.web_search
Was def web_search(self, *, request_id: Optional[str] | NotGiven = NOT_GIVEN, search_engine: Optional[str] | NotGiven = NOT_GIVEN, search_query: Optional[str] | NotGiven = NOT_GIVEN, user_id: Optional[str] | NotGiven = NOT_GIVEN... pypi.org
zhipuai 2.1.5.20250716 breaking changes
- Signature changed
zhipuai.api_resource.Audio.speech
Was def speech(self, *, model: str, input: str = None, voice: str = None, response_format: str = None, sensitive_word_check: Optional[SensitiveWordCheckRequest] | NotGiven = NOT_GIVEN, request_id: str = None, user_id: str = None... pypi.org
zhipuai 2.1.5.20250715 breaking changes
- Signature changed
zhipuai.api_resource.Videos.generations
Was def generations(self, model: str, *, prompt: str = None, image_url: str = None, quality: str = None, with_audio: bool = None, size: str = None, duration: int = None, fps: int = None, sensitive_word_check... pypi.org
Older versions
7 older versions, each with its first changes. Sign up to see every change
Show 7 older versions
zhipuai 2.1.5.20250708 breaking changes
- Removed
zhipuai.api_resource.Moderation
zhipuai.api_resource.Moderation was removed in zhipuai 2.1.5.20250708 pypi.org - Removed
zhipuai.api_resource.moderation.moderation
zhipuai.api_resource.moderation.moderation was removed in zhipuai 2.1.5.20250708 pypi.org
And 6 more in this version.
zhipuai 2.1.5.20250625 breaking changes
- Signature changed
zhipuai.ZhipuAI.__init__
Was def __init__(self, *, api_key: str | None = None, base_url: str | httpx.URL | None = None, timeout: Union[float, Timeout, None, NotGiven] = NOT_GIVEN, max_retries: int = ZHIPUAI_DEFAULT_MAX_RETRIES, http_client: httpx.Client | None =... pypi.org
zhipuai 2.1.5.20250611 breaking changes
- Signature changed
zhipuai.api_resource.web_search.WebSearchApi.web_search
Was def web_search(self, *, request_id: Optional[str] | NotGiven = NOT_GIVEN, search_engine: Optional[str] | NotGiven = NOT_GIVEN, search_query: Optional[str] | NotGiven = NOT_GIVEN, user_id: Optional[str] | NotGiven = NOT_GIVEN... pypi.org
zhipuai 2.1.5.20250526 breaking changes
- Signature changed
zhipuai.api_resource.web_search.WebSearchApi.web_search
Was def web_search(self, *, request_id: Optional[str] | NotGiven = NOT_GIVEN, search_engine: Optional[str] | NotGiven = NOT_GIVEN, search_query: Optional[str] | NotGiven = NOT_GIVEN, user_id: Optional[str] | NotGiven = NOT_GIVEN... pypi.org
zhipuai 2.1.5.20250410 breaking changes
- Signature changed
zhipuai.api_resource.Assistant.conversation
Was def conversation(self, assistant_id: str, model: str, messages: List[assistant_create_params.ConversationMessage], *, stream: bool = True, conversation_id: Optional[str] = None, attachments... pypi.org
zhipuai 2.1.5.20241204 breaking changes
- Signature changed
zhipuai.api_resource.Videos.generations
Was def generations(self, model: str, *, prompt: str = None, image_url: str = None, sensitive_word_check: Optional[SensitiveWordCheckRequest] | NotGiven = NOT_GIVEN, request_id: str = None, user_id: str = None, extra_headers: Headers |... pypi.org
zhipuai 2.1.5.20241203 breaking changes
- Signature changed
zhipuai.api_resource.Completions.create
Was def create(self, *, model: str, request_id: Optional[str] | NotGiven = NOT_GIVEN, user_id: Optional[str] | NotGiven = NOT_GIVEN, do_sample: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN, stream... pypi.org
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.