Skip to content

Commit a252870

Browse files
committed
Fix version in MIGRATING
1 parent 0f3609c commit a252870

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

MIGRATING.md

+17-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ major releases of `cosmwasm`. Note that you can also view the
66

77
## 1.0.0 -> 1.1.0
88

9+
- Update `cosmwasm-*` dependencies in Cargo.toml (skip the ones you don't use):
10+
11+
```
12+
[dependencies]
13+
cosmwasm-std = "1.1.0"
14+
cosmwasm-storage = "1.1.0"
15+
# ...
16+
17+
[dev-dependencies]
18+
cosmwasm-schema = "1.1.0"
19+
cosmwasm-vm = "1.1.0"
20+
# ...
21+
```
22+
923
- There are changes to how we generate schemas, resulting in less boilerplace
1024
maintenance for smart contract devs. Old contracts will continue working for a
1125
while, but it's highly recommended to migrate now.
@@ -15,15 +29,15 @@ major releases of `cosmwasm`. Note that you can also view the
1529

1630
```diff
1731
[dependencies]
18-
+ cosmwasm-schema = { version = "1.0.0" }
19-
cosmwasm-std = { version = "1.0.0", features = ["stargate"] }
32+
+ cosmwasm-schema = { version = "1.1.0" }
33+
cosmwasm-std = { version = "1.1.0", features = ["stargate"] }
2034
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.10.0" }
2135
schemars = "0.8.1"
2236
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
2337
thiserror = { version = "1.0.23" }
2438

2539
[dev-dependencies]
26-
- cosmwasm-schema = { version = "1.0.0" }
40+
- cosmwasm-schema = { version = "1.1.0" }
2741
```
2842

2943
Types you send to the contract and receive back are annotated with a bunch of

0 commit comments

Comments
 (0)