From cc0e54a268e89d01fdde662edc43fdc4901bc746 Mon Sep 17 00:00:00 2001 From: Phi Date: Tue, 16 Sep 2025 09:56:02 +0200 Subject: [PATCH 1/7] chore: prep v2.1.0 changelog chore: prep v2.1.0 changelog --- CHANGELOG.md | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e292959..5334c25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,41 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Unreleased] +## [2.1.0] - 2025-09-16 + +### 🚀 Added +- **PieceCIDv2 Support**: Added comprehensive support for Piece CID version 2 ([#184](https://github.com/FilOzone/pdp/pull/184)) + - New `Cids.sol` library with CIDv2 handling capabilities + - Support for both CIDv1 and CIDv2 formats + - Enhanced piece data validation using CID height information + - Golden tests for CommPv2 functionality +- **Enhanced Data Set Management**: Data set IDs now start at 1 instead of 0 for better user experience ([#196](https://github.com/FilOzone/pdp/pull/196)) +- **CI/CD Improvements**: + - New GitHub Actions workflow for publishing contract ABIs to releases ([#170](https://github.com/FilOzone/pdp/pull/170)) + - Link checking workflow to validate documentation links + - Extract-abis Makefile target for ABI generation +- **Event Enhancement**: Added `root_cids` to `RootsAdded` event for better piece tracking ([#169](https://github.com/FilOzone/pdp/pull/169)) + +### 🔧 Changed +- **BREAKING**: `IPDPProvingSchedule` interface updated to a more compact form with significant changes to method signatures and behavior ([#187](https://github.com/FilOzone/pdp/pull/187), [#190](https://github.com/FilOzone/pdp/pull/190)) +- **Interface Updates**: IPDPProvingSchedule methods changed from `pure` to `view` for accurate state access patterns ([#186](https://github.com/FilOzone/pdp/pull/186)) +- **Price Validation**: Updated price validation logic to accept older price data for improved reliability ([#191](https://github.com/FilOzone/pdp/pull/191)) +- **Performance Optimization**: Reduced optimizer runs to minimize deployed contract size ([#194](https://github.com/FilOzone/pdp/pull/194)) +- **Code Architecture**: Transitioned from `IPDPTypes.PieceData` to `Cids.Cid` throughout the codebase for better type consistency ([#184](https://github.com/FilOzone/pdp/pull/184)) +- **Code Quality**: Comprehensive formatting improvements across all Solidity files and tests ([#185](https://github.com/FilOzone/pdp/pull/185)) +- **Documentation**: Updated README to point to latest release ([#192](https://github.com/FilOzone/pdp/pull/192)) + +### 🐛 Fixed +- Various test stability improvements and bug fixes +- Enhanced error handling in CID processing +- Improved code formatting consistency + +### 📝 Changelog + +For the set of changes since the last tag: + +**[View all changes between v2.0.0 and v2.1.0](https://github.com/FilOzone/pdp/compare/v2.0.0...v2.1.0)** + ## [2.0.0] - 2025-07-20 ### Changed - **BREAKING**: Renamed core terminology throughout the codebase for better clarity, for each of the following, all functions, variables, events, and parameters have been changed. @@ -117,7 +152,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Performance - Performance-related improvements -[Unreleased]: https://github.com/filozone/pdp/compare/v2.0.0...HEAD +[Unreleased]: https://github.com/filozone/pdp/compare/v2.1.0...HEAD +[2.1.0]: https://github.com/filozone/pdp/compare/v2.0.0...v2.1.0 [2.0.0]: https://github.com/filozone/pdp/compare/v1.1.0...v2.0.0 [1.1.0]: https://github.com/filozone/pdp/compare/v1.0.0...v1.1.0 [1.0.0]: https://github.com/filozone/pdp/releases/tag/v1.0.0 From 21efbaa1d5f33e83a602de82cd8009f9ac611fe6 Mon Sep 17 00:00:00 2001 From: Phi Date: Tue, 16 Sep 2025 10:17:56 +0200 Subject: [PATCH 2/7] chore: remove the #187 and #190(revert of 187) from changelog chore: remove the #187 and #190(revert of 187) from changelog --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5334c25..8a5a610 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - **Event Enhancement**: Added `root_cids` to `RootsAdded` event for better piece tracking ([#169](https://github.com/FilOzone/pdp/pull/169)) ### 🔧 Changed -- **BREAKING**: `IPDPProvingSchedule` interface updated to a more compact form with significant changes to method signatures and behavior ([#187](https://github.com/FilOzone/pdp/pull/187), [#190](https://github.com/FilOzone/pdp/pull/190)) - **Interface Updates**: IPDPProvingSchedule methods changed from `pure` to `view` for accurate state access patterns ([#186](https://github.com/FilOzone/pdp/pull/186)) - **Price Validation**: Updated price validation logic to accept older price data for improved reliability ([#191](https://github.com/FilOzone/pdp/pull/191)) - **Performance Optimization**: Reduced optimizer runs to minimize deployed contract size ([#194](https://github.com/FilOzone/pdp/pull/194)) From 8f73f67cb92e5acf705c5f2bcb71fe0e850b5d8b Mon Sep 17 00:00:00 2001 From: Phi Date: Wed, 17 Sep 2025 07:36:09 +0200 Subject: [PATCH 3/7] fix: update changelog for PieceCID v2 fix: update changelog for PieceCID v2 --- CHANGELOG.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a5a610..382ab82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,12 +7,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [2.1.0] - 2025-09-16 -### 🚀 Added -- **PieceCIDv2 Support**: Added comprehensive support for Piece CID version 2 ([#184](https://github.com/FilOzone/pdp/pull/184)) +### 💥 Breaking Changes +- **BREAKING**: Switched from Piece CID version 1 to version 2 ([#184](https://github.com/FilOzone/pdp/pull/184)) - New `Cids.sol` library with CIDv2 handling capabilities - - Support for both CIDv1 and CIDv2 formats + - **No backward compatibility** - CIDv1 support completely removed - Enhanced piece data validation using CID height information - Golden tests for CommPv2 functionality + +### 🚀 Added - **Enhanced Data Set Management**: Data set IDs now start at 1 instead of 0 for better user experience ([#196](https://github.com/FilOzone/pdp/pull/196)) - **CI/CD Improvements**: - New GitHub Actions workflow for publishing contract ABIs to releases ([#170](https://github.com/FilOzone/pdp/pull/170)) From cee7f8fe140c0e0a2970bdd8dd1f42844f40936b Mon Sep 17 00:00:00 2001 From: Phi-rjan Date: Wed, 17 Sep 2025 07:36:43 +0200 Subject: [PATCH 4/7] Update CHANGELOG.md Co-authored-by: Rod Vagg --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 382ab82..5f71528 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Golden tests for CommPv2 functionality ### 🚀 Added -- **Enhanced Data Set Management**: Data set IDs now start at 1 instead of 0 for better user experience ([#196](https://github.com/FilOzone/pdp/pull/196)) +- **Data Set Indexing**: Data set IDs now start at 1 instead of 0 ([#196](https://github.com/FilOzone/pdp/pull/196)) - **CI/CD Improvements**: - New GitHub Actions workflow for publishing contract ABIs to releases ([#170](https://github.com/FilOzone/pdp/pull/170)) - Link checking workflow to validate documentation links From c8f9245c320fe2b5445461b1c9d2e01bb6b24610 Mon Sep 17 00:00:00 2001 From: Phi Date: Wed, 17 Sep 2025 07:38:02 +0200 Subject: [PATCH 5/7] chore: bump version string chore: bump version string --- src/PDPVerifier.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PDPVerifier.sol b/src/PDPVerifier.sol index 7030237..a823f1d 100644 --- a/src/PDPVerifier.sol +++ b/src/PDPVerifier.sol @@ -156,7 +156,7 @@ contract PDPVerifier is Initializable, UUPSUpgradeable, OwnableUpgradeable { nextDataSetId = 1; // Data sets start at 1 } - string public constant VERSION = "2.0.0"; + string public constant VERSION = "2.1.0"; event ContractUpgraded(string version, address implementation); From 050ab28687780e19e6367bac48ae1bcf338e1d72 Mon Sep 17 00:00:00 2001 From: Phi Date: Wed, 17 Sep 2025 07:38:38 +0200 Subject: [PATCH 6/7] chore: update date chore: update date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f71528..84d0b54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Unreleased] -## [2.1.0] - 2025-09-16 +## [2.1.0] - 2025-09-17 ### 💥 Breaking Changes - **BREAKING**: Switched from Piece CID version 1 to version 2 ([#184](https://github.com/FilOzone/pdp/pull/184)) From 9635f5a993a12225b12434f3c1b8fb4d64ef8a2b Mon Sep 17 00:00:00 2001 From: Phi Date: Wed, 17 Sep 2025 10:43:26 +0200 Subject: [PATCH 7/7] chore: remove CI/CD improvements from changelog chore: remove CI/CD improvements from changelog --- CHANGELOG.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84d0b54..8ad51e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,10 +16,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### 🚀 Added - **Data Set Indexing**: Data set IDs now start at 1 instead of 0 ([#196](https://github.com/FilOzone/pdp/pull/196)) -- **CI/CD Improvements**: - - New GitHub Actions workflow for publishing contract ABIs to releases ([#170](https://github.com/FilOzone/pdp/pull/170)) - - Link checking workflow to validate documentation links - - Extract-abis Makefile target for ABI generation - **Event Enhancement**: Added `root_cids` to `RootsAdded` event for better piece tracking ([#169](https://github.com/FilOzone/pdp/pull/169)) ### 🔧 Changed