Skip to content

Commit

Permalink
bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberHoward committed May 25, 2023
1 parent 7679844 commit e8716e8
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
members = ["cw-orch", "packages/*", "contracts/*"]
version = "0.11.4"
version = "0.12.0"
resolver = "2"

[workspace.package]
Expand Down
6 changes: 3 additions & 3 deletions cw-orch/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cw-orch"
version = "0.11.4"
version = "0.12.0"
authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
Expand Down Expand Up @@ -53,8 +53,8 @@ daemon = [

[dependencies]
# Default deps
cw-orch-contract-derive = { path = "../packages/cw-orch-contract-derive", version = "0.11" }
cw-orch-fns-derive = { path = "../packages/cw-orch-fns-derive", version = "0.11" }
cw-orch-contract-derive = { path = "../packages/cw-orch-contract-derive", version = "0.12" }
cw-orch-fns-derive = { path = "../packages/cw-orch-fns-derive", version = "0.12" }

cosmwasm-std = { workspace = true }
cw-multi-test = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion docs/src/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Alternatively, you can add it manually in your `Cargo.toml` file as shown below:

```toml
[dependencies]
cw-orch = {version = "0.11.0", optional = true } # Latest version at time of writing
cw-orch = {version = "0.12.0", optional = true } # Latest version at time of writing
```

Now that we have added `cw-orch` as an optional dependency we will want to enable it through a feature. This ensures that the code added by `cw-orch` is not included in the wasm artifact of the contract. To do this add an `interface` feature to the `Cargo.toml` and enable `cw-orch` when it is enabled.
Expand Down
4 changes: 2 additions & 2 deletions docs/src/single_contract/interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ Before we can create an interface we need to add cw-orch to the contract's `Carg

```shell
$ cargo add --optional cw-orch
> Adding cw-orch v0.11.0 to optional dependencies.
> Adding cw-orch v0.12.0 to optional dependencies.
```

or add it manually to the `counter/Cargo.toml` file:

```toml
[dependencies]
cw-orch = {version = "0.11.0", optional = true } # Latest version at time of writing
cw-orch = {version = "0.12.0", optional = true } # Latest version at time of writing
```

We add `cw-orch` as an optional dependency to ensure that it is not included in the wasm artifact of the contract. This way there are no trust assumptions made about the code added by `cw-orch`, making it safe to use for production contracts.
Expand Down
2 changes: 1 addition & 1 deletion packages/cw-orch-contract-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cw-orch-contract-derive"
version = "0.11.4"
version = "0.12.0"
authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion packages/cw-orch-fns-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cw-orch-fns-derive"
version = "0.11.4"
version = "0.12.0"
authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
Expand Down

0 comments on commit e8716e8

Please sign in to comment.