From 315df490661398c112d99898985f4ef3eaf8a508 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 4 Jun 2025 01:56:00 +0000 Subject: [PATCH] Version Packages --- .changeset/shaggy-points-sink.md | 43 ---------------------- examples/basic/CHANGELOG.md | 44 +++++++++++++++++++++++ examples/basic/package.json | 2 +- examples/next-drizzle-mysql/CHANGELOG.md | 45 ++++++++++++++++++++++++ examples/next-drizzle-mysql/package.json | 2 +- examples/nextjs-clerk/CHANGELOG.md | 44 +++++++++++++++++++++++ examples/nextjs-clerk/package.json | 2 +- packages/protect/CHANGELOG.md | 39 ++++++++++++++++++++ packages/protect/package.json | 2 +- 9 files changed, 176 insertions(+), 47 deletions(-) delete mode 100644 .changeset/shaggy-points-sink.md create mode 100644 examples/next-drizzle-mysql/CHANGELOG.md diff --git a/.changeset/shaggy-points-sink.md b/.changeset/shaggy-points-sink.md deleted file mode 100644 index 914baf720..000000000 --- a/.changeset/shaggy-points-sink.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -"@cipherstash/protect": major -"next-drizzle-mysql": minor -"@cipherstash/nextjs-clerk-example": minor -"@cipherstash/basic-example": minor ---- - -Implemented a more configurable pattern for the Protect client. - -This release introduces a new `ProtectClientConfig` type that can be used to configure the Protect client. -This is useful if you want to configure the Protect client specific to your application, and will future proof any additional configuration options that are added in the future. - -```ts -import { protect, type ProtectClientConfig } from "@cipherstash/protect"; - -const config: ProtectClientConfig = { - schemas: [users, orders], - workspaceCrn: "your-workspace-crn", - accessKey: "your-access-key", - clientId: "your-client-id", - clientKey: "your-client-key", -} - -const protectClient = await protect(config); -``` - -The now deprecated method of passing your tables to the `protect` client is no longer supported. - -```ts -import { protect, type ProtectClientConfig } from "@cipherstash/protect"; - -// old method (no longer supported) -const protectClient = await protect(users, orders); - -// required method -const config: ProtectClientConfig = { - schemas: [users, orders], -} - -const protectClient = await protect(config); -``` - - diff --git a/examples/basic/CHANGELOG.md b/examples/basic/CHANGELOG.md index 8fdbc2d4f..8df276fc1 100644 --- a/examples/basic/CHANGELOG.md +++ b/examples/basic/CHANGELOG.md @@ -1,5 +1,49 @@ # @cipherstash/basic-example +## 1.1.0 + +### Minor Changes + +- 1bc55a0: Implemented a more configurable pattern for the Protect client. + + This release introduces a new `ProtectClientConfig` type that can be used to configure the Protect client. + This is useful if you want to configure the Protect client specific to your application, and will future proof any additional configuration options that are added in the future. + + ```ts + import { protect, type ProtectClientConfig } from "@cipherstash/protect"; + + const config: ProtectClientConfig = { + schemas: [users, orders], + workspaceCrn: "your-workspace-crn", + accessKey: "your-access-key", + clientId: "your-client-id", + clientKey: "your-client-key", + }; + + const protectClient = await protect(config); + ``` + + The now deprecated method of passing your tables to the `protect` client is no longer supported. + + ```ts + import { protect, type ProtectClientConfig } from "@cipherstash/protect"; + + // old method (no longer supported) + const protectClient = await protect(users, orders); + + // required method + const config: ProtectClientConfig = { + schemas: [users, orders], + }; + + const protectClient = await protect(config); + ``` + +### Patch Changes + +- Updated dependencies [1bc55a0] + - @cipherstash/protect@9.0.0 + ## 1.0.12 ### Patch Changes diff --git a/examples/basic/package.json b/examples/basic/package.json index 7ac965427..0989445da 100644 --- a/examples/basic/package.json +++ b/examples/basic/package.json @@ -1,7 +1,7 @@ { "name": "@cipherstash/basic-example", "private": true, - "version": "1.0.12", + "version": "1.1.0", "type": "module", "scripts": { "start": "tsx index.ts" diff --git a/examples/next-drizzle-mysql/CHANGELOG.md b/examples/next-drizzle-mysql/CHANGELOG.md new file mode 100644 index 000000000..0beadc1ba --- /dev/null +++ b/examples/next-drizzle-mysql/CHANGELOG.md @@ -0,0 +1,45 @@ +# next-drizzle-mysql + +## 0.2.0 + +### Minor Changes + +- 1bc55a0: Implemented a more configurable pattern for the Protect client. + + This release introduces a new `ProtectClientConfig` type that can be used to configure the Protect client. + This is useful if you want to configure the Protect client specific to your application, and will future proof any additional configuration options that are added in the future. + + ```ts + import { protect, type ProtectClientConfig } from "@cipherstash/protect"; + + const config: ProtectClientConfig = { + schemas: [users, orders], + workspaceCrn: "your-workspace-crn", + accessKey: "your-access-key", + clientId: "your-client-id", + clientKey: "your-client-key", + }; + + const protectClient = await protect(config); + ``` + + The now deprecated method of passing your tables to the `protect` client is no longer supported. + + ```ts + import { protect, type ProtectClientConfig } from "@cipherstash/protect"; + + // old method (no longer supported) + const protectClient = await protect(users, orders); + + // required method + const config: ProtectClientConfig = { + schemas: [users, orders], + }; + + const protectClient = await protect(config); + ``` + +### Patch Changes + +- Updated dependencies [1bc55a0] + - @cipherstash/protect@9.0.0 diff --git a/examples/next-drizzle-mysql/package.json b/examples/next-drizzle-mysql/package.json index ff34db887..3c72c57a9 100644 --- a/examples/next-drizzle-mysql/package.json +++ b/examples/next-drizzle-mysql/package.json @@ -1,6 +1,6 @@ { "name": "next-drizzle-mysql", - "version": "0.1.0", + "version": "0.2.0", "private": true, "scripts": { "dev": "next dev --turbopack", diff --git a/examples/nextjs-clerk/CHANGELOG.md b/examples/nextjs-clerk/CHANGELOG.md index e17d2f340..d8a1a3fe0 100644 --- a/examples/nextjs-clerk/CHANGELOG.md +++ b/examples/nextjs-clerk/CHANGELOG.md @@ -1,5 +1,49 @@ # @cipherstash/nextjs-clerk-example +## 0.2.0 + +### Minor Changes + +- 1bc55a0: Implemented a more configurable pattern for the Protect client. + + This release introduces a new `ProtectClientConfig` type that can be used to configure the Protect client. + This is useful if you want to configure the Protect client specific to your application, and will future proof any additional configuration options that are added in the future. + + ```ts + import { protect, type ProtectClientConfig } from "@cipherstash/protect"; + + const config: ProtectClientConfig = { + schemas: [users, orders], + workspaceCrn: "your-workspace-crn", + accessKey: "your-access-key", + clientId: "your-client-id", + clientKey: "your-client-key", + }; + + const protectClient = await protect(config); + ``` + + The now deprecated method of passing your tables to the `protect` client is no longer supported. + + ```ts + import { protect, type ProtectClientConfig } from "@cipherstash/protect"; + + // old method (no longer supported) + const protectClient = await protect(users, orders); + + // required method + const config: ProtectClientConfig = { + schemas: [users, orders], + }; + + const protectClient = await protect(config); + ``` + +### Patch Changes + +- Updated dependencies [1bc55a0] + - @cipherstash/protect@9.0.0 + ## 0.1.6 ### Patch Changes diff --git a/examples/nextjs-clerk/package.json b/examples/nextjs-clerk/package.json index eddf9794e..ea0dfd952 100644 --- a/examples/nextjs-clerk/package.json +++ b/examples/nextjs-clerk/package.json @@ -1,6 +1,6 @@ { "name": "@cipherstash/nextjs-clerk-example", - "version": "0.1.6", + "version": "0.2.0", "private": true, "scripts": { "check-types": "tsc --noEmit", diff --git a/packages/protect/CHANGELOG.md b/packages/protect/CHANGELOG.md index 9ca54fea5..fdac50145 100644 --- a/packages/protect/CHANGELOG.md +++ b/packages/protect/CHANGELOG.md @@ -1,5 +1,44 @@ # @cipherstash/jseql +## 9.0.0 + +### Major Changes + +- 1bc55a0: Implemented a more configurable pattern for the Protect client. + + This release introduces a new `ProtectClientConfig` type that can be used to configure the Protect client. + This is useful if you want to configure the Protect client specific to your application, and will future proof any additional configuration options that are added in the future. + + ```ts + import { protect, type ProtectClientConfig } from "@cipherstash/protect"; + + const config: ProtectClientConfig = { + schemas: [users, orders], + workspaceCrn: "your-workspace-crn", + accessKey: "your-access-key", + clientId: "your-client-id", + clientKey: "your-client-key", + }; + + const protectClient = await protect(config); + ``` + + The now deprecated method of passing your tables to the `protect` client is no longer supported. + + ```ts + import { protect, type ProtectClientConfig } from "@cipherstash/protect"; + + // old method (no longer supported) + const protectClient = await protect(users, orders); + + // required method + const config: ProtectClientConfig = { + schemas: [users, orders], + }; + + const protectClient = await protect(config); + ``` + ## 8.4.0 ### Minor Changes diff --git a/packages/protect/package.json b/packages/protect/package.json index c9e1b65c6..b270a041a 100644 --- a/packages/protect/package.json +++ b/packages/protect/package.json @@ -1,6 +1,6 @@ { "name": "@cipherstash/protect", - "version": "8.4.0", + "version": "9.0.0", "description": "CipherStash Protect for JavaScript", "keywords": [ "encrypted",