Skip to content

Commit 6c6159d

Browse files
committed
Add changelog and migrating entry
1 parent 4ec8d37 commit 6c6159d

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,15 @@ and this project adheres to
6767
`ConversionOverflowError` and `DivideByZeroError`. ([#1896])
6868
- cosmwasm-std: Remove old IBC version and make v3 the default. ([#1875])
6969
- cosmwasm-storage: Removed, use [cw-storage-plus] instead. ([#1936])
70+
- cosmwasm-std: Remove `IbcReceiveResponse`'s `Default` implementation. Use
71+
`IbcReceiveResponse::new` instead. ([#1942])
7072

7173
[cw-storage-plus]: https://github.com/CosmWasm/cw-storage-plus
7274
[#1875]: https://github.com/CosmWasm/cosmwasm/pull/1875
7375
[#1890]: https://github.com/CosmWasm/cosmwasm/pull/1890
7476
[#1896]: https://github.com/CosmWasm/cosmwasm/pull/1896
7577
[#1936]: https://github.com/CosmWasm/cosmwasm/pull/1936
78+
[#1942]: https://github.com/CosmWasm/cosmwasm/pull/1942
7679

7780
## [1.5.0] - 2023-10-31
7881

MIGRATING.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,15 @@ major releases of `cosmwasm`. Note that you can also view the
107107
+const item: Item<Uint128> = Item::new("item");
108108
```
109109

110-
- Replace all uses of `IbcReceiveResponse::set_ack` with calls to
111-
`IbcReceiveResponse::new`:
110+
- Replace all uses of `IbcReceiveResponse::set_ack` and
111+
`IbcReceiveResponse::default` with calls to `IbcReceiveResponse::new`:
112112

113113
```diff
114-
- Ok(IbcReceiveResponse::new().set_ack(b"{}"))
115-
+ Ok(IbcReceiveResponse::new(b"{}"))
114+
-Ok(IbcReceiveResponse::new().set_ack(b"{}"))
115+
+Ok(IbcReceiveResponse::new(b"{}"))
116+
117+
-Ok(IbcReceiveResponse::default())
118+
+Ok(IbcReceiveResponse::new(b""))
116119
```
117120

118121
## 1.4.x -> 1.5.0

0 commit comments

Comments
 (0)