File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 1.8.0] - 2024-12-19
9+
10+ ### Added
11+ - ** Selective Disclosure with V3.0 Metadata Preservation** : Enhanced ` From ` methods now properly preserve V3.0 header leaf during selective disclosure
12+ - ** Flexible Metadata Detection** : New ` IsMetadata ` property on ` MerkleLeaf ` for flexible header detection
13+ - ** Content Type Constants** : Added ` V3_0_HEADER_CONTENT_TYPE ` and ` V3_0_HEADER_MIME_TYPE ` constants to eliminate magic strings
14+ - ** Root Hash Consistency** : Ensures root hash remains identical between source and selective disclosure trees
15+
16+ ### Fixed
17+ - ** V3.0 Header Leaf Preservation** : Fixed issue where V3.0 metadata leaf salt was being regenerated during selective disclosure
18+ - ** Cryptographic Integrity** : Selective disclosure trees now maintain exact same root hash as source tree
19+ - ** Metadata Leaf Detection** : Improved header leaf detection to work with any version containing 'merkle-exchange-header'
20+
21+ ### Changed
22+ - ** Enhanced Test Coverage** : Added comprehensive tests for V3.0 selective disclosure scenarios
23+ - ** Improved Error Handling** : Better validation for empty trees without root
24+ - ** Code Organization** : Moved content type constants to appropriate utility class
25+
26+ ### Technical Details
27+ - V3.0 header leaf is now preserved exactly as-is during selective disclosure
28+ - Root hash computation uses preserved header leaf instead of recreating it
29+ - Flexible metadata detection supports future version formats
30+ - Comprehensive test coverage ensures reliability across all scenarios
31+
832## [ 1.7.0] - 2024-12-19
933
1034### Added
Original file line number Diff line number Diff line change 44 <TargetFramework >netstandard2.1</TargetFramework >
55 <LangVersion >latest</LangVersion >
66 <Nullable >enable</Nullable >
7- <Version >1.7 .0</Version >
7+ <Version >1.8 .0</Version >
88 <Authors >Luke Puplett</Authors >
99 <Company >Evoq</Company >
1010 <Description >Blockchain utilities for .NET applications</Description >
You can’t perform that action at this time.
0 commit comments