|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 7.10.0 (2026-09-04) |
| 4 | + |
| 5 | +Full Changelog: [v7.9.0...v7.10.0](https://github.com/cloudflare/cloudflare-go/compare/v7.9.0...v7.10.0) |
| 6 | + |
| 7 | +### Breaking Changes |
| 8 | + |
| 9 | +* **email_routing:** `DNS.Get()` return type changed from `*DNSGetResponse` to `*[]DNSRecord`. The `DNSGetResponse` type is removed. |
| 10 | +* **email_routing:** `DNS.Delete()` return type changed from `*pagination.SinglePage[DNSRecord]` to `*Settings`. |
| 11 | +* **magic_transit:** `HealthCheckParam` and `HealthCheck` types removed from the `magic_transit` package. |
| 12 | +* **page_shield:** `PageShield.Get()` return type changed from `*Setting` to `*PageShieldGetResponse`. The `Setting` type is removed. |
| 13 | +* **page_shield:** `PolicyParam` type removed from the `page_shield` package. |
| 14 | +* **page_shield:** `Connection` type removed and split into `ConnectionListResponse` and `ConnectionGetResponse`. `Connections.List()` now returns `*pagination.SinglePage[ConnectionListResponse]` and `Connections.Get()` now returns `*ConnectionGetResponse`. |
| 15 | +* **page_shield:** `Script` type removed and replaced by `ScriptListResponse`. `Scripts.List()` now returns `*pagination.SinglePage[ScriptListResponse]`. |
| 16 | +* **realtime_kit:** `Livestreams.NewIndependentLivestream()` method removed along with the `LivestreamNewIndependentLivestreamResponse` type. |
| 17 | + |
| 18 | +### Features |
| 19 | + |
| 20 | +* **accounts:** add `Subscriptions.CancelDowngrade()` method (`POST /accounts/{account_id}/subscriptions/cancel-downgrade`) |
| 21 | +* **accounts:** add `Subscriptions.GetByIdentifier()` method (`GET /accounts/{account_id}/subscriptions/{subscription_identifier}`) |
| 22 | +* **accounts:** add `Subscriptions.CancelReason` sub-resource with `New()` and `Get()` methods |
| 23 | +* **accounts:** add `Subscriptions.Actions` sub-resource with `Append()` method |
| 24 | +* **accounts:** add `Subscriptions.Bulk` sub-resource with `New()` method (`POST /accounts/{account_id}/bulk/subscriptions`) |
| 25 | +* **accounts:** add `PaymentMethods` sub-resource with `New()`, `Update()`, `List()`, `Delete()`, `Get()`, and `SetAsDefault()` methods |
| 26 | +* **accounts:** add `PayInvoice` sub-resource with `New()` method (`POST /accounts/{account_id}/pay-invoice`) |
| 27 | +* **accounts:** add `PayBadDebt` sub-resource with `New()` method (`POST /accounts/{account_id}/pay-bad-debt`) |
| 28 | +* **accounts:** add `Receipts` sub-resource with `PDF()` method (`GET /accounts/{account_id}/receipts/{receipt_id}/pdf`) |
| 29 | +* **accounts:** add `Invoices` sub-resource with `Edit()` method (`PATCH /accounts/{account_id}/invoices`) |
| 30 | +* **accounts:** add `ClientSecret` sub-resource with `New()` method (`POST /accounts/{account_id}/client-secret`) |
| 31 | +* **addressing:** add `Prefixes.BGPPrefixes.Delete()` method (`DELETE /accounts/{account_id}/addressing/prefixes/{prefix_id}/bgp/prefixes/{bgp_prefix_id}`) |
| 32 | +* **billing:** add `Billing.AddressValidation()` method (`POST /billing/address-validation`) |
| 33 | +* **billing:** add `Profiles.New()`, `Update()`, `Delete()`, and `UpdateBillingEmail()` methods |
| 34 | +* **billing:** add `Profiles.PaymentMethod` sub-resource with `New()` method |
| 35 | +* **billing:** add `Credits` sub-resource with `Get()` method (`GET /accounts/{account_id}/billing/credits`) |
| 36 | +* **billing:** add `History` sub-resource with `List()` method (`GET /accounts/{account_id}/billing/history`) |
| 37 | +* **billing:** add `BadDebt` sub-resource with `Get()` method (`GET /accounts/{account_id}/billing/bad-debt`) |
| 38 | +* **billing:** add `UnpaidInvoice` sub-resource with `Get()` method (`GET /accounts/{account_id}/billing/unpaid-invoice`) |
| 39 | +* **billing:** add `RatePlans` sub-resource with `Get()` method (`GET /billing/rate_plans/{public_key}`) |
| 40 | +* **browser_rendering:** add `Devtools.Browser.LiveView.New()` method (`POST /accounts/{account_id}/browser-rendering/devtools/browser/{session_id}/live_view`) |
| 41 | +* **content_scanning:** add `Payloads.Update()` method (`PATCH /zones/{zone_id}/content-upload-scan/payloads/{expression_id}`) |
| 42 | +* **email_security:** add `Settings.AllowPolicies.Batch()` method (`POST /accounts/{account_id}/email-security/settings/allow_policies/batch`) |
| 43 | +* **email_security:** add `Settings.BlockSenders.Batch()` method (`POST /accounts/{account_id}/email-security/settings/block_senders/batch`) |
| 44 | +* **email_security:** add `Settings.ContentPolicies` sub-resource with `New()`, `List()`, `Delete()`, `Batch()`, `Edit()`, and `Get()` methods |
| 45 | +* **email_security:** add `Settings.Domains.New()`, `Update()`, and `Batch()` methods |
| 46 | +* **email_security:** add `Settings.TrustedDomains.Batch()` method (`POST /accounts/{account_id}/email-security/settings/trusted_domains/batch`) |
| 47 | +* **email_sending:** add `Suppressions` sub-resource with `New()`, `List()`, `Delete()`, `Edit()`, `Get()`, and `Import()` methods |
| 48 | +* **email_sending:** add `Subdomains.Edit()` method (`PATCH /zones/{zone_id}/email/sending/subdomains/{subdomain_id}`) |
| 49 | +* **logpush:** add `Transformers` sub-resource with `New()`, `Update()`, `List()`, `Delete()`, `Get()`, and `Preview()` methods |
| 50 | +* **logpush:** add `Transformers.Content` sub-resource with `Get()` method (`GET /accounts/{account_id}/logpush/transformers/{transformer_id}/content`) |
| 51 | +* **logpush:** add `Transformers.Versions` sub-resource with `List()` method (`GET /accounts/{account_id}/logpush/transformers/{transformer_id}/versions`) |
| 52 | +* **realtime_kit:** add `Presets.ReplacePresetByID()` method (`PUT /accounts/{account_id}/realtime/kit/{app_id}/presets/{preset_id}`) |
| 53 | +* **spectrum:** add `Protocols` sub-resource with `List()` method (`GET /zones/{zone_id}/spectrum/protocols`) |
| 54 | +* **ssl:** add `Recommendations` sub-resource with `Get()` method (`GET /zones/{zone_id}/ssl/recommendation`) |
| 55 | +* **token_validation:** add `Configuration.Credentials.Edit()` method (`PATCH /zones/{zone_id}/token_validation/config/{config_id}/credentials`) |
| 56 | +* **user:** add `SpectrumAnalytics.Zones.Reports` sub-resource with `Get()` method (`GET /user/spectrum_analytics/zones/report`) |
| 57 | +* **zero_trust:** add `ResourceLibrary.Applications.New()` method (`POST /accounts/{account_id}/resource-library/applications`) |
| 58 | +* **zero_trust:** add `ResourceLibrary.Applications.Update()` method (`PATCH /accounts/{account_id}/resource-library/applications/{id}`) |
| 59 | +* **zero_trust:** add `ResourceLibrary.Applications.Delete()` method (`DELETE /accounts/{account_id}/resource-library/applications/{id}`) |
| 60 | +* **zones:** add `NEL` sub-resource with `Edit()` and `Get()` methods (`PATCH`/`GET /zones/{zone_id}/settings/nel`) |
| 61 | + |
| 62 | +### Bug Fixes |
| 63 | + |
3 | 64 | ## 7.9.0 (2026-08-19) |
4 | 65 |
|
5 | 66 | Full Changelog: [v7.8.0...v7.9.0](https://github.com/cloudflare/cloudflare-go/compare/v7.8.0...v7.9.0) |
|
0 commit comments