diff --git a/.changeset/cold-cows-bake.md b/.changeset/cold-cows-bake.md deleted file mode 100644 index 1fa08f2a..00000000 --- a/.changeset/cold-cows-bake.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -"@evolution-sdk/evolution": minor ---- - -Add CIP-30 message signing support with modular architecture - -This release introduces comprehensive CIP-30 `signData` and `verifyData` support, implementing the complete COSE Sign1 specification with a clean, modular structure: - -**New Features:** -- Full CIP-30 message signing (`signData`) and verification (`verifyData`) implementation -- COSE (CBOR Object Signing and Encryption) primitives per RFC 8152 -- Support for Ed25519 signatures with proper COSE key structures -- Message hashing with BLAKE2b-256 for payload integrity -- CIP-8 compliant address field handling -- Complete test coverage with CSL compatibility tests - -**Module Structure:** -- `message-signing/SignData.ts` - Main CIP-30 signData/verifyData API -- `message-signing/Header.ts` - COSE header structures and operations -- `message-signing/Label.ts` - COSE label types and algorithm identifiers -- `message-signing/CoseSign1.ts` - COSE_Sign1 structure implementation -- `message-signing/CoseKey.ts` - COSE key format support -- `message-signing/Ed25519Key.ts` - Ed25519 key operations -- `message-signing/Utils.ts` - Encoding and conversion utilities - -**Breaking Changes:** -- Refactored `Bytes` module API: - - Renamed `bytesEquals` to `equals` with stricter type signature (no longer accepts undefined) - - Removed `Bytes.FromHex` schema in favor of Effect's built-in `Schema.Uint8ArrayFromHex` - - Updated `fromHex`/`toHex` to use Effect's native schemas - -**Internal Improvements:** -- Removed unused `Bytes` imports across 32 files -- Updated all modules to use new Bytes API -- Improved CBOR encoding/decoding with proper codec options -- Enhanced type safety with Effect Schema compositions diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index a52cbb07..c3db997c 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,13 @@ # docs +## 0.0.9 + +### Patch Changes + +- Updated dependencies [[`61ffded`](https://github.com/IntersectMBO/evolution-sdk/commit/61ffded47892f12bda6f538e8028b3fd64492187)]: + - @evolution-sdk/evolution@0.4.0 + - @evolution-sdk/devnet@2.0.0 + ## 0.0.8 ### Patch Changes diff --git a/docs/package.json b/docs/package.json index 7b615aa3..d4015c45 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "0.0.8", + "version": "0.0.9", "private": true, "type": "module", "scripts": { diff --git a/packages/evolution-devnet/CHANGELOG.md b/packages/evolution-devnet/CHANGELOG.md index fa4674bc..59692121 100644 --- a/packages/evolution-devnet/CHANGELOG.md +++ b/packages/evolution-devnet/CHANGELOG.md @@ -1,5 +1,12 @@ # @evolution-sdk/devnet +## 2.0.0 + +### Patch Changes + +- Updated dependencies [[`61ffded`](https://github.com/IntersectMBO/evolution-sdk/commit/61ffded47892f12bda6f538e8028b3fd64492187)]: + - @evolution-sdk/evolution@0.4.0 + ## 1.1.1 ### Patch Changes diff --git a/packages/evolution-devnet/package.json b/packages/evolution-devnet/package.json index 38d4afd9..ff5a9213 100644 --- a/packages/evolution-devnet/package.json +++ b/packages/evolution-devnet/package.json @@ -1,6 +1,6 @@ { "name": "@evolution-sdk/devnet", - "version": "1.1.1", + "version": "2.0.0", "description": "Local Cardano devnet for testing and development with Docker", "type": "module", "main": "./dist/index.js", diff --git a/packages/evolution/CHANGELOG.md b/packages/evolution/CHANGELOG.md index 5a11ef15..03863a97 100644 --- a/packages/evolution/CHANGELOG.md +++ b/packages/evolution/CHANGELOG.md @@ -1,5 +1,42 @@ # @evolution-sdk/evolution +## 0.4.0 + +### Minor Changes + +- [#88](https://github.com/IntersectMBO/evolution-sdk/pull/88) [`61ffded`](https://github.com/IntersectMBO/evolution-sdk/commit/61ffded47892f12bda6f538e8028b3fd64492187) Thanks [@solidsnakedev](https://github.com/solidsnakedev)! - Add CIP-30 message signing support with modular architecture + + This release introduces comprehensive CIP-30 `signData` and `verifyData` support, implementing the complete COSE Sign1 specification with a clean, modular structure: + + **New Features:** + - Full CIP-30 message signing (`signData`) and verification (`verifyData`) implementation + - COSE (CBOR Object Signing and Encryption) primitives per RFC 8152 + - Support for Ed25519 signatures with proper COSE key structures + - Message hashing with BLAKE2b-256 for payload integrity + - CIP-8 compliant address field handling + - Complete test coverage with CSL compatibility tests + + **Module Structure:** + - `message-signing/SignData.ts` - Main CIP-30 signData/verifyData API + - `message-signing/Header.ts` - COSE header structures and operations + - `message-signing/Label.ts` - COSE label types and algorithm identifiers + - `message-signing/CoseSign1.ts` - COSE_Sign1 structure implementation + - `message-signing/CoseKey.ts` - COSE key format support + - `message-signing/Ed25519Key.ts` - Ed25519 key operations + - `message-signing/Utils.ts` - Encoding and conversion utilities + + **Breaking Changes:** + - Refactored `Bytes` module API: + - Renamed `bytesEquals` to `equals` with stricter type signature (no longer accepts undefined) + - Removed `Bytes.FromHex` schema in favor of Effect's built-in `Schema.Uint8ArrayFromHex` + - Updated `fromHex`/`toHex` to use Effect's native schemas + + **Internal Improvements:** + - Removed unused `Bytes` imports across 32 files + - Updated all modules to use new Bytes API + - Improved CBOR encoding/decoding with proper codec options + - Enhanced type safety with Effect Schema compositions + ## 0.3.1 ### Patch Changes diff --git a/packages/evolution/package.json b/packages/evolution/package.json index e4e69d93..e2e2adb2 100644 --- a/packages/evolution/package.json +++ b/packages/evolution/package.json @@ -1,6 +1,6 @@ { "name": "@evolution-sdk/evolution", - "version": "0.3.1", + "version": "0.4.0", "description": "A modern TypeScript SDK for Cardano blockchain development", "type": "module", "main": "./dist/index.js",