Skip to content

Commit

Permalink
chore: release fvm and IPLD crates (#1796)
Browse files Browse the repository at this point in the history
Due to bumping the cid/multihash versions.
  • Loading branch information
Stebalien committed Jun 28, 2023
1 parent b77d152 commit 3ad5b90
Show file tree
Hide file tree
Showing 38 changed files with 334 additions and 275 deletions.
388 changes: 194 additions & 194 deletions Cargo.lock

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions fvm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ Changes to the reference FVM implementation.

## [Unreleased]

## 3.5.0 [2023-06-27]

Breaking Changes:

- Update cid/multihash. This is a breaking change as it affects the API.
- Make `Kernel::send` generic over the kernel that will be used by the called actor. This significantly simplifies testing.
- Upgrade wasmtime to v10.

Other Changes:

- This version allows over-subscription on the instance pool when executing multiple messages in parallel. This means the number of parallel execution lanes is no longer limited by the address space (or no longer _as_ limited).

## 3.4.0 [2023-05-04]

Update wasmtime to 8.0.1. This is a breaking change if you use any other wasmtime version.
Expand Down
12 changes: 6 additions & 6 deletions fvm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fvm"
description = "Filecoin Virtual Machine reference implementation"
version = "3.4.0"
version = "3.5.0"
license = "MIT OR Apache-2.0"
authors = ["Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
Expand All @@ -17,11 +17,11 @@ thiserror = "1.0.40"
num-traits = "0.2"
cid = { workspace = true, features = ["serde-codec"] }
multihash = { workspace = true }
fvm_shared = { version = "3.3.1", path = "../shared", features = ["crypto"] }
fvm_ipld_hamt = { version = "0.6.1", path = "../ipld/hamt" }
fvm_ipld_amt = { version = "0.5.1", path = "../ipld/amt" }
fvm_ipld_blockstore = { version = "0.1.2", path = "../ipld/blockstore" }
fvm_ipld_encoding = { version = "0.3.3", path = "../ipld/encoding" }
fvm_shared = { version = "3.4.0", path = "../shared", features = ["crypto"] }
fvm_ipld_hamt = { version = "0.7.0", path = "../ipld/hamt" }
fvm_ipld_amt = { version = "0.6.0", path = "../ipld/amt" }
fvm_ipld_blockstore = { version = "0.2.0", path = "../ipld/blockstore" }
fvm_ipld_encoding = { version = "0.4.0", path = "../ipld/encoding" }
serde = { version = "1.0", features = ["derive"] }
serde_tuple = "0.5"
lazy_static = "1.4.0"
Expand Down
6 changes: 6 additions & 0 deletions ipld/amt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## [Unreleased]

## 0.6.0 [2023-06-28)

Breaking Changes:

- Update cid/multihash. This is a breaking change as it affects the API.

## 0.5.1

Avoid flushing the AMT if nothing has changed.
Expand Down
6 changes: 3 additions & 3 deletions ipld/amt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fvm_ipld_amt"
description = "Sharded IPLD Array implementation."
version = "0.5.1"
version = "0.6.0"
license = "MIT OR Apache-2.0"
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
Expand All @@ -14,8 +14,8 @@ thiserror = "1.0"
once_cell = "1.18"
itertools = "0.11"
anyhow = "1.0.71"
fvm_ipld_blockstore = { version = "0.1", path = "../blockstore" }
fvm_ipld_encoding = { version = "0.3", path = "../encoding" }
fvm_ipld_blockstore = { version = "0.2", path = "../blockstore" }
fvm_ipld_encoding = { version = "0.4", path = "../encoding" }

[features]
go-interop = []
Expand Down
2 changes: 1 addition & 1 deletion ipld/bitfield/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ unsigned-varint = "0.7.1"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0.40"
arbitrary = { version = "1.3.0", optional = true}
fvm_ipld_encoding = { version = "0.3", path = "../encoding" }
fvm_ipld_encoding = { version = "0.4", path = "../encoding" }

[dev-dependencies]
rand_xorshift = "0.3.0"
Expand Down
6 changes: 6 additions & 0 deletions ipld/blockstore/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Changes to the FVM's Blockstore abstraction

## [Unreleased]

## 0.2.0 [2023-06-28)

Breaking Changes:

- Update cid/multihash. This is a breaking change as it affects the API.

## 0.1.2 [2023-05-03]

- Impl blockstore for `Arc<BS>`.
Expand Down
2 changes: 1 addition & 1 deletion ipld/blockstore/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fvm_ipld_blockstore"
description = "Sharded IPLD Blockstore."
version = "0.1.2"
version = "0.2.0"
license = "MIT OR Apache-2.0"
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
Expand Down
6 changes: 6 additions & 0 deletions ipld/car/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Changes to the FVM's CAR implementation.

## [Unreleased]

## 0.7.0 [2023-06-28)

Breaking Changes:

- Update cid/multihash. This is a breaking change as it affects the API.

## 0.6.0 [2022-10-11]

- Bumps `fvm_ipld_encoding` and switches from `cs_serde_bytes` to `fvm_ipld_encoding::strict_bytes`.
Expand Down
6 changes: 3 additions & 3 deletions ipld/car/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fvm_ipld_car"
description = "IPLD CAR handling library"
version = "0.6.0"
version = "0.7.0"
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand All @@ -13,8 +13,8 @@ serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"
futures = "0.3.28"
integer-encoding = { version = "3.0", features = ["futures_async"] }
fvm_ipld_blockstore = { version = "0.1", path = "../blockstore" }
fvm_ipld_encoding = { version = "0.3", path = "../encoding" }
fvm_ipld_blockstore = { version = "0.2", path = "../blockstore" }
fvm_ipld_encoding = { version = "0.4", path = "../encoding" }

[dev-dependencies]
async-std = { version = "1.12", features = ["attributes"] }
8 changes: 8 additions & 0 deletions ipld/encoding/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Changes to the FVM's shared encoding utilities.

## [Unreleased]

## 0.4.0 [2023-06-28)

Breaking Changes:

- Update cid/multihash. This is a breaking change as it affects the API.

## 0.3.3 [2023-01-19]

- Add the `CBOR` codec, and support it in `IpldBlock`
Expand Down
4 changes: 2 additions & 2 deletions ipld/encoding/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fvm_ipld_encoding"
description = "Sharded IPLD encoding."
version = "0.3.3"
version = "0.4.0"
license = "MIT OR Apache-2.0"
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
Expand All @@ -15,7 +15,7 @@ serde_repr = "0.1"
cid = { workspace = true, features = ["serde-codec", "std"] }
thiserror = "1.0"
anyhow = "1.0.71"
fvm_ipld_blockstore = { version = "0.1", path = "../blockstore" }
fvm_ipld_blockstore = { version = "0.2", path = "../blockstore" }
# multihash is also re-exported by `cid`. Having `multihash` here as a
# depdendency is needed to enable the features of the re-export.
multihash = { workspace = true, features = ["blake2b", "multihash-impl"] }
Expand Down
5 changes: 4 additions & 1 deletion ipld/hamt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog

## [Unreleased]
## 0.7.0 [2023-06-28)

Breaking Changes:

- Update cid/multihash. This is a breaking change as it affects the API.
- Add `min_data_depth` option to reserve the top levels of the HAMT for links, free of key-value pairs.

## 0.6.1 [2022-11-14]
Expand Down
6 changes: 3 additions & 3 deletions ipld/hamt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fvm_ipld_hamt"
description = "Sharded IPLD HashMap implementation."
version = "0.6.1"
version = "0.7.0"
license = "MIT OR Apache-2.0"
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
Expand All @@ -18,8 +18,8 @@ once_cell = "1.18"
forest_hash_utils = "0.1"
anyhow = "1.0.71"
libipld-core = { version = "0.16.0", features = ["serde-codec"] }
fvm_ipld_encoding = { version = "0.3", path = "../encoding" }
fvm_ipld_blockstore = { version = "0.1", path = "../blockstore" }
fvm_ipld_encoding = { version = "0.4", path = "../encoding" }
fvm_ipld_blockstore = { version = "0.2", path = "../blockstore" }

[features]
identity = []
Expand Down
6 changes: 6 additions & 0 deletions ipld/kamt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.3.0 [2023-06-28)

Breaking Changes:

- Update cid/multihash. This is a breaking change as it affects the API.

## 0.2.0 [2023-01-13]

- Improve serialization format by avoiding maps.
Expand Down
6 changes: 3 additions & 3 deletions ipld/kamt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fvm_ipld_kamt"
description = "Sharded IPLD Map implementation with level skipping."
version = "0.2.0"
version = "0.3.0"
license = "MIT OR Apache-2.0"
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
Expand All @@ -16,8 +16,8 @@ thiserror = "1.0"
once_cell = "1.18"
forest_hash_utils = "0.1"
anyhow = "1.0.71"
fvm_ipld_encoding = { version = "0.3", path = "../encoding" }
fvm_ipld_blockstore = { version = "0.1", path = "../blockstore" }
fvm_ipld_encoding = { version = "0.4", path = "../encoding" }
fvm_ipld_blockstore = { version = "0.2", path = "../blockstore" }

[features]
# This feature should just be used for testing (ignoring links that don't exist in store)
Expand Down
6 changes: 6 additions & 0 deletions sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## [Unreleased]

## 3.3.0 [2023-06-28]

Breaking Changes:

- Update cid/multihash. This is a breaking change as it affects the API.

## 3.2.0 [2023-04-04]

- Switch to rust stable.
Expand Down
6 changes: 3 additions & 3 deletions sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fvm_sdk"
description = "Filecoin Virtual Machine actor development SDK"
version = "3.2.0"
version = "3.3.0"
license = "MIT OR Apache-2.0"
authors = ["Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
Expand All @@ -12,13 +12,13 @@ crate-type = ["lib"]

[dependencies]
cid = { workspace = true }
fvm_shared = { version = "3.3.1", path = "../shared" }
fvm_shared = { version = "3.4.0", path = "../shared" }
## num-traits; disabling default features makes it play nice with no_std.
num-traits = { version = "0.2.15", default-features = false }
lazy_static = { version = "1.4.0" }
log = "0.4.19"
thiserror = "1.0.40"
fvm_ipld_encoding = { version = "0.3", path = "../ipld/encoding" }
fvm_ipld_encoding = { version = "0.4", path = "../ipld/encoding" }

[features]
default = []
Expand Down
6 changes: 6 additions & 0 deletions shared/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## [Unreleased]

## 3.4.0 [2023-06-27]

Breaking Changes:

- Update cid/multihash. This is a breaking change as it affects the API.

## 3.3.1 [2023-05-04]

Fix some address constants (lazy statics, to be precise) when the current network is set to "testnet". Previously, if said constants were evaluated _after_ switching to testnet mode (calling `address::set_current_network`), they'd fail to parse and crash the program when dereferenced.
Expand Down
4 changes: 2 additions & 2 deletions shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fvm_shared"
description = "Filecoin Virtual Machine shared types and functions"
version = "3.3.1"
version = "3.4.0"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
Expand All @@ -21,7 +21,7 @@ cid = { workspace = true, features = ["serde-codec", "std"] }
multihash = { workspace = true, features = ["multihash-impl", "sha2", "sha3", "ripemd"] }
unsigned-varint = "0.7.1"
anyhow = "1.0.71"
fvm_ipld_encoding = { version = "0.3", path = "../ipld/encoding" }
fvm_ipld_encoding = { version = "0.4", path = "../ipld/encoding" }
serde = { version = "1", default-features = false }
serde_tuple = "0.5"
arbitrary = { version = "1.3", optional = true, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion testing/calibration/shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Protocol Labs", "Filecoin Core Devs"]
repository = "https://github.com/filecoin-project/ref-fvm"

[dependencies]
fvm_shared = { version = "3.3.1", path = "../../../shared", features = ["testing"] }
fvm_shared = { version = "3.4.0", path = "../../../shared", features = ["testing"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
num-traits = "0.2"
Expand Down
10 changes: 5 additions & 5 deletions testing/conformance/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ publish = false
repository = "https://github.com/filecoin-project/ref-fvm"

[dependencies]
fvm_shared = { version = "3.3.1", path = "../../shared" }
fvm_ipld_car = { version = "0.6.0", path = "../../ipld/car" }
fvm_ipld_blockstore = { version = "0.1.2", path = "../../ipld/blockstore" }
fvm_ipld_encoding = { version = "0.3.3", path = "../../ipld/encoding" }
fvm_shared = { version = "3.4.0", path = "../../shared" }
fvm_ipld_car = { version = "0.7.0", path = "../../ipld/car" }
fvm_ipld_blockstore = { version = "0.2.0", path = "../../ipld/blockstore" }
fvm_ipld_encoding = { version = "0.4.0", path = "../../ipld/encoding" }

anyhow = "1.0.71"
num-traits = "0.2"
Expand All @@ -39,7 +39,7 @@ tar = { version = "0.4.38", default-features = false }
zstd = { version = "0.12.3", default-features = false }

[dependencies.fvm]
version = "3.4.0"
version = "3.5.0"
path = "../../fvm"
default-features = false
features = ["testing"]
Expand Down
12 changes: 6 additions & 6 deletions testing/integration/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[package]
name = "fvm_integration_tests"
description = "Filecoin Virtual Machine integration tests framework"
version = "3.0.0"
version = "3.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["Protocol Labs", "Filecoin Core Devs", "Polyphene"]
repository = "https://github.com/filecoin-project/ref-fvm"

[dependencies]
fvm = { version = "3.4.0", path = "../../fvm", default-features = false, features = ["testing"] }
fvm_shared = { version = "3.3.1", path = "../../shared", features = ["testing"] }
fvm_ipld_car = { version = "0.6.0", path = "../../ipld/car" }
fvm_ipld_blockstore = { version = "0.1.2", path = "../../ipld/blockstore" }
fvm_ipld_encoding = { version = "0.3.3", path = "../../ipld/encoding" }
fvm = { version = "3.5.0", path = "../../fvm", default-features = false, features = ["testing"] }
fvm_shared = { version = "3.4.0", path = "../../shared", features = ["testing"] }
fvm_ipld_car = { version = "0.7.0", path = "../../ipld/car" }
fvm_ipld_blockstore = { version = "0.2.0", path = "../../ipld/blockstore" }
fvm_ipld_encoding = { version = "0.4.0", path = "../../ipld/encoding" }

anyhow = "1.0.71"
cid = { workspace = true }
Expand Down
6 changes: 3 additions & 3 deletions testing/test_actors/actors/fil-address-actor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ edition = "2021"
publish = false

[target.'cfg(target_arch = "wasm32")'.dependencies]
fvm_ipld_encoding = { version = "0.3.3", path = "../../../../ipld/encoding" }
fvm_sdk = { version = "3.2.0", path = "../../../../sdk" }
fvm_shared = { version = "3.3.1", path = "../../../../shared" }
fvm_ipld_encoding = { version = "0.4.0", path = "../../../../ipld/encoding" }
fvm_sdk = { version = "3.3.0", path = "../../../../sdk" }
fvm_shared = { version = "3.4.0", path = "../../../../shared" }

[lib]
crate-type = ["cdylib"] ## cdylib is necessary for Wasm build
4 changes: 2 additions & 2 deletions testing/test_actors/actors/fil-create-actor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ edition = "2021"
publish = false

[target.'cfg(target_arch = "wasm32")'.dependencies]
fvm_sdk = { version = "3.2.0", path = "../../../../sdk" }
fvm_shared = { version = "3.3.1", path = "../../../../shared" }
fvm_sdk = { version = "3.3.0", path = "../../../../sdk" }
fvm_shared = { version = "3.4.0", path = "../../../../shared" }
actors_v10_runtime = { package = "fil_actors_runtime", git = "https://github.com/filecoin-project/builtin-actors", branch = "next" }

[lib]
Expand Down
Loading

0 comments on commit 3ad5b90

Please sign in to comment.