Skip to content

Commit

Permalink
Merge pull request #1852 from CosmWasm/1847-migrate-1-4-entry
Browse files Browse the repository at this point in the history
Add migrating docs for 1.4
  • Loading branch information
webmaster128 authored Sep 4, 2023
2 parents 17b7dcc + 2ab4f01 commit 30744f2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,33 @@ This guide explains what is needed to upgrade contracts when migrating over
major releases of `cosmwasm`. Note that you can also view the
[complete CHANGELOG](./CHANGELOG.md) to understand the differences.

## 1.3.x -> 1.4.0

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

```
[dependencies]
cosmwasm-std = "1.4.0"
cosmwasm-storage = "1.4.0"
# ...
[dev-dependencies]
cosmwasm-schema = "1.4.0"
cosmwasm-vm = "1.4.0"
# ...
```

- If you want to use a feature that is only available on CosmWasm 1.4+ chains,
use this feature:

```diff
-cosmwasm-std = { version = "1.4.0", features = ["stargate"] }
+cosmwasm-std = { version = "1.4.0", features = ["stargate", "cosmwasm_1_4"] }
```

Please note that `cosmwasm_1_2` implies `cosmwasm_1_1`, and `cosmwasm_1_3`
implies `cosmwasm_1_2`, and so on, so there is no need to set multiple.

## 1.2.x -> 1.3.0

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

0 comments on commit 30744f2

Please sign in to comment.