diff --git a/CHANGELOG.md b/CHANGELOG.md index fbcfc122fd44..12e3096b41a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,8 +37,11 @@ Ref: https://keepachangelog.com/en/1.0.0/ ## [Unreleased] +## [v0.47.0-rc2](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.0-rc2) - 2023-01-31 + ### Improvements +* (deps) [#14830](https://github.com/cosmos/cosmos-sdk/pull/14830) Bump to IAVL `v0.19.5-rc.1`. * (tools) [#14793](https://github.com/cosmos/cosmos-sdk/pull/14793) Dockerfile optimization. * (x/gov) [#13010](https://github.com/cosmos/cosmos-sdk/pull/13010) Partial cherry-pick of this issue for adding proposer migration. * [#14691](https://github.com/cosmos/cosmos-sdk/pull/14691) Change behavior of `sdk.StringifyEvents` to not flatten events attributes by events type. @@ -64,7 +67,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ * This is a behavior change, as previously `sdk.Coins.Add` would return `nil` in this case. * (reflection) [#14838](https://github.com/cosmos/cosmos-sdk/pull/14838) We now require that all proto files' import path (i.e. the OS path) matches their fully-qualified package name. For example, proto files with package name `cosmos.my.pkg.v1` should live in the folder `cosmos/my/pkg/v1/*.proto` relatively to the protoc import root folder (usually the root `proto/` folder. -## [v0.47.0-rc1](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.0-rc1) - 2022-01-09 +## [v0.47.0-rc1](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.0-rc1) - 2023-01-09 ### Features diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index e4c76e90753a..f9379e4673c6 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,6 +1,6 @@ -# Cosmos SDK v0.47.0-rc1 Release Notes +# Cosmos SDK v0.47.0-rc2 Release Notes -Cosmos SDK `v0.47.0-rc1` contains all the features and changes that are planned for the final v0.47.0 release. +Cosmos SDK `v0.47.0-rc2` contains all the features and changes that are planned for the final v0.47.0 release. This release candidate is intended to give application developers and validator operators a chance to test the release candidate before the final release. The main changes in this release are: @@ -40,4 +40,4 @@ Refer to the [UPGRADING.md](https://github.com/cosmos/cosmos-sdk/blob/release/v0 Please see the [CHANGELOG](https://github.com/cosmos/cosmos-sdk/blob/release/v0.47.x/CHANGELOG.md) for an exhaustive list of changes. Full Commit History (previous version): https://github.com/cosmos/cosmos-sdk/compare/release/v0.46.x...release/v0.47.x -Full Commit History (`alpha2..beta1`): https://github.com/cosmos/cosmos-sdk/compare/v0.47.0-beta1...v0.47.0-rc1 +Full Commit History (`rc1..rc2`): https://github.com/cosmos/cosmos-sdk/compare/v0.47.0-rc1...v0.47.0-rc2 diff --git a/UPGRADING.md b/UPGRADING.md index cc79611148e5..7493d0577270 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -80,6 +80,16 @@ Please use the `ghcr.io/cosmos/proto-builder` image (version >= `0.11.5`) for ge See which buf commit for `cosmos/cosmos-sdk` to pin in your `buf.yaml` file [here](./proto/README.md). +#### Gogoproto Import Paths + +The SDK made a [patch fix](https://github.com/cosmos/gogoproto/pull/32) on its gogoproto repository to require that each proto file's package name matches its OS import path (relatively to a protobuf root import path, usually the root `proto/` folder, set by the `protoc -I` flag). + +For example, assuming you put all your proto files in subfolders inside your root `proto/` folder, then a proto file with package name `myapp.mymodule.v1` should be found in the `proto/myapp/mymodule/v1/` folder. If it is in another folder, the proto generation command will throw an error. + +If you are using a custom folder structure for your proto files, please reorganize them so that their OS path matches their proto package name. + +This is to allow the proto FileDescriptSets to be correctly registered, and this standardized OS import paths allows [Hubl](https://github.com/cosmos/cosmos-sdk/tree/main/tools/hubl) to reflectively talk to any chain. + #### `{accepts,implements}_interface` proto annotations The SDK is normalizing the strings inside the Protobuf `accepts_interface` and `implements_interface` annotations. We require them to be fully-scoped names. They will soon be used by code generators like Pulsar and Telescope to match which messages can or cannot be packed inside `Any`s. diff --git a/simapp/go.mod b/simapp/go.mod index cd8fe4607015..df449cbd5a21 100644 --- a/simapp/go.mod +++ b/simapp/go.mod @@ -8,7 +8,7 @@ require ( cosmossdk.io/depinject v1.0.0-alpha.3 cosmossdk.io/math v1.0.0-beta.4 cosmossdk.io/tools/rosetta v0.2.0 - github.com/cosmos/cosmos-sdk v0.47.0-alpha2 + github.com/cosmos/cosmos-sdk v0.47.0-rc2 github.com/golang/mock v1.6.0 github.com/spf13/cast v1.5.0 github.com/spf13/cobra v1.6.1 diff --git a/tests/go.mod b/tests/go.mod index 0f97f76c7833..cf2ab2b2fd6a 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -7,7 +7,7 @@ require ( cosmossdk.io/depinject v1.0.0-alpha.3 cosmossdk.io/math v1.0.0-beta.4 cosmossdk.io/simapp v0.0.0-00010101000000-000000000000 - github.com/cosmos/cosmos-sdk v0.47.0-alpha2 + github.com/cosmos/cosmos-sdk v0.47.0-rc2 github.com/cosmos/gogoproto v1.4.4 github.com/golang/mock v1.6.0 github.com/google/uuid v1.3.0