github planetscale/cli v0.149.0

latest releases: v0.213.0, v0.212.0, v0.211.0...
16 months ago

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

Don't miss a new cli release

NewReleases is sending notifications on new releases.