Skip to content

Releases: planetscale/cli

v0.153.0

11 Aug 16:44
32f0996
Compare
Choose a tag to compare

Changelog

  • 32f0996 Rename lintSchema error variable to prevent shadowing. (#722)

v0.152.0

10 Aug 19:07
b32c878
Compare
Choose a tag to compare

Changelog

  • b32c878 Default to no default for a parent branch in branch switch (#721)
  • dd0694b build(deps): bump github.com/frankban/quicktest from 1.14.5 to 1.14.6
  • 1091ce4 build(deps): bump go.uber.org/zap from 1.24.0 to 1.25.0
  • 198b224 build(deps): bump golang.org/x/oauth2 from 0.10.0 to 0.11.0

v0.151.0

01 Aug 17:28
3c9e8b5
Compare
Choose a tag to compare

Changelog

  • 3c9e8b5 Allow connect to fail loudly and not randomize things. (#714)

v0.150.0

13 Jul 23:57
99f1c48
Compare
Choose a tag to compare

Changelog

  • 11ac52c Remove demotion and promotion requests from CLI (#711)
  • 4fe38af root: check for updates async, and not just on errors

v0.149.0

13 Jul 18:04
8488a6e
Compare
Choose a tag to compare

Latest version includes new additions to the database create and deploy-request commands.

1. database create

database create now accepts --plan and --cluster_size flags. Allowing you to create Scaler Pro databases on a specific size.

Such as:

pscale database create new-database --plan scaler_pro --cluster_size PS_80

2. deploy-request

The show and deploy commands now accept a branch name as well as the DR number. This will make it easier to automate deploy requests from CI.

The branch is the "head branch" aka the "from branch" in the deploy request.

For example, this now works.
pscale deploy-request show db-name dev-branch

And the latest DR for that branch will be returned.

You can also use this for deploying a DR. pscale deploy-request deploy db-name dev-branch.

No need to track the DR number any longer.

Note: We also finally removed the deploy-to flag, this has been deprecated for 6 months and replaced with into.

Changelog

  • b31e905 Add ability to deploy-request show by branch name
  • 275d498 Add ability to deploy DR by branch name
  • 7bee336 Add ability to set notes when creating a deploy request
  • 95dbf48 Add ability to set plan & cluster size via cli
  • 7384f24 Merge branch 'main' into plan-cluster-size
  • e400096 Only show warning if plan is empty
  • 55c53fa bump planetscale go version
  • 2c9f146 cleanup
  • 58c3c9e go mod tidy
  • d62e9fb improve error msg
  • 1f58e1b improve flag description
  • a97e14b remove test for deprecated flag

v0.148.0

11 Jul 17:27
714da67
Compare
Choose a tag to compare

Changelog

  • ca9d0e1 Add instructions for github actions
  • d466d2d build(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0
  • cb426e7 build(deps): bump golang.org/x/sys from 0.9.0 to 0.10.0
  • 9f3cee6 build(deps): bump golang.org/x/text from 0.10.0 to 0.11.0
  • 662bc7f cmd/api: a command to write authenticated API requests
  • e0bcc25 cmd/branch: fix vet issue, run vet in make
  • 78d57ad cmd/branch: print newline after switching branches
  • 6856c12 internal/*: apply gofumpt
  • be55f48 internal/dumper: fix restore panic
  • 1be44b5 internal: remove unneeded errcheck annotations

v0.147.0

14 Jun 12:05
1e9d5ec
Compare
Choose a tag to compare

Changelog

  • 3e883c0 Change ssl client certificate to set correct flag
  • 126c6dc Update additional deps
  • f948f95 Update license info
  • 0770c35 build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.6 to 2.3.7
  • aeb817d build(deps): bump github.com/spf13/viper from 1.15.0 to 1.16.0
  • 325f37f build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4
  • c8a72d8 build(deps): bump golang.org/x/sys from 0.8.0 to 0.9.0
  • 7b8673c build(deps): bump golang.org/x/text from 0.9.0 to 0.10.0

v0.146.0

06 Jun 15:13
48fec66
Compare
Choose a tag to compare

Changelog

v0.145.0

22 May 16:59
b5c5365
Compare
Choose a tag to compare

The dump command now supports the --replica flag. This will target a replica when performing the dump.

Changelog

  • fd3d830 Add --replica option to dump command, to dump from a replica.
  • 1f9dd99 add replica to outdir file, add tests for replica
  • 92f70cf build(deps): bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19
  • e80d374 merge <- main

v0.144.0

19 May 12:51
2df3546
Compare
Choose a tag to compare

Adds the --keyspace flag to the dump command. This is useful for people with sharded databases, giving them ability to target a specific keyspace.

Changelog

  • 927fd03 Apply suggestions from code review
  • 20a1a18 Update internal/cmd/database/dump.go
  • 6bf8446 build(deps): bump github.com/benbjohnson/clock from 1.3.4 to 1.3.5
  • a2db070 build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3
  • c3457d2 dump: support --keyspace