Skip to content

Commit

Permalink
Bump versions for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
abizjak committed May 5, 2023
1 parent f549c0f commit b1576d7
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path=${{ matrix.crates }} --all -- --check
args: --manifest-path=${{ matrix.crates }} -- --check

# All templates are generated with the `cargo-generate` command and it is checked that the 'cargo test' command
# can be executed without errors on the generated smart contracts.
Expand Down Expand Up @@ -191,8 +191,8 @@ jobs:
run: |
mv $PROJECT_NAME ${{ runner.temp }}/
sed -i "s/root/Concordium <developers@concordium.com>/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/{version = \"6.1\", default-features = false}/{path = \"..\/..\/concordium-std\", default-features = false}/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/{version = \"3.0\", default-features = false}/{path = \"..\/..\/concordium-cis2\", default-features = false}/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/{version = \"6.2\", default-features = false}/{path = \"..\/..\/concordium-std\", default-features = false}/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/{version = \"3.1\", default-features = false}/{path = \"..\/..\/concordium-cis2\", default-features = false}/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
diff ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml examples/cis2-nft/Cargo.toml
diff ${{ runner.temp }}/$PROJECT_NAME/src/lib.rs examples/cis2-nft/src/lib.rs
Expand Down
3 changes: 3 additions & 0 deletions concordium-cis2/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

## Unreleased changes

## concordium-cis2 3.1.0 (2023-05-08)

- Derive `PartialEq` and `Eq` for the `MetadataUrl` from the CIS2 library.
- Update `concordium-std` dependency to 6.2.

## concordium-cis2 3.0.0 (2023-02-08)

Expand Down
6 changes: 3 additions & 3 deletions concordium-cis2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "concordium-cis2"
version = "3.0.0"
version = "3.1.0"
authors = ["Concordium <developers@concordium.com>"]
edition = "2018"
edition = "2021"
license = "MPL-2.0"
description = "A collection of types for implementing CIS-2 Concordium Token Standard."
homepage = "https://github.com/Concordium/concordium-rust-smart-contracts/"
Expand All @@ -11,7 +11,7 @@ readme = "./README.md"

[dependencies.concordium-std]
path = "../concordium-std"
version = "6"
version = "6.2"
default-features = false

[dependencies.primitive-types]
Expand Down
2 changes: 2 additions & 0 deletions concordium-std-derive/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased changes

## concordium-std-derive 5.2.0 (2023-05-08)

- Fix `derive(SchemaType)` macro so that it allows the `concordium` attribute.
- Bump Rust edition to `2021`.

Expand Down
4 changes: 2 additions & 2 deletions concordium-std-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "concordium-std-derive"
version = "5.1.0"
version = "5.2.0"
authors = ["Concordium <developers@concordium.com>"]
edition = "2021"
license = "MPL-2.0"
Expand All @@ -17,7 +17,7 @@ proc-macro2 = "1.0"

[dependencies.concordium-contracts-common]
path = "../concordium-contracts-common/concordium-contracts-common"
version = "5"
version = "6.0"
default-features = false

[lib]
Expand Down
2 changes: 2 additions & 0 deletions concordium-std/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased changes

## concordium-std 6.2.0 (2023-05-08)

- Add `write_root` helper function to write the root of the state trie. This is
useful in migrations when upgrading smart contracts.
- Bump Rust edition to `2021`.
Expand Down
6 changes: 3 additions & 3 deletions concordium-std/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "concordium-std"
version = "6.1.1"
version = "6.2.0"
authors = ["Concordium <developers@concordium.com>"]
edition = "2021"
license = "MPL-2.0"
Expand All @@ -22,11 +22,11 @@ getrandom = { version = "0.2", features = ["custom"], optional = true }

[dependencies.concordium-std-derive]
path = "../concordium-std-derive"
version = "5.1"
version = "5.2"

[dependencies.concordium-contracts-common]
path = "../concordium-contracts-common/concordium-contracts-common"
version = "5.3.1"
version = "6.0"
default-features = false

[features]
Expand Down
4 changes: 2 additions & 2 deletions templates/cis2-nft/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ std = ["concordium-std/std", "concordium-cis2/std"]
wee_alloc = ["concordium-std/wee_alloc"]

[dependencies]
concordium-std = {version = "6.1", default-features = false}
concordium-cis2 = {version = "3.0", default-features = false}
concordium-std = {version = "6.2", default-features = false}
concordium-cis2 = {version = "3.1", default-features = false}

[lib]
crate-type=["cdylib", "rlib"]
Expand Down
2 changes: 1 addition & 1 deletion templates/default/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ std = ["concordium-std/std"]
wee_alloc = ["concordium-std/wee_alloc"]

[dependencies]
concordium-std = {version = "6.1", default-features = false}
concordium-std = {version = "6.2", default-features = false}

[lib]
crate-type=["cdylib", "rlib"]
Expand Down

0 comments on commit b1576d7

Please sign in to comment.