pypi / groq
groq
What changed in groq 0.33 to 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.
2 breaking1 security1 deprecations6 new APIs and options1 performance3 behavior and defaults1 tooling21 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initgroq 124 changes
Breaking changes 1
The SDK no longer passes by_alias unless it is set, changing how Pydantic serialization behaves when the option is unset.
Security 1
Endpoint path parameters are sanitized.
Deprecations 1
Python 3.9 support is deprecated.
New APIs and options 6
Workflow templates support a configurable CI runner and private production repositories.
Headers can now be set via environment variables.
Adds support for binary request streaming.
Adds a custom JSON encoder for extended type support.
Use feat for a commit that adds a feature; it corresponds to a MINOR Semantic Versioning release.
Optional footers follow the body and use a word token, a colon-space or space-hash separator, and a value; token whitespace is replaced with hyphens, except BREAKING CHANGE.
Performance 1
File structure copying is optimized for multipart requests.
Behavior and default changes 3
Adds reasoning guidance for Qwen3.8 in chat.
Pydantic iterators are now supported with eager validation.
Query and form serialization now implements the indices array format.
Tooling 1
Commit messages use a type and optional scope, !, and description, with optional body and footers.
Fixes and other changes 10
Multipart file arrays now use the correct field name format.
File data are sent as a single parameter.
Hardcoded query parameters are preserved when merging with user parameters.
The API was updated; the notes do not specify the details.
Indicate breaking changes in the type/scope prefix or with a BREAKING CHANGE footer; these correspond to a MAJOR release.
A ! immediately before the colon in the type/scope prefix indicates a breaking change.
Use fix for a bug-fix commit; it corresponds to a PATCH Semantic Versioning release.
The patch method now uses async_to_httpx_files.
A commit type may include an optional scope in parentheses to describe a section of the codebase.
Pyright can now infer TypedDict types within SequenceNotStr.
groq 0.373 changes
Fixes and other changes 3
Streams are consumed to prevent hanging.
The API was updated; the notes do not specify which API elements changed.
Streaming generators now always close streams.
groq 0.361 changes
Fixes and other changes 1
The API was updated; the release notes do not specify the changes.
groq 0.351 changes
Fixes and other changes 1
Fixed the types for chat completion streaming.
groq 0.346 changes
Breaking changes 1
Python 3.8 support was dropped.
Fixes and other changes 5
Annotations were added to the streaming response.
The API was updated.
The signature was updated for Pydantic v1.
Compatibility with Python 3.14 was fixed.
Streams can be closed without requiring full consumption.
groq 0.331 changes
Fixes and other changes 1
Fixed completions overloads, improving the SDK's type information.