All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Missing values from cluster upgrade operation state enum
cb opencan now take a non-default redirect URL usingCB_REDIRECT_URL.
- Missing values from cluster state enum.
cb logsnow defaults to tempkey host value, instead ofCB_HOST.
- Pagination limit on
cb list,cb network list,cb team listandcb team_member list.
cb config-param list-supportednow returnsmin_value,max_value, andenumconstraints for each parameters, if applicable.
cb infonow correctly handles firewall rules with an empty description.
cb infonow displaystailscalestatus.cb networknow manages firewall rules and supports the following subcommands:add-firewall-rule,list-firewall-rules,remove-firewall-ruleandupdate-firewall-rule.cb networknow manages VPC peerings and supports the following subcommands:create-peering,delete-peering,get-peeringandlist-peerings.
cb firewalldeprecated in favor ofcb network.
- Expired session handling not prompting for new login.
cb listcompletion to include--format.
cb config-param setissue truncating values with multiple=characters.cb psqlprompt line wrapping issue.cb uriretrieving correctuserrole credentials for a replica.
cb psqlnow provides a builtin menu of commonly useful queries.
cb loginfailure on linux systems when checking for default browser.
cb uriandcb psqlwith cluster name regression.
cb uriandcb psqlnow default touserrole when--roleis not specified. The valuedefaultfor--rolehas been removed and is no longer valid.
cb uricommand now accepts--databaseand--port.
cb loginnow presents a login url for use with headless environments or where a default browser is not available
- High availability changes with
cb upgrade startmust be made without any other changes to the cluster. - Validation on
cb createusing--networkforgcpbased networks.
cb config-paramcommand to manage supported cluster configuration parameters. Supportsget,list-supported,resetandset.
cb loginnow uses a browser login flow. If direct use of anAPI_KEYis necessary then it must be set via theCB_API_KEYenvironment variable.
cb create --forkandcb create --replicainput validation when using--network.cb networkcommand completion suggestions.
- Credentials validation for
cb logininput.
cb psqlescape single-quotes in prompt for team name.cb maintenancenow accepts option--use-cluster-maintenance-window.
- Operation::State
replaying_walparse issue.
- Confirmation input prompt for
cb upgrade updateandcb maintenance upgrade.
cb create --forkandcb create --replicanow supports cross platform creation.cb listcommand now accepts--format. Supports:tableandtree.cb listcommand now accepts--team.cb maintenance updateandcb upgrade updateupdate a pending maintenance and a pending upgrade respectively.
cb destroycompletion to include--confirm.cb infonow returns new cluster states:resuming,suspended,suspending.cb logsfails without error message.cb maintenance cancelnow only cancels maintenances.cb psqlno longer overrides a users.psqlrcwith\x autowhich was causing unexpected formatting for some users.cb upgrade cancelnow only cancels upgrades.cb upgrade start --starting-fromnow checks that it is in less than 72 hours.
cb maintenancecommand now supportscancelandcreatecb networkcommand added to manage networks. Supportslistandinfo.cb upgrade statusreturns maintenance window informationcb upgrade startcommand accepts--starting-fromand--nowoptions that specify upgrade failover window.- Specifying an application ID when adding an API key is no longer necessary. A
"prefixed" API key starting with
cbkey_is necessary for use with cb. (All new API keys are prefixed.)
- Fix
--networknot being honored when passed withcb create --replica. cb upgrade startdon't changehaby default.
cb tailscalecommand added to add and remove a cluster from a Tailscale network. Supportsconnectanddisconnect.cb maintenancecommand added to manage cluster maintenance windows. Supportsinfoandupdate.cb infonow returns some maintenance window information
- Fix cluster id bug with
cb restart
- Fix cluster id parsing bug with
cb logs.
- Fix cluster id parsing bug with
cb backup list.
- Support for using cluster name or id with most commonly used commands.
hostfield tocb infooutput.
- Fix
cpuandmemorytype due to recent API changes fromInttoFloat.
- No output from
cb token.
cb role listshows current roles for a cluster.cb psqlto take--roleto specify the name of the role to connect.cb logoutto logout a user from the CLI.
cb backup listshows current backups for a cluster.cb backup tokencreates a backup token for a cluster.cb suspendandresumeto temporarily stop running a cluster.cb backup capturemanually starts a backup for a cluster.
- Fix required arguments check for
cb upgrade cancelandcb upgrade status.
--fulloption tocb restartto restart the entire server.
cb teamsremoved in favor ofcb team list.
- Updated
cb scopeconnections to utilize SCRAM with channel binding only.
- Fully respect the XDG Base Directory Specification
cb logscommand added to view live logs for a cluster.- The env var
SSL_CERT_FILEcan be used to override the default location of the certificate file.
- Fix
unknown caerror withcb psql. - Fix cluster creation error after the API became stricter.
cb teamcommand added to manage teams. Supportscreate,list,info,updateanddestroy.cb urican take--roleto specify the name of the role to retrieve.cb rolecommand added to manage cluster roles. Supportscreate,updateanddestroy.cb upgradecommand added to upgrade clusters. Supportsstart,cancelandstatussub-commands.cb detachcommand added to detach clusters.cb restartcommand added to restart clusters.cb renamecommand added to rename clusters.
- Improved error message when local psql command cannot be found.
cb teamsdeprecated in favor ofcb team list.
cb psqlcan take--databaseto specify the name of the database to connect.cb scopecan take--databaseto specify the name of the database to connect.cb createcan take--versionto specify the major postgres version of the new cluster.
cb teamsnow only shows your highest permission. "Administrator" is now "Admin"
- The --ha flag for
cb createnow actually works
- Fix for API change with /clusters
- Fixed link to get API tokens
cb uridisplays the URI for a cluster with the password displayed as black-on-black so you can still copy and paste it, but it has less of a chance of being unexpectedly leakedcb infonow shows source cluster id for replica clusters.
- Replica clusters show up in
cb listas well as tab completion for clusters.
cb listshows clusters from all teams, not just personal
- Cluster info now shows network id
- Fix error tracking
cb whoamioutput improved
- Fix error tracking (incorrectly, as it turned out)
cb createwith and without--forkcan take--networkto create the new cluster in an existing network- Error tracking for unhandled exceptions
cb token -His now the flag for the full header version, not-hto avoid conflicting with help
cb forkcommand removed. Forks can now be created withcb create --fork
cb create --replicato create read-replicas of clusters. Note: these cannot be seen nor deleted fromcbat this time
- Cluster names can now have hyphens
cb scopeto run diagnostic queries on your cluster
cb listno longer has an unhandled exception when you have no clusters- All requests now send the full absoluteURI on the Request-Line instead of the abs_path which is REQUIRED when a request is being sent to a proxy per the (http spec)[https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5]
cb token -hto print the token as a full authorization header which can be passed to curl directly such as:curl -H (cb token -h) https:://api.crunchybridge.com/clusters
- Completion for
cb versionfixed to remove-- - Completion for
cb createfor azure plans and regions - Fix path for TLS certs on arm macs running in rosetta with a statically linked openssl
First public release