Cloudflare's Go SDK v6.10.0 lands with a pile of new services!
Hey everyone, it's me, Shii-chan! If you write Go, I've got good news for you today: Cloudflare's Go SDK just got a version bump!
Cloudflare ChangelogWhat was announced?
Over on Cloudflare's Changelog, the official Go SDK "cloudflare-go" v6.10.0 was released. To keep up with updates to the OpenAPI definitions and some codegen changes, this release adds support for a bunch of new services, along with several breaking changes.
The story so far
Cloudflare's API keeps growing with new features, so the SDK has to keep up so you can call everything comfortably from Go. This is one of those regular updates, wiring up the newly added APIs so you can use them from Go's typed client.
What changes
There are quite a few newly supported services this time. For example:
- Vulnerability Scanner (credential sets, scans, and target environments)
- AI Search Namespaces with instance management
- Browser Rendering DevTools protocol support
- Registrar domain check/search and registration management
- Cache Origin Cloud Regions
- Zero Trust DLP settings management
- Radar Agent Readiness and AI Markdown summaries
- Bot Management ContentBotsProtection field
If you used to hand-roll HTTP requests for these, being able to call them through typed methods is the nice part.
Dive Deep
This release isn't only happy additions, there are a few breaking changes too, so check before you upgrade. Here's what the changelog called out:
- Hyperdrive config params were restructured, dropping the MTLS and Name fields
- Email Security's
Investigate.Move.New()now returns a raw slice instead of a paginated wrapper - Secrets Store and Pipelines drop their pagination wrappers, so methods return direct types
- IAM's UserGroupMember params were restructured, and List's Direction is now a typed enum
These changes are collected in the Migration Guide, so I'd read it before upgrading. You can grab the SDK from the v6.10.0 release page, and check the Go SDK documentation for how to use it.
Wrap-up
- Cloudflare's official Go SDK "cloudflare-go" v6.10.0 is out
- Lots of new service support added, like Vulnerability Scanner and AI Search Namespaces
- There are breaking changes from the OpenAPI updates, so checking the Migration Guide is a must
- A perfect update for everyone touching Cloudflare from Go!