Skip to content

Releases: cloudflare/cloudflare-go

v0.15.0

30 Mar 02:37
b94de39

Choose a tag to compare

Backwards incompatible changes

  • CustomHostnameSSL.Wildcard to *bool from bool (#604)

Fixes

  • Fix a potential deadlock in ListZones (#600)

Improvements

  • LoadBalancerOrigin can now set HTTP headers (#603)
  • Allow setting client BaseURL for HTTP calls (#606)
  • Add id, issuer, and serial_number to CustomHostnameSSL (#607)
  • Add support for secondary DNS (#609)
  • Add support for secondary DNS TSIG (#610)
  • Add support for secondary DNS primaries #611

v0.14.0

03 Mar 00:14
1426b77

Choose a tag to compare

🚨 🚨🚨 This release contains backwards incompatible changes and requires action to continue using it. See notes and examples below for full changes 🚨🚨🚨


  • All method signatures are now context aware and will require an update. Example:
- previous: api.AccessApplications("abc123", PaginationOptions{})
+ updated:  api.AccessApplications(context.Background(), "abc123", PaginationOptions{})
  • HTTP verbs have been replaced with http.Method* constants. Example:
- previous: api.makeRequestContext(context.Background(), "GET", "/my/url")
+ updated:  api.makeRequestContext(context.Background(), http.MethodGet, "/my/url")
  • dns: DNSRecord attribute Priority to *uint16 (#588)
  • dns: DNSRecord attribute Proxied to *bool (#595)
  • Use Go 1.15 (and test 1.16)
  • Added support for load balancer rules (#583)
  • flarectl/firewall_rules: ensure we return errors and halt (#586)
  • ip_address_management: add on_demand_locked field (#592)
  • errors: revamped error handling (#596)

v0.13.8

27 Jan 22:14
9f836c4

Choose a tag to compare

  • zone: allow ListZonesContext to automatically handle pagination (#534)
  • update LICENSE to current year (#571)
  • argo_tunnel: make V4 API response compatible (#572)
  • worker_cron_triggers: Add initial support (#570)
  • Add support for Access Mutual TLS certificates
  • firewall_rule: Fix the ability to delete multiple rules (#578)
  • account: Add the ability to create and delete accounts with the correct tenant entitlements (#577)

v0.13.7

04 Jan 13:49
4da4884

Choose a tag to compare

  • Make Proxiable and Priority fields omitempty
  • Add interfaces for working with Magic Firewall Rulesets API (#558)
  • Add custom deny attributes to access application (#566)
  • argo_tunnel: Add initial support (#567)
  • api_token: allow APITokenRequestIPCondition fields to be omitted (#569)

v0.13.6

07 Dec 15:20
20d8c26

Choose a tag to compare

  • load_balancing: Add DrainDuration to session affinity attributes (#560)

v0.13.5

11 Nov 18:06
20fc9bf

Choose a tag to compare

  • Add API token support (#542)
  • Support DNSSEC updates (#545)
  • Make DiagnosticsTracerouteConfiguration.Colos omitempty (#547)
  • Add List APITokenPermissionGroups endpoint (#552)
  • APIToken: make time.Time properties optional (#553)

v0.13.4

13 Oct 09:29
a152234

Choose a tag to compare

  • Match CustomHostname.SSL.VerificationErrors struct to actual API response (#537)
  • ips: Add support for China colos (#536)
  • Add support for zone-level Access routes (#538)

v0.13.3

30 Sep 13:12
fe9e116

Choose a tag to compare

  • Add enable_binding_cookie field to Access application (#528)
  • Add http_url and http_body ssl properties on CustomHostname when available from API response (#529)
  • Add country rule support to Access groups (#530)
  • Fix AccessIdentityProvider json tag (#531)
  • fix: Set context for requests properly (#526)

v0.13.2

01 Sep 21:47

Choose a tag to compare

  • Add ID to CertificatePackAdvancedCertificate (#522)
  • feat: publish flarectl using GoReleaser (#524)

v0.13.1

24 Aug 11:48
a63f92c

Choose a tag to compare

  • Add PurgeCacheContext method (#515)
  • Add support for audit log value change details (#514)
  • Add support for Workers secrets (#475)
  • Add AuthMethod (amr) group to Access (#516)
  • Add missing fields to CustomHostname API model (#518)
  • diagnostics: Add support for traceroute (#520)
  • Drop Go 1.13, add 1.15, bump targeted Go version to 1.14 (094a644)