|
2 | 2 |
|
3 | 3 | ## [Unreleased](https://github.com/CosmWasm/wasmd/tree/HEAD) |
4 | 4 |
|
5 | | -[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.32.0...HEAD) |
| 5 | +[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.40.0...HEAD) |
| 6 | + |
| 7 | +## [v0.40.0](https://github.com/CosmWasm/wasmd/tree/v0.40.0) (2023-05-25) |
| 8 | + |
| 9 | +[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.32.0...v0.40.0) |
| 10 | + |
| 11 | +Wasmd 0.40 has a large dependency upgrade of the Cosmos SDK version from 0.45 to 0.47. Please read notable changes and migration notes |
| 12 | +below to learn more! |
| 13 | + |
| 14 | +- Bump IBC-Go to v7.0.1 to include the fix for the huckleberry security advisory.[\#1418](https://github.com/CosmWasm/wasmd/pull/1418) |
| 15 | +- Fix cli update-instantiate-config command [/#1415](https://github.com/CosmWasm/wasmd/pull/1415) |
| 16 | +- Import export simulation test for `x/wasm` is missing [\#1372](https://github.com/CosmWasm/wasmd/issues/1372) |
| 17 | +- Better tracking of CosmWasm capabilities [\#1341](https://github.com/CosmWasm/wasmd/issues/1341) |
| 18 | +- Rename `lastIDKey` key [\#1182](https://github.com/CosmWasm/wasmd/issues/1182) |
| 19 | +- Use ICS4Wrapper to send raw IBC packets & fix Fee middleware in wasm stack \(backport \#1375\) [\#1379](https://github.com/CosmWasm/wasmd/pull/1379) |
| 20 | +- Add wasm store to import-export sims [\#1374](https://github.com/CosmWasm/wasmd/pull/1374) |
| 21 | +- Bumped SDK to 0.47.2 and CometBFT to 0.37.1 [\#1369](https://github.com/CosmWasm/wasmd/pull/1369) |
| 22 | +- Remove starport config [\#1359](https://github.com/CosmWasm/wasmd/pull/1359) |
| 23 | +- Proper v1 gov support for wasm msg types [\#1301](https://github.com/CosmWasm/wasmd/issues/1301) |
| 24 | +- Cleanup `ErrNotFound` cases [\#1258](https://github.com/CosmWasm/wasmd/issues/1258) |
| 25 | +- New proto annotations [\#1157](https://github.com/CosmWasm/wasmd/issues/1157) |
| 26 | +- Simulations with '--dry-run' return an error [\#713](https://github.com/CosmWasm/wasmd/issues/713) |
| 27 | +- Add wasmvm decorator option [\#1348](https://github.com/CosmWasm/wasmd/pull/1348) |
| 28 | +- More verbose error message [\#1354](https://github.com/CosmWasm/wasmd/pull/1354) |
| 29 | +- Remove gogo/protobuf from the 47 build's dependencies [\#1281](https://github.com/CosmWasm/wasmd/issues/1281) |
| 30 | +- Set final ibc-go version [\#1271](https://github.com/CosmWasm/wasmd/issues/1271) |
| 31 | +- Upgrade to cosmos-sdk proto 0.47.x [\#1148](https://github.com/CosmWasm/wasmd/issues/1148) |
| 32 | + |
| 33 | +### Notable changes: |
| 34 | +- If you are not coming from v0.32.0, please see the "Notables changes" below, first. Especially about CometBFT. |
| 35 | +- IBC-Go is a new major version including the "hucklebery" security fix. See [v7.0.1](https://github.com/cosmos/ibc-go/releases/tag/v7.0.1). |
| 36 | +- SDK 47 support is a big step from the SDK 45 version supported before. Make sure to read the upgrade guide for the SDK |
| 37 | + before applying any changes. Links below. |
| 38 | +- Some advice from working with SDK 47 that may affect you, too: |
| 39 | + - The SDK version includes some key store migration for the CLI. Make sure you backup your private keys before |
| 40 | + testing this! You can not switch back to v0.45 afaik |
| 41 | + - Take care that you use the goleveldb version used in the SDK. A transitive dependency may change it which caused |
| 42 | + failing queries on a running server: `Error: rpc error: code = InvalidArgument desc = failed to load state at height 1; version does not exist (latest height: 1): invalid request` |
| 43 | + Ensure this in go.mod: |
| 44 | + `github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7` |
| 45 | + - With custom modules, use the new proto-builder version (Makefile) to let proto types register with the correct registry |
| 46 | + - Ensure that all `ParameterChangeProposal` are completed before the upgrade or migrate them to `v1.gov`. SDK and wasm |
| 47 | + modules execute a migration before so that these proposals would not have an affect. |
| 48 | + - Attribute keys/ values in events are strings and not bytes in CometBFT. This may break clients |
| 49 | + - CLI: `add-genesis-account`, `gentx,add-genesis-account`, `collect-gentxs` and others are now under genesis command as parent |
| 50 | + - CLI: `--broadcast-mode block` was removed. You need to query the result for a TX with `wasmd q tx <hash>` instead |
| 51 | + |
| 52 | +### Migration notes: |
| 53 | +- This release contains a [state migration](./x/wasm/migrations/v2) for the wasmd module that stores |
| 54 | + the params in the module store. |
| 55 | +- SDK v0.47 comes with a lot of api/state braking changes to previous versions. Please see their [upgrade guide](https://github.com/cosmos/cosmos-sdk/blob/main/UPGRADING.md#v047x) |
| 56 | + which contains a lot of helpful details. |
| 57 | +- Please read the [migration guide](https://github.com/cosmos/ibc-go/tree/v7.0.0/docs/migrations) for IBC-Go [v7.0.0](https://github.com/cosmos/ibc-go/releases/tag/v7.0.0) carefully |
| 58 | + |
6 | 59 |
|
7 | 60 | ## [v0.32.0](https://github.com/CosmWasm/wasmd/tree/v0.32.0) (2023-05-11) |
8 | 61 |
|
|
0 commit comments