Changelog
7.9.0 (2026-08-19)
Breaking Changes
See the [v7.9.0 Migration Guide](./docs/migration-guides/v7.9.0-migration-guide.md) for before/after code examples and actions needed for each change.
- billing:
Usage.Paygo()andUsage.PaygoInfo()endpoints changed from/accounts/{account_id}/paygo-usageand/accounts/{account_id}/paygo-usage-infoto/accounts/{account_id}/billable-usageand/accounts/{account_id}/billable-usage/inforespectively. The method signatures and return types are unchanged. - hostnames:
Settings.TLS.Get()method signature changed -- now requires ahostnamepath parameter and returns*Settinginstead of*pagination.SinglePage[SettingTLSGetResponse]. TheSettingTLSGetResponsetype andGetAutoPaging()method are removed. A newList()method replaces the old paginated listing behavior. - intel:
AttackSurfaceReport.Issues.Dismiss()method removed along withAttackSurfaceReportIssueDismissResponseandAttackSurfaceReportIssueDismissParamstypes. - rulesets: return types changed for several mutating methods.
Rulesets.New()now returns*RulesetNewResponseEnvelopeResultinstead of*RulesetNewResponse.Rulesets.Update()now returns*RulesetUpdateResponseEnvelopeResultinstead of*RulesetUpdateResponse.Rulesets.Phases.Update()now returns*PhaseUpdateResponseEnvelopeResultinstead of*PhaseUpdateResponse.Rulesets.Rules.New()now returns*RuleNewResponseEnvelopeResultinstead of*RuleNewResponse.Rulesets.Rules.Delete()now returns*RuleDeleteResponseEnvelopeResultinstead of*RuleDeleteResponse.Rulesets.Rules.Edit()now returns*RuleEditResponseEnvelopeResultinstead of*RuleEditResponse. The old response types (RulesetNewResponse,RulesetUpdateResponse,PhaseUpdateResponse,RuleNewResponse,RuleDeleteResponse,RuleEditResponse) are removed. - zero_trust:
ResourceLibrary.Applications.Get()andResourceLibrary.Categories.Get()idparameter type changed fromstringtoint64. TheIDfield onResourceLibraryApplicationGetResponseandResourceLibraryCategoryGetResponsealso changed fromstringtoint64. - zero_trust:
Casb.Applications.List()return type changed from*[]CasbApplicationListResponseto*pagination.SinglePage[CasbApplicationListResponse].Casb.Applications.AuthMethods.List()return type changed from*[]CasbApplicationAuthMethodListResponseto*pagination.SinglePage[CasbApplicationAuthMethodListResponse].Casb.Integrations.List()return type changed from*CasbIntegrationListResponseto*pagination.SinglePage[CasbIntegrationListResponse]. These methods now support auto-paging viaListAutoPaging(). - zones:
CT.Alerting.Edit()andCT.Alerting.Get()return types changed from*CTAlertingEditResponse/*CTAlertingGetResponseto the shared*CTAlertingSubscriptiontype. The old per-method response types are removed.
Features
- NEW SERVICE:
precursor-- Precursor configuration managementUpdate()- PUT/zones/{zone_id}/precursorGet()- GET/zones/{zone_id}/precursor
- accounts: add
SpeedSettings.Transformations.Get()method (GET /accounts/{account_id}/settings/transformations) - addressing: add
Prefixes.Validate()method (POST /accounts/{account_id}/addressing/prefixes/{prefix_id}/validate) - billing: add
Usage.GetAccountUsageInfoV1(),Usage.GetAccountUsageV1(), andUsage.GetAccountUsageV2()methods for billable usage data - custom_hostnames: add
Quota.Get()method (GET /zones/{zone_id}/custom_hostnames/quota) - dns: add
DNSSEC.Zsk.List()method (GET /zones/{zone_id}/dnssec/zsk) - hostnames: add
Settings.TLS.List()method (GET /zones/{zone_id}/hostnames/settings/{setting_id}) returning paginatedSettingTLSListResponse - intel: add
URLs.Get()method (GET /accounts/{account_id}/intel/url) - intel: add
Sinkholes.New(),Update(),Delete(),Get()methods (list already existed). AddSinkholes.Ingressessub-resource withNew(),Update(),Delete(),Get()methods. - logs: add
LogExplorer.Datasets.Delete()method (DELETE /{accounts_or_zones}/{account_or_zone_id}/logs/explorer/datasets/{dataset_id}) - pages: add
Projects.GetUploadToken()method (GET /accounts/{account_id}/pages/projects/{project_name}/upload-token) - pages: add
Projects.Deployments.Tailssub-resource withNew()andDelete()methods - pages: add
Assetssub-resource withCheckMissing(),Upload(), andUpsertHashes()methods - queues: add
Messages.Peek()andMessages.Purge()methods - r2_data_catalog: add
Delete()method (POST /accounts/{account_id}/r2-catalog/{bucket_name}/delete) - radar: add
BGP.Routes.Upstreams.Timeseries()method (GET /radar/bgp/routes/upstreams/{asn}/timeseries) - radar: add
BGP.Routes.Paths.List()method (GET /radar/bgp/routes/paths/{asn}) - resource_tagging: add
Summary.Get()method (GET /accounts/{account_id}/tags/summary) - zero_trust: add
Networks.Subnets.InitialResolvedIPsub-resource withUpdate()andGet()methods - zones: add
TransformationsAllowedOriginssub-resource withEdit()andGet()methods - zones: add
TransformationsC2pasub-resource withEdit()andGet()methods - magic_transit: add
ConnectorEventGetResponseEKRekeyRestartenum constant for connector events
Bug Fixes
- apijson: replace O(n^2) array encoding with O(n)
bytes.Bufferimplementation, significantly improving performance for large arrays