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.
cb config-param list-supported
now returnsmin_value
,max_value
, andenum
constraints for each parameters, if applicable.
cb info
now correctly handles firewall rules with an empty description.
cb info
now displaystailscale
status.cb network
now manages firewall rules and supports the following subcommands:add-firewall-rule
,list-firewall-rules
,remove-firewall-rule
andupdate-firewall-rule
.cb network
now manages VPC peerings and supports the following subcommands:create-peering
,delete-peering
,get-peering
andlist-peerings
.
cb firewall
deprecated in favor ofcb network
.
- Expired session handling not prompting for new login.
cb list
completion to include--format
.
cb config-param set
issue truncating values with multiple=
characters.cb psql
prompt line wrapping issue.cb uri
retrieving correctuser
role credentials for a replica.
cb psql
now provides a builtin menu of commonly useful queries.
cb login
failure on linux systems when checking for default browser.
cb uri
andcb psql
with cluster name regression.
cb uri
andcb psql
now default touser
role when--role
is not specified. The valuedefault
for--role
has been removed and is no longer valid.
cb uri
command now accepts--database
and--port
.
cb login
now presents a login url for use with headless environments or where a default browser is not available
- High availability changes with
cb upgrade start
must be made without any other changes to the cluster. - Validation on
cb create
using--network
forgcp
based networks.
cb config-param
command to manage supported cluster configuration parameters. Supportsget
,list-supported
,reset
andset
.
cb login
now uses a browser login flow. If direct use of anAPI_KEY
is necessary then it must be set via theCB_API_KEY
environment variable.
cb create --fork
andcb create --replica
input validation when using--network
.cb network
command completion suggestions.
- Credentials validation for
cb login
input.
cb psql
escape single-quotes in prompt for team name.cb maintenance
now accepts option--use-cluster-maintenance-window
.
- Operation::State
replaying_wal
parse issue.
- Confirmation input prompt for
cb upgrade update
andcb maintenance upgrade
.
cb create --fork
andcb create --replica
now supports cross platform creation.cb list
command now accepts--format
. Supports:table
andtree
.cb list
command now accepts--team
.cb maintenance update
andcb upgrade update
update a pending maintenance and a pending upgrade respectively.
cb destroy
completion to include--confirm
.cb info
now returns new cluster states:resuming
,suspended
,suspending
.cb logs
fails without error message.cb maintenance cancel
now only cancels maintenances.cb psql
no longer overrides a users.psqlrc
with\x auto
which was causing unexpected formatting for some users.cb upgrade cancel
now only cancels upgrades.cb upgrade start --starting-from
now checks that it is in less than 72 hours.
cb maintenance
command now supportscancel
andcreate
cb network
command added to manage networks. Supportslist
andinfo
.cb upgrade status
returns maintenance window informationcb upgrade start
command accepts--starting-from
and--now
options 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
--network
not being honored when passed withcb create --replica
. cb upgrade start
don't changeha
by default.
cb tailscale
command added to add and remove a cluster from a Tailscale network. Supportsconnect
anddisconnect
.cb maintenance
command added to manage cluster maintenance windows. Supportsinfo
andupdate
.cb info
now 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.
host
field tocb info
output.
- Fix
cpu
andmemory
type due to recent API changes fromInt
toFloat
.
- No output from
cb token
.
cb role list
shows current roles for a cluster.cb psql
to take--role
to specify the name of the role to connect.cb logout
to logout a user from the CLI.
cb backup list
shows current backups for a cluster.cb backup token
creates a backup token for a cluster.cb suspend
andresume
to temporarily stop running a cluster.cb backup capture
manually starts a backup for a cluster.
- Fix required arguments check for
cb upgrade cancel
andcb upgrade status
.
--full
option tocb restart
to restart the entire server.
cb teams
removed in favor ofcb team list
.
- Updated
cb scope
connections to utilize SCRAM with channel binding only.
- Fully respect the XDG Base Directory Specification
cb logs
command added to view live logs for a cluster.- The env var
SSL_CERT_FILE
can be used to override the default location of the certificate file.
- Fix
unknown ca
error withcb psql
. - Fix cluster creation error after the API became stricter.
cb team
command added to manage teams. Supportscreate
,list
,info
,update
anddestroy
.cb uri
can take--role
to specify the name of the role to retrieve.cb role
command added to manage cluster roles. Supportscreate
,update
anddestroy
.cb upgrade
command added to upgrade clusters. Supportsstart
,cancel
andstatus
sub-commands.cb detach
command added to detach clusters.cb restart
command added to restart clusters.cb rename
command added to rename clusters.
- Improved error message when local psql command cannot be found.
cb teams
deprecated in favor ofcb team list
.
cb psql
can take--database
to specify the name of the database to connect.cb scope
can take--database
to specify the name of the database to connect.cb create
can take--version
to specify the major postgres version of the new cluster.
cb teams
now only shows your highest permission. "Administrator" is now "Admin"
- The --ha flag for
cb create
now actually works
- Fix for API change with /clusters
- Fixed link to get API tokens
cb uri
displays 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 info
now shows source cluster id for replica clusters.
- Replica clusters show up in
cb list
as well as tab completion for clusters.
cb list
shows clusters from all teams, not just personal
- Cluster info now shows network id
- Fix error tracking
cb whoami
output improved
- Fix error tracking (incorrectly, as it turned out)
cb create
with and without--fork
can take--network
to create the new cluster in an existing network- Error tracking for unhandled exceptions
cb token -H
is now the flag for the full header version, not-h
to avoid conflicting with help
cb fork
command removed. Forks can now be created withcb create --fork
cb create --replica
to create read-replicas of clusters. Note: these cannot be seen nor deleted fromcb
at this time
- Cluster names can now have hyphens
cb scope
to run diagnostic queries on your cluster
cb list
no 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 -h
to 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 version
fixed to remove--
- Completion for
cb create
for azure plans and regions - Fix path for TLS certs on arm macs running in rosetta with a statically linked openssl
First public release