From 1327224c3455b1679c01029d23be49d7e4f5c8aa Mon Sep 17 00:00:00 2001 From: Amaury <1293565+amaurym@users.noreply.github.com> Date: Tue, 18 May 2021 22:43:04 +0200 Subject: [PATCH] Update Changelog and RL for v0.42.5 (#9350) * Update Changelog and RL for v0.42.5 * Reword * Tweak --- CHANGELOG.md | 9 ++++++++- RELEASE_NOTES.md | 26 +++++++++++++++++++++++--- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86381299d122..c7bd85ca42d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,13 +34,20 @@ Ref: https://keepachangelog.com/en/1.0.0/ # Changelog -## [Unreleased] +## [v0.42.5](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.42.5) - 2021-05-18 ### Bug Fixes * [\#9235](https://github.com/cosmos/cosmos-sdk/pull/9235) CreateMembershipProof/CreateNonMembershipProof now returns an error if input key is empty, or input data contains empty key. * [\#9108](https://github.com/cosmos/cosmos-sdk/pull/9108) Fixed the bug with querying multisig account, which is not showing threshold and public_keys. +* [\#9345](https://github.com/cosmos/cosmos-sdk/pull/9345) Fix ARM support. +* [\#9040](https://github.com/cosmos/cosmos-sdk/pull/9040) Fix ENV variables binding to CLI flags for client config. + +### Features + +* [\#8953](https://github.com/cosmos/cosmos-sdk/pull/8953) Add the `config` CLI subcommand back to the SDK, which saves client-side configuration in a `client.toml` file. + ## [v0.42.4](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.42.4) - 2021-04-08 diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 931184a53c24..aee920607c24 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,5 +1,25 @@ -# Cosmos SDK v0.42.4 "Stargate" Release Notes +# Cosmos SDK v0.42.5 "Stargate" Release Notes -This release includes an important Tendermint update that fixes a security issue with Tendermint light clients. For more information, see [Tendermint v0.34.9 release notes](https://github.com/tendermint/tendermint/blob/v0.34.9/CHANGELOG.md#v0.34.9). +This release includes various minor bugfixes and improvments, including: -See the [Cosmos SDK v0.42.4 milestone](https://github.com/cosmos/cosmos-sdk/milestone/43?closed=1) on our issue tracker for further details. +- Fix support for building the Cosmos SDK on ARM architectures, +- Fix the `[appd] keys show/list` CLI subcommands for multisigs, +- Internal code performance improvment. + +It also introduces one new feature: adding the `[appd] config` subcommand back to the SDK. + +See the [Cosmos SDK v0.42.5 milestone](https://github.com/cosmos/cosmos-sdk/milestone/44?closed=1) on our issue tracker for the exhaustive list of all changes. + +### The `config` Subcommand + +One new feature introduced in the Stargate series was the merging of the two CLI binaries `[appd]` and `[appcli]` into one single application binary. In this process, the `[appcli] config` subcommand, which was used to save client-side configuration into a TOML file, was removed. + +Due to [popular demand](https://github.com/cosmos/cosmos-sdk/issues/8529), we have introduced this feature back to the SDK, under the `[appd] config` subcommand. The functionality is as follows: + +- `[appd] config`: Output all client-side configuration. +- `[appd] config [config-name]`: Get the given configuration (e.g. `keyring-backend` or `node-id`). +- `[appd] config [config-name] [config-value]`: Set and persist the given configuration with the new value. + +All configurations are persisted to the filesystem, under the path `$APP_HOME/config/client.toml`. For the list of all possible client-side configurations, please have a look at this `client.toml` file, as it is heavily commented. + +Environment variables binding to client-side configuration also works. For example, the command `KEYRING_BACKEND=os [appd] tx bank send ...` will bind ENV variable to the `keyring-backend` config. The order or precedence for config is: `flags > env vars > client.toml file`.