From 692627005596b8ea09cb2ffc1cac1d64c2cfce3e Mon Sep 17 00:00:00 2001 From: Shashank <99187193+sudo-shashank@users.noreply.github.com> Date: Thu, 23 Mar 2023 17:07:13 +0530 Subject: [PATCH] Prepare for release v0.7.0 (#2705) * update changelog for release v0.7.0 * more refinement to changelog * remove security section from changelog * more cleanup in changelog * use prettier * Update version * Added forest unreleased section in changelog --- CHANGELOG.md | 133 ++++++++++++++++++++------------------------------- Cargo.lock | 69 +++++++++++++------------- Cargo.toml | 2 +- 3 files changed, 88 insertions(+), 116 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c301445f281..489c4adbaa0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,102 +1,75 @@ ## Forest unreleased +### Added + +### Changed + +### Removed + +### Fixed + +## Forest v0.7.0 (2023-03-23) + Notable updates: -- Support for nv18. +- Support for NV18. +- Automatic database garbage collection. +- A JavaScript console to interact with Filecoin API. +- Switched to ParityDb as the default backend for Forest daemon. ### Added -- [database] added ParityDb statistics to the stats endpoint. - [#2444](https://github.com/ChainSafe/forest/pull/2444) -- [api|cli] Add RPC `Filecoin.Shutdown` endpoint and `forest-cli shutdown` - subcommand. [#2538](https://github.com/ChainSafe/forest/pull/2538) -- [cli] A JavaScript console to interact with Filecoin API. - [#2492](https://github.com/ChainSafe/forest/pull/2492) -- [docker] Multi-platform Docker image support. - [#2552](https://github.com/ChainSafe/forest/pull/2552) -- [forest-cli] added `--dry-run` flag to `snapshot export` command. - [#2549](https://github.com/ChainSafe/forest/pull/2549) -- [forest daemon] Added `--exit-after-init` and `--save-token` flags. - [#2577](https://github.com/ChainSafe/forest/pull/2577) -- [forest daemon] Support for NV18. - [#2558](https://github.com/ChainSafe/forest/pull/2558) - [#2579](https://github.com/ChainSafe/forest/pull/2579) -- [forest daemon] Automatic database garbage collection. - [#2638](https://github.com/ChainSafe/forest/pull/2638) -- [forest daemon] Add `--track-peak-rss` to forest daemon - [#2696](https://github.com/ChainSafe/forest/pull/2696) +- Support for NV18. +- Automatic database garbage collection. +- ParityDb statistics to the stats endpoint. +- A JavaScript console to interact with Filecoin API. +- Multi-platform Docker image support. +- `--dry-run` flag to forest-cli `snapshot export` command. +- `--exit-after-init` and `--save-token` flags to daemon. +- `--track-peak-rss` to forest daemon to get peak RSS usage. +- RPC `Filecoin.Shutdown` endpoint and `forest-cli shutdown` subcommand. +- Added retry capabilities to failing snapshot fetch. ### Changed -- [database] Move blockstore meta-data to standalone files. - [2635](https://github.com/ChainSafe/forest/pull/2635) - [2652](https://github.com/ChainSafe/forest/pull/2652) -- [cli] Remove Forest ctrl-c hard shutdown behavior on subsequent ctrl-c - signals. [#2538](https://github.com/ChainSafe/forest/pull/2538) -- [libp2p] Use in house bitswap implementation. - [#2445](https://github.com/ChainSafe/forest/pull/2445) -- [libp2p] Ban peers with duration. Banned peers are automatically unbanned - after a period of 1h. [#2396](https://github.com/ChainSafe/forest/pull/2396) -- [libp2p] Support multiple listen addr. - [#2570](https://github.com/ChainSafe/forest/pull/2570) -- [libp2p] Upgrade to v0.51. - [#2598](https://github.com/ChainSafe/forest/pull/2598) -- [config] `stats` and `compression` keys in `parity_db` section were renamed to - `enable_statistics` and `compression_type` respectively. - [#2444](https://github.com/ChainSafe/forest/pull/2444) -- [forest cli] changed how balances are displayed, defaulting to - - - adding metric prefix when it's appropriate to do so, consequently CLI flag +- Network needs to be specified for most commands(eg Calibnet), including + `sync wait` and `snapshot export`. +- Switched to ParityDb as the default backend for Forest daemon. All clients + must re-import the snapshot. The old database must be deleted manually - it is + located in + `$(forest-cli config dump | grep data_dir | cut -d' ' -f3)//rocksdb`. +- Revised how balances are displayed, defaulting to: + - adding metric prefix when it's required, consequently CLI flag `--fixed-unit` added to force to show in original `FIL` unit - 4 significant digits, consequently CLI flag `--exact-balance` added to force - full accuracy. [#2385](https://github.com/ChainSafe/forest/pull/2385) - -- [config] `download-snapshot` flag was renamed to `auto-download-snapshot`. - `download_snapshot` key in `client` section in configuration renamed to + full accuracy. +- `stats` and `compression` keys in `parity_db` section were renamed to + `enable_statistics` and `compression_type` respectively. +- `download_snapshot` key in `client` section configuration renamed to `auto_download_snapshot`. - [#257](https://github.com/ChainSafe/forest/pull/2457) -- [docker|security] the Forest image is no longer running on a root user but a - dedicated one. [#2463](https://github.com/ChainSafe/forest/pull/2463) -- [keystore] Allow specifying the encryption passphrase via environmental - variable. [#2514](https://github.com/ChainSafe/forest/pull/2514) -- [forest daemon] The `--skip-load` flag must be now called with a boolean - indicating its value. [#2577](https://github.com/ChainSafe/forest/pull/2577) -- [cli] Calibnet network needs to be specified for most commands, including - `sync wait` and `snapshot export`. - [#2579](https://github.com/ChainSafe/forest/pull/2579) -- [daemon] Switch to ParityDb as the default backend for the Forest daemon. All - clients must re-import the snapshot. The old database must be deleted - manually - it is located in - `$(forest-cli config dump | grep data_dir | cut -d' ' -f3)//rocksdb`. - [#2606](https://github.com/ChainSafe/forest/pull/2606) -- [database] Move the genesis header and heaviest tipset keys from the database - to files. [#2635](https://github.com/ChainSafe/forest/pull/2635) +- `--skip-load` flag must be now called with a boolean indicating its value. +- Ban peers with duration, Banned peers are automatically unbanned after a + period of 1h. +- Added support for multiple listen addr. +- Allowed specifying the encryption passphrase via environmental variable. +- Removed Forest `ctrl-c` hard shutdown behavior on subsequent `ctrl-c` signals ### Removed -- [forest daemon] Removed `--halt-after-import` and `--auto-download-snapshot` - from configuration. They are now strictly a CLI option. - [#2577](https://github.com/ChainSafe/forest/pull/2577) +- Removed `--halt-after-import` and `--auto-download-snapshot` from + configuration. They are now strictly a CLI option. ### Fixed -- [daemon] Daemon could get stuck in an infinite loop during shutdown -- [libp2p] Properly cancel bitswap queries that are not responded to after a - period. [#2399](https://github.com/ChainSafe/forest/pull/2399) -- [console ui] `Scanning Blockchain` progess bar never hits 100% during snapshot - import. [#2403](https://github.com/ChainSafe/forest/pull/2403) -- [forest daemon] forest daeamon crashes on sending bitswap requests. - [#2419](https://github.com/ChainSafe/forest/pull/2419) -- [version] The version shown in `--help` was stuck at `0.4.1`. Now all binaries - and crates in the project will follow a standard version, based on the release - tag. [#2487](https://github.com/ChainSafe/forest/pull/2487) -- [forest] Failing snapshot fetch resulting in daemon crash in one attempt. - [#2571](https://github.com/ChainSafe/forest/pull/2571) -- [forest-cli] corrected counts displayed when using - `forest-cli --chain sync wait`. - [#2654](https://github.com/ChainSafe/forest/pull/2654) -- [forest-cli] Fix snapshot export when running on a system with a separate - temporary filesystem. [#2693](https://github.com/ChainSafe/forest/pull/2693) +- Daemon getting stuck in an infinite loop during shutdown. +- `Scanning Blockchain` progess bar never hitting 100% during snapshot import. +- bitswap queries cancellation that do not respond after a period. +- Forest daeamon crashing on sending bitswap requests. +- Corrected counts displayed when using `forest-cli --chain sync wait`. +- Snapshot export issue when running on a system with a separate temporary + filesystem. +- All binaries and crates in the project to follow a standard version, based on + the release tag. ## Forest v0.6.0 (2023-01-06) diff --git a/Cargo.lock b/Cargo.lock index dce0ee65fa6..d3e2187030c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3269,7 +3269,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "forest-cli" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3327,7 +3327,7 @@ dependencies = [ [[package]] name = "forest-daemon" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anes", "anyhow", @@ -3373,7 +3373,7 @@ dependencies = [ [[package]] name = "forest_auth" -version = "0.6.0" +version = "0.7.0" dependencies = [ "chrono", "forest_key_management", @@ -3388,7 +3388,7 @@ dependencies = [ [[package]] name = "forest_beacon" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3412,7 +3412,7 @@ dependencies = [ [[package]] name = "forest_blocks" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3443,7 +3443,7 @@ dependencies = [ [[package]] name = "forest_chain" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3486,7 +3486,7 @@ dependencies = [ [[package]] name = "forest_chain_sync" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3531,7 +3531,7 @@ dependencies = [ [[package]] name = "forest_cli_shared" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3580,7 +3580,7 @@ dependencies = [ [[package]] name = "forest_db" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3613,7 +3613,7 @@ dependencies = [ [[package]] name = "forest_deleg_cns" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "async-trait", @@ -3638,7 +3638,7 @@ dependencies = [ [[package]] name = "forest_fil_cns" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "async-trait", @@ -3670,7 +3670,7 @@ dependencies = [ [[package]] name = "forest_fil_types" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "filecoin-proofs-api", @@ -3681,7 +3681,7 @@ dependencies = [ [[package]] name = "forest_genesis" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "cid", @@ -3710,7 +3710,7 @@ dependencies = [ [[package]] name = "forest_interpreter" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3736,7 +3736,7 @@ dependencies = [ [[package]] name = "forest_ipld" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3765,7 +3765,7 @@ dependencies = [ [[package]] name = "forest_json" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "base64 0.21.0", @@ -3791,7 +3791,7 @@ dependencies = [ [[package]] name = "forest_key_management" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3816,7 +3816,7 @@ dependencies = [ [[package]] name = "forest_libp2p" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3862,7 +3862,7 @@ dependencies = [ [[package]] name = "forest_libp2p_bitswap" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3888,7 +3888,7 @@ dependencies = [ [[package]] name = "forest_message" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "cid", @@ -3905,7 +3905,7 @@ dependencies = [ [[package]] name = "forest_message_pool" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3945,7 +3945,7 @@ dependencies = [ [[package]] name = "forest_metrics" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3961,7 +3961,7 @@ dependencies = [ [[package]] name = "forest_networks" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "fil_actors_runtime_v9", @@ -3974,7 +3974,7 @@ dependencies = [ [[package]] name = "forest_paramfetch" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3992,7 +3992,7 @@ dependencies = [ [[package]] name = "forest_rpc" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -4046,7 +4046,7 @@ dependencies = [ [[package]] name = "forest_rpc-api" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -4080,7 +4080,7 @@ dependencies = [ [[package]] name = "forest_rpc-client" -version = "0.6.0" +version = "0.7.0" dependencies = [ "forest_libp2p", "forest_rpc-api", @@ -4094,7 +4094,7 @@ dependencies = [ [[package]] name = "forest_shim" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "cid", @@ -4115,7 +4115,7 @@ dependencies = [ [[package]] name = "forest_state_manager" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -4159,7 +4159,7 @@ dependencies = [ [[package]] name = "forest_state_migration" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "cid", @@ -4175,7 +4175,7 @@ dependencies = [ [[package]] name = "forest_statediff" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -4193,7 +4193,6 @@ dependencies = [ "forest_utils", "fvm_ipld_blockstore", "fvm_ipld_encoding 0.2.3", - "fvm_shared 2.3.0", "libipld-core 0.14.0", "serde", "serde_json", @@ -4203,7 +4202,7 @@ dependencies = [ [[package]] name = "forest_test_utils" -version = "0.6.0" +version = "0.7.0" dependencies = [ "base64 0.21.0", "cid", @@ -4218,7 +4217,7 @@ dependencies = [ [[package]] name = "forest_utils" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ahash 0.8.3", "anyhow", @@ -8763,7 +8762,7 @@ dependencies = [ [[package]] name = "serialization_tests" -version = "0.6.0" +version = "0.7.0" dependencies = [ "base64 0.21.0", "bls-signatures", diff --git a/Cargo.toml b/Cargo.toml index 07e845b4210..bdf244c0187 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.6.0" +version = "0.7.0" authors = ["ChainSafe Systems "] repository = "https://github.com/ChainSafe/forest" edition = "2021"