Releases: cloudflare/cloudflare-go
Load Balancing, Client Rate Limits & Cache Purge
Headline changes:
- Load Balancing now supports session affinity ("persistence") and origin weights
- flarectl supports cache purge - e.g.
flarectl zone purge --zone=example.com --files="http://www.example.com/css.css,http://www.example.com/other.css"
features - Client-side rate limiting is supported, and matches the default rate limits. Customers with higher rate limits can modify this behaviour to match their custom limits.
CHANGELOG
1f9007f [bugfix] Fix session_affinity none handling (#179)
667a723 [feat] Load Balancing - Support of origin's weights (#175)
e1f3c42 Api client rate limiting (#163)
f0cb847 fix(api): accept 2xx responses without error
7a8c415 [breaking] Fix create page rule to return the page rule object (#169)
16d3478 Add minimum origins to load balancer pool (#165)
46dee6d [feat] Rate limiting (for a zone) (#161)
07e73e2 Added CheckRegions field to LoadBalancerPool (#162)
4155500 (msilverlock/cli-env-var-error) [feat] Add ZoneSettings methods (#158)
f36897f [feat] Add cache purge support to the flarectl CLI. (#156)
flarectl Builds
flarectl builds are now available!
More flarectl Improvements
- Table output is now much cleaner
- Fixed a bug that would cause a panic when encountering a DNS API error
CHANGELOG
a0687bd [build] Build flarectl binaries via Travis (#152)
72e3fb5 [ref] Use tablewriter for all table output. (#150)
f04a498 [ref] Use olekukonko/tablewriter (initial pass) (#149)
f31bc3a [bugfix] Fix error handling for DNS CLI (#148)
6fd9089 [flarectl] Imp. README: print (some) DNS command responses to stdout (#147)
9a10986 [flarectl] firewall - print results for created/deleted rules (partial) (#146)
flarectl Improvements
- flarectl now features the
user-agents
(shortname:ua
) sub-command for managing User-Agent Blocking rules. - Addresses a bug with PUT requests for User-Agent blocks not including the ID of the resource.
EXAMPLES
$ flarectl user-agents
NAME:
flarectl user-agents - User-Agent blocking
USAGE:
flarectl user-agents command [command options] [arguments...]
COMMANDS:
list, l List User-Agent blocks for a zone
create, c Create a User-Agent blocking rule
update, u Update an existing User-Agent block
delete, d Delete a User-Agent block
help, h Shows a list of commands or help for one command
OPTIONS:
--help, -h show help
Example:
$ flarectl ua l --zone example.com
ID Description Mode Value Paused
-------------------------------- ------------------------------------ ------------ --------------------------------------------------------------------------------------------------------------------- ------
62d49d9eacca445b9973f583688b74e7 Block the worst browser in the world block Wawoo Browser 90210 false
1ab4054cca55471387e407b35c6cc267 block IE6 block Mozilla/6.0 (osh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4 false
95ccf4e26e714d7c8e55d9a858258061 block IE6 block Mozilla/5.0 (osh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4 false
fdff66612b0a4d73ae72a0f13e7c6693 block IE6 js_challenge Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4 false
CHANGELOG:
14ae67c [flarectl] Adds User-Agent blocking to flarectl (#145)
IP Firewall
Load Balanced
This release adds support for the Load Balancing endpoints and the new Zone Lockdown and User-Agent Blocking firewall features.
CHANGELOG
7318813 [feat] Load Balancers, User LB Monitors, User LB Pools (#142)
19f9d5a [feat] Zone Lockdowns & User-Agent Blocks (#141)
147b16b [build] Add Go 1.8 to TravisCI (#140)
e6739d6 Merge pull request #137 from xofyarg/raw-query
1b316fe Add a raw interface to deal with special params
Origin CA Support
This release adds support for Origin CA thanks to @iToto, @cbranch & @jamesog.
Origin CA is useful when you want to support encryption and authentication between Cloudflare and your origin server (which we strongly, strongly recommend!) but don't want the hassle of acquiring one from a public certificate authority. Provided your server is not directly facing the Internet and is behind Cloudflare, Origin CA can make this process easy.
API additions:
- Use the
CreateOriginCertificate
method to create new Origin CA certificates to install on your servers. - Fetch a list of existing certificates via
OriginCertificates
- Show the details for a specific certificate via
OriginCertificate
.
v0.7.3
Summary:
- Adds the List Organizations endpoint
- Increases the number of DNS records we pull down at once (note: need to fix pagination)
- Adds the billing profile endpoint
- Adds the update User endpoint.
CHANGELOG:
9d186a5 Implement ListOrganizations
e3a3c00 Add Go 1.7 to Travis
40db474 Merge pull request #102 from cloudflare/jamesog/all-dns-records
0c2ec30 feat(DNSRecords): return all records
afb06af feat(ResultInfo): add TotalPages field
055e0a9 Merge pull request #99 from gliptak/billingprofile1
5b7666a Implement UserBillingProfile
01acbdd Merge pull request #96 from gliptak/updateuser1
8e8f329 Implement UpdateUser call
v0.7.2
Note: Commit 1bef4b5 should address the Terraform bug (hashicorp/terraform#8011 we haven't tagged a release since that commit.
6cfcb7e (HEAD -> master, origin/master, origin/HEAD) Merge pull request #98 from cloudflare/jamesog/97-updatednsrecord
d70046a flarectl: Allow setting DNS record name with update
c070583 [bugfix] dns: Don't overwrite rr.Name if it was specified
48f0a50 Merge pull request #95 from gliptak/warnings1
4d612d3 Cleanup Go Report Card warnings
06a204e CloudFlare is now Cloudflare
2bea8a6 Fix zoneID url concatenations
ae77df3 Tidy Structs (#92)
1bef4b5 (elithrar/firewall-rules) [bugfix] API.request: Clone base headers to be thread safe, fixes #88 (#89)
fc1a1cb Merge pull request #85 from ameya-pandilwar/fix-80
v0.7.1-beta
- HTTP 522, 523, 524 and 504 errors no longer return the response body as part of the error (via ba610b8)