Skip to content

Conversation

@stainless-app
Copy link
Contributor

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

Automated Release PR

1.18.2 (2025-11-04)

Full Changelog: v1.18.1...v1.18.2

Bug Fixes

  • client: close streams without requiring full consumption (bb74e0e)

Chores

  • internal/tests: avoid race condition with implicit client cleanup (0157eb1)
  • internal: grammar fix (it's -> its) (abbf8b2)

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

Bumps to 1.18.2 with a streaming fix that explicitly closes responses when not fully consumed and test updates to avoid cleanup races.

  • Client/Streaming:
    • Explicitly close streaming httpx.Response when iteration ends without full consumption in src/lumaai/_streaming.py (sync and async paths).
  • Tests:
    • Refactor tests to use injected client/async_client fixtures and explicitly close clients to prevent resource leaks and race conditions.
    • Add/adjust redirect, retry, timeout, and header/query tests accordingly.
  • Versioning & Changelog:
    • Bump version to 1.18.2 in pyproject.toml, src/lumaai/_version.py, and .release-please-manifest.json.
    • Update CHANGELOG.md with bug fix and chores.
  • Misc:
    • Grammar fix in comment in src/lumaai/_utils/_utils.py (it's -> its).

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

@stainless-app
Copy link
Contributor Author

stainless-app bot commented Oct 30, 2025

🧪 Testing

    To try out this version of the SDK, run:
    ```
    pip install 'https://pkg.stainless.com/s/luma_ai-python/abbf8b291a2e3f52eee9caf33f701b8cc9be4f67/lumaai-1.18.1-py3-none-any.whl'
    ```

    _Expires: Thu, 04 Dec 2025 04:39:09 GMT_

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 50c0280 to 5da45d7 Compare October 31, 2025 03:08
cursor[bot]

This comment was marked as outdated.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 5da45d7 to e5d4685 Compare November 4, 2025 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant