Skip to content

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Oct 22, 2025

Automated Release PR

0.34.0 (2025-11-05)

Full Changelog: v0.33.0...v0.34.0

Features

Bug Fixes

  • client: close streams without requiring full consumption (99b9431)

Chores

  • internal/tests: avoid race condition with implicit client cleanup (3af43e5)
  • internal: grammar fix (it's -> its) (37687bf)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions


Note

Release 0.34.0 with OpenAPI update, new chat message annotations, explicit stream closing, and test refactors/cleanups.

  • Release/Versioning:
    • Bump version to 0.34.0 in pyproject.toml, src/groq/_version.py, .release-please-manifest.json; update CHANGELOG.md.
    • Update OpenAPI spec refs in .stats.yml.
  • API/Types:
    • Add chat message annotations: Annotation, AnnotationDocumentCitation, AnnotationFunctionCitation; optional annotations field in ChatCompletionMessage (src/groq/types/chat/chat_completion_message.py).
  • Streaming:
    • Ensure response streams are explicitly closed when not fully consumed in Stream and AsyncStream (src/groq/_streaming.py).
  • Internal/Utils:
    • Minor comment grammar fix in src/groq/_utils/_utils.py.
  • Tests:
    • Refactor to use client/async_client fixtures; add explicit client close calls; adjust retry/redirect and streaming leak tests (tests/test_client.py).

Written by Cursor Bugbot for commit b3a9408. This will update automatically on new commits. Configure here.

@stainless-app
Copy link
Contributor Author

stainless-app bot commented Oct 22, 2025

🧪 Testing

    To try out this version of the SDK, run:
    ```
    pip install 'https://pkg.stainless.com/s/groqcloud-python/3f4b35b7e3bc1084ca79947851e5878f3ef4e53e/groq-0.33.0-py3-none-any.whl'
    ```

    _Expires: Fri, 05 Dec 2025 19:34:51 GMT_

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 6f408af to 4c7b976 Compare October 30, 2025 02:56
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 4c7b976 to e42a1f4 Compare October 31, 2025 04:16
cursor[bot]

This comment was marked as outdated.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from e42a1f4 to 7800a84 Compare November 4, 2025 06:16
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 7800a84 to b3a9408 Compare November 5, 2025 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant