- #21462 Pass
stdin
to binary.
- Bump
cosmossdk.io/x/upgrade
to v0.1.4 (including go-getter vulnerability fix) - #19995:
init command
writes the configuration to the config file only at the default pathDAEMON_HOME/cosmovisor/config.toml
.- Provide
--cosmovisor-config
flag with value as args to provide the path to the configuration file in therun
command.run --cosmovisor-config <path> (other cmds with flags) ...
. - Add
--cosmovisor-config
flag to provideconfig.toml
path to the configuration file in root command used byadd-upgrade
andconfig
subcommands. config command
now displays the configuration from the config file if it is provided. If the config file is not provided, it will display the configuration from the environment variables.
- #20062 Fixed cosmovisor add-upgrade permissions
- #20585 Always parse stdout and stderr
- #20585 Pass right home to command
status
- #20585 Fix upgrades applied automatically (check two casing of sync_info)
- #16413 Add
cosmovisor add-upgrade
command to manually add an upgrade to cosmovisor. - #16573 Extend
cosmovisor
configuration with new log format options. - #16550 Add COSMOVISOR_CUSTOM_PREUPGRADE to cosmovisor to execute custom pre-upgrade scripts (separate from daemon
pre-upgrade
command). - #16963 Add DAEMON_SHUTDOWN_GRACE to send interrupt and wait before sending kill.
- #15361 Add
cosmovisor config
command to display the configuration used by cosmovisor.
- #16919 Add COSMOVISOR_DISABLE_RECASE to cosmovisor to disable automatic case change for plan name.
- #14881 Refactor Cosmovisor to use
x/upgrade
validation logic. - #14881 Refactor Cosmovisor to depend only on the
x/upgrade
module. - #15362 Allow disabling Cosmovisor logs.
- #13603 Rename cosmovisor package to
cosmossdk.io/tools/cosmovisor
.
- #12921 Add documentation about expected plan path name.
- #12918 Automatically set version using module version.
- #13221 Fix
go install
.
- #12464 Create the
cosmovisor init
command. - #12188 Add a
DAEMON_RESTART_DELAY
for allowing a node operator to define a delay between the node halt (for upgrade) and backup. - #11823 Refactor
cosmovisor
CLI to usecobra
. - #11731
cosmovisor version -o json
returns the cosmovisor version and the result ofsimd --output json --long
in one JSON object.
- #12005 Fix cosmovisor binary usage for pre-upgrade
- #12188 Remove the possibility to set a time with only a number.
DAEMON_POLL_INTERVAL
env variable now only supports a duration (e.g.100ms
,30s
,20m
).
- #10285 Added
run
command to run the associated app. - #10649 Customize backup directory. Added new env variable:
DAEMON_DATA_BACKUP_DIR
. If it is set, cosmovisor will backup the app data inDAEMON_DATA_BACKUP_DIR
before running the update.
- #10285 Running
cosmovisor
without therun
argument.
- #10458 Fix version when using 'go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/[email protected]' to install cosmovisor.
- #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
.
- #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.
- #10128 Change default value of
DAEMON_RESTART_AFTER_UPGRADE
totrue
.
This is the first release and we started this changelog on 2021-07-01. See the README file for the full list of features.
- #9652 Add backup option for cosmovisor.