Skip to content

Commit

Permalink
Add changelog and migration entry
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Nov 8, 2023
1 parent 87ee3c7 commit 2b1a3e7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ and this project adheres to
- cosmwasm-std: Upgrade to `serde-json-wasm` 1.0. This means `u128` and `i128`
are now serialized as numbers instead of strings. Use `Uint128` and `Int128`
instead. ([#1939])
- cosmwasm-std: Add `ack` parameter to `IbcReceiveResponse::new` and remove
`IbcReceiveResponse::set_ack` ([#1940])
- cosmwasm-std: Make `BalanceResponse`, `AllBalanceResponse`,
`DelegationRewardsResponse`, `DelegatorReward`, `DelegatorValidatorsResponse`,
`PortIdResponse`, `ListChannelsResponse`, `ChannelResponse`,
Expand All @@ -51,6 +53,7 @@ and this project adheres to
[#1898]: https://github.com/CosmWasm/cosmwasm/pull/1898
[#1902]: https://github.com/CosmWasm/cosmwasm/pull/1902
[#1939]: https://github.com/CosmWasm/cosmwasm/pull/1939
[#1940]: https://github.com/CosmWasm/cosmwasm/pull/1940

### Removed

Expand Down
7 changes: 7 additions & 0 deletions MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ major releases of `cosmwasm`. Note that you can also view the
+const item: Item<Uint128> = Item::new("item");
```

- Replace all uses of `IbcReceiveResponse::set_ack` with calls to `IbcReceiveResponse::new`:

```diff
- Ok(IbcReceiveResponse::new().set_ack(b"{}"))
+ Ok(IbcReceiveResponse::new(b"{}"))
```

## 1.4.x -> 1.5.0

- Update `cosmwasm-*` dependencies in Cargo.toml (skip the ones you don't use):
Expand Down

0 comments on commit 2b1a3e7

Please sign in to comment.