From 1c2e5f7d8a0a69f284339e423741b853479acfa8 Mon Sep 17 00:00:00 2001 From: Phi-rjan Date: Tue, 28 Jan 2025 06:52:13 +0100 Subject: [PATCH] chore(release): cherry-pick v1.31.1 changelog back to master (#12851) --- CHANGELOG.md | 74 +++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 65 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d8785ca0ea7..a8b8a8a933e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,20 +10,76 @@ # UNRELEASED - refactor(eth): attach ToFilecoinMessage converter to EthCall method for improved package/module import structure. This change also exports the converter as a public method, enhancing usability for developers utilizing Lotus as a library. ([filecoin-project/lotus#12844](https://github.com/filecoin-project/lotus/pull/12844)) + +# UNRELEASED v.1.32.0 + +See https://github.com/filecoin-project/lotus/blob/release/v1.32.0/CHANGELOG.md + +# Node v1.31.1 / 2025-01-27 + +This Lotus release introduces several new features and improvements, including JSON output for tipsets in `lotus chain list` cmd, enhanced logging during network upgrade migrations, and additional Bootstrap nodes. It also includes a refactored Ethereum API implementation into smaller, more manageable modules in a new `github.com/filecoin-project/lotus/node/impl/eth` package, as well as adding network name as a tag in most metrics - making it easier to create Graphana Dashboards for multiple networks. Please review the upgrade warnings and documentation for any important changes affecting RPC providers, node operators, and storage providers. + +## ☢️ Upgrade Warnings ☢️ +- If you are running the v1.30.x version of Lotus, please go through the Upgrade Warnings section for the [v1.31.0](https://github.com/filecoin-project/lotus/releases/tag/v1.31.0) before upgrading to this release. + +## ⭐ Feature/Improvement Highlights: - Add json output of tipsets to `lotus chain list`. ([filecoin-project/lotus#12691](https://github.com/filecoin-project/lotus/pull/12691)) -- Remove IPNI advertisement relay over pubsub via Lotus node as it now has been deprecated. ([filecoin-project/lotus#12768](https://github.com/filecoin-project/lotus/pull/12768) - During a network upgrade, log migration progress every 2 seconds so they are more helpful and informative. The `LOTUS_MIGRATE_PROGRESS_LOG_SECONDS` environment variable can be used to change this if needed. ([filecoin-project/lotus#12732](https://github.com/filecoin-project/lotus/pull/12732)) -- Add F3GetCertificate & F3GetLatestCertificate to the gateway. ([filecoin-project/lotus#12778](https://github.com/filecoin-project/lotus/pull/12778)) -- Add Magik's bootstrap node. ([filecoin-project/lotus#12792](https://github.com/filecoin-project/lotus/pull/12792)) -- Lotus now reports the network name as a tag in most metrics. Some untagged metrics will be completed in a follow-up at a later date. ([filecoin-project/lotus#12733](https://github.com/filecoin-project/lotus/pull/12733)) -- Refactored Ethereum API implementation into smaller, more manageable modules in a new `github.com/filecoin-project/lotus/node/impl/eth` package. ([filecoin-project/lotus#12796](https://github.com/filecoin-project/lotus/pull/12796)) +- Add Magik's Bootstrap node. ([filecoin-project/lotus#12792](https://github.com/filecoin-project/lotus/pull/12792)) +- Lotus now reports the network name as a tag in most metrics. ([filecoin-project/lotus#12733](https://github.com/filecoin-project/lotus/pull/12733)) +- Add a new cron queue inspection utility. ([filecoin-project/lotus#12825](https://github.com/filecoin-project/lotus/pull/12825)) +- Add a new utility to the `lotus-shed msg` tool which pretty-prints gas summaries to tables, broken down into compute and storage gas totals and percentages ([filecoin-project/lotus#12817](https://github.com/filecoin-project/lotus/pull/12817)) - Generate the cli docs directly from the code instead compiling and executing binaries' `help` output. ([filecoin-project/lotus#12717](https://github.com/filecoin-project/lotus/pull/12717)) -- Add `lotus-shed msg --gas-stats` to show summarised gas stats for a given message. ([filecoin-project/lotus#12817](https://github.com/filecoin-project/lotus/pull/12817)) -- `lotus state sectors` now outputs CSV format and supports an optional `--show-partitions` to list sector deadlines and partitions. ([filecoin-project/lotus#12834](https://github.com/filecoin-project/lotus/pull/12834)) +- Refactored Ethereum API implementation into smaller, more manageable modules in a new `github.com/filecoin-project/lotus/node/impl/eth` package. ([filecoin-project/lotus#12796](https://github.com/filecoin-project/lotus/pull/12796)) +- Add F3GetCertificate & F3GetLatestCertificate to the gateway. ([filecoin-project/lotus#12778](https://github.com/filecoin-project/lotus/pull/12778)) +- Add `StateMarketProposalPending` API / `lotus state market proposal-pending` CLI. ([filecoin-project/lotus#12724](https://github.com/filecoin-project/lotus/pull/12724)) -# UNRELEASED v.1.32.0 +## 🐛 Bug Fix Highlights +- Remove IPNI advertisement relay over pubsub via Lotus node as it now has been deprecated. ([filecoin-project/lotus#12768](https://github.com/filecoin-project/lotus/pull/12768) +- Make `EthTraceFilter` / `trace_filter` skip null rounds instead of erroring. ([filecoin-project/lotus#12702](https://github.com/filecoin-project/lotus/pull/12702)) +- Event APIs (`GetActorEventsRaw`, `SubscribeActorEventsRaw`, `eth_getLogs`, `eth_newFilter`, etc.) will now return an error when a request matches more than `MaxFilterResults` (default: 10,000) rather than silently truncating the results. Also apply an internal event matcher for `eth_getLogs` (etc.) to avoid builtin actor events on database query so as not to include them in `MaxFilterResults` calculation. ([filecoin-project/lotus#12671](https://github.com/filecoin-project/lotus/pull/12671)) +- `ChainIndexer#GetMsgInfo` returns an `ErrNotFound` when there are no rows. ([filecoin-project/lotus#12680](https://github.com/filecoin-project/lotus/pull/12680)) +- Gracefully handle EAM CreateAccount failures in `EthTraceBlock` (`trace_block`) and `EthTraceTransaction` (`trace_transaction`) calls. ([filecoin-project/lotus#12730](https://github.com/filecoin-project/lotus/pull/12730)) +- Make f3 gen power command being non-deterministic ([filecoin-project/lotus#12764](https://github.com/filecoin-project/lotus/pull/12764)) +- Resolve a bug in sync by preventing checkpoint expansion ([filecoin-project/lotus#12747](https://github.com/filecoin-project/lotus/pull/12747)) +- Fix issue in backfillIndex where error handling could lead to a potential panic ([filecoin-project/lotus#12813](https://github.com/filecoin-project/lotus/pull/12813)) -See https://github.com/filecoin-project/lotus/blob/release/v1.32.0/CHANGELOG.md +## 📝 Changelog + +For the full set of changes since the last stable node release: + +https://github.com/filecoin-project/lotus/compare/v1.31.0...v1.31.1 + +## 👨‍👩‍👧‍👦 Contributors + +| Contributor | Commits | Lines ± | Files Changed | +|-------------|---------|---------|---------------| +| Rod Vagg | 26 | +13687/-11008 | 146 | +| Masih H. Derkani | 19 | +2492/-1506 | 59 | +| Aryan Tikarya | 2 | +2120/-1407 | 45 | +| Krishang Shah | 1 | +3214/-117 | 66 | +| Steven Allen | 4 | +1317/-1632 | 22 | +| Jakub Sztandera | 10 | +935/-1203 | 176 | +| Łukasz Magiera | 2 | +949/-467 | 33 | +| Phi-rjan | 9 | +369/-339 | 43 | +| Piotr Galar | 4 | +586/-106 | 12 | +| Viraj Bhartiya | 3 | +219/-63 | 16 | +| caseylove | 1 | +71/-67 | 1 | +| asamuj | 2 | +39/-43 | 14 | +| ZenGround0 | 2 | +73/-1 | 3 | +| XiaoBei | 2 | +15/-15 | 7 | +| wmjae | 2 | +9/-9 | 7 | +| taozui472 | 1 | +9/-9 | 6 | +| dependabot[bot] | 2 | +9/-9 | 4 | +| huajin tong | 1 | +6/-6 | 6 | +| Phi | 1 | +6/-6 | 6 | +| Andi | 1 | +6/-6 | 2 | +| root | 1 | +5/-5 | 4 | +| chuangjinglu | 1 | +3/-3 | 3 | +| wgyt | 1 | +2/-2 | 1 | +| parthshah1 | 1 | +2/-2 | 1 | +| leo | 1 | +2/-2 | 2 | +| pinglanlu | 1 | +1/-1 | 1 | # Node and Miner v1.31.0 / 2024-12-02