Release Note
Released v2.0.0 of doctl, the official DigitalOcean CLI. This release masks secret values and database passwords, including passwords inside connection strings, in terminal output. Use the --show flag to reveal them. In CI environments, values are unmasked automatically so existing scripts keep working.
doctl auth switch and doctl auth remove no longer save a token from the DIGITALOCEAN_ACCESS_TOKEN environment variable to the config file. doctl auth init still saves the token it validates. If you ran doctl auth switch or doctl auth remove with that variable set on an earlier version, check your config file and replace the token if it was saved there.
doctl reports missing or invalid flags before calling the API, and mistyped nested commands exit with an error instead of succeeding silently. Commands that wait for long-running operations accept a --wait-timeout flag and write progress to stderr.