@cascade-fyi/sati-sdk 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,72 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [0.4.0] - 2026-02-06
9
+
10
+ ### Added
11
+
12
+ - `updateReputationScore` method for updating existing reputation scores
13
+ - `validateReputationScoreContent` helper function
14
+ - `SAS_DATA_LEN_OFFSET` constant for cleaner SAS account parsing
15
+ - Content validation in `createReputationScore` and `updateReputationScore`
16
+ - Bounds check on content length in `deserializeReputationScore`
17
+ - Known Issues documentation section
18
+
19
+ ### Fixed
20
+
21
+ - **BREAKING**: Migrated reputation scores to ReputationScoreV3 with VecU8 content layout, fixing variable-length JSON content support
22
+ - Fixed SAS credential authorized signers: `satiPda` is now correctly added as an authorized signer, enabling `createReputationScore` to succeed
23
+ - Fixed `fetchMaybeSchema` truthiness check that caused false negatives
24
+ - Fixed `deriveReputationAttestationPda` to use correct nonce format
25
+ - Deploy script is now fully idempotent for authorized signer management
26
+
27
+ ### Changed
28
+
29
+ - `updateReputationScore` defaults to `ContentType.None` (was `ContentType.JSON`)
30
+ - Replaced magic number 97 with named `SAS_DATA_LEN_OFFSET` constant
31
+
32
+ ## [0.3.0] - 2025-01-27
33
+
34
+ ### Added
35
+
36
+ - End-to-end content encryption using X25519-XChaCha20-Poly1305
37
+ - Validation attestation type with `createValidation` method
38
+ - EVM address linking with validation and error handling
39
+ - FeedbackPublic with SingleSigner mode for x402 payments
40
+ - Network switching support with portable Light client
41
+ - Schema config registration in deployment script (`registerSchemaConfig`)
42
+ - `listAgentsByOwner` method for querying agents by owner
43
+ - Off-chain message signing with SIWS-inspired format
44
+
45
+ ### Changed
46
+
47
+ - **BREAKING**: Renamed `token_account` to `agent_mint` across all methods
48
+ - **BREAKING**: Migrated to universal base layout for attestations
49
+ - **BREAKING**: Instruction renames for v1.0 program compatibility
50
+ - Migrated cryptographic operations to Web Crypto API
51
+ - Extracted compression utilities to `@cascade-fyi/compression-kit` package
52
+ - Improved Cloudflare Workers compatibility by removing sas-lib from main bundle
53
+
54
+ ### Fixed
55
+
56
+ - ALT (Address Lookup Table) creation is now idempotent
57
+ - Dynamic SAS imports for better browser/worker bundling
58
+ - TypeScript configuration and type checks for tests
59
+
60
+ ## [0.2.0] - 2024-12-17
61
+
62
+ ### Added
63
+
64
+ - Initial public release
65
+ - Agent registration with Token-2022 metadata
66
+ - Feedback attestations with dual-signature model
67
+ - Compressed attestation storage via Light Protocol
68
+ - Basic querying via Photon RPC
69
+
70
+ [0.4.0]: https://github.com/cascade-protocol/sati/compare/v0.3.0...v0.4.0
71
+ [0.3.0]: https://github.com/cascade-protocol/sati/compare/v0.2.0...v0.3.0
72
+ [0.2.0]: https://github.com/cascade-protocol/sati/releases/tag/v0.2.0