github DopplerHQ/cli 2.0.0

latest releases: 3.69.1, 3.69.0, 3.68.0...
4 years ago

This is a big release with some major new features. Most notably, doppler run's fallback file is now enabled by default. Think of the fallback file as a local, encrypted cache of your secrets. This cache will automatically be used if Doppler, or your network connection, ever experiences an outage.

Features

  • Enable and encrypt run fallback files by default
  • Encrypt enclave secrets download files
  • Print Error, Stacktrace, and Debug messages in color
  • Auto-select options from the current config during enclave setup
  • Support copying values to your clipboard in enclave secrets get, configs tokens create, and configure get
  • Prompt for confirmation before revoking the auth token
  • Clean up old fallback files with run clean
  • Support using environment variables for enclave setup
  • Disable interactivity in enclave setup with the --no-prompt flag
  • Print the config file path during configure debug

BREAKING CHANGES

  • enclave secrets download files are now encrypted and default to json format
  • run fallback files are now encrypted
  • configuration is now stored in ~/.doppler (no user action required)
  • --plain flag removed from enclave secrets, enclave secrets set, and enclave secrets delete

Bug Fixes

  • Support parsing tildes in file paths (when not already expanded by the shell)
  • During login only revoke the previous token if the scopes match
  • Check for all required args before executing commands
  • Better handle filesystem permission errors
  • Add missing --project flag to environments
  • Don't run version check during enclave secrets download

Changelog

154c09a Add --no-prompt flag to enclave setup
d8626ea Add a "run clean" command for deleting old fallback files
32f47d9 Add missing --project flag
debbf6f Always create the configuration directory
20c4a89 Auto-select options from the current config during enclave setup
5193818 Change default configuration file path
e905705 Check for required values before executing logic
976f1bc Compare file paths using their absolute values
9a5f032 Default the secrets download format to json
9b816cc Don't check for version updates in development mode
171332b Don't print optional logs when redirecting file output to stdout
7e439a1 Don't run version check when downloading secrets
f7628dd Don't send an optional function parameter
2a9ba2e Don't unnecessarily export variable
bd50580 Enable the run command's fallback file by default
78d6d0b Encrypt all files containing secrets
5e8afeb Enhance file existence check to catch permission errors
7b8fd77 Fix bug with revoking previous token after login
f37df92 Handle more file errors
1e271bd Improve parsing of configuration file path
c2a5b72 Organize all user config within a 'doppler' directory
a61172a Print Error, Stacktrace, and Debug messages in color
adea489 Print the config file path in "configure debug"
edc42c7 Print title separately from the table
e45d344 Prompt for confirmation before revoking auth token
fbcf644 Provide more options for downloading secrets
4a669b4 Remove dead code
49b7343 Remove dead code
a06a6a7 Remove repetitive debug log and add function comment
d2b61a4 Remove unused flags and update documentation
3b05fa6 Rename token deletion command
384cd59 Return explicit error in failure case
d62b6e0 Run unit tests on every GitHub build
51c96f1 Simplify implementation
2bff5c8 Store the config directory path
9ccac26 Support copying values to your clipboard
4e58882 Support dry-run to see how many files would be deleted by 'run clean'
7e81ec7 Support parsing home directory-based paths
d79fa6b Support using environment variables for enclave setup
2c91592 Update command documentation
290f6f0 Update documentation
ee9b972 Update flag description
663a2e2 Upload macOS build to GitHub Artifacts after CI job

Docker images

  • docker pull dopplerhq/cli:2.0.0-ruby
  • docker pull dopplerhq/cli:2.0-ruby
  • docker pull dopplerhq/cli:2-ruby
  • docker pull dopplerhq/cli:ruby
  • docker pull gcr.io/dopplerhq/cli:2.0.0-ruby
  • docker pull gcr.io/dopplerhq/cli:2.0-ruby
  • docker pull gcr.io/dopplerhq/cli:2-ruby
  • docker pull gcr.io/dopplerhq/cli:ruby
  • docker pull dopplerhq/cli:2.0.0
  • docker pull dopplerhq/cli:2.0
  • docker pull dopplerhq/cli:2
  • docker pull dopplerhq/cli:latest
  • docker pull gcr.io/dopplerhq/cli:2.0.0
  • docker pull gcr.io/dopplerhq/cli:2.0
  • docker pull gcr.io/dopplerhq/cli:2
  • docker pull gcr.io/dopplerhq/cli:latest
  • docker pull dopplerhq/cli:2.0.0-python
  • docker pull dopplerhq/cli:2.0-python
  • docker pull dopplerhq/cli:2-python
  • docker pull dopplerhq/cli:python
  • docker pull gcr.io/dopplerhq/cli:2.0.0-python
  • docker pull gcr.io/dopplerhq/cli:2.0-python
  • docker pull gcr.io/dopplerhq/cli:2-python
  • docker pull gcr.io/dopplerhq/cli:python
  • docker pull dopplerhq/cli:2.0.0-node
  • docker pull dopplerhq/cli:2.0-node
  • docker pull dopplerhq/cli:2-node
  • docker pull dopplerhq/cli:node
  • docker pull gcr.io/dopplerhq/cli:2.0.0-node
  • docker pull gcr.io/dopplerhq/cli:2.0-node
  • docker pull gcr.io/dopplerhq/cli:2-node
  • docker pull gcr.io/dopplerhq/cli:node

Don't miss a new cli release

NewReleases is sending notifications on new releases.