Skip to content

Releases: G-Core/gcore-python

v0.22.0

25 Nov 18:58

Choose a tag to compare

We're excited to announce version 0.22.0!

Cloud

  • Kubernetes
    • ⚠ BREAKING CHANGE: Renamed K8s resource classes from K8sResource to K8SResource (accessor remains client.cloud.k8s)
    • ⚠ BREAKING CHANGE: Renamed all K8s types from K8s* to K8S* (e.g., K8sClusterVersionListK8SClusterVersionList)
  • Load Balancers
    • ⚠ BREAKING CHANGE: Updated LoadBalancerL7Policy model - many fields changed from Optional to required (e.g., id, action, listener_id, name, position, project_id, region, region_id, rules)
    • Improved L7 Policy create/replace methods with action-specific parameter overloads
    • Added proper type overloads for L7 policy polling methods (create_and_poll, replace_and_poll)
  • SSH Keys
    • Added name filter parameter to list() method for partial name matching
  • Tags
    • Clarified documentation: tag keys and values have a maximum length of 255 characters

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

  • cloud: add overloads to L7 policy polling methods (a639930)
  • cloud: k8s references from k8 to k8s (96211ea)

Chores

  • internal: codegen related update (a6fbaff)

v0.21.0

17 Nov 10:37

Choose a tag to compare

We're excited to announce version 0.21.0!

Cloud

  • Audit Logs
    • Added source_user_ip and user_agent fields to audit log entries for enhanced request tracking
    • Added source_user_ips and user_agents filter parameters to audit log list queries
  • Floating IPs
    • Added status filter parameter to list method for filtering by floating IP state (ACTIVE, DOWN, ERROR)
    • Enhanced status field documentation with clear state descriptions:
      • DOWN - unassigned (available)
      • ACTIVE - attached to a port (in use)
      • ERROR - error state

0.21.0 (2025-11-17)

Full Changelog: v0.20.0...v0.21.0

Features

  • api: aggregated API specs update (0d13f58)

v0.20.0

12 Nov 12:00

Choose a tag to compare

We're excited to announce version 0.20.0!

Cloud

  • GPU Cloud
    • Added comprehensive support for GPU virtual clusters

CDN

  • Enhanced audit log documentation - clarified that path and remote_ip_address parameters require exact matches, not partial matches

Breaking Changes

  • ⚠ BREAKING CHANGE: Dropped Python 3.8 support - the SDK now requires Python 3.9 or higher

0.20.0 (2025-11-12)

Full Changelog: v0.19.0...v0.20.0

Features

  • api: aggregated API specs update (767fdd5)
  • cloud: add support for GPU virtual clusters (c406d97)

Bug Fixes

  • compat with Python 3.14 (90bfffe)
  • compat: update signatures of model_dump and model_dump_json for Pydantic v1 (70e1cc8)

Chores

  • package: drop Python 3.8 support (99955b9)

v0.19.0

10 Nov 09:32

Choose a tag to compare

We're excited to announce version 0.19.0!

Cloud

  • GPU Cloud
    • Added GPU driver information fields (gpu_driver, gpu_driver_type, gpu_driver_version) to Image and GPUImage types
    • Enhanced security groups in GPU baremetal clusters - added id field to security group models for better identification

Storage

  • ⚠ BREAKING CHANGE: Changed storage location from Literal enum type to string - use string values like "ams", "fra", "s-ed1" instead of Literal constants

Security

  • Profiles
    • Enhanced documentation for the site field - clarified it represents the region where protection profiles will be deployed
    • Improved ip_address field type annotations - changed from Optional[str] to str in profile create, recreate, and replace parameters
  • BGP Announces
    • ⚠ BREAKING CHANGE: Removed client_id parameter from bgp_announces.list() method - the client_id parameter is no longer available in BgpAnnounceListParams

0.19.0 (2025-11-10)

Full Changelog: v0.18.0...v0.19.0

Features

  • api: aggregated API specs update (7c0231a)
  • api: aggregated API specs update (00be2a9)
  • api: aggregated API specs update (8469462)
  • api: aggregated API specs update (2c780f3)

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)