Skip to content

Commit

Permalink
Bump versions and changelog for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
abizjak committed Oct 18, 2023
1 parent 3d74d03 commit f9e835b
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 21 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ jobs:
run: |
mv $PROJECT_NAME ${{ runner.temp }}/
sed -i "s/root/Concordium <[email protected]>/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/{version = \"8.0\", default-features = false}/{path = \"..\/..\/concordium-std\", default-features = false}/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/{version = \"5.0\", default-features = false}/{path = \"..\/..\/concordium-cis2\", default-features = false}/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/{version = \"8.1\", default-features = false}/{path = \"..\/..\/concordium-std\", default-features = false}/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/{version = \"5.1\", default-features = false}/{path = \"..\/..\/concordium-cis2\", default-features = false}/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/concordium-smart-contract-testing = \"3.0\"/concordium-smart-contract-testing = {path = \"..\/..\/contract-testing\"}/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 Expand Up @@ -379,9 +379,9 @@ jobs:
run: |
mv $PROJECT_NAME ${{ runner.temp }}/
sed -i "s/root/Concordium <[email protected]>/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/version = \"8.0\", default-features = false/path = \"..\/..\/concordium-std\", version = \"8.0\", default-features = false/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/version = \"5.0\", default-features = false/path = \"..\/..\/concordium-cis2\", version = \"5.0\", default-features = false/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/concordium-smart-contract-testing = \"3.0\"/concordium-smart-contract-testing = {path = \"..\/..\/contract-testing\"}/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/version = \"8.1\", default-features = false/path = \"..\/..\/concordium-std\", version = \"8.1\", default-features = false/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/version = \"5.1\", default-features = false/path = \"..\/..\/concordium-cis2\", version = \"5.1\", default-features = false/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
sed -i "s/concordium-smart-contract-testing = \"3.1\"/concordium-smart-contract-testing = {path = \"..\/..\/contract-testing\"}/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml
diff ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml examples/credential-registry/Cargo.toml
diff ${{ runner.temp }}/$PROJECT_NAME/src/lib.rs examples/credential-registry/src/lib.rs
diff ${{ runner.temp }}/$PROJECT_NAME/tests/tests.rs examples/credential-registry/tests/tests.rs
Expand Down
3 changes: 3 additions & 0 deletions concordium-cis2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog

## Unreleased changes

## concordium-cis2 5.1.0 (2023-10-18)

- Derive `PartialEq` and `Eq` for `Cis2Event`, `BalanceOfQueryResponse`, and `OperatorOfQueryResponse`.

## concordium-cis2 5.0.0 (2023-08-21)
Expand Down
2 changes: 1 addition & 1 deletion concordium-cis2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "concordium-cis2"
version = "5.0.0"
version = "5.1.0"
authors = ["Concordium <[email protected]>"]
edition = "2021"
license = "MPL-2.0"
Expand Down
2 changes: 1 addition & 1 deletion concordium-rust-sdk
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 8.1.0 (2023-10-18)

- Set minimum Rust version to 1.66.
- Fix bug in `StateMap::get_mut`, which allowed multiple mutable references to the state to coexist.
- The signature has changed using `&self` to using `&mut self`.
Expand Down
4 changes: 2 additions & 2 deletions concordium-std/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "concordium-std"
version = "8.0.0"
version = "8.1.0"
authors = ["Concordium <[email protected]>"]
edition = "2021"
rust-version = "1.66"
Expand All @@ -23,7 +23,7 @@ getrandom = { version = "0.2", features = ["custom"], optional = true }

[dependencies.concordium-contracts-common]
path = "../concordium-rust-sdk/concordium-base/smart-contracts/contracts-common/concordium-contracts-common"
version = "8.0"
version = "8.1"
default-features = false
features = ["smart-contract"]

Expand Down
4 changes: 3 additions & 1 deletion contract-testing/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased changes

## 3.1.0

- Add functionality for setting the exchange rates and block time of the chain based on queries from an external node.
- Configured via a builder pattern, see `Chain::builder`.
- Add methods to `Chain`:
Expand All @@ -15,8 +17,8 @@
- `Endpoint`
- Add methods to the `Chain` for adding external accounts and contracts and for invoking contracts on an external node.
- See the `Chain` method `contract_invoke_external` for more details.
- Bump minimum supported Rust version to `1.66`.
- Add helper method `parse_return_value` to `ContractInvokeError` and `ContractInvokeSuccess`.
- Bump minimum supported Rust version to `1.66`.

## 3.0.0

Expand Down
6 changes: 3 additions & 3 deletions contract-testing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "concordium-smart-contract-testing"
version = "3.0.0"
version = "3.1.0"
edition = "2021"
rust-version = "1.66"
license = "MPL-2.0"
Expand All @@ -13,10 +13,10 @@ exclude = ["tests"] # Do not publish tests.
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
concordium_base = {version = "3.0", path = "../concordium-rust-sdk/concordium-base/rust-src/concordium_base"}
concordium_base = {version = "3.1", path = "../concordium-rust-sdk/concordium-base/rust-src/concordium_base"}
concordium-smart-contract-engine = {version = "3.0", path = "../concordium-rust-sdk/concordium-base/smart-contracts/wasm-chain-integration"}
concordium-wasm = {version = "3.0", path = "../concordium-rust-sdk/concordium-base/smart-contracts/wasm-transform"}
concordium-rust-sdk = {version = "3.0", path = "../concordium-rust-sdk"}
concordium-rust-sdk = {version = "3.1", path = "../concordium-rust-sdk"}
tokio = { version = "1.28", features = ["rt-multi-thread", "time"] }
sha2 = "0.10"
anyhow = "1"
Expand Down
4 changes: 2 additions & 2 deletions examples/credential-registry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ wee_alloc = ["concordium-std/wee_alloc"]
crypto-primitives = ["concordium-std/crypto-primitives"]

[dependencies]
concordium-std = {path = "../../concordium-std", version = "8.0", default-features = false, features = ["concordium-quickcheck"]}
concordium-cis2 = {path = "../../concordium-cis2", version = "5.0", default-features = false}
concordium-std = {path = "../../concordium-std", version = "8.1", default-features = false, features = ["concordium-quickcheck"]}
concordium-cis2 = {path = "../../concordium-cis2", version = "5.1", default-features = false}
quickcheck = {version = "1"}

[dev-dependencies]
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 = "8.0", default-features = false}
concordium-cis2 = {version = "5.0", default-features = false}
concordium-std = {version = "8.1", default-features = false}
concordium-cis2 = {version = "5.1", default-features = false}

[dev-dependencies]
concordium-smart-contract-testing = "3.0"
Expand Down
6 changes: 3 additions & 3 deletions templates/credential-registry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ wee_alloc = ["concordium-std/wee_alloc"]
crypto-primitives = ["concordium-std/crypto-primitives"]

[dependencies]
concordium-std = {version = "8.0", default-features = false, features = ["concordium-quickcheck"]}
concordium-cis2 = {version = "5.0", default-features = false}
concordium-std = {version = "8.1", default-features = false, features = ["concordium-quickcheck"]}
concordium-cis2 = {version = "5.1", default-features = false}
quickcheck = {version = "1"}

[dev-dependencies]
concordium-smart-contract-testing = "3.0"
concordium-smart-contract-testing = "3.1"

[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 = "8.0", default-features = false}
concordium-std = {version = "8.1", default-features = false}

[dev-dependencies]
concordium-smart-contract-testing = "3"
Expand Down

0 comments on commit f9e835b

Please sign in to comment.