From 2646b474c7beb0c93d4fafd395ef345f41afc251 Mon Sep 17 00:00:00 2001 From: Robert Zaremba Date: Thu, 3 Feb 2022 16:51:52 +0100 Subject: [PATCH] chore: 0.45.1 Release Notes (#11109) * 0.45.1 Release Notes * Update RELEASE_NOTES.md Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com> Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com> --- CHANGELOG.md | 6 ++++-- RELEASE_NOTES.md | 31 +++++++------------------------ 2 files changed, 11 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17fa1447aef..2a362db34cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,8 @@ Ref: https://keepachangelog.com/en/1.0.0/ ## [Unreleased] +## [v0.45.1](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.1) - 2022-02-03 + ### Bug Fixes * (grpc) [\#10985](https://github.com/cosmos/cosmos-sdk/pull/10992) The `/cosmos/tx/v1beta1/txs/{hash}` endpoint returns a 404 when a tx does not exist. @@ -44,8 +46,8 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### Improvements -* [\#10407](https://github.com/cosmos/cosmos-sdk/pull/10407) Add validation to `x/upgrade` module's `BeginBlock` to check accidental binary downgrades - +* [\#10407](https://github.com/cosmos/cosmos-sdk/pull/10407) Added validation to `x/upgrade` module's `BeginBlock` to check accidental binary downgrades +* [\#10768](https://github.com/cosmos/cosmos-sdk/pull/10768) Extra logging in in-place store migrations. ## [v0.45.0](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.0) - 2022-01-18 diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index fb3c2acaff0..313c4105b32 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,31 +1,14 @@ # Cosmos SDK v0.45.0 Release Notes -Cosmos SDK v0.45.0 is a logical continuation of the v0.44.\* series, but brings a couple of state- and API-breaking changes requested by the community. +This release introduces bug fixes and improvements on the Cosmos SDK v0.45 series: -### State-Breaking Changes +Highlights ++ Added the missing `iavl-cache-size` config parameter parsing to set a desired IAVL cache size. The default value is way to small for big chains, and causes OOM failures. ++ Added a check in `x/upgrade` module's `BeginBlock` preventing accidental binary downgrades ++ Fix: the `/cosmos/tx/v1beta1/txs/{hash}` endpoint returns correct return code (404) for a non existing tx. -There are few important changes in **gas consumption**, which improve the gas economics: +See the [Cosmos SDK v0.45.1 Changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.45.1/CHANGELOG.md) for the exhaustive list of all changes and check other fixes in 0.45.x release series. -- We now charge gas in two new places: on `.Seek()` even if there are no entries, and for the key length (on top of the value length). -- When block gas limit is exceeded, we consume the maximum gas possible (to charge for the performed computation). We also fixed the bug when the last transaction in a block exceeds the block gas limit, it returns an error result, but the tx is actually committed successfully. +**Full Diff**: https://github.com/cosmos/cosmos-sdk/compare/v0.45.0...v0.45.1 -Finally, a small improvement in gov, we increased the maximum proposal description size from 5k characters to 10k characters. -### API-Breaking Changes - -- The `BankKeeper` interface has a new `HasSupply` method to ensure that input denom actually exists on chain. -- The `CommitMultiStore` interface contains a new `SetIAVLCacheSize` method for a configurable IAVL cache size. -- `AuthKeeper` interface in `x/auth` now includes a function `HasAccount`. -- Moved `TestMnemonic` from `testutil` package to `testdata`. - - -Finally, when using the `SetOrder*` functions in simapp, e.g. `SetOrderBeginBlocker`, we now require that all modules be present in the function arguments, or else the node panics at startup. We also added a new `SetOrderMigration` function to set the order of running module migrations. - -### Improvements - -- Speedup improvements (e.g. speedup iterator creation after delete heavy workloads, lower allocations for `Coins.String()`, reduce RAM/CPU usage inside store/cachekv's `Store.Write`) are included in this release. -- Upgrade Rosetta to v0.7.0 . -- Support in-place migration ordering. -- Copied and updated `server.GenerateCoinKey` and `server.GenerateServerCoinKey` functions to the `testutil` package. These functions in `server` package are marked deprecated and will be removed in the next release. In the `testutil.GenerateServerCoinKey` version we added support for custom mnemonics in in-process testing network. - -See our [CHANGELOG](./CHANGELOG.md) for the exhaustive list of all changes, or a full [commit diff](https://github.com/cosmos/cosmos-sdk/compare/v0.44.5...v0.45.0).