@pluv/io 3.2.0 → 3.2.1
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/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +7 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +11 -7
- package/src/version.generated.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/io@3.2.
|
|
2
|
+
> @pluv/io@3.2.1 build /home/runner/work/pluv/pluv/packages/io
|
|
3
3
|
> pnpm run version && tsup src/index.ts --format esm,cjs --dts
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @pluv/io@3.2.
|
|
6
|
+
> @pluv/io@3.2.1 version /home/runner/work/pluv/pluv/packages/io
|
|
7
7
|
> genversion ./src/version.generated.ts --esm
|
|
8
8
|
|
|
9
9
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
[34mESM[39m Build start
|
|
14
14
|
[34mCJS[39m Build start
|
|
15
15
|
[32mCJS[39m [1mdist/index.js [22m[32m55.81 KB[39m
|
|
16
|
-
[32mCJS[39m ⚡️ Build success in
|
|
16
|
+
[32mCJS[39m ⚡️ Build success in 103ms
|
|
17
17
|
[32mESM[39m [1mdist/index.mjs [22m[32m53.63 KB[39m
|
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 105ms
|
|
19
19
|
[34mDTS[39m Build start
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 4322ms
|
|
21
21
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m34.23 KB[39m
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m34.23 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @pluv/io
|
|
2
2
|
|
|
3
|
+
## 3.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @pluv/crdt@3.2.1
|
|
8
|
+
- @pluv/types@3.2.1
|
|
9
|
+
|
|
3
10
|
## 3.2.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -1135,11 +1142,9 @@
|
|
|
1135
1142
|
### Minor Changes
|
|
1136
1143
|
|
|
1137
1144
|
- 6ac8a46: \* Fixed errors thrown when using Cloudflare's websocket hibernation API caused by rooms being re-used between different instances of DurableObjects.
|
|
1138
|
-
|
|
1139
1145
|
- Add configurable `onDelete` and `onMessage` event listeners that can be set when rooms are created.
|
|
1140
1146
|
|
|
1141
1147
|
**BREAKING**
|
|
1142
|
-
|
|
1143
1148
|
- Changed `PluvServer.getRoom` to `PluvServer.createRoom`. This means `PluvServer` only handles room creation. Room management must now be handled manually. This mainly affects manually creating rooms with `@pluv/platform-node`, and will likely not affect you if you are either using `createPluvHandler` on any platform, or if you are using `@pluv/platform-cloudflare`.
|
|
1144
1149
|
|
|
1145
1150
|
```ts
|
|
@@ -1452,7 +1457,6 @@
|
|
|
1452
1457
|
|
|
1453
1458
|
- 329dbcd: Narrowed types for `user` within the session object of an event resolver.
|
|
1454
1459
|
- 99b5ca9: ## Breaking Changes
|
|
1455
|
-
|
|
1456
1460
|
- `@pluv/io` has been updated to introduce `PluvProcedure`, `PluvRouter` and `PluvServer`. This change is intended to improve the ergonomics of declaring events and simplifying inferences of event types.
|
|
1457
1461
|
|
|
1458
1462
|
### Before:
|
|
@@ -1655,7 +1659,6 @@
|
|
|
1655
1659
|
### Minor Changes
|
|
1656
1660
|
|
|
1657
1661
|
- 4280220: ## Breaking Changes
|
|
1658
|
-
|
|
1659
1662
|
- Storage types are now kept on the root of the document.
|
|
1660
1663
|
- Previously, `@pluv/crdt-yjs` kept all shared-types on a hidden Yjs Map called `storage` on the root of the Yjs Doc. Now all shared-types are kept on the root of the Yjs Doc instead. This behavior should be more in-line with how shared-types are documented to be used from Yjs.
|
|
1661
1664
|
- `@pluv/client` and `@pluv/react` no-longer re-export `@pluv/crdt-yjs`. This package will now need to be installed separately.
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/io",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "@pluv/io server-side websocket manager",
|
|
5
|
-
"author":
|
|
5
|
+
"author": {
|
|
6
|
+
"email": "david@pluv.io",
|
|
7
|
+
"name": "i3dly",
|
|
8
|
+
"url": "https://github.com/i3dly"
|
|
9
|
+
},
|
|
6
10
|
"license": "MIT",
|
|
7
11
|
"homepage": "https://github.com/pluv-io/pluv",
|
|
8
12
|
"repository": {
|
|
@@ -21,16 +25,16 @@
|
|
|
21
25
|
"jose": "^5.10.0",
|
|
22
26
|
"kleur": "^4.1.5",
|
|
23
27
|
"wonka": "^6.3.5",
|
|
24
|
-
"@pluv/crdt": "^3.2.
|
|
25
|
-
"@pluv/types": "^3.2.
|
|
28
|
+
"@pluv/crdt": "^3.2.1",
|
|
29
|
+
"@pluv/types": "^3.2.1"
|
|
26
30
|
},
|
|
27
31
|
"devDependencies": {
|
|
28
|
-
"eslint": "^9.
|
|
32
|
+
"eslint": "^9.31.0",
|
|
29
33
|
"genversion": "^3.2.0",
|
|
30
34
|
"tsup": "^8.5.0",
|
|
31
35
|
"typescript": "^5.8.3",
|
|
32
|
-
"@pluv/tsconfig": "^3.2.
|
|
33
|
-
"eslint-config-pluv": "^3.2.
|
|
36
|
+
"@pluv/tsconfig": "^3.2.1",
|
|
37
|
+
"eslint-config-pluv": "^3.2.1"
|
|
34
38
|
},
|
|
35
39
|
"scripts": {
|
|
36
40
|
"build": "pnpm run version && tsup src/index.ts --format esm,cjs --dts",
|
package/src/version.generated.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '3.2.
|
|
2
|
+
export const version = '3.2.1'
|