Skip to content

Releases: G-Core/gcore-python

v0.18.0

04 Nov 17:19

Choose a tag to compare

We're excited to announce version 0.18.0!

Cloud

  • Databases
    • Added PostgreSQL database support with cluster management, configurations, custom configurations, and user credentials
  • Load Balancers
    • Enhanced listener deletion with delete_default_pool parameter for controlling default pool removal
    • Improved connection limit documentation - clarified that -1 translates to the default value 100000
  • GPU Cloud
    • Added file share support for GPU baremetal clusters - mount file shares across cluster servers
  • Quotas
    • Removed client_id parameter from quota request creation (now automatically inferred)
  • Security Groups
    • Enhanced tag documentation with comprehensive details about tag usage, filtering, and cost reporting integration

CDN

  • IP Ranges
    • Added format and Accept header support for IP range listing methods (JSON or plain text)
  • Statistics
    • Enhanced statistics documentation with improved parameter descriptions
    • Added client_country grouping option for resource usage statistics
    • Clarified resource parameter behavior - when not specified, data for all CDN resources is returned
    • Added timeout range documentation for proxy connect (1s-5s) and read (1s-30s) timeouts

Client

  • Fixed stream handling to properly close streams without requiring full consumption

⚠ BREAKING CHANGES

  • Projects,Quotas: Removed client_id parameter from request creation (now automatically inferred)
  • Projects: Removed state parameter from project request creation

0.18.0 (2025-11-04)

Full Changelog: v0.17.0...v0.18.0

Features

  • api: aggregated API specs update (c69f622)
  • api: aggregated API specs update (e008291)
  • api: aggregated API specs update (7e17f98)
  • api: aggregated API specs update (01c7469)
  • api: aggregated API specs update (3ef8586)
  • api: aggregated API specs update (af54c88)
  • api: aggregated API specs update (4e62953)
  • api: aggregated API specs update (18614cb)
  • api: aggregated API specs update (926c0dd)
  • cloud: add support for postgres (2802edf)

Bug Fixes

  • client: close streams without requiring full consumption (cd7152c)
  • cloud: members not optional in lb pools create_and_poll (27bc07a)

Chores

  • cloud: add *_and_poll() to *WithRawResponse and *WithStreaming (d8886ce)
  • internal/tests: avoid race condition with implicit client cleanup (67e4c77)
  • internal: grammar fix (it's -> its) (9bf8a18)

v0.17.0

21 Oct 21:25

Choose a tag to compare

We're excited to announce version 0.17.0!

CDN

  • Region Management
    • Added list_aws_regions() method to retrieve the list of Amazon AWS regions
    • Added list_alibaba_regions() method to retrieve the list of Alibaba Cloud regions
  • Resources, Resource Rules, and Rule Templates
    • Updated force_return time interval format
    • Enhanced static_headers to support multiple values per header name with nested value structures
    • Made waap_domain_id field nullable in CDN resources
    • Made next_attempt_time field nullable in SSL request status

Cloud

  • File Shares
    • Added update_and_poll() method to automatically handle task polling and return the updated file share
  • Tasks
    • Enhanced poll() method to support a polling_timeout_seconds parameter for configuring task polling timeout
    • Improved polling methods across the SDK to accept polling_timeout_seconds parameter
  • Client Configuration
    • Added cloud_polling_interval_seconds client option to configure default timeout for Cloud polling operations

⚠ BREAKING CHANGES

  • Cloud: Renamed replace() method to update() for better clarity on updating project name and description
  • File Shares Enhanced update() method to use new PATCH /v3/file_shares endpoint with task-based updates

0.17.0 (2025-10-21)

Full Changelog: v0.16.0...v0.17.0

⚠ BREAKING CHANGES

  • cloud: rename to projects update
  • cloud: use new PATCH files shares endpoint

Features

  • api: aggregated API specs update (c9d6195)
  • cdn: add methods to list aws and alibaba regions (0d1d290)
  • client: add client opt for cloud polling timeout (bad7ecb)
  • cloud: add polling_timeout_seconds parameter to polling methods (8b556ae)
  • cloud: enable TF for placement groups (63abaa7)
  • cloud: support polling timeout in tasks.poll() (3f8a419)

Chores

  • bump httpx-aiohttp version to 0.1.9 (e906ee6)
  • cloud: fix file shares examples (c5cc6fa)
  • cloud: rename to projects update (f3f52da)
  • cloud: use new PATCH files shares endpoint (2ac6bce)

Refactors

  • spec: remove CDN deprecated endpoints (193a257)

v0.16.0

17 Oct 09:25

Choose a tag to compare

We're excited to announce version 0.16.0!

Cloud

  • Load Balancers

    • ⚠ BREAKING CHANGE: Renamed path parameter from lb_id to load_balancer_id for consistency across all load balancer methods
    • ⚠ BREAKING CHANGE: Updated polling methods to use load_balancer_id instead of lb_id
    • Removed deprecated load balancer methods: get(), update(), failover(), resize(), and metrics.list()
    • Removed cloud_lbmember name reference for cleaner API structure
  • Billing Reservations

    • ⚠ BREAKING CHANGE: Removed get() and update() methods from list operations. Use individual resource methods instead
  • Inference Applications

    • ⚠ BREAKING CHANGE: Renamed deployments.patch() method to deployments.update() for consistency with REST conventions
  • Instances

    • Added support for additional update parameters and enhanced instance management capabilities
  • File Shares

    • Enhanced file share update functionality with additional parameters
  • Tasks

    • Improved task filtering capabilities

CDN

  • Logs
    • ⚠ BREAKING CHANGE: Removed deprecated CDN logs settings methods (settings.create(), settings.update(), settings.delete())
    • Streamlined logging configuration interface

Security

  • Profiles
    • Updated security profile creation parameters for better validation

Cost & Usage Reporting

  • Cost Reports & Usage Reports
    • Refined date parameter handling for aggregated and detailed cost reports

SDK Improvements

  • Enhanced resource organization across all services with cleaner method signatures
  • Improved type definitions for better IDE support and type safety

0.16.0 (2025-10-17)

Full Changelog: v0.15.0...v0.16.0

⚠ BREAKING CHANGES

  • cloud: remove get and update list method for billing reservations
  • cloud: use load_balancer_id in poll methods
  • cloud: rename inference applications deployments update method

v0.15.0

03 Oct 07:47

Choose a tag to compare

We're excited to announce version 0.15.0!

Cloud

  • Reserved Fixed IPs
    • Added update() method for updating VIP status of reserved fixed IPs
    • Enhanced VIP status management with proper PATCH method support
  • GPU Cloud
    • Added Network Interface Configuration: Enhanced GPU baremetal flavor hardware properties

CDN

  • CDN Resources
    • Added support for query string forwarding (exclude or whitelist specific parameters from forwarding)

IAM

  • API Tokens, Accounts, Users

    • Made essential fields required across IAM models instead of being optional, eliminating ambiguity about which fields are always present
  • API Tokens

    • Changed expiration date from required to optional, allowing creation of non-expiring tokens while maintaining backwards compatibility

Examples

  • Fixed quota examples by removing unnecessary None checks

0.15.0 (2025-10-03)

Full Changelog: v0.14.0...v0.15.0

Features

  • api: Add missing reserved_fixed_ips update method (b7b8db0)
  • api: aggregated API specs update (8c59ffa)
  • api: aggregated API specs update (6281066)
  • api: aggregated API specs update (0a2f63b)

Bug Fixes

  • examples: remove unnecessary None checks in quota examples (ff71c83)

v0.14.0

30 Sep 05:43

Choose a tag to compare

We're excited to announce version 0.14.0!

CDN

  • Full CDN API Support
    • Added comprehensive CDN management capabilities including resources, origin groups, certificates, and logging
    • Introduced CDN statistics and metrics tracking
    • Added support for shield locations and network capacity monitoring
    • Implemented logs uploader with configurable targets and policies
    • Added trusted CA certificates management
    • Added rule templates and audit log support

Cloud

  • Kubernetes (K8s)
    • Added support for Slurm addon configuration (K8sClusterSlurmAddonV2Serializers)

API & Types

  • Type System Improvements
    • Changed optional parameter type from NotGiven to Omit for better type safety and developer experience
    • Improved example values across the SDK

⚠ BREAKING CHANGES

  • WAAP: Domain methods now require a status parameter. If you're using client.waap.domains.create(), client.waap.domains.update(), or client.waap.domains.get(), you must now explicitly provide the status argument.

0.14.0 (2025-09-30)

Full Changelog: v0.13.0...v0.14.0

⚠ BREAKING CHANGES

  • waap: domain methods now require status parameter

Features

Bug Fixes

  • client: correctly generate K8sClusterSlurmAddonV2Serializers (e5961ca)

Chores

  • do not install brew dependencies in ./scripts/bootstrap by default (9482c47)
  • improve example values (2560541)
  • internal: update pydantic dependency (adf8df6)
  • types: change optional parameter type from NotGiven to Omit (24bebe1)
  • use Omit in more places (2a4abf1)

v0.13.0

16 Sep 15:17

Choose a tag to compare

We're excited to announce version 0.13.0!

Cloud

  • Floating IPs
    • Added support for updating floating IP tags

DNS

  • Zone Management
    • Improved delegation status checking with proper HTTP GET method instead of POST

⚠ BREAKING CHANGES

  • Waap: Refactored WAAP model references for better consistency

0.13.0 (2025-09-16)

Full Changelog: v0.12.0...v0.13.0

⚠ BREAKING CHANGES

  • waap: model references

Features

  • api: aggregated API specs update (2954990)
  • api: aggregated API specs update (09db4dd)
  • api: aggregated API specs update (a2de60c)
  • api: aggregated API specs update (ccf4739)
  • api: aggregated API specs update (484ee11)
  • cloud: support floating IPs update (28a8882)
  • dns: replace post with get in check delegation status (ddd12bd)

Bug Fixes

  • cloud: floating ips examples (bf8a5dd)
  • waap: model references (4f69e7e)

v0.12.0

11 Sep 09:33

Choose a tag to compare

We're excited to announce version 0.12.0!

Cloud

  • Volumes
    • Added polling methods for volume operations
  • Reserved Fixed IPs
    • Added create_and_poll() and delete_and_poll() methods for reserved fixed IPs

Storage

  • Storage Management
    • Updated storage expiration format to use duration strings (e.g., "1 years 6 months 2 weeks 3 days 5 hours 10 minutes 15 seconds")
    • Migrated storage update endpoint from v1 to v2

0.12.0 (2025-09-11)

Full Changelog: v0.11.0...v0.12.0

Features

  • api: aggregated API specs update (3fbc8f1)
  • cloud: add create_and_poll() and delete_and_poll() to reserved fixed ips (6e6efc0)
  • cloud: add polling methods to volumes (3537e8c)

Refactors

  • storage: use v2 endpoint (4a00499)

v0.11.0

09 Sep 15:35

Choose a tag to compare

We're excited to announce version 0.11.0!

Cloud

  • GPU Cloud
    • Enhanced GPU baremetal cluster server filtering with new parameters (changed_before, changed_since, ip_address, name, order_by, status)
  • Inference
    • Added support for inference applications with deployments and templates
  • Managed Kubernetes
    • Added complete managed Kubernetes support with clusters, nodes, pools, and flavors
  • File Shares
    • Enhanced file share documentation and access rule management
  • Load Balancers
    • Updated L7 policy management with improved documentation
    • Enhanced load balancer pool operations
  • Networking
    • Added create_and_poll() and delete_and_poll() methods for floating IPs
    • Added new_and_poll() and delete_and_poll() methods for networks
    • Added create_and_poll() method for subnets

Storage

  • Added support in the SDK

WAAP

  • Enhanced domain statistics with improved type safety and DDoS attack support

DNS

  • Added support in the SDK

Security

  • Enhanced profile field value type safety with proper union types

⚠ BREAKING CHANGES

  • GPU Cloud: Migrated baremetal GPU cluster API from v1 to v3
  • Inference: Refactored inference models - removed models service, added applications service

0.11.0 (2025-09-09)

Full Changelog: v0.10.0...v0.11.0

⚠ BREAKING CHANGES

  • cloud: update polling methods signatures
  • cloud: migrate baremetal gpu cluster from v1 to v3
  • cloud: support inference applications

Features

  • api: aggregated API specs update (931c594)
  • api: aggregated API specs update (f6d4e0b)
  • api: aggregated API specs update (86b63d4)
  • api: aggregated API specs update (09eeb95)
  • api: aggregated API specs update (72414c5)
  • api: aggregated API specs update (ac889a3)
  • api: aggregated API specs update (98f84bc)
  • api: aggregated API specs update (86d8c4f)
  • api: aggregated API specs update (ba76405)
  • api: aggregated API specs update (d14eac7)
  • api: aggregated API specs update (6a790b7)
  • api: aggregated API specs update (e7e2da7)
  • api: aggregated API specs update (165290f)
  • api: aggregated API specs update (a56f7d1)
  • api: aggregated API specs update (12bae5a)
  • api: aggregated API specs update (2576f9c)
  • api: aggregated API specs update (5de1f95)
  • api: api update (602ef7d)
  • api: manual updates (fca7094)
  • api: manual upload of aggregated API specs (45843a3)
  • api: manual upload of aggregated API specs (aad5c71)
  • api: update field_value type (2095ccc)
  • cloud: add create_and_poll() and delete_and_poll() for floating ips (e645a83)
  • cloud: add create_and_poll() for subnets (d537d4e)
  • cloud: add managed k8s (9b88526)
  • cloud: add new_and_poll() and delete_and_poll() for networks (fda3191)
  • cloud: add polling for instance action and interfaces attach/detach (ee59347)
  • cloud: fetch client_id from iam in cloud quotas examples (daaf5e1)
  • cloud: migrate baremetal gpu cluster from v1 to v3 (064b2a1)
  • cloud: remove inference model examples (958a08e)
  • cloud: support inference applications (dcf34ac)
  • cloud: use PATCH /v2/lbpools (6da421d)
  • improve future compat with pydantic v3 (cc3a79f)
  • s3: add object storage (7e1ed77)
  • storage: make list storage locations paginated (eeef646)
  • types: replace List[str] with SequenceNotStr in params (be5d331)

Bug Fixes

  • avoid newer type syntax (adc20b7)
  • cloud: update polling methods signatures (a5ecf6a)
  • dns: fix dns methods (58f23c0)
  • types: add missing types to method arguments (bec1dff)
  • waap: fix component name (fabb616)

Chores

  • formatting (d739b03)
  • internal: add Sequence related utils (daed5dc)
  • internal: change ci workflow machines (cf13b4e)
  • internal: codegen related update (0c6db9d)
  • internal: codegen related update (835fc54)
  • internal: codegen related update (04ce18a)
  • internal: detect breaking changes when removing endpoints (1fdb544)
  • internal: improve breaking change detection (cf699e9)
  • internal: minor formatting change (48573ba)
  • internal: move mypy configurations to pyproject.toml file (1961ffc)
  • internal: update comment in script (e11594e)
  • internal: update pyright exclude list (5b2e640)
  • tests: simplify get_platform test (ebdb1e8)
  • tests: unskip tests failing due to wrong Prism routing (6d24ccb)
  • update @stainless-api/prism-cli to v5.15.0 (bed3f36)
  • update github action (13f7cfd)

v0.10.0

07 Aug 16:15

Choose a tag to compare

We're excited to announce version 0.10.0!

Cloud

  • Load Balancers
    • Enhanced health monitor configuration options for pools
    • Updated pool creation and management parameters
    • Improved member management for load balancer pools

Security

  • BGP Announces
    • ⚠ BREAKING CHANGE: Renamed change() method to toggle()

WAAP

  • ⚠ BREAKING CHANGE: Refactored WAAP models

0.10.0 (2025-08-07)

Full Changelog: v0.9.0...v0.10.0

⚠ BREAKING CHANGES

  • security: rename bgp_announces change() to toggle()
  • waap: refactor WAAP models

Features

  • add example snippet to invite user and assign cloud role (4baccef)
  • api: aggregated API specs update (70ea19b)
  • api: aggregated API specs update (163edcb)

Bug Fixes

  • security: rename bgp_announces change() to toggle() (070f06a)

Chores

  • internal: fix ruff target version (c91b1b3)

Refactors

  • waap: refactor WAAP models (fb20add)

v0.9.0

31 Jul 15:46

Choose a tag to compare

We're excited to announce version 0.9.0!

Cloud

  • GPU Cloud
    • Added security group support for GPU baremetal flavors (new supported_features field with security_groups configuration)
  • Regions
    • Added has_ddos field to indicate Advanced DDoS Protection capability
  • Cost & Usage Reports
    • Added rounding parameter to control cost value precision across all report endpoints
  • Quotas
    • Changed request_id parameter type from string to integer for delete and get operations
    • Updated status parameter to be non-optional in list operations

Security

  • Added support in the SDK

FastEdge

  • Binaries
    • Added create method for storing/uploading compiled WASM binaries

⚠ BREAKING CHANGES:

  • Quotas: Changed request_id parameter type from string to integer in delete and get operations
  • Quotas: Updated status parameter to be non-optional in list operations

0.9.0 (2025-07-31)

Full Changelog: v0.8.0...v0.9.0

Features

  • api: aggregated API specs update (bf2d683)
  • api: aggregated API specs update (95d8011)
  • client: support file upload requests (980b86d)
  • fastedge: add binaries create method (04bd754)
  • security: add security api (7e85df3)