Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.32.0"
".": "0.33.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 645
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-afac9651736e871ab5942174b1c2b741d31f17c1f4ac61e78f0000f1b3fd8d09.yml
openapi_spec_hash: 9c57a763b4c6b82b581defdcaf5f52df
config_hash: 7552912a8ca7c67b43b97f51b67a5ae7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-06555b1b7559c234823e37c3970ba3ea9f11ed14270b872b22761f6be8692e74.yml
openapi_spec_hash: 619bca59fafad89221a4b35f797f14f1
config_hash: bc578a7de14c42e33b7d4bd4502218f2
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## 0.33.0 (2026-02-16)

Full Changelog: [v0.32.0...v0.33.0](https://github.com/G-Core/gcore-python/compare/v0.32.0...v0.33.0)

### Features

* **api:** aggregated API specs update ([13374b4](https://github.com/G-Core/gcore-python/commit/13374b4ad22fe8709ae1cd0ab9d31c2ec9714a0b))
* **api:** aggregated API specs update ([55f0747](https://github.com/G-Core/gcore-python/commit/55f07478fb5b343efac0d43b0e0a1a5c1fdb8918))
* **api:** aggregated API specs update ([d6b782c](https://github.com/G-Core/gcore-python/commit/d6b782c24f6534edc3c2013d644e0d5f9fdffac5))
* **api:** revert(cdn): remove client_config subresource ([#207](https://github.com/G-Core/gcore-python/issues/207)) ([6bc418a](https://github.com/G-Core/gcore-python/commit/6bc418acdcfed56957b6c571ee2f6f29efa3663e))
* **cdn:** add client_config subresource for terraform ([5359417](https://github.com/G-Core/gcore-python/commit/535941718238395cdfc524c0bc5b59b4109fd8d1))


### Chores

* **cloud:** suppress deprecation warnings for security group rules ([d263a2e](https://github.com/G-Core/gcore-python/commit/d263a2e356d317f3cb4301ee0b10b1863a888178))
* format all `api.md` files ([6f7ec77](https://github.com/G-Core/gcore-python/commit/6f7ec778e65dce7a413619b85df204268f26d178))

## 0.32.0 (2026-02-11)

Full Changelog: [v0.31.0...v0.32.0](https://github.com/G-Core/gcore-python/compare/v0.31.0...v0.32.0)
Expand Down
2,580 changes: 9 additions & 2,571 deletions api.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/cloud/security_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def delete_security_group(*, client: Gcore, security_group_id: str) -> None:

def create_security_group_rule(*, client: Gcore, security_group_id: str) -> str:
print("\n=== CREATE SECURITY GROUP RULE ===")
rule = client.cloud.security_groups.rules.create(
rule = client.cloud.security_groups.rules.create( # pyright: ignore[reportDeprecated]
group_id=security_group_id,
direction="ingress",
protocol="tcp",
Expand All @@ -104,7 +104,7 @@ def create_security_group_rule(*, client: Gcore, security_group_id: str) -> str:

def replace_security_group_rule(*, client: Gcore, rule_id: str, security_group_id: str) -> str:
print("\n=== REPLACE SECURITY GROUP RULE ===")
rule = client.cloud.security_groups.rules.replace(
rule = client.cloud.security_groups.rules.replace( # pyright: ignore[reportDeprecated]
rule_id=rule_id,
direction="ingress",
security_group_id=security_group_id,
Expand All @@ -122,7 +122,7 @@ def replace_security_group_rule(*, client: Gcore, rule_id: str, security_group_i

def delete_security_group_rule(*, client: Gcore, rule_id: str) -> None:
print("\n=== DELETE SECURITY GROUP RULE ===")
client.cloud.security_groups.rules.delete(rule_id=rule_id)
client.cloud.security_groups.rules.delete(rule_id=rule_id) # pyright: ignore[reportDeprecated]
print(f"Deleted security group rule: ID={rule_id}")
print("========================")

Expand Down
6 changes: 3 additions & 3 deletions examples/cloud/security_groups_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async def delete_security_group(*, client: AsyncGcore, security_group_id: str) -

async def create_security_group_rule(*, client: AsyncGcore, security_group_id: str) -> str:
print("\n=== CREATE SECURITY GROUP RULE ===")
rule = await client.cloud.security_groups.rules.create(
rule = await client.cloud.security_groups.rules.create( # pyright: ignore[reportDeprecated]
group_id=security_group_id,
direction="ingress",
protocol="tcp",
Expand All @@ -107,7 +107,7 @@ async def create_security_group_rule(*, client: AsyncGcore, security_group_id: s

async def replace_security_group_rule(*, client: AsyncGcore, rule_id: str, security_group_id: str) -> str:
print("\n=== REPLACE SECURITY GROUP RULE ===")
rule = await client.cloud.security_groups.rules.replace(
rule = await client.cloud.security_groups.rules.replace( # pyright: ignore[reportDeprecated]
rule_id=rule_id,
direction="ingress",
security_group_id=security_group_id,
Expand All @@ -125,7 +125,7 @@ async def replace_security_group_rule(*, client: AsyncGcore, rule_id: str, secur

async def delete_security_group_rule(*, client: AsyncGcore, rule_id: str) -> None:
print("\n=== DELETE SECURITY GROUP RULE ===")
await client.cloud.security_groups.rules.delete(rule_id=rule_id)
await client.cloud.security_groups.rules.delete(rule_id=rule_id) # pyright: ignore[reportDeprecated]
print(f"Deleted security group rule: ID={rule_id}")
print("========================")

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "gcore"
version = "0.32.0"
version = "0.33.0"
description = "The official Python library for the gcore API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down Expand Up @@ -71,7 +71,7 @@ format = { chain = [
# run formatting again to fix any inconsistencies when imports are stripped
"format:ruff",
]}
"format:docs" = "python scripts/utils/ruffen-docs.py README.md api.md"
"format:docs" = "bash -c 'python scripts/utils/ruffen-docs.py README.md $(find . -type f -name api.md)'"
"format:ruff" = "ruff format"

"lint" = { chain = [
Expand Down
2 changes: 1 addition & 1 deletion src/gcore/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "gcore"
__version__ = "0.32.0" # x-release-please-version
__version__ = "0.33.0" # x-release-please-version
Loading
Loading