Skip to content

Releases: G-Core/gcore-python

v0.51.0

Choose a tag to compare

@deferred deferred released this 09 Jul 15:59

We're excited to announce version 0.51.0!

CDN

  • CDN Resources

    • Added active, is_primary, max_updated, min_updated, name, origin_group_in, suspended, and origin_protocol filters to CDNResourceListParams
    • ⚠ BREAKING CHANGE: CDNResourcesResource.list() return type changed from CDNResourceListUnion to SyncOffsetPage[CDNResource]
  • Logs Uploader

    • ⚠ BREAKING CHANGE: logs uploader target config credential fields changed from required str fields to optional fields across S3 Gcore, S3 OSS, S3 Other, S3 V1, FTP, SFTP, Azure Blob, and SLS params
    • ⚠ BREAKING CHANGE: ConfigsResource.list() return type changed from LogsUploaderConfigListUnion to SyncOffsetPage[LogsUploaderConfig]
    • ⚠ BREAKING CHANGE: PoliciesResource.list() return type changed from LogsUploaderPolicyListUnion to SyncOffsetPage[LogsUploaderPolicy]
  • Metrics

    • ⚠ BREAKING CHANGE: CDNMetricsValue.metric was removed; metric values are now exposed through extra fields as recursive metric-value mappings
  • Origin Groups

    • ⚠ BREAKING CHANGE: OriginGroupsResource.list() return type changed from OriginGroupsListUnion to SyncOffsetPage[OriginGroups]
  • Rules

    • ⚠ BREAKING CHANGE: RulesResource.list() return type changed from CDNResourceRuleListUnion to SyncOffsetPage[CDNResourceRule]
  • Rule Templates

    • ⚠ BREAKING CHANGE: RuleTemplatesResource.list() return type changed from RuleTemplateListUnion to SyncOffsetPage[RuleTemplate]
  • SSL Certificates

    • ⚠ BREAKING CHANGE: CertificatesResource.list() return type changed from SslDetailListUnion to SyncOffsetPage[SslDetail]
  • Statistics

    • Added id field to UsageSeriesStat — identifies paid feature usage records
  • Trusted CA Certificates

    • ⚠ BREAKING CHANGE: TrustedCaCertificatesResource.list() return type changed from CaCertificateListUnion to SyncOffsetPage[CaCertificate]

Cloud

  • Bare Metal

    • Added all_reserved_fixed_ips field to BaremetalServerDeleteParams — deletes reserved fixed IPs assigned to the server when deleting it
  • GPU Bare Metal

    • ⚠ BREAKING CHANGE: InterfacesResource.list() return type changed from NetworkInterfaceList to GPUBaremetalClusterInterfaceListResponse
  • GPU Virtual

    • ⚠ BREAKING CHANGE: ServersResource.list() return type changed from GPUVirtualClusterServerList to SyncOffsetPage[GPUVirtualClusterServer]
  • Images

    • Added architecture, name, os_distro, and os_version filters to InstanceImageListParams
  • Load Balancers

    • ⚠ BREAKING CHANGE: FlavorsResource.list() return type changed from LoadBalancerFlavorList to SyncOffsetPage[LoadBalancerFlavorListResultUnion]
  • Quotas

    • ⚠ BREAKING CHANGE: QuotasResource.get_all() return type changed from QuotaGetAllResponse to Quota
    • ⚠ BREAKING CHANGE: quota response types were renamed from QuotaGetAllResponse* to Quota*, including QuotaGlobalQuotas and QuotaRegionalQuota
  • Security Groups

    • ⚠ BREAKING CHANGE: SecurityGroupRuleReplaceParams.security_group_id was removed
    • Fixed no-op handling in update_and_poll() methods — update-and-poll helpers now return the refreshed resource when no task is created

DNS

  • Network Mappings

    • ⚠ BREAKING CHANGE: NetworkMappingsResource.list() return type changed from NetworkMappingListResponse to SyncOffsetPageDNSNetworkMappings[DNSNetworkMapping]
  • RRsets

    • ⚠ BREAKING CHANGE: RrsetsResource.list() return type changed from ZoneRrsetListResponse to SyncOffsetPageDNSRrsets[DNSOutputRrset]
  • Zones

    • ⚠ BREAKING CHANGE: ZonesResource.list() return type changed from ZoneListResponse to SyncOffsetPageDNSZones[ZoneListResponse]
    • ⚠ BREAKING CHANGE: zone list item types were renamed from ZoneListResponseZone* to ZoneListResponse*

FastEdge

  • Edge Storage
    • ⚠ BREAKING CHANGE: KvStoresResource.list() return type changed from KvStoreListResponse to SyncOffsetPageFastedgeKvStores[KvStoreShort]

WAAP

  • Analytics
    • Added order_by field to AnalyticsGetEventStatisticsParams — ranks analytics statistics by total.desc or threats.desc

0.51.0 (2026-07-09)

⚠ BREAKING CHANGES

  • cloud: refactor instance security groups, interfaces, and flavor/name models
  • cdn: recursive metrics response; optional logs-uploader target configs

Features

  • cdn: add resource list filters and paginated list response models (cb2476e)
  • cdn: default limit=1000 on CDN list endpoints (683c968)
  • cdn: recursive metrics response; optional logs-uploader target configs (a1e4e66)
  • cloud: refactor instance security groups, interfaces, and flavor/name models (8866342)
  • cloud: support gcore_cloud_quota data source (9e1db66)
  • enable offset/limit pagination for 7 list endpoints (41c1d73)
  • terraform: expose gcore_cdn_origin_shielding (7f8fa85)
  • waap: add order_by to analytics stats and length limits to filter suggestions (d6d4221)

Bug Fixes

  • cdn: update trusted CA cert examples for paginated list (28d65ac)
  • cloud: correct quota model import in cloud examples (bc9a3b2)
  • cloud: handle no-op updates in update_and_poll methods (25c05bc)
  • cloud: update cloud examples for regenerated types (9092e97)
  • cloud: wait for instance image to become active in upload_and_poll (a58f2ba)

Chores

  • fastedge: update fastedge OpenAPI spec (2d8737b)
  • storage: add admin bucket search response schemas (bb86353)

Refactors

  • cloud: isolate custom *_and_poll methods into _custom.py mixins (503ab9c)

v0.50.0

Choose a tag to compare

@deferred deferred released this 01 Jul 14:17

We're excited to announce version 0.50.0!

CDN

  • Logs Uploader

    • Added sls as a storage_type option to LogsUploaderTarget and target create, update, and replace params — logs can now be uploaded to Alibaba Cloud SLS.
    • Added ConfigSlsConfig and related SLS authentication config types for Logs Uploader targets.
  • Origin Groups

    • ⚠ BREAKING CHANGE: Removed tag from origin source response and params types — NoneAuthSourceHostSourceResponse.tag, NoneAuthSourceS3SourceResponse.tag, NoneAuthSourceFastedgeSourceResponse.tag, and related create, update, and replace params no longer exist.
  • Rules

    • Added on_request_headers_after_cache field to OptionsFastedge in CDN rule params — FastEdge apps can now run on request headers after cache lookup.
  • Rule Templates

    • Added on_request_headers_after_cache field to OptionsFastedge in RuleTemplate and rule template params — FastEdge apps can now run on request headers after cache lookup.

Cloud

  • Bare Metal

    • ⚠ BREAKING CHANGE: BaremetalImage.tags changed from List[Tag] to tags_v2: List[Tag].
    • Added limit and offset params to bare metal flavor and image list methods.
  • Billing Reservations

    • Added time_from and time_to params to billing reservation list methods — request period-matched monthly pricing for a reservation window.
  • File Shares

    • Added limit and offset params to file share access rule list methods.
  • GPU Bare Metal

    • Added image_id and servers_settings params to gpu_baremetal.clusters.update() — update the cluster template for future server rebuilds.
    • Added applied_servers_settings field to GPUBaremetalClusterServer — compare each server against the current cluster template.
    • Added replace() params for GPU bare metal cluster servers, including keep_ip_addresses.
    • Added limit and offset params to GPU bare metal cluster, flavor, and image list methods.
    • Added per-interface security_groups and port_security_enabled fields to GPU bare metal cluster create params.
  • GPU Virtual

    • Added servers_settings param to gpu_virtual.clusters.update() — update the cluster template for future server changes.
    • Added applied_servers_settings field to GPUVirtualClusterServer — compare each server against the current cluster template.
    • Added limit and offset params to GPU virtual cluster, flavor, image, interface, and volume list methods.
    • Added per-interface security_groups and port_security_enabled fields to GPU virtual cluster create params.
  • Instances

    • ⚠ BREAKING CHANGE: Image.tags changed from List[Tag] to tags_v2: List[Tag].
    • Added limit and offset params to instance flavor, image, interface, and metrics list methods.
    • Added nullable tags support to ImageUpdateParams — pass None to clear tags where supported.
  • Load Balancers

    • ⚠ BREAKING CHANGE: redirect_http_code in L7 policy create and update params changed from int to Literal[301, 302, 303, 307, 308].
    • Added operating_status and provisioning_status filters to load balancer list methods.
  • Managed Kubernetes

    • Added limit and offset params to cluster, node, pool, pool node, flavor, create-version, and upgrade-version list methods.
    • Added security_group_ids to Managed Kubernetes cluster and pool create/update params.
    • Added cni_exclusive to Managed Kubernetes cluster create/update params and K8SCluster.
  • Networks

    • Added nullable external_gateway_info support to router update params — pass None to clear router external gateway info.
  • Placement Groups

    • Added limit and offset params to placement group list methods.
  • Quotas

    • Added inference_public_model_api_key_count_limit and inference_public_model_api_key_count_usage fields to quota responses and quota request params.
  • Registries

    • Added limit and offset params to registry, repository, artifact, and user list methods.
  • Reserved IPs

    • ⚠ BREAKING CHANGE: order_by in reserved fixed IP list params changed from str to Literal["created_at.asc", "created_at.desc", "fixed_ip_address.asc", "fixed_ip_address.desc", "name.asc", "name.desc", "status.asc", "status.desc", "updated_at.asc", "updated_at.desc"].
  • Security Groups

    • ⚠ BREAKING CHANGE: SecurityGroup.description changed from Optional[str] to required str.
    • ⚠ BREAKING CHANGE: SecurityGroupUpdateParams.direction changed from optional Literal["egress", "ingress"] to required.
    • Added nullable remote_group_id, remote_ip_prefix, port_range_min, and port_range_max support to security group rule params.
  • Tasks

    • Added update_network and update_port as task_type filter values.

DNS

  • DNSSEC

    • Added dnssec_status and dnssec_status_modified_on fields to zone get and list responses.
    • Added force_disable param to dnssec.update().
  • RRsets

    • Added PTR, SVCB, HTTPS, CAA, and DS values to DNSOutputRrset.type.

Streaming

  • Streams
    • Added srt_passphrase field to Stream, StreamCreateParams, and StreamUpdateParams — configure encrypted SRT PUSH ingest.

WAAP

  • Analytics

    • ⚠ BREAKING CHANGE: ja3, exclude_ja3, path, exclude_path, user_agent, and exclude_user_agent analytics filters changed from single optional values to sequence params for multi-value filtering.
    • Added get_filters() method to waap.analytics — retrieve available analytics filter values with counts.
    • Added ja4 and exclude_ja4 analytics filters for JA4 TLS fingerprint filtering.
    • Added exclusion filters including exclude_decision, exclude_http_methods, exclude_optional_action, exclude_request_ids, and exclude_status_codes.
    • Added detector and ja4 fields to WaapRequestDetails.
  • Custom Rules

    • Added ja3 and ja4 condition types to custom rule create/update params and WaapCustomRule.

0.50.0 (2026-07-01)

⚠ BREAKING CHANGES

  • cdn: update cdn OpenAPI spec
  • waap: JA4 support, multi-value analytics filters, exclusion filters
  • cloud: refresh cloud OpenAPI spec to latest upstream

Features

  • cdn: support logs uploader configs in Terraform (6b4295f)
  • cdn: support logs uploader policies in Terraform (6139264)
  • cdn: update cdn OpenAPI spec (52dee8f)
  • cloud: refresh cloud OpenAPI spec to latest upstream(0ebd9bc)
  • dns: DNSSEC status fields + PTR/SVCB/HTTPS/CAA/DS rrset types (dc7339a)
  • streaming: add srt_passphrase for encrypted SRT PUSH ingest (5eb9740)
  • waap: JA4 support, multi-value analytics filters, exclusion filters (afbde20)

Chores

  • bootstrap product specs and reformat openapi.yml (3c5ca4e)

v0.49.0

Choose a tag to compare

@deferred deferred released this 22 Jun 13:48

We're excited to announce version 0.49.0!

Other

  • SDK Release Infrastructure
    • Added initial stlc build integration — updates the SDK generation pipeline

0.49.0 (2026-06-22)

Full Changelog: v0.48.0...v0.49.0

Features

Reverts

  • "chore: change description" (374b597)
  • "chore: change description" (d292c3f)

Chores

v0.48.0

Choose a tag to compare

@stainless-app stainless-app released this 20 May 09:31

We're excited to announce version 0.48.0!

CDN

  • CA Certificates
    • Added example demonstrating CRUD operations for trusted CA certificates — covers create, list, get, and delete flows

0.48.0 (2026-05-20)

Full Changelog: v0.47.0...v0.48.0

Features

  • examples: add CDN trusted CA certificate examples (d046d83)
  • storage: support sftp storage in Terraform (e5de4bd)

v0.47.0

Choose a tag to compare

@stainless-app stainless-app released this 19 May 10:14

We're excited to announce version 0.47.0!

Cloud

  • GPU Bare Metal
    • Added replace() method to client.cloud.gpu_baremetal.clusters.servers — deletes a server from the cluster and provisions a new one in its place, maintaining cluster size and reusing the current cluster configuration (image, SSH key, network settings); returns TaskIDList
    • Added replace_and_poll() method — replaces a GPU bare metal cluster server and polls until the new server is provisioned, returns GPUBaremetalClusterServer
    • Added rebuild_and_poll() method — rebuilds a GPU bare metal cluster server and polls until completion, returns GPUBaremetalClusterServer

WAAP

  • Domains
    • Added aliases field (Optional[List[str]]) to WaapDetailedDomain and WaapSummaryDomain — CNAME aliases pointing at the domain's CDN resource

Other

  • Added EagerIterable type — accepts any Iterable[T] input (including generators), consumes it eagerly, and validates all items upfront while preserving the original container type where possible

0.47.0 (2026-05-19)

Full Changelog: v0.46.0...v0.47.0

Features

  • api: aggregated API specs update (8c92d60)
  • cloud: add example for replacing a GPU baremetal cluster server (0b15bb0)
  • cloud: add replace method for GPU baremetal cluster server (302f52d)
  • cloud: add replace_and_poll and rebuild_and_poll for GPU baremetal cluster server (119f015)
  • internal/types: support eagerly validating pydantic iterators (8aa6320)
  • storage: support storage access keys resource in Terraform (0b20d58)
  • storage: support TF for buckets (6c7c89f)
  • storage: support TF for object storages (2a09961)

v0.46.0

Choose a tag to compare

@stainless-app stainless-app released this 11 May 13:31

We're excited to announce version 0.46.0!

CDN

  • CDN Service

    • Added client_config service to CDNResource — use client.cdn.client_config.get() to retrieve the current account's CDN service configuration
  • Origin Groups

    • Added FastEdge origin support to CDN origin groups — origin group request and response types now support origin_type="fastedge" with FastEdge source config via app_id

Cloud

  • Tasks
    • ⚠ BREAKING CHANGE: Renamed cloud_polling_interval_seconds to polling_interval_seconds and cloud_polling_timeout_seconds to polling_timeout_seconds on Gcore, AsyncGcore, and copy() — cloud task polling now uses the new generic client options

Object Storage

  • Buckets
    • ⚠ BREAKING CHANGE: Renamed bucket_name to name in BucketsResource.get(), BucketsResource.update(), and BucketsResource.delete() — calls using bucket_name= must switch to name=

WAAP

  • Analytics
    • Added ja3, exclude_ja3, organizations, exclude_organizations, tags, exclude_tags, user_agent, exclude_user_agent, user_agent_clients, exclude_user_agent_clients, user_agent_devices, and exclude_user_agent_devices fields to WAAP analytics request params — you can now filter analytics by JA3 fingerprint, user agent, organization, tag, client, and device
    • Added ja3 field to WaapRequestSummary and WaapRequestDetails — request analytics responses now include the JA3 fingerprint when available

Other

  • Fixed file upload type errors — the async file-type validation message now correctly includes the unexpected input type

0.46.0 (2026-05-11)

Full Changelog: v0.45.0...v0.46.0

Features

  • add cross-SDK sync and relax CI breaking-change check for /release skill (227d229)
  • api: aggregated API specs update (9d56917)
  • api: aggregated API specs update (6722396)
  • api: aggregated API specs update (f5efa16)
  • api: aggregated API specs update (adc6730)
  • cdn: add client_config SDK subresource for /cdn/clients/me (dd6eaa9)

Bug Fixes

  • client: add missing f-string prefix in file type error message (dcc262a)
  • cloud: use generic polling options in tasks (325b0d3)
  • storage: rename bucket path param {bucket_name} -> {name} (65ef255)

Chores

  • client: rename cloud_polling_* opts to polling_* (2fbb1d4)

v0.45.0

Choose a tag to compare

@stainless-app stainless-app released this 04 May 18:36

We're excited to announce version 0.45.0!

Cloud

  • Images

    • ⚠ BREAKING CHANGE: hw_machine_type in ImageUpdateParams, ImageUploadParams, and ImageCreateFromVolumeParams changed from Literal[\"pc\", \"q35\"] to Literal[\"i440\", \"q35\"]
    • ⚠ BREAKING CHANGE: is_baremetal in images.update() and ImageUpdateParams changed from bool to Optional[bool]
  • Managed PostgreSQL

    • ⚠ BREAKING CHANGE: custom_configurations.validate() now returns PgConfValidation instead of CustomConfigurationValidateResponse
    • ⚠ BREAKING CHANGE: Renamed CustomConfigurationValidateResponse to PgConfValidation
  • Networks

    • ⚠ BREAKING CHANGE: routers.update() migrated from the v1 router endpoint to the v2 endpoint and now returns TaskIDList instead of Router
    • Added update_and_poll() method to RoutersResource and AsyncRoutersResource — updates a router, waits for the first task to finish, and returns Router
  • User Actions

    • Added replace to audit log action filters
    • Added replace_gpu_baremetal_server to task type filters in tasks.list()

IAM

  • API Tokens
    • Added V2 API token endpoints to create(), list(), get(), and delete() — token operations now use /iam/v2/clients/{client_id}/tokens
    • ⚠ BREAKING CHANGE: newly created APITokenCreated.token values now use _ instead of $ as the separator between token ID and secret

Object Storage

  • Added get() method to access_keys — fetches a specific access key by storage ID and access key ID

WAAP

  • Analytics
    • Added exclude_countries, exclude_domains, exclude_ips, exclude_reference_ids, exclude_security_rule_names, and exclude_session_ids filters to analytics request params
    • Added bucket_size to AnalyticsGetTrafficParams and AnalyticsGetTrafficFilteredParams — sets explicit aggregation bucket width in seconds

Other

  • Added GCORE_CUSTOM_HEADERS environment variable support — newline-delimited Header: Value entries are applied automatically as default request headers
  • Fixed multipart file array field serialization — file uploads now respect the configured array format instead of always using []

0.45.0 (2026-05-04)

Full Changelog: v0.44.0...v0.45.0

⚠ BREAKING CHANGES

  • cloud: switch routers update from v1 to v2
  • cloud: correct pg conf validation response model name

Features

  • api: aggregated API specs update (ee5d831)
  • api: aggregated API specs update (98209fa)
  • api: aggregated API specs update (377df41)
  • api: aggregated API specs update (8985183)
  • api: aggregated API specs update (680e40d)
  • cloud: add update_and_poll method for routers (6a3523a)
  • cloud: switch routers update from v1 to v2 (a4499c7)
  • cloud: use routers update_and_poll in network examples (f3e9aa6)
  • iam: migrate api_tokens to v2 endpoints (fad3629)
  • storage: add get method for access keys (b7a6c07)
  • support setting headers via env (48f6c89)

Bug Fixes

  • cloud: correct pg conf validation response model name (c5bc635)
  • cloud: match hw_machine_type literal in instances images poll methods (1c3322d)
  • use correct field name format for multipart file arrays (5db7792)

Chores

  • internal: reformat pyproject.toml (4701fe6)

v0.44.0

Choose a tag to compare

@stainless-app stainless-app released this 27 Apr 13:40

We're excited to announce version 0.44.0!

Cloud

  • Load Balancers

    • Added name filter param to PoolListParams — filter pools by name
  • Managed PostgreSQL

    • Added name filter param to ClusterListParams — filter clusters by name
    • ⚠ BREAKING CHANGE: Renamed response type PgConfValidation to CustomConfigurationValidateResponsecustom_configurations.validate() return type updated accordingly

IAM

  • Users
    • UserUpdateParams.email changed from Required[str] to str (optional) — all fields on UserUpdateParams (name, phone, email, auth_types, lang) are now optional, restoring true PATCH semantics

Object Storage

  • Buckets

    • ⚠ BREAKING CHANGE: client.storage.object_storages.buckets.create() return type changed from BucketCreated to Bucket
    • ⚠ BREAKING CHANGE: Removed BucketCreated type and its nested types (Cors, Lifecycle, Policy) — the unified Bucket type is now returned on creation
  • S3 Storages

    • Added full_name field to S3Storage and S3StorageCreated — read-only internal full name composed as {client_id}-{name}
  • SFTP Storages

    • Added full_name field to SftpStorage — read-only internal full name used as the SFTP login username

0.44.0 (2026-04-27)

Full Changelog: v0.43.0...v0.44.0

Features

  • api: aggregated API specs update (5b07224)
  • api: aggregated API specs update (9900f97)
  • storage: support TF for ssh keys (b4a70d5)

Chores

  • internal: more robust bootstrap script (8915d9b)

v0.43.0

Choose a tag to compare

@stainless-app stainless-app released this 22 Apr 10:56

We're excited to announce version 0.43.0!

CDN

  • CDN Resources

    • ⚠ BREAKING CHANGE: Removed the bot_protection and request_limiter options from CDNResource
  • Rule Templates

    • ⚠ BREAKING CHANGE: Removed the bot_protection and request_limiter options from RuleTemplate
  • Rules

    • ⚠ BREAKING CHANGE: Removed the bot_protection and request_limiter options from CDNResourceRule

Cloud

  • GPU Bare Metal

    • Added sync and async examples for listing, uploading, retrieving, and deleting cluster images
  • Managed Kubernetes

    • Added create_and_poll(), update_and_poll(), upgrade_and_poll(), and delete_and_poll() to client.cloud.k8s.clusters — poll task-backed cluster operations and return the refreshed K8SCluster result
    • Added create_and_poll(), resize_and_poll(), and delete_and_poll() to client.cloud.k8s.clusters.pools — poll task-backed pool operations and return the refreshed K8SClusterPool result where applicable

IAM

  • API Tokens
    • Deprecated api_tokens.create(), api_tokens.list(), api_tokens.get(), and api_tokens.delete()

Other

  • Fixed multipart request handling performance — file extraction now avoids copying untouched nested containers in request bodies

0.43.0 (2026-04-22)

Full Changelog: v0.42.0...v0.43.0

Features

  • api: aggregated API specs update (7d70fe4)
  • api: aggregated API specs update (2e269b6)
  • api: aggregated API specs update (96cd4c9)
  • api: aggregated API specs update (8b6d277)
  • cloud: add examples for GPU baremetal cluster images (7279536)
  • cloud: add polling methods for K8s clusters and pools (76bd4c9)
  • cloud: add runnable K8s cluster example (030f335)
  • storage: support Terraform generation for locations (063f1f4)

Bug Fixes

  • add rule to omit doc-only changes from release notes (45bae59)

Performance Improvements

  • client: optimize file structure copying in multipart requests (2fd1bcb)

Chores

  • suppress deprecation warning on IAM api_tokens.create usage (9b2f4a4)
  • tests: bump steady to v0.22.1 (6ac2648)

v0.42.0

Choose a tag to compare

@stainless-app stainless-app released this 17 Apr 15:53

We're excited to announce version 0.42.0!

CDN

  • CDN Resources

    • ⚠ BREAKING CHANGE: rules.list() return type changed from SyncOffsetPage[CDNResourceRule] to CDNResourceRuleList — pagination response structure updated
  • Origin Groups

    • Deprecated auth_type field — no longer necessary, defaults to none
    • Deprecated path field — no longer necessary; omit to use default origin path behavior
    • Made auth_type and path optional in origin_group_replace_params (previously Required)
    • Deprecated AwsSignatureV4 and AwsSignatureV4Auth types — to create S3 origins, configure them directly in sources with origin_type and config instead
  • Origin Shielding

    • ⚠ BREAKING CHANGE: shields.list() return type changed from SyncOffsetPage[ShieldListResponse] to ShieldListResponse — pagination response structure updated
  • Rule Templates

    • ⚠ BREAKING CHANGE: rule_templates.list() return type changed from SyncOffsetPage[RuleTemplate] to RuleTemplateList — pagination response structure updated

Cloud

  • Bare Metal

    • Added BaremetalImage type and BaremetalImageList type — baremetal images now use dedicated types separate from instance images
    • Updated examples to use BaremetalImage instead of Image
  • GPU Bare Metal

    • Added create_and_poll() method to clusters — create a cluster and wait for completion
    • Added delete_and_poll() method to clusters — delete a cluster and wait for completion
    • Added new example files for GPU baremetal clusters
  • GPU Virtual

    • Added create_and_poll() method to clusters — create a cluster and wait for completion
    • Added delete_and_poll() method to clusters — delete a cluster and wait for completion
    • Added new example files for GPU virtual clusters
  • Instances

    • Added Image type, ImageList type, and ImageListParams — instance images now use dedicated types separate from baremetal images
    • Added image_create_from_volume_params for creating images from volumes
  • Load Balancers

    • Added limit and offset pagination parameters to flavor listing
    • Added limit and offset pagination parameters to L7 policies, listeners, and pools listings
    • Added dedicated list params types: L7PolicyListParams, rule_list_params, ListenerListParams, PoolListParams
  • Networks

    • Added name filter parameter to router listing
    • Added docstrings for project_id and region_id on router create and list params
  • Security Groups

    • ⚠ Removed "any" from the security-group-rule protocol enum in rule_create_params — use null (omitted) for "all protocols" instead
    • Made protocol nullable (Optional) on security-group-rule create
  • Everywhere Inference

    • ⚠ BREAKING CHANGE: Removed cloud.inference.deployments.get_api_key() method — use cloud.inference.api_keys.get() instead

DNS

  • Network Mappings
    • Fixed get_by_name() endpoint path — updated to new API endpoint

WAAP

  • Domains
    • Added http_version field to WaapRequestSummary
    • Added scheme field to WaapRequestSummary
    • Updated scheme description on WaapRequestDetails (clarified as URI scheme)

Other

  • Fixed client to preserve hardcoded query params when merging with user params
  • Fixed file data handling to ensure files are only sent as a single parameter
  • Aligned polling methods with underlying base method signatures

0.42.0 (2026-04-17)

Full Changelog: v0.41.0...v0.42.0

⚠ BREAKING CHANGES

  • cloud: remove deprecated cloud.inference.deployments.get_api_key

Features

  • api: aggregated API specs update (284df4c)
  • api: aggregated API specs update (0110236)
  • api: aggregated API specs update (51ad9c9)
  • api: aggregated API specs update (eda0539)
  • api: aggregated API specs update (01be2f5)
  • api: aggregated API specs update (7beaf49)
  • api: aggregated API specs update (2f8fb0a)
  • api: fix(cdn): harmonize pagination across CDN list endpoints (c95a0b8)
  • cloud: add delete_and_poll and examples for GPU baremetal clusters (adc8f40)
  • cloud: add polling methods and examples for GPU virtual clusters (1ed9b85)

Bug Fixes

  • client: preserve hardcoded query params when merging with user params (0971eaa)
  • cloud: align polling methods with underlying base method (4b99901)
  • dns: update network-mappings get_by_name to new endpoint path (de11047)
  • ensure file data are only sent as 1 parameter (16f4262)
  • examples: update baremetal image examples to use BaremetalImage type (7e924f8)

Chores

  • cloud: remove deprecated cloud.inference.deployments.get_api_key (1bf3513)

Documentation

Refactors

  • cloud: split instance and baremetal image models (fce124a)