Skip to content

Commit d788060

Browse files
committed
Bump version to 1.8.0 for selective disclosure release
- Update version in project file to 1.8.0 - Add comprehensive changelog entry for selective disclosure features - Document V3.0 metadata preservation and root hash consistency fixes
1 parent 9c59f67 commit d788060

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and 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

src/Evoq.Blockchain/Evoq.Blockchain.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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>

0 commit comments

Comments
 (0)