Skip to main contentSkip to FAQSkip to contact
All releases

Release notes · v2.1

Every SDK, API, and contracts change shipped in this release.

v2.1 - Audit trail + event stream (beta). First release with inline per-method sinceVersion / deprecatedInVersion metadata surfaced as badges across the SDK reference.

Highlights

  • audit.getTrail(id) - fetches the WORM evidence chain for a settlement. Returns an AuditEntry[] sorted by timestamp.
  • events.on(type, callback) - beta typed event subscription over WebSocket. Returns an unsubscribe function.
  • Per-method version metadata surfaces in <AllSdkMethods>, <SdkMethodComparison>, and /docs/sdk/history.

Breaking changes

  • None - v2.1 is fully backwards-compatible with v2.0.

Upgrading

Bump @tetrafi/sdk to ^2.1.0. No code changes required; new methods are additive.

SDK · Added methods

SDK · Deprecated methods

No SDK methods deprecated in v2.1.