Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: prepare bindings v3 #332

Merged
merged 6 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

15 changes: 14 additions & 1 deletion .github/workflows/publish-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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** |
Expand Down
2 changes: 1 addition & 1 deletion contracts/test-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
2 changes: 1 addition & 1 deletion packages/bindings-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.190"
serde_json = "1.0.108"
Expand Down
6 changes: 3 additions & 3 deletions packages/bindings/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "desmos-bindings"
version = "2.0.1"
version = "3.0.0"
authors = [
"Leonardo Bragagnolo <leonardo@forbole.com>",
"Paul Chen <paul@forbole.com>",
Expand Down Expand Up @@ -28,11 +28,11 @@ serde = { version = "1.0.190", 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.17.0" }
Expand Down
2 changes: 1 addition & 1 deletion packages/mock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions packages/std-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -21,4 +21,4 @@ cosmwasm-std = {version = "1.5.0", features = ["stargate"]}
prost = "0.12"
serde = "1.0.190"
trybuild = {version = "1.0.85", features = ["diff"]}
desmos-mock = { version = "2.0.1", path = "../mock" }
desmos-mock = { version = "3.0.0", path = "../mock" }
Loading