Skip to content

Changelog

The latest PlanetScale features and product launches.

July 17, 2024
Feature

Deploy requests: auto-delete branch

We just shipped an improvement to deploy requests. Now, you can optionally set your deploy requests to delete the development branch once fully complete.

You can do this by toggling a checkbox while the deploy request is running. This new setting is also available via the CLI and API.

It is disabled by default and must be enabled for each deploy request. The branch will only be deleted if the deployment is successful and the revert period is complete.

CLI

As of pscale version 0.205.0, you can create a deploy request with pscale deploy-request create db branch --auto-delete-branch and the setting will be enabled.

API

The create deploy request endpoint now has auto_delete_branch available. Set this parameter to true to enable the setting.

View full documentation