Skip to content

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Nov 19, 2025

Automated Release PR

0.22.0 (2025-11-25)

Full Changelog: v0.21.0...v0.22.0

⚠ BREAKING CHANGES

  • cloud: k8s references from k8 to k8s
  • cloud: updates to get/list LB l7 policy/rules models

Features

  • api: aggregated API specs update (49ac2ae)
  • api: aggregated API specs update (299adc0)
  • api: aggregated API specs update (fff1d1e)
  • cloud: updates to get/list LB l7 policy/rules models (95a4cf1)

Bug Fixes

  • add overloads to L7 policy polling methods to match create/replace signatures (ecd63d8)
  • add overloads to L7 policy polling methods to match create/replace signatures (44d657e)
  • cloud: add overloads to L7 policy polling methods (a639930)
  • cloud: k8s references from k8 to k8s (96211ea)
  • resolve type errors in L7 policy/rule polling methods (30e648f)

Chores

  • internal: codegen related update (a6fbaff)

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

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 510b4c5 to 2e432d5 Compare November 19, 2025 16:29
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Nov 19, 2025

🧪 Testing

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

    _Expires: Thu, 25 Dec 2025 18:26:30 GMT_

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 2e432d5 to 42ae991 Compare November 20, 2025 16:12
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 42ae991 to 7fd3766 Compare November 21, 2025 23:26
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 7fd3766 to 8d71634 Compare November 24, 2025 08:14
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 8d71634 to e6a2e33 Compare November 24, 2025 13:52
Add type annotations to custom polling methods to help type checkers
resolve overloaded method signatures. The create() and replace() methods
have multiple overloads for different action types, requiring explicit
type hints in the polling wrappers.

Changes:
- Add TaskIDList type annotation to response variables
- Add type: ignore comments for call-overload and misc
- Add type: ignore comments for union-attr when accessing response.tasks

This follows the same pattern used in volumes.py for similar polling methods.
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from e6a2e33 to 443453a Compare November 25, 2025 09:03
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 443453a to 1fdfed7 Compare November 25, 2025 09:09
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 1fdfed7 to 8e45d65 Compare November 25, 2025 09:36
…ce signatures

The create and replace methods have @overload decorators for different action
types, but the create_and_poll and replace_and_poll methods were missing the
corresponding overloads, causing pyright type errors when calling the base
methods.

This adds matching overloads to:
- L7PoliciesResource.create_and_poll
- L7PoliciesResource.replace_and_poll
- AsyncL7PoliciesResource.create_and_poll
- AsyncL7PoliciesResource.replace_and_poll
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 8e45d65 to 50d3e2a Compare November 25, 2025 09:41
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 50d3e2a to ee9a971 Compare November 25, 2025 11:31
…ce signatures

The create and replace methods have @overload decorators for different action
types, but the create_and_poll and replace_and_poll methods were missing the
corresponding overloads, causing pyright type errors when calling the base
methods.

This adds matching overloads to:
- L7PoliciesResource.create_and_poll
- L7PoliciesResource.replace_and_poll
- AsyncL7PoliciesResource.create_and_poll
- AsyncL7PoliciesResource.replace_and_poll
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ee9a971 to 6d5fc0a Compare November 25, 2025 11:47
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 6d5fc0a to 8609a08 Compare November 25, 2025 11:58
Co-authored-by: Danil Krox <[email protected]>
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 8609a08 to f20f49e Compare November 25, 2025 15:59
algis-dumbris and others added 2 commits November 25, 2025 20:25
The create and replace methods have @overload decorators for different action
types, but the create_and_poll and replace_and_poll methods were missing the
corresponding overloads, causing pyright type errors when calling the base
methods.

This adds matching overloads to:
- L7PoliciesResource.create_and_poll
- L7PoliciesResource.replace_and_poll
- AsyncL7PoliciesResource.create_and_poll
- AsyncL7PoliciesResource.replace_and_poll
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from f20f49e to 251e0c4 Compare November 25, 2025 18:27
@algis-dumbris algis-dumbris merged commit 010f24b into main Nov 25, 2025
9 of 10 checks passed
@algis-dumbris algis-dumbris deleted the release-please--branches--main--changes--next branch November 25, 2025 18:58
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Nov 25, 2025

🤖 Release is at https://github.com/G-Core/gcore-python/releases/tag/v0.22.0 🌻

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