---
title: "zhipuai 2.1.5.20250801 Breaking Changes on PyPI | Since.dev"
description: "What each zhipuai release removed, renamed or changed: 20 breaking changes in 13 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/zhipuai
last_updated: 2026-12-04
---

# 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

Latest version `2.1.5.20250825`, released August 25, 2025. 

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [2.1.5.20241203](#v-2-1-5-20241203) to [2.1.5.20250801](#v-2-1-5-20250801): 19 breaking changes in 12 versions.

## zhipuai 2.1.5.20250801 breaking changes

zhipuai 2.1.5.20250801, released August 1, 2025: 1 breaking change.

- **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](https://pypi.org/project/zhipuai/2.1.5.20250801/)

## zhipuai 2.1.5.20250726 breaking changes

zhipuai 2.1.5.20250726, released July 25, 2025: 1 breaking change.

- **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](https://pypi.org/project/zhipuai/2.1.5.20250726/)

## zhipuai 2.1.5.20250725 breaking changes

zhipuai 2.1.5.20250725, released July 24, 2025: 1 breaking change.

- **Signature changed** `zhipuai.types.audio.audio_speech_chunk.AudioError`  

Was class AudioError; now class AudioError(BaseModel). [pypi.org](https://pypi.org/project/zhipuai/2.1.5.20250725/)

## zhipuai 2.1.5.20250717 breaking changes

zhipuai 2.1.5.20250717, released July 17, 2025: 1 breaking change.

- **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](https://pypi.org/project/zhipuai/2.1.5.20250717/)

## zhipuai 2.1.5.20250716 breaking changes

zhipuai 2.1.5.20250716, released July 16, 2025: 1 breaking change.

- **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](https://pypi.org/project/zhipuai/2.1.5.20250716/)

## zhipuai 2.1.5.20250715 breaking changes

zhipuai 2.1.5.20250715, released July 15, 2025: 1 breaking change.

- **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](https://pypi.org/project/zhipuai/2.1.5.20250715/)

## Older versions

7 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### zhipuai 2.1.5.20250708 breaking changes

zhipuai 2.1.5.20250708, released July 8, 2025: 8 breaking changes.

- **Removed** `zhipuai.api_resource.Moderation`  

zhipuai.api_resource.Moderation was removed in zhipuai 2.1.5.20250708 [pypi.org](https://pypi.org/project/zhipuai/2.1.5.20250708/)
- **Removed** `zhipuai.api_resource.moderation.moderation`  

zhipuai.api_resource.moderation.moderation was removed in zhipuai 2.1.5.20250708 [pypi.org](https://pypi.org/project/zhipuai/2.1.5.20250708/)

And 6 more in this version.

### zhipuai 2.1.5.20250625 breaking changes

zhipuai 2.1.5.20250625, released June 25, 2025: 1 breaking change.

- **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](https://pypi.org/project/zhipuai/2.1.5.20250625/)

### zhipuai 2.1.5.20250611 breaking changes

zhipuai 2.1.5.20250611, released June 13, 2025: 1 breaking change.

- **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](https://pypi.org/project/zhipuai/2.1.5.20250611/)

### zhipuai 2.1.5.20250526 breaking changes

zhipuai 2.1.5.20250526, released May 26, 2025: 1 breaking change.

- **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](https://pypi.org/project/zhipuai/2.1.5.20250526/)

### zhipuai 2.1.5.20250410 breaking changes

zhipuai 2.1.5.20250410, released April 10, 2025: 1 breaking change.

- **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](https://pypi.org/project/zhipuai/2.1.5.20250410/)

### zhipuai 2.1.5.20241204 breaking changes

zhipuai 2.1.5.20241204, released December 5, 2024: 1 breaking change.

- **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](https://pypi.org/project/zhipuai/2.1.5.20241204/)

### zhipuai 2.1.5.20241203 breaking changes

zhipuai 2.1.5.20241203, released December 3, 2024: 1 breaking change.

- **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](https://pypi.org/project/zhipuai/2.1.5.20241203/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
