diff --git a/.changeset/entries/6ac1a92374f9348537b8316a32e279fb79dbaa558d8a995447ff301033eaae9f.yaml b/.changeset/entries/6ac1a92374f9348537b8316a32e279fb79dbaa558d8a995447ff301033eaae9f.yaml deleted file mode 100644 index df84bc9d..00000000 --- a/.changeset/entries/6ac1a92374f9348537b8316a32e279fb79dbaa558d8a995447ff301033eaae9f.yaml +++ /dev/null @@ -1,6 +0,0 @@ -type: refactor -module: none -pull_request: 296 -description: Disable backtraces feature -backward_compatible: false -date: 2023-08-18T07:04:10.019998784Z diff --git a/.changeset/entries/a3a03845f1085a3da924a0d48573308098377d6fd65a0dce328de56c261bf9e1.yaml b/.changeset/entries/a3a03845f1085a3da924a0d48573308098377d6fd65a0dce328de56c261bf9e1.yaml deleted file mode 100644 index cd6d43c4..00000000 --- a/.changeset/entries/a3a03845f1085a3da924a0d48573308098377d6fd65a0dce328de56c261bf9e1.yaml +++ /dev/null @@ -1,6 +0,0 @@ -type: refactor -module: none -pull_request: 291 -description: Use `parse_err` constructor instead of literal -backward_compatible: false -date: 2023-08-18T07:06:29.63239721Z diff --git a/.changeset/entries/bb4789f77cc466c17b870ed9074ff7d9ddf4d7709c1174644ef144eb18f6a9ed.yaml b/.changeset/entries/bb4789f77cc466c17b870ed9074ff7d9ddf4d7709c1174644ef144eb18f6a9ed.yaml deleted file mode 100644 index 34238122..00000000 --- a/.changeset/entries/bb4789f77cc466c17b870ed9074ff7d9ddf4d7709c1174644ef144eb18f6a9ed.yaml +++ /dev/null @@ -1,6 +0,0 @@ -type: deps -module: none -pull_request: 300 -description: Update proto to Desmos v6.0.0 -backward_compatible: true -date: 2023-08-23T09:34:30.497449342Z diff --git a/.github/workflows/publish-bindings.yml b/.github/workflows/publish-bindings.yml index 92a5a933..65cdba0d 100644 --- a/.github/workflows/publish-bindings.yml +++ b/.github/workflows/publish-bindings.yml @@ -22,7 +22,20 @@ jobs: override: true components: rustfmt, clippy - - name: Publish crates.io 📤 + - name: Publish desmos-mock to crates.io 📤 uses: katyo/publish-crates@v2 with: + args: --package desmos-mock registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} + + - name: Publish desmos-std-derive to crates.io 📤 + uses: katyo/publish-crates@v2 + with: + args: --package desmos-std-derive + registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} + + - name: Publish desmos-bindings to crates.io 📤 + uses: katyo/publish-crates@v2 + with: + args: --package desmos-bindings + registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c994782..646ff7ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## Version 3.0.0 + +### Breaking changes +With this version, the following changes have been made: +- `Post` structure now requires `owner` field + +### Features +- ([\#303](https://github.com/desmos-labs/desmos-bindings.git/pull/303)) Supported `x/tokenfactory` feature + +### Dependencies +- ([\#246](https://github.com/desmos-labs/desmos-bindings.git/pull/355)) Bumped strum_macros to 0.25.3 +- ([\#295](https://github.com/desmos-labs/desmos-bindings.git/pull/295)) Bumped quote to 1.0.33 +- ([\#300](https://github.com/desmos-labs/desmos-bindings.git/pull/300)) Bumped proto to Desmos v6 +- ([\#307](https://github.com/desmos-labs/desmos-bindings.git/pull/366)) Bumped serde to 1.0.192 +- ([\#309](https://github.com/desmos-labs/desmos-bindings.git/pull/309)) Bumped schemars to 0.8.15 +- ([\#310](https://github.com/desmos-labs/desmos-bindings.git/pull/310)) Bumped chrono to 0.4.31 +- ([\#315](https://github.com/desmos-labs/desmos-bindings.git/pull/340)) Bumped prost-types to 0.12.1 +- ([\#316](https://github.com/desmos-labs/desmos-bindings.git/pull/316)) Bumped prost to 0.12.0 +- ([\#317](https://github.com/desmos-labs/desmos-bindings.git/pull/361)) Bumped cosmwasm-std to v1.5.0 +- ([\#319](https://github.com/desmos-labs/desmos-bindings.git/pull/360)) Bumped cosmwasm-schema to v1.5.0 +- ([\#328](https://github.com/desmos-labs/desmos-bindings.git/pull/364)) Bumped syn to 2.0.39 +- ([\#329](https://github.com/desmos-labs/desmos-bindings.git/pull/357)) Bumped base64 to 0.21.5 +- ([\#331](https://github.com/desmos-labs/desmos-bindings.git/pull/351)) Bumped proc-macro2 to 1.0.69 +- ([\#356](https://github.com/desmos-labs/desmos-bindings.git/pull/356)) Bumped thiserror to 1.0.50 +- ([\#352](https://github.com/desmos-labs/desmos-bindings.git/pull/352)) Bumped regex to 1.10.0 +- ([\#338](https://github.com/desmos-labs/desmos-bindings.git/pull/338)) Bumped trybuild to 1.0.85 + + +### Other +- ([\#291](https://github.com/desmos-labs/desmos-bindings.git/pull/291)) Used `parse_err` constructor instead of literal +- ([\#296](https://github.com/desmos-labs/desmos-bindings.git/pull/296)) Disabled backtraces feature + ## Version 2.0.1 ### Dependencies - ([\#205](https://github.com/desmos-labs/desmos-bindings.git/pull/205)) Bump prettyplease from 0.2.5 to 0.2.6 diff --git a/Cargo.lock b/Cargo.lock index 505cf2cf..8dfc9282 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -430,7 +430,7 @@ dependencies = [ [[package]] name = "desmos-bindings" -version = "2.0.1" +version = "3.0.0" dependencies = [ "base64", "chrono", @@ -449,14 +449,14 @@ dependencies = [ [[package]] name = "desmos-mock" -version = "2.0.1" +version = "3.0.0" dependencies = [ "cosmwasm-std", ] [[package]] name = "desmos-std-derive" -version = "2.0.1" +version = "3.0.0" dependencies = [ "cosmwasm-std", "desmos-mock", diff --git a/README.md b/README.md index 5dc35651..df5bf819 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ Below the compatibility between the bindings and the Desmos chain | Bindings Version | Desmos Version | |------------------|----------------| +| **v3.0.x** | **v6.1.x** | | **v2.0.x** | **v5.0.x** | | **v1.2.x** | **v4.6.x** | | **v1.1.x** | **v4.3.x** | diff --git a/contracts/test-contract/Cargo.toml b/contracts/test-contract/Cargo.toml index 215c2a36..c8f02ead 100644 --- a/contracts/test-contract/Cargo.toml +++ b/contracts/test-contract/Cargo.toml @@ -36,5 +36,5 @@ optimize = """docker run --rm \ cosmwasm-std = { version = "1.5.0", features = ["stargate"]} cw2 = "1.1.1" thiserror = { version = "1.0" } -desmos-bindings = { path = "../../packages/bindings", version = "2.0.0" } +desmos-bindings = { path = "../../packages/bindings", version = "3.0.0" } cosmwasm-schema = { version = "1.5.0" } \ No newline at end of file diff --git a/packages/bindings-test/Cargo.toml b/packages/bindings-test/Cargo.toml index c39c65e0..49f44edc 100644 --- a/packages/bindings-test/Cargo.toml +++ b/packages/bindings-test/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] cosmwasm-std = { version = "1.5.0", features = ["stargate"]} -desmos-bindings = { path = "../bindings", version = "2.0.0" } +desmos-bindings = { path = "../bindings", version = "3.0.0" } test-contract = { path = "../../contracts/test-contract", version = "1.0.0" } serde = "1.0.192" serde_json = "1.0.108" diff --git a/packages/bindings/Cargo.toml b/packages/bindings/Cargo.toml index 814265a9..b512aab0 100644 --- a/packages/bindings/Cargo.toml +++ b/packages/bindings/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "desmos-bindings" -version = "2.0.1" +version = "3.0.0" authors = [ "Leonardo Bragagnolo ", "Paul Chen ", @@ -28,11 +28,11 @@ serde = { version = "1.0.192", default-features = false, features = ["derive"] } prost = {version = "0.12.1", default-features = false, features = ["prost-derive"]} prost-types = {version = "0.12.1", default-features = false} serde-cw-value = "0.7.0" -desmos-mock = { version = "2.0.1", path = "../mock" } +desmos-mock = { version = "3.0.0", path = "../mock" } schemars = "0.8.15" strum_macros = "0.25.3" base64 = "0.21.5" -desmos-std-derive = {version = "2.0.1", path = "../std-derive"} +desmos-std-derive = {version = "3.0.0", path = "../std-derive"} [target.'cfg(not(target_arch = "wasm32"))'.dependencies] cw-multi-test = { version = "0.18.0" } diff --git a/packages/mock/Cargo.toml b/packages/mock/Cargo.toml index c4fded8e..eb5ab5cd 100644 --- a/packages/mock/Cargo.toml +++ b/packages/mock/Cargo.toml @@ -3,7 +3,7 @@ description = "Mock helpler for testing" edition = "2021" license = "MIT OR Apache-2.0" name = "desmos-mock" -version = "2.0.1" +version = "3.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/std-derive/Cargo.toml b/packages/std-derive/Cargo.toml index c2f08620..491d5e6e 100644 --- a/packages/std-derive/Cargo.toml +++ b/packages/std-derive/Cargo.toml @@ -3,7 +3,7 @@ description = "Procedural macro for desmos-std" edition = "2021" license = "MIT OR Apache-2.0" name = "desmos-std-derive" -version = "2.0.1" +version = "3.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -21,4 +21,4 @@ cosmwasm-std = {version = "1.5.0", features = ["stargate"]} prost = "0.12" serde = "1.0.192" trybuild = {version = "1.0.85", features = ["diff"]} -desmos-mock = { version = "2.0.1", path = "../mock" } +desmos-mock = { version = "3.0.0", path = "../mock" }