Skip to content

Commit 5ccd594

Browse files
chore(release): prepare release v0.32.0 (#6567)
Co-authored-by: Hubert <hubert@chainsafe.io>
1 parent 86cb824 commit 5ccd594

File tree

8 files changed

+44
-11
lines changed

8 files changed

+44
-11
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@
2727

2828
### Breaking
2929

30+
### Added
31+
32+
### Changed
33+
34+
### Removed
35+
36+
### Fixed
37+
38+
## Forest v0.32.0 "Ember"
39+
40+
This is a non-mandatory release for all node operators. It resets F3 on calibnet, also includes new V2 RPC methods, a few bug fixes and `lotus-gateway` compatibility fixes.
41+
42+
### Breaking
43+
3044
- [#6475](https://github.com/ChainSafe/forest/pull/6475): Increased default JWT (generated via `Filecoin.AuthNew`) expiration time from 24 hours to 100 years to match Lotus behavior and ensure compatibility with clients like Curio.
3145

3246
- [#6392](https://github.com/ChainSafe/forest/pull/6392): Changed execution reverted error code from 11 to 3.

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "forest-filecoin"
3-
version = "0.31.1"
3+
version = "0.32.0"
44
authors = ["ChainSafe Systems <info@chainsafe.io>"]
55
repository = "https://github.com/ChainSafe/forest"
66
edition = "2024"

docs/docs/developers/guides/release_checklist.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ Make a pull request with the following changes:
2222
[crates.io](https://crates.io/).
2323
- Make sure to run `cargo publish --dry-run` and include the `Cargo.lock` crate
2424
version change in the release.
25+
- Make sure to update RPC specs by running
26+
```
27+
cargo test --lib -- rpc::tests::openrpc
28+
cargo insta review
29+
```
2530
- The Pull Request must have the `Release` label.
2631

2732
## Release on GitHub

src/rpc/mod.rs

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -804,14 +804,28 @@ mod tests {
804804
use std::net::{Ipv4Addr, SocketAddr};
805805
use tokio::task::JoinSet;
806806

807-
// `cargo test --lib -- --exact 'rpc::tests::openrpc'`
807+
// To update RPC specs:
808+
// `cargo test --lib -- rpc::tests::openrpc`
808809
// `cargo insta review`
810+
809811
#[test]
810-
fn openrpc() {
811-
for path in [ApiPaths::V0, ApiPaths::V1, ApiPaths::V2] {
812-
let spec = super::openrpc(path, None);
813-
insta::assert_yaml_snapshot!(path.path(), spec);
814-
}
812+
fn openrpc_v0() {
813+
openrpc(ApiPaths::V0);
814+
}
815+
816+
#[test]
817+
fn openrpc_v1() {
818+
openrpc(ApiPaths::V1);
819+
}
820+
821+
#[test]
822+
fn openrpc_v2() {
823+
openrpc(ApiPaths::V2);
824+
}
825+
826+
fn openrpc(path: ApiPaths) {
827+
let spec = super::openrpc(path, None);
828+
insta::assert_yaml_snapshot!(path.path(), spec);
815829
}
816830

817831
#[tokio::test(flavor = "multi_thread")]

src/rpc/snapshots/forest__rpc__tests__rpc__v0.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rpc/snapshots/forest__rpc__tests__rpc__v1.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rpc/snapshots/forest__rpc__tests__rpc__v2.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)