Skip to content

Commit

Permalink
Add changelog and migrating entry
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Oct 18, 2023
1 parent 02752b8 commit 434ef6d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@ and this project adheres to
([#1874])
- cosmwasm-vm: Make `CacheOptions` non-exhaustive and add a constructor.
([#1898])
- cosmwasm-std: `Coin::new` now takes `Into<Uint128>` instead of `u128` as the
first argument and `DecCoin::new` takes `Into<Decimal256>` instead of
`Decimal256`. ([#1902])

[#1874]: https://github.com/CosmWasm/cosmwasm/pull/1874
[#1879]: https://github.com/CosmWasm/cosmwasm/pull/1879
[#1890]: https://github.com/CosmWasm/cosmwasm/pull/1890
[#1898]: https://github.com/CosmWasm/cosmwasm/pull/1898
[#1902]: https://github.com/CosmWasm/cosmwasm/pull/1902

## [1.5.0-rc.0]

Expand Down
7 changes: 7 additions & 0 deletions MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ major releases of `cosmwasm`. Note that you can also view the
+Uint128::new(123456).mul_floor(Decimal::percent(1));
```

- When calling `Coin::new`, you now have to explicitly specify the integer type:

```diff
-Coin::new(1234, "uatom")
+Coin::new(1234u128, "uatom")
```

## 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 434ef6d

Please sign in to comment.