Skip to content

Commit 739317b

Browse files
authored
Merge pull request #2385 from CosmWasm/optional-schemars
Make schemars::JsonSchema optional for contract developers
2 parents 87f6b8c + 33902cb commit 739317b

File tree

23 files changed

+21
-39
lines changed

23 files changed

+21
-39
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ and this project adheres to
3636
2.2.0 already. ([#2262])
3737
- cosmwasm-std: Remove previously deprecated `from_slice`, `from_binary`,
3838
`to_vec` and `to_binary`. ([#2156])
39+
- cosmwasm-vm: The testing functions `cosmwasm_vm::testing::*` do not require
40+
the contract's message types to implement `schemars::JsonSchema` anymore. This
41+
makes the use of `schemars` optional for contracts. ([#2201])
42+
- cosmwasm-std: Remove `schemars::JsonSchema` requirement from `CustomMsg`.
43+
([#2201])
3944

4045
## Fixed
4146

@@ -45,6 +50,7 @@ and this project adheres to
4550

4651
[#2155]: https://github.com/CosmWasm/cosmwasm/issues/2155
4752
[#2156]: https://github.com/CosmWasm/cosmwasm/issues/2156
53+
[#2201]: https://github.com/CosmWasm/cosmwasm/issues/2201
4854
[#2262]: https://github.com/CosmWasm/cosmwasm/issues/2262
4955
[#2268]: https://github.com/CosmWasm/cosmwasm/issues/2268
5056
[#2269]: https://github.com/CosmWasm/cosmwasm/issues/2269

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/burner/Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/crypto-verify/Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/cyberpunk/Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/empty/Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/floaty/Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/hackatom/Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/ibc-callbacks/Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/ibc-reflect-send/Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)