From 47ccd5dbb28b1cf17041baffedb7ef806f8ce36d Mon Sep 17 00:00:00 2001 From: vergil-dv Date: Thu, 11 Jun 2026 16:50:11 +0300 Subject: [PATCH] chore(release): 0.2.2 Patch release marking the DEV-202 server-side FHE encryption migration. No public API or behavior change: the SDK is a thin REST client with no crypto, so moving encryption into the backend Lambda is transparent to consumers. Bundles the create() contract regression test added in #11. Co-Authored-By: Claude Opus 4.8 (1M context) --- CHANGELOG.md | 9 ++++++++- package.json | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91088d8..9a9ad6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.2] - 2026-06-11 + +### Changed + +- Internal only: pinned a regression test for the `invoices.create()` request contract (endpoint A, `POST /api/v1/invoices`) to guard the backend's server-side FHE encryption migration (DEV-202). The SDK is a thin REST client with no crypto, so moving encryption into the backend Lambda is transparent — there is no public API or behavior change and consumers require no updates. + ## [0.2.1] - 2026-05-07 ### Added @@ -46,7 +52,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Idempotency key support - Dual ESM/CJS build with TypeScript declarations -[Unreleased]: https://github.com/PrivaraXYZ/privara-sdk/compare/v0.2.1...HEAD +[Unreleased]: https://github.com/PrivaraXYZ/privara-sdk/compare/v0.2.2...HEAD +[0.2.2]: https://github.com/PrivaraXYZ/privara-sdk/compare/v0.2.1...v0.2.2 [0.2.1]: https://github.com/PrivaraXYZ/privara-sdk/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/PrivaraXYZ/privara-sdk/compare/v0.1.0...v0.2.0 [0.1.0]: https://github.com/PrivaraXYZ/privara-sdk/releases/tag/v0.1.0 diff --git a/package.json b/package.json index 52c32fc..629ba3a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@privara/sdk", - "version": "0.2.1", + "version": "0.2.2", "description": "TypeScript SDK for the Privara API", "type": "module", "main": "./dist/index.cjs",