cosmos-sdk/cosmovisor/CHANGELOG.md

3.7 KiB

Changelog

[Unreleased]

v1.1.0 2022-10-02

Features

  • #10285 Added run command to run the associated app.
  • #10649 Customize backup directory. Added new env variable: DAEMON_BACKUP_DIR. If it is set, cosmovisor will backup the app data in ``DAEMON_BACKUP_DIR` before running the update.

Deprecated

  • #10285 Running cosmovisor without the run argument.

Bug Fixes

  • #10458 Fix version when using 'go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@v1.0.0' to install cosmovisor.

v1.0.0 2021-09-30

Features

  • #8590 File watcher for cosmovisor. Instead of parsing logs from stdin and stderr, we watch the <DAEMON_HOME>/data/upgrade-info.json file updates using polling mechanism.
  • #9999 Added version command that returns the cosmovisor version and the application version.
  • #9973 Added support for pre-upgrade command in Cosmovisor to be called before the binary is upgraded. Added new environmental variable DAEMON_PREUPGRADE_MAX_RETRIES that holds the maximum number of times to reattempt pre-upgrade before failing.
  • #10126 Added help.

Improvements

  • #10018 Strict boolean argument parsing: cosmovisor will fail if user will not set correctly a boolean variable. Correct values are: "true", "false", "" (not setting) - all case not sensitive.
  • #10036 Improve logs when downloading the binary.
  • #10217 Replacing logging to use zerolog.

CLI Breaking

  • #10128 Change default value of DAEMON_RESTART_AFTER_UPGRADE to true.

v0.1 2021-08-06

This is the first release and we started this changelog on 2021-07-01. See the README file for the full list of features.

Features

  • #9652 Add backup option for cosmovisor.