From 119b08e4ae4e759dfbc4e770024a99a15540f642 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 29 Sep 2024 00:44:27 -0700 Subject: [PATCH] Version Packages (#761) Co-authored-by: github-actions[bot] --- .changeset/chilled-books-behave.md | 82 ----------- .changeset/shiny-trainers-call.md | 50 ------- packages/addon-indexeddb/CHANGELOG.md | 7 + packages/addon-indexeddb/package.json | 2 +- packages/cli/CHANGELOG.md | 2 + packages/cli/package.json | 2 +- packages/client/CHANGELOG.md | 7 + packages/client/package.json | 2 +- packages/crdt-loro/CHANGELOG.md | 7 + packages/crdt-loro/package.json | 2 +- packages/crdt-yjs/CHANGELOG.md | 7 + packages/crdt-yjs/package.json | 2 +- packages/crdt/CHANGELOG.md | 6 + packages/crdt/package.json | 2 +- packages/eslint-config-pluv/CHANGELOG.md | 2 + packages/eslint-config-pluv/package.json | 2 +- packages/io/CHANGELOG.md | 85 +++++++++++ packages/io/package.json | 2 +- .../CHANGELOG.md | 8 ++ .../package.json | 2 +- packages/persistence-redis/CHANGELOG.md | 8 ++ packages/persistence-redis/package.json | 2 +- packages/platform-cloudflare/CHANGELOG.md | 133 ++++++++++++++++++ packages/platform-cloudflare/package.json | 2 +- packages/platform-node/CHANGELOG.md | 132 +++++++++++++++++ packages/platform-node/package.json | 2 +- packages/platform-pluv/CHANGELOG.md | 87 ++++++++++++ packages/platform-pluv/package.json | 2 +- packages/pubsub-redis/CHANGELOG.md | 7 + packages/pubsub-redis/package.json | 2 +- packages/react/CHANGELOG.md | 8 ++ packages/react/package.json | 2 +- packages/tsconfig/CHANGELOG.md | 2 + packages/tsconfig/package.json | 2 +- packages/types/CHANGELOG.md | 2 + packages/types/package.json | 2 +- 36 files changed, 527 insertions(+), 149 deletions(-) delete mode 100644 .changeset/chilled-books-behave.md delete mode 100644 .changeset/shiny-trainers-call.md diff --git a/.changeset/chilled-books-behave.md b/.changeset/chilled-books-behave.md deleted file mode 100644 index 2281ab715..000000000 --- a/.changeset/chilled-books-behave.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -"@pluv/platform-cloudflare": minor -"@pluv/platform-node": minor -"@pluv/platform-pluv": minor -"@pluv/io": minor ---- - -**BREAKING** - -Fixed platform context types. This will require additional properties when registering a websocket and creating authorization tokens. See example below: - -```ts -// @pluv/platform-node example - -import { platformNode } from "@pluv/platform-node"; -import { createIO } from "@pluv/io"; -import type { IncomingMessage } from "node:http"; -import { z } from "zod"; - -const io = createIO({ - // If using a function authorize parameter, `req` is now available as a param - authorize: ({ req }) => ({ - required: true, - secret: "MY-CUSTOM-SECRET", - user: z.object({ - id: z.string(), - }), - }), - platformNode(), -}); - -// Before -io.createToken({ - room: "my-custom-room", - user: { id: "abc123" }, -}); - -// After -io.createToken({ - room: "my-custom-room", - user: { id: "abc123" }, - - // Previously not required, but now required - req: req as IncomingMessage, -}); -``` - -```ts -// @pluv/platform-cloudflare example - -import { platformCloudflare } from "@pluv/platform-cloudflare"; -import { createIO } from "@pluv/io"; -import { z } from "zod"; - -const io = createIO({ - // If using a function authorize parameter, `env` and `request` are now available as params - authorize: ({ env, request }) => ({ - required: true, - secret: "MY-CUSTOM-SECRET", - user: z.object({ - id: z.string(), - }), - }), - platformCloudflare(), -}); - -// Before -io.createToken({ - room: "my-custom-room", - user: { id: "abc123" }, -}); - -// After -io.createToken({ - room: "my-custom-room", - user: { id: "abc123" }, - - // Previously not required, but now required - env: env as Env, - request: request as Request, -}); -``` diff --git a/.changeset/shiny-trainers-call.md b/.changeset/shiny-trainers-call.md deleted file mode 100644 index ace298e22..000000000 --- a/.changeset/shiny-trainers-call.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -"@pluv/platform-cloudflare": minor -"@pluv/platform-node": minor ---- - -**BREAKING** - -Update `authorize` params so that `roomId` is renamed to `room` and more platform-specific parameters are exposed. See example below: - -```ts -// @pluv/platform-cloudflare example -import { createPluvHandler } from "@pluv/platform-cloudflare"; - -// Before -createPluvHandler({ - // ... - authorize: ({ roomId }) => { - // ... - }, -}); - -// After -createPluvHandler({ - // ... - authorize: ({ env, request, room }) => { - // ... - }, -}); -``` - -```ts -// @pluv/platform-node example -import { createPluvHandler } from "@pluv/platform-node"; - -// Before -createPluvHandler({ - // ... - authorize: ({ roomId }) => { - // ... - }, -}); - -// After -createPluvHandler({ - // ... - authorize: ({ req, room }) => { - // ... - }, -}); -``` diff --git a/packages/addon-indexeddb/CHANGELOG.md b/packages/addon-indexeddb/CHANGELOG.md index e2b863d4a..161d7e540 100644 --- a/packages/addon-indexeddb/CHANGELOG.md +++ b/packages/addon-indexeddb/CHANGELOG.md @@ -1,5 +1,12 @@ # @pluv/addon-indexeddb +## 0.31.0 + +### Patch Changes + +- @pluv/client@0.31.0 +- @pluv/crdt@0.31.0 + ## 0.30.2 ### Patch Changes diff --git a/packages/addon-indexeddb/package.json b/packages/addon-indexeddb/package.json index f22f12fe0..c93d9ab22 100644 --- a/packages/addon-indexeddb/package.json +++ b/packages/addon-indexeddb/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/addon-indexeddb", - "version": "0.30.2", + "version": "0.31.0", "description": "@pluv/io indexeddb for client storage persistence", "author": "leedavidcs", "license": "MIT", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 792e81839..8125128c7 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,7 @@ # pluv +## 0.31.0 + ## 0.30.2 ## 0.30.1 diff --git a/packages/cli/package.json b/packages/cli/package.json index e6ef36138..3b768a49e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "pluv", - "version": "0.30.2", + "version": "0.31.0", "description": "CLI for @pluv/io", "author": "leedavidcs", "license": "MIT", diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index c98f07437..e28293098 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -1,5 +1,12 @@ # @pluv/client +## 0.31.0 + +### Patch Changes + +- @pluv/crdt@0.31.0 +- @pluv/types@0.31.0 + ## 0.30.2 ### Patch Changes diff --git a/packages/client/package.json b/packages/client/package.json index 6a1311513..2f669b7a9 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/client", - "version": "0.30.2", + "version": "0.31.0", "description": "@pluv/io frontend client", "author": "leedavidcs", "license": "MIT", diff --git a/packages/crdt-loro/CHANGELOG.md b/packages/crdt-loro/CHANGELOG.md index 51f958144..9e0727f9b 100644 --- a/packages/crdt-loro/CHANGELOG.md +++ b/packages/crdt-loro/CHANGELOG.md @@ -1,5 +1,12 @@ # @pluv/crdt-loro +## 0.31.0 + +### Patch Changes + +- @pluv/crdt@0.31.0 +- @pluv/types@0.31.0 + ## 0.30.2 ### Patch Changes diff --git a/packages/crdt-loro/package.json b/packages/crdt-loro/package.json index d1a7af715..80e0a0490 100644 --- a/packages/crdt-loro/package.json +++ b/packages/crdt-loro/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/crdt-loro", - "version": "0.30.2", + "version": "0.31.0", "description": "loro for @pluv/io", "author": "leedavidcs", "license": "MIT", diff --git a/packages/crdt-yjs/CHANGELOG.md b/packages/crdt-yjs/CHANGELOG.md index 1a1f75b75..f7b8a5586 100644 --- a/packages/crdt-yjs/CHANGELOG.md +++ b/packages/crdt-yjs/CHANGELOG.md @@ -1,5 +1,12 @@ # @pluv/crdt-yjs +## 0.31.0 + +### Patch Changes + +- @pluv/crdt@0.31.0 +- @pluv/types@0.31.0 + ## 0.30.2 ### Patch Changes diff --git a/packages/crdt-yjs/package.json b/packages/crdt-yjs/package.json index 497e154ae..e7e236b64 100644 --- a/packages/crdt-yjs/package.json +++ b/packages/crdt-yjs/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/crdt-yjs", - "version": "0.30.2", + "version": "0.31.0", "description": "yjs for @pluv/io", "author": "leedavidcs", "license": "MIT", diff --git a/packages/crdt/CHANGELOG.md b/packages/crdt/CHANGELOG.md index 64c6d167a..78ea1a342 100644 --- a/packages/crdt/CHANGELOG.md +++ b/packages/crdt/CHANGELOG.md @@ -1,5 +1,11 @@ # @pluv/crdt +## 0.31.0 + +### Patch Changes + +- @pluv/types@0.31.0 + ## 0.30.2 ### Patch Changes diff --git a/packages/crdt/package.json b/packages/crdt/package.json index bbf47ea03..3434da58a 100644 --- a/packages/crdt/package.json +++ b/packages/crdt/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/crdt", - "version": "0.30.2", + "version": "0.31.0", "description": "crdt base for @pluv/io", "author": "leedavidcs", "license": "MIT", diff --git a/packages/eslint-config-pluv/CHANGELOG.md b/packages/eslint-config-pluv/CHANGELOG.md index 9d0fe82fc..9b9ed4b59 100644 --- a/packages/eslint-config-pluv/CHANGELOG.md +++ b/packages/eslint-config-pluv/CHANGELOG.md @@ -1,5 +1,7 @@ # eslint-config-pluv +## 0.31.0 + ## 0.30.2 ## 0.30.1 diff --git a/packages/eslint-config-pluv/package.json b/packages/eslint-config-pluv/package.json index be267915b..ace5f2e8b 100644 --- a/packages/eslint-config-pluv/package.json +++ b/packages/eslint-config-pluv/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-pluv", - "version": "0.30.2", + "version": "0.31.0", "description": "@pluv/io eslint config", "author": "leedavidcs", "license": "MIT", diff --git a/packages/io/CHANGELOG.md b/packages/io/CHANGELOG.md index 5c9da67a9..885290b31 100644 --- a/packages/io/CHANGELOG.md +++ b/packages/io/CHANGELOG.md @@ -1,5 +1,90 @@ # @pluv/io +## 0.31.0 + +### Minor Changes + +- b3c31d7: **BREAKING** + + Fixed platform context types. This will require additional properties when registering a websocket and creating authorization tokens. See example below: + + ```ts + // @pluv/platform-node example + + import { platformNode } from "@pluv/platform-node"; + import { createIO } from "@pluv/io"; + import type { IncomingMessage } from "node:http"; + import { z } from "zod"; + + const io = createIO({ + // If using a function authorize parameter, `req` is now available as a param + authorize: ({ req }) => ({ + required: true, + secret: "MY-CUSTOM-SECRET", + user: z.object({ + id: z.string(), + }), + }), + platformNode(), + }); + + // Before + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + }); + + // After + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + + // Previously not required, but now required + req: req as IncomingMessage, + }); + ``` + + ```ts + // @pluv/platform-cloudflare example + + import { platformCloudflare } from "@pluv/platform-cloudflare"; + import { createIO } from "@pluv/io"; + import { z } from "zod"; + + const io = createIO({ + // If using a function authorize parameter, `env` and `request` are now available as params + authorize: ({ env, request }) => ({ + required: true, + secret: "MY-CUSTOM-SECRET", + user: z.object({ + id: z.string(), + }), + }), + platformCloudflare(), + }); + + // Before + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + }); + + // After + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + + // Previously not required, but now required + env: env as Env, + request: request as Request, + }); + ``` + +### Patch Changes + +- @pluv/crdt@0.31.0 +- @pluv/types@0.31.0 + ## 0.30.2 ### Patch Changes diff --git a/packages/io/package.json b/packages/io/package.json index 44e35c8ef..e80c20d58 100644 --- a/packages/io/package.json +++ b/packages/io/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/io", - "version": "0.30.2", + "version": "0.31.0", "description": "@pluv/io server-side websocket manager", "author": "leedavidcs", "license": "MIT", diff --git a/packages/persistence-cloudflare-transactional-storage/CHANGELOG.md b/packages/persistence-cloudflare-transactional-storage/CHANGELOG.md index f616b225b..9d5ece482 100644 --- a/packages/persistence-cloudflare-transactional-storage/CHANGELOG.md +++ b/packages/persistence-cloudflare-transactional-storage/CHANGELOG.md @@ -1,5 +1,13 @@ # @pluv/persistence-cloudflare-transactional-storage +## 0.31.0 + +### Patch Changes + +- Updated dependencies [b3c31d7] + - @pluv/io@0.31.0 + - @pluv/types@0.31.0 + ## 0.30.2 ### Patch Changes diff --git a/packages/persistence-cloudflare-transactional-storage/package.json b/packages/persistence-cloudflare-transactional-storage/package.json index 3071046ac..0d8773a3c 100644 --- a/packages/persistence-cloudflare-transactional-storage/package.json +++ b/packages/persistence-cloudflare-transactional-storage/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/persistence-cloudflare-transactional-storage", - "version": "0.30.2", + "version": "0.31.0", "description": "@pluv/io crdt storage persistence for cloudflare via transactional storage", "author": "leedavidcs", "license": "MIT", diff --git a/packages/persistence-redis/CHANGELOG.md b/packages/persistence-redis/CHANGELOG.md index ab2cc0f39..9c8e62653 100644 --- a/packages/persistence-redis/CHANGELOG.md +++ b/packages/persistence-redis/CHANGELOG.md @@ -1,5 +1,13 @@ # @pluv/persistence-redis +## 0.31.0 + +### Patch Changes + +- Updated dependencies [b3c31d7] + - @pluv/io@0.31.0 + - @pluv/types@0.31.0 + ## 0.30.2 ### Patch Changes diff --git a/packages/persistence-redis/package.json b/packages/persistence-redis/package.json index a39b65142..397962e06 100644 --- a/packages/persistence-redis/package.json +++ b/packages/persistence-redis/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/persistence-redis", - "version": "0.30.2", + "version": "0.31.0", "description": "@pluv/io crdt storage persistence for node.js", "author": "leedavidcs", "license": "MIT", diff --git a/packages/platform-cloudflare/CHANGELOG.md b/packages/platform-cloudflare/CHANGELOG.md index 85a1bb424..725f7753e 100644 --- a/packages/platform-cloudflare/CHANGELOG.md +++ b/packages/platform-cloudflare/CHANGELOG.md @@ -1,5 +1,138 @@ # @pluv/platform-cloudflare +## 0.31.0 + +### Minor Changes + +- b3c31d7: **BREAKING** + + Fixed platform context types. This will require additional properties when registering a websocket and creating authorization tokens. See example below: + + ```ts + // @pluv/platform-node example + + import { platformNode } from "@pluv/platform-node"; + import { createIO } from "@pluv/io"; + import type { IncomingMessage } from "node:http"; + import { z } from "zod"; + + const io = createIO({ + // If using a function authorize parameter, `req` is now available as a param + authorize: ({ req }) => ({ + required: true, + secret: "MY-CUSTOM-SECRET", + user: z.object({ + id: z.string(), + }), + }), + platformNode(), + }); + + // Before + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + }); + + // After + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + + // Previously not required, but now required + req: req as IncomingMessage, + }); + ``` + + ```ts + // @pluv/platform-cloudflare example + + import { platformCloudflare } from "@pluv/platform-cloudflare"; + import { createIO } from "@pluv/io"; + import { z } from "zod"; + + const io = createIO({ + // If using a function authorize parameter, `env` and `request` are now available as params + authorize: ({ env, request }) => ({ + required: true, + secret: "MY-CUSTOM-SECRET", + user: z.object({ + id: z.string(), + }), + }), + platformCloudflare(), + }); + + // Before + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + }); + + // After + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + + // Previously not required, but now required + env: env as Env, + request: request as Request, + }); + ``` + +- 0f98064: **BREAKING** + + Update `authorize` params so that `roomId` is renamed to `room` and more platform-specific parameters are exposed. See example below: + + ```ts + // @pluv/platform-cloudflare example + import { createPluvHandler } from "@pluv/platform-cloudflare"; + + // Before + createPluvHandler({ + // ... + authorize: ({ roomId }) => { + // ... + }, + }); + + // After + createPluvHandler({ + // ... + authorize: ({ env, request, room }) => { + // ... + }, + }); + ``` + + ```ts + // @pluv/platform-node example + import { createPluvHandler } from "@pluv/platform-node"; + + // Before + createPluvHandler({ + // ... + authorize: ({ roomId }) => { + // ... + }, + }); + + // After + createPluvHandler({ + // ... + authorize: ({ req, room }) => { + // ... + }, + }); + ``` + +### Patch Changes + +- Updated dependencies [b3c31d7] + - @pluv/io@0.31.0 + - @pluv/persistence-cloudflare-transactional-storage@0.31.0 + - @pluv/types@0.31.0 + ## 0.30.2 ### Patch Changes diff --git a/packages/platform-cloudflare/package.json b/packages/platform-cloudflare/package.json index 5996d6d9b..4264a7433 100644 --- a/packages/platform-cloudflare/package.json +++ b/packages/platform-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/platform-cloudflare", - "version": "0.30.2", + "version": "0.31.0", "description": "@pluv/io adapter for cloudflare workers", "author": "leedavidcs", "license": "MIT", diff --git a/packages/platform-node/CHANGELOG.md b/packages/platform-node/CHANGELOG.md index b7fc41122..05906fdf1 100644 --- a/packages/platform-node/CHANGELOG.md +++ b/packages/platform-node/CHANGELOG.md @@ -1,5 +1,137 @@ # @pluv/platform-node +## 0.31.0 + +### Minor Changes + +- b3c31d7: **BREAKING** + + Fixed platform context types. This will require additional properties when registering a websocket and creating authorization tokens. See example below: + + ```ts + // @pluv/platform-node example + + import { platformNode } from "@pluv/platform-node"; + import { createIO } from "@pluv/io"; + import type { IncomingMessage } from "node:http"; + import { z } from "zod"; + + const io = createIO({ + // If using a function authorize parameter, `req` is now available as a param + authorize: ({ req }) => ({ + required: true, + secret: "MY-CUSTOM-SECRET", + user: z.object({ + id: z.string(), + }), + }), + platformNode(), + }); + + // Before + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + }); + + // After + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + + // Previously not required, but now required + req: req as IncomingMessage, + }); + ``` + + ```ts + // @pluv/platform-cloudflare example + + import { platformCloudflare } from "@pluv/platform-cloudflare"; + import { createIO } from "@pluv/io"; + import { z } from "zod"; + + const io = createIO({ + // If using a function authorize parameter, `env` and `request` are now available as params + authorize: ({ env, request }) => ({ + required: true, + secret: "MY-CUSTOM-SECRET", + user: z.object({ + id: z.string(), + }), + }), + platformCloudflare(), + }); + + // Before + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + }); + + // After + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + + // Previously not required, but now required + env: env as Env, + request: request as Request, + }); + ``` + +- 0f98064: **BREAKING** + + Update `authorize` params so that `roomId` is renamed to `room` and more platform-specific parameters are exposed. See example below: + + ```ts + // @pluv/platform-cloudflare example + import { createPluvHandler } from "@pluv/platform-cloudflare"; + + // Before + createPluvHandler({ + // ... + authorize: ({ roomId }) => { + // ... + }, + }); + + // After + createPluvHandler({ + // ... + authorize: ({ env, request, room }) => { + // ... + }, + }); + ``` + + ```ts + // @pluv/platform-node example + import { createPluvHandler } from "@pluv/platform-node"; + + // Before + createPluvHandler({ + // ... + authorize: ({ roomId }) => { + // ... + }, + }); + + // After + createPluvHandler({ + // ... + authorize: ({ req, room }) => { + // ... + }, + }); + ``` + +### Patch Changes + +- Updated dependencies [b3c31d7] + - @pluv/io@0.31.0 + - @pluv/types@0.31.0 + ## 0.30.2 ### Patch Changes diff --git a/packages/platform-node/package.json b/packages/platform-node/package.json index 071266de4..71c66761b 100644 --- a/packages/platform-node/package.json +++ b/packages/platform-node/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/platform-node", - "version": "0.30.2", + "version": "0.31.0", "description": "@pluv/io adapter for node.js", "author": "leedavidcs", "license": "MIT", diff --git a/packages/platform-pluv/CHANGELOG.md b/packages/platform-pluv/CHANGELOG.md index 1b66a2235..d4cb62a56 100644 --- a/packages/platform-pluv/CHANGELOG.md +++ b/packages/platform-pluv/CHANGELOG.md @@ -1,5 +1,92 @@ # @pluv/platform-pluv +## 0.31.0 + +### Minor Changes + +- b3c31d7: **BREAKING** + + Fixed platform context types. This will require additional properties when registering a websocket and creating authorization tokens. See example below: + + ```ts + // @pluv/platform-node example + + import { platformNode } from "@pluv/platform-node"; + import { createIO } from "@pluv/io"; + import type { IncomingMessage } from "node:http"; + import { z } from "zod"; + + const io = createIO({ + // If using a function authorize parameter, `req` is now available as a param + authorize: ({ req }) => ({ + required: true, + secret: "MY-CUSTOM-SECRET", + user: z.object({ + id: z.string(), + }), + }), + platformNode(), + }); + + // Before + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + }); + + // After + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + + // Previously not required, but now required + req: req as IncomingMessage, + }); + ``` + + ```ts + // @pluv/platform-cloudflare example + + import { platformCloudflare } from "@pluv/platform-cloudflare"; + import { createIO } from "@pluv/io"; + import { z } from "zod"; + + const io = createIO({ + // If using a function authorize parameter, `env` and `request` are now available as params + authorize: ({ env, request }) => ({ + required: true, + secret: "MY-CUSTOM-SECRET", + user: z.object({ + id: z.string(), + }), + }), + platformCloudflare(), + }); + + // Before + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + }); + + // After + io.createToken({ + room: "my-custom-room", + user: { id: "abc123" }, + + // Previously not required, but now required + env: env as Env, + request: request as Request, + }); + ``` + +### Patch Changes + +- Updated dependencies [b3c31d7] + - @pluv/io@0.31.0 + - @pluv/crdt@0.31.0 + - @pluv/types@0.31.0 + ## 0.30.2 ### Patch Changes diff --git a/packages/platform-pluv/package.json b/packages/platform-pluv/package.json index 55be525df..6b16f6fc9 100644 --- a/packages/platform-pluv/package.json +++ b/packages/platform-pluv/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/platform-pluv", - "version": "0.30.2", + "version": "0.31.0", "description": "@pluv/io adapter for pluv.io", "author": "leedavidcs", "license": "MIT", diff --git a/packages/pubsub-redis/CHANGELOG.md b/packages/pubsub-redis/CHANGELOG.md index 1eba47c24..1d4e93f2c 100644 --- a/packages/pubsub-redis/CHANGELOG.md +++ b/packages/pubsub-redis/CHANGELOG.md @@ -1,5 +1,12 @@ # @pluv/pubsub-redis +## 0.31.0 + +### Patch Changes + +- Updated dependencies [b3c31d7] + - @pluv/io@0.31.0 + ## 0.30.2 ### Patch Changes diff --git a/packages/pubsub-redis/package.json b/packages/pubsub-redis/package.json index 6b2a6e0ba..2d5b49718 100644 --- a/packages/pubsub-redis/package.json +++ b/packages/pubsub-redis/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/pubsub-redis", - "version": "0.30.2", + "version": "0.31.0", "description": "@pluv/io redis pubsub", "author": "leedavidcs", "license": "MIT", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index e06a5b9c6..971c359a1 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,13 @@ # @pluv/react +## 0.31.0 + +### Patch Changes + +- @pluv/client@0.31.0 +- @pluv/crdt@0.31.0 +- @pluv/types@0.31.0 + ## 0.30.2 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index a5b495b1b..236ab9779 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/react", - "version": "0.30.2", + "version": "0.31.0", "description": "@pluv/client React.js bindings", "author": "leedavidcs", "license": "MIT", diff --git a/packages/tsconfig/CHANGELOG.md b/packages/tsconfig/CHANGELOG.md index 6d561dcff..34f0e44ee 100644 --- a/packages/tsconfig/CHANGELOG.md +++ b/packages/tsconfig/CHANGELOG.md @@ -1,5 +1,7 @@ # @pluv/tsconfig +## 0.31.0 + ## 0.30.2 ## 0.30.1 diff --git a/packages/tsconfig/package.json b/packages/tsconfig/package.json index c1c11bce1..6598ac9c2 100644 --- a/packages/tsconfig/package.json +++ b/packages/tsconfig/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/tsconfig", - "version": "0.30.2", + "version": "0.31.0", "description": "@pluv/io internal tsconfigs", "author": "leedavidcs", "license": "MIT", diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 7ca1ee845..eebf6e638 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,7 @@ # @pluv/types +## 0.31.0 + ## 0.30.2 ## 0.30.1 diff --git a/packages/types/package.json b/packages/types/package.json index 09e37780d..46fe40df6 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@pluv/types", - "version": "0.30.2", + "version": "0.31.0", "description": "@pluv/io shared types", "author": "leedavidcs", "license": "MIT",