Skip to content

Commit e45b032

Browse files
authored
Merge pull request #475 from filecoin-project/chore/release-shared-0.5
Release shared 0.5.0
2 parents 790850e + 1b83cd8 commit e45b032

File tree

6 files changed

+24
-5
lines changed

6 files changed

+24
-5
lines changed

fvm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ahash = "0.7"
2020
num-derive = "0.3.3"
2121
cid = { version = "0.8.2", default-features = false, features = ["serde-codec"] }
2222
multihash = { version = "0.16.1", default-features = false }
23-
fvm_shared = { version = "0.4.1", path = "../shared", features = ["crypto"] }
23+
fvm_shared = { version = "0.5.0", path = "../shared", features = ["crypto"] }
2424
fvm_ipld_hamt = { version = "0.4.0", path = "../ipld/hamt"}
2525
fvm_ipld_amt = { version = "0.4.0", path = "../ipld/amt"}
2626
fvm_ipld_blockstore = { version = "0.1.0", path = "../ipld/blockstore" }

sdk/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
## 0.5.0 - 2022-04-11
4+
5+
Upgrades the SDK to fvm_shared 0.5.0. This release includes a significant breaking change to exit codes.

sdk/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "fvm_sdk"
33
description = "Filecoin Virtual Machine actor development SDK"
4-
version = "0.4.0"
4+
version = "0.5.0"
55
license = "MIT OR Apache-2.0"
66
authors = ["Protocol Labs", "Filecoin Core Devs"]
77
edition = "2018"
@@ -12,7 +12,7 @@ crate-type = ["lib"]
1212

1313
[dependencies]
1414
cid = { version = "0.8.2", default-features = false }
15-
fvm_shared = { version = "0.4.1", path = "../shared" }
15+
fvm_shared = { version = "0.5.0", path = "../shared" }
1616
## num-traits; disabling default features makes it play nice with no_std.
1717
num-traits = { version = "0.2.14", default-features = false }
1818
lazy_static = "1.4.0"

shared/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Changelog
2+
3+
## 0.5.0 - 2022-04-11
4+
5+
- Enforce maximum big-int size to match lotus.
6+
- Make signature properties public.
7+
- Major error type refactor.
8+
9+
The largest change here is a major error type refactor.
10+
11+
1. It's now a u32 with a set of pre-defined values instead of an enum.
12+
2. The error codes have been reworked according to the FVM spec.
13+
14+
Both of these changes were made to better support user-defined actors.

shared/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "fvm_shared"
33
description = "Filecoin Virtual Machine shared types and functions"
4-
version = "0.4.1"
4+
version = "0.5.0"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
authors = ["ChainSafe Systems <[email protected]>", "Protocol Labs", "Filecoin Core Devs"]

testing/conformance/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/filecoin-project/ref-fvm"
1010

1111
[dependencies]
1212
fvm = { version = "0.5.1", path = "../../fvm", default-features = false }
13-
fvm_shared = { version = "0.4.1", path = "../../shared" }
13+
fvm_shared = { version = "0.5.0", path = "../../shared" }
1414
fvm_ipld_hamt = { version = "0.4.0", path = "../../ipld/hamt"}
1515
fvm_ipld_amt = { version = "0.4.0", path = "../../ipld/amt"}
1616
fvm_ipld_car = { version = "0.4.0", path = "../../ipld/car" }

0 commit comments

Comments
 (0)