@pluv/platform-node 5.0.0 → 5.0.2

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/CHANGELOG.md DELETED
@@ -1,1889 +0,0 @@
1
- # @pluv/platform-node
2
-
3
- ## 5.0.0
4
-
5
- ### Major Changes
6
-
7
- - 8f9efe9: **BREAKING**: `@pluv/platform-node` init context now uses `request` instead of `req`, aligned with `@pluv/platform-cloudflare`.
8
-
9
- - `room.register` and `io.createToken` now take `{ request: Request | IncomingMessage }` instead of `{ req: IncomingMessage }`.
10
- - Function-form `authorize` receives `{ request: Request }` — `IncomingMessage` values are normalized automatically.
11
- - Optional `platformNode({ origin })` sets the base URL when converting `IncomingMessage` to `Request`.
12
-
13
- ```ts
14
- // Before
15
- await room.register(ws, { req, token });
16
- await io.createToken({ req, room, user });
17
- authorize: ({ req }) => ({ ... });
18
-
19
- // After
20
- await room.register(ws, { request: req, token });
21
- await io.createToken({ request: c.req.raw, room, user });
22
- authorize: ({ request }) => ({ ... });
23
- ```
24
-
25
- See the v5 migration guide for details.
26
-
27
- ### Patch Changes
28
-
29
- - @pluv/crdt@5.0.0
30
- - @pluv/io@5.0.0
31
- - @pluv/types@5.0.0
32
-
33
- ## 4.1.0
34
-
35
- ### Patch Changes
36
-
37
- - @pluv/crdt@4.1.0
38
- - @pluv/io@4.1.0
39
- - @pluv/types@4.1.0
40
-
41
- ## 4.0.2
42
-
43
- ### Patch Changes
44
-
45
- - e1913b3: Upgraded internal dependencies
46
- - Updated dependencies [e1913b3]
47
- - @pluv/types@4.0.2
48
- - @pluv/crdt@4.0.2
49
- - @pluv/io@4.0.2
50
-
51
- ## 4.0.1
52
-
53
- ### Patch Changes
54
-
55
- - @pluv/crdt@4.0.1
56
- - @pluv/io@4.0.1
57
- - @pluv/types@4.0.1
58
-
59
- ## 4.0.0
60
-
61
- ### Major Changes
62
-
63
- - df5c39c: Update all packages to be ESM only.
64
- - 07e2a1e: ### Breaking Changes
65
-
66
- This release includes the following breaking changes:
67
- 1. **Removed `onDestroy` handler** (room-level only) - replaced with `onRoomDestroyed` and `onStorageDestroyed`
68
- 2. **Removed `onRoomDeleted` handler** (server-level) - replaced with `onRoomDestroyed` and `onStorageDestroyed`
69
- 3. **Listeners can no longer be configured at room-level** - all listeners must be configured at server-level via `io.server()`
70
- 4. **Event type changes** - `IORoomDestroyedEvent` no longer includes `encodedState`
71
-
72
- #### Remove `onDestroy` and `onRoomDeleted` in favor of `onRoomDestroyed` and `onStorageDestroyed`
73
-
74
- **BREAKING**: Two event handlers have been **removed** in favor of two separate handlers that provide better control over when storage is saved. This is a breaking change that requires code updates.
75
-
76
- **New Handlers:**
77
- - **`onRoomDestroyed`**: Fires whenever a room is destroyed. This event does NOT include `encodedState` to prevent accidentally saving empty or uninitialized storage data. **Available only at server-level** via `io.server()`.
78
- - **`onStorageDestroyed`**: Only fires when the storage document is about to be destroyed after it has been initialized via `initializeSession`. This event includes `encodedState` and should be used for saving storage to your database. **Available only at server-level** via `io.server()`.
79
-
80
- **Removed Handlers:**
81
- - **`onDestroy`** (room-level only, via `createRoom`): **REMOVED**. Use `onRoomDestroyed` and `onStorageDestroyed` instead.
82
- - **`onRoomDeleted`** (server-level): **REMOVED**. Use `onRoomDestroyed` and `onStorageDestroyed` instead.
83
-
84
- **Migration Guide:**
85
-
86
- **Old (no longer works):**
87
-
88
- ```typescript
89
- // Room-level onDestroy (removed)
90
- const room = io.createRoom("room-id", {
91
- onDestroy: async ({ encodedState, room }) => {
92
- // This no longer works
93
- await saveToDatabase(room, encodedState);
94
- },
95
- });
96
-
97
- // Server-level onRoomDeleted (removed)
98
- io.server({
99
- onRoomDeleted: async ({ encodedState, room }) => {
100
- // This no longer works
101
- await saveToDatabase(room, encodedState);
102
- },
103
- });
104
- ```
105
-
106
- **New (recommended approach):**
107
-
108
- ```typescript
109
- // Server-level handlers (recommended - all listeners are now server-level)
110
- io.server({
111
- onRoomDestroyed: async ({ room }) => {
112
- // Room destroyed - use for cleanup if needed
113
- await cleanupRoom(room);
114
- },
115
- onStorageDestroyed: async ({ encodedState, room }) => {
116
- // Only fires when storage was initialized via initializeSession
117
- // Safe to save to database
118
- await saveToDatabase(room, encodedState);
119
- },
120
- });
121
-
122
- // Rooms are created without listener options
123
- const room = io.createRoom("room-id");
124
- ```
125
-
126
- #### Type Changes
127
-
128
- **BREAKING**: The following type changes may require TypeScript code updates:
129
- - **`IORoomDestroyedEvent`** no longer includes `encodedState` (breaking change if you were accessing `encodedState` from this event)
130
- - **`IORoomListenerEvent`** includes `encodedState: string | null` (used by `onStorageDestroyed`)
131
- - **All listeners must be configured at the server level** via `io.server()`, not at the room level via `createRoom()` (breaking change - room-level listener configuration is no longer supported)
132
- - **`CreateRoomOptions`** now correctly requires platform-specific room context properties (e.g., `env` and `state` for Cloudflare) when they are required by the platform, while properly handling optional properties like `meta` (breaking change - TypeScript will now correctly enforce required properties)
133
-
134
- ### Minor Changes
135
-
136
- - 037074e: Migrated build process from tsup to tsdown.
137
-
138
- ### Patch Changes
139
-
140
- - 2eb5def: Bumped dependencies.
141
- - Updated dependencies [2eb5def]
142
- - Updated dependencies [df5c39c]
143
- - Updated dependencies [c142910]
144
- - Updated dependencies [037074e]
145
- - Updated dependencies [07e2a1e]
146
- - @pluv/types@4.0.0
147
- - @pluv/crdt@4.0.0
148
- - @pluv/io@4.0.0
149
-
150
- ## 3.2.2
151
-
152
- ### Patch Changes
153
-
154
- - Updated dependencies [8665dbe]
155
- - @pluv/types@3.2.2
156
- - @pluv/crdt@3.2.2
157
- - @pluv/io@3.2.2
158
-
159
- ## 3.2.1
160
-
161
- ### Patch Changes
162
-
163
- - @pluv/crdt@3.2.1
164
- - @pluv/io@3.2.1
165
- - @pluv/types@3.2.1
166
-
167
- ## 3.2.0
168
-
169
- ### Patch Changes
170
-
171
- - Updated dependencies [6d2b257]
172
- - @pluv/io@3.2.0
173
- - @pluv/crdt@3.2.0
174
- - @pluv/types@3.2.0
175
-
176
- ## 3.1.7
177
-
178
- ### Patch Changes
179
-
180
- - Updated dependencies [f1d56d9]
181
- - @pluv/io@3.1.7
182
- - @pluv/crdt@3.1.7
183
- - @pluv/types@3.1.7
184
-
185
- ## 3.1.6
186
-
187
- ### Patch Changes
188
-
189
- - @pluv/crdt@3.1.6
190
- - @pluv/io@3.1.6
191
- - @pluv/types@3.1.6
192
-
193
- ## 3.1.5
194
-
195
- ### Patch Changes
196
-
197
- - @pluv/crdt@3.1.5
198
- - @pluv/io@3.1.5
199
- - @pluv/types@3.1.5
200
-
201
- ## 3.1.4
202
-
203
- ### Patch Changes
204
-
205
- - @pluv/crdt@3.1.4
206
- - @pluv/io@3.1.4
207
- - @pluv/types@3.1.4
208
-
209
- ## 3.1.3
210
-
211
- ### Patch Changes
212
-
213
- - Updated dependencies [651a9f8]
214
- - @pluv/io@3.1.3
215
- - @pluv/crdt@3.1.3
216
- - @pluv/types@3.1.3
217
-
218
- ## 3.1.2
219
-
220
- ### Patch Changes
221
-
222
- - Updated dependencies [8f138aa]
223
- - @pluv/io@3.1.2
224
- - @pluv/crdt@3.1.2
225
- - @pluv/types@3.1.2
226
-
227
- ## 3.1.1
228
-
229
- ### Patch Changes
230
-
231
- - Updated dependencies [7b719bf]
232
- - @pluv/io@3.1.1
233
- - @pluv/crdt@3.1.1
234
- - @pluv/types@3.1.1
235
-
236
- ## 3.1.0
237
-
238
- ### Patch Changes
239
-
240
- - Updated dependencies [a40f4dc]
241
- - @pluv/io@3.1.0
242
- - @pluv/crdt@3.1.0
243
- - @pluv/types@3.1.0
244
-
245
- ## 3.0.0
246
-
247
- ### Major Changes
248
-
249
- - bc1ae91: **BREAKING** Removed deprecated `createPluvHandler`.
250
-
251
- ### Patch Changes
252
-
253
- - @pluv/io@3.0.0
254
- - @pluv/types@3.0.0
255
-
256
- ## 2.3.1
257
-
258
- ### Patch Changes
259
-
260
- - @pluv/io@2.3.1
261
- - @pluv/types@2.3.1
262
-
263
- ## 2.3.0
264
-
265
- ### Patch Changes
266
-
267
- - @pluv/io@2.3.0
268
- - @pluv/types@2.3.0
269
-
270
- ## 2.2.8
271
-
272
- ### Patch Changes
273
-
274
- - Updated dependencies [b60ccd8]
275
- - @pluv/io@2.2.8
276
- - @pluv/types@2.2.8
277
-
278
- ## 2.2.7
279
-
280
- ### Patch Changes
281
-
282
- - Updated dependencies [ec2717b]
283
- - @pluv/io@2.2.7
284
- - @pluv/types@2.2.7
285
-
286
- ## 2.2.6
287
-
288
- ### Patch Changes
289
-
290
- - @pluv/io@2.2.6
291
- - @pluv/types@2.2.6
292
-
293
- ## 2.2.5
294
-
295
- ### Patch Changes
296
-
297
- - @pluv/io@2.2.5
298
- - @pluv/types@2.2.5
299
-
300
- ## 2.2.4
301
-
302
- ### Patch Changes
303
-
304
- - @pluv/io@2.2.4
305
- - @pluv/types@2.2.4
306
-
307
- ## 2.2.3
308
-
309
- ### Patch Changes
310
-
311
- - @pluv/io@2.2.3
312
- - @pluv/types@2.2.3
313
-
314
- ## 2.2.2
315
-
316
- ### Patch Changes
317
-
318
- - @pluv/io@2.2.2
319
- - @pluv/types@2.2.2
320
-
321
- ## 2.2.1
322
-
323
- ### Patch Changes
324
-
325
- - @pluv/io@2.2.1
326
- - @pluv/types@2.2.1
327
-
328
- ## 2.2.0
329
-
330
- ### Patch Changes
331
-
332
- - Updated dependencies [cb660cd]
333
- - @pluv/io@2.2.0
334
- - @pluv/types@2.2.0
335
-
336
- ## 2.1.0
337
-
338
- ### Patch Changes
339
-
340
- - @pluv/io@2.1.0
341
- - @pluv/types@2.1.0
342
-
343
- ## 2.0.2
344
-
345
- ### Patch Changes
346
-
347
- - @pluv/io@2.0.2
348
- - @pluv/types@2.0.2
349
-
350
- ## 2.0.1
351
-
352
- ### Patch Changes
353
-
354
- - @pluv/io@2.0.1
355
- - @pluv/types@2.0.1
356
-
357
- ## 2.0.0
358
-
359
- ### Patch Changes
360
-
361
- - Updated dependencies [047a1d8]
362
- - @pluv/types@2.0.0
363
- - @pluv/io@2.0.0
364
-
365
- ## 1.0.2
366
-
367
- ### Patch Changes
368
-
369
- - @pluv/io@1.0.2
370
- - @pluv/types@1.0.2
371
-
372
- ## 1.0.1
373
-
374
- ### Patch Changes
375
-
376
- - Updated dependencies [c583be9]
377
- - @pluv/io@1.0.1
378
- - @pluv/types@1.0.1
379
-
380
- ## 1.0.0
381
-
382
- ### Major Changes
383
-
384
- - af94706: pluv.io is now stable and production ready!
385
-
386
- With this v1 release, pluv.io will now follow [semantic versioning](https://semver.org/) with more comprehensive release notes for future changes to the library.
387
-
388
- Checkout the [full documentation here](https://pluv.io/docs/introduction) to get started today!
389
-
390
- ### Patch Changes
391
-
392
- - Updated dependencies [af94706]
393
- - @pluv/io@1.0.0
394
- - @pluv/types@1.0.0
395
-
396
- ## 0.44.2
397
-
398
- ### Patch Changes
399
-
400
- - @pluv/io@0.44.2
401
- - @pluv/types@0.44.2
402
-
403
- ## 0.44.1
404
-
405
- ### Patch Changes
406
-
407
- - @pluv/io@0.44.1
408
- - @pluv/types@0.44.1
409
-
410
- ## 0.44.0
411
-
412
- ### Patch Changes
413
-
414
- - @pluv/io@0.44.0
415
- - @pluv/types@0.44.0
416
-
417
- ## 0.43.0
418
-
419
- ### Patch Changes
420
-
421
- - 29fe3fc: Update `platformNode` and `platformCloudflare` to be able to configure limits for `PluvIO` (when self-hosted).
422
- - Updated dependencies [e60a677]
423
- - Updated dependencies [0063e80]
424
- - Updated dependencies [244a973]
425
- - Updated dependencies [4b0fbb3]
426
- - @pluv/io@0.43.0
427
- - @pluv/types@0.43.0
428
-
429
- ## 0.42.0
430
-
431
- ### Patch Changes
432
-
433
- - a47e171: Deprecated `createPluvHandler`. Instead, documentation will be provided on how to host pluv.io yourself on Node.js and Cloudflare Workers.
434
- - Updated dependencies [cf1529a]
435
- - @pluv/io@0.42.0
436
- - @pluv/types@0.42.0
437
-
438
- ## 0.41.7
439
-
440
- ### Patch Changes
441
-
442
- - @pluv/io@0.41.7
443
- - @pluv/types@0.41.7
444
-
445
- ## 0.41.6
446
-
447
- ### Patch Changes
448
-
449
- - @pluv/io@0.41.6
450
- - @pluv/types@0.41.6
451
-
452
- ## 0.41.5
453
-
454
- ### Patch Changes
455
-
456
- - @pluv/io@0.41.5
457
- - @pluv/types@0.41.5
458
-
459
- ## 0.41.4
460
-
461
- ### Patch Changes
462
-
463
- - @pluv/io@0.41.4
464
- - @pluv/types@0.41.4
465
-
466
- ## 0.41.3
467
-
468
- ### Patch Changes
469
-
470
- - Updated dependencies [49051c0]
471
- - @pluv/io@0.41.3
472
- - @pluv/types@0.41.3
473
-
474
- ## 0.41.2
475
-
476
- ### Patch Changes
477
-
478
- - @pluv/io@0.41.2
479
- - @pluv/types@0.41.2
480
-
481
- ## 0.41.1
482
-
483
- ### Patch Changes
484
-
485
- - 324710f: Fix inferred context type.
486
- - @pluv/io@0.41.1
487
- - @pluv/types@0.41.1
488
-
489
- ## 0.41.0
490
-
491
- ### Patch Changes
492
-
493
- - d53bbdb: Fixed the return type of `createWsServer` from `createPluvHandler` to be `ws.WebSocketServer` instead of `ws.Server`.
494
- - Updated dependencies [73adf21]
495
- - Updated dependencies [f02a430]
496
- - Updated dependencies [0b908b3]
497
- - Updated dependencies [6422f3b]
498
- - Updated dependencies [555b88d]
499
- - Updated dependencies [a663c65]
500
- - Updated dependencies [555b88d]
501
- - @pluv/io@0.41.0
502
- - @pluv/types@0.41.0
503
-
504
- ## 0.40.2
505
-
506
- ### Patch Changes
507
-
508
- - @pluv/io@0.40.2
509
- - @pluv/types@0.40.2
510
-
511
- ## 0.40.1
512
-
513
- ### Patch Changes
514
-
515
- - @pluv/io@0.40.1
516
- - @pluv/types@0.40.1
517
-
518
- ## 0.40.0
519
-
520
- ### Patch Changes
521
-
522
- - @pluv/io@0.40.0
523
- - @pluv/types@0.40.0
524
-
525
- ## 0.39.1
526
-
527
- ### Patch Changes
528
-
529
- - @pluv/io@0.39.1
530
- - @pluv/types@0.39.1
531
-
532
- ## 0.39.0
533
-
534
- ### Patch Changes
535
-
536
- - 78a9c85: Update error codes for invalid websocket connection data to return a 1003 status code instead of 1011.
537
- - Updated dependencies [fe6e239]
538
- - Updated dependencies [737d508]
539
- - @pluv/io@0.39.0
540
- - @pluv/types@0.39.0
541
-
542
- ## 0.38.14
543
-
544
- ### Patch Changes
545
-
546
- - @pluv/io@0.38.14
547
- - @pluv/types@0.38.14
548
-
549
- ## 0.38.13
550
-
551
- ### Patch Changes
552
-
553
- - Updated dependencies [809afd3]
554
- - @pluv/io@0.38.13
555
- - @pluv/types@0.38.13
556
-
557
- ## 0.38.12
558
-
559
- ### Patch Changes
560
-
561
- - @pluv/io@0.38.12
562
- - @pluv/types@0.38.12
563
-
564
- ## 0.38.11
565
-
566
- ### Patch Changes
567
-
568
- - @pluv/io@0.38.11
569
- - @pluv/types@0.38.11
570
-
571
- ## 0.38.10
572
-
573
- ### Patch Changes
574
-
575
- - @pluv/io@0.38.10
576
- - @pluv/types@0.38.10
577
-
578
- ## 0.38.9
579
-
580
- ### Patch Changes
581
-
582
- - @pluv/io@0.38.9
583
- - @pluv/types@0.38.9
584
-
585
- ## 0.38.8
586
-
587
- ### Patch Changes
588
-
589
- - @pluv/io@0.38.8
590
- - @pluv/types@0.38.8
591
-
592
- ## 0.38.7
593
-
594
- ### Patch Changes
595
-
596
- - @pluv/io@0.38.7
597
- - @pluv/types@0.38.7
598
-
599
- ## 0.38.6
600
-
601
- ### Patch Changes
602
-
603
- - @pluv/io@0.38.6
604
- - @pluv/types@0.38.6
605
-
606
- ## 0.38.5
607
-
608
- ### Patch Changes
609
-
610
- - @pluv/io@0.38.5
611
- - @pluv/types@0.38.5
612
-
613
- ## 0.38.4
614
-
615
- ### Patch Changes
616
-
617
- - @pluv/io@0.38.4
618
- - @pluv/types@0.38.4
619
-
620
- ## 0.38.3
621
-
622
- ### Patch Changes
623
-
624
- - Updated dependencies [8346273]
625
- - @pluv/io@0.38.3
626
- - @pluv/types@0.38.3
627
-
628
- ## 0.38.2
629
-
630
- ### Patch Changes
631
-
632
- - Updated dependencies [039cd64]
633
- - @pluv/io@0.38.2
634
- - @pluv/types@0.38.2
635
-
636
- ## 0.38.1
637
-
638
- ### Patch Changes
639
-
640
- - @pluv/io@0.38.1
641
- - @pluv/types@0.38.1
642
-
643
- ## 0.38.0
644
-
645
- ### Patch Changes
646
-
647
- - Updated dependencies [f4ceca3]
648
- - @pluv/types@0.38.0
649
- - @pluv/io@0.38.0
650
-
651
- ## 0.37.7
652
-
653
- ### Patch Changes
654
-
655
- - @pluv/io@0.37.7
656
- - @pluv/types@0.37.7
657
-
658
- ## 0.37.6
659
-
660
- ### Patch Changes
661
-
662
- - Updated dependencies [3a874f1]
663
- - @pluv/io@0.37.6
664
- - @pluv/types@0.37.6
665
-
666
- ## 0.37.5
667
-
668
- ### Patch Changes
669
-
670
- - Updated dependencies [9a9ecee]
671
- - @pluv/io@0.37.5
672
- - @pluv/types@0.37.5
673
-
674
- ## 0.37.4
675
-
676
- ### Patch Changes
677
-
678
- - @pluv/io@0.37.4
679
- - @pluv/types@0.37.4
680
-
681
- ## 0.37.3
682
-
683
- ### Patch Changes
684
-
685
- - @pluv/io@0.37.3
686
- - @pluv/types@0.37.3
687
-
688
- ## 0.37.2
689
-
690
- ### Patch Changes
691
-
692
- - @pluv/io@0.37.2
693
- - @pluv/types@0.37.2
694
-
695
- ## 0.37.1
696
-
697
- ### Patch Changes
698
-
699
- - @pluv/io@0.37.1
700
- - @pluv/types@0.37.1
701
-
702
- ## 0.37.0
703
-
704
- ### Minor Changes
705
-
706
- - 5165be0: **BREAKING**
707
-
708
- Updated the `platformNode` function to return an entire `createIO` input object. Now `createIO` must be called with `platformNode`'s return value as an input.
709
-
710
- ```ts
711
- // Before
712
-
713
- import { createIO } from "@pluv/io";
714
- import { platformNode } from "@pluv/platform-node";
715
-
716
- export const io = createIO({
717
- authorize: {
718
- // ...
719
- },
720
- context: {
721
- // ...
722
- },
723
- platform: platformNode<Meta>({
724
- // ...
725
- }),
726
- // ...
727
- });
728
-
729
- // After
730
-
731
- import { createIO } from "@pluv/io";
732
- import { infer, platformNode } from "@pluv/platform-node";
733
-
734
- // Types must now be inferred like so, due to TypeScript limitations around partial inferences
735
- // Note that this types variable is defined outside of the `createIO` function
736
- const types = infer((i) => ({
737
- meta: i<Meta>,
738
- }));
739
- export const io = createIO(
740
- platformNode({
741
- authorize: {
742
- // ...
743
- },
744
- context: {
745
- // ...
746
- },
747
- // Optional: Pass inferred types here
748
- types,
749
- // ...
750
- }),
751
- );
752
- ```
753
-
754
- ### Patch Changes
755
-
756
- - 9b74abb: Improved type inference when calling `PluvIO.server` to not include options that are always undefined (i.e. are not allowed by the specified platform).
757
- - Updated dependencies [9b74abb]
758
- - @pluv/io@0.37.0
759
- - @pluv/types@0.37.0
760
-
761
- ## 0.36.0
762
-
763
- ### Patch Changes
764
-
765
- - @pluv/io@0.36.0
766
- - @pluv/types@0.36.0
767
-
768
- ## 0.35.4
769
-
770
- ### Patch Changes
771
-
772
- - Updated dependencies [5d3a56f]
773
- - @pluv/io@0.35.4
774
- - @pluv/types@0.35.4
775
-
776
- ## 0.35.3
777
-
778
- ### Patch Changes
779
-
780
- - @pluv/io@0.35.3
781
- - @pluv/types@0.35.3
782
-
783
- ## 0.35.2
784
-
785
- ### Patch Changes
786
-
787
- - Updated dependencies [81cb692]
788
- - @pluv/types@0.35.2
789
- - @pluv/io@0.35.2
790
-
791
- ## 0.35.1
792
-
793
- ### Patch Changes
794
-
795
- - @pluv/io@0.35.1
796
- - @pluv/types@0.35.1
797
-
798
- ## 0.35.0
799
-
800
- ### Patch Changes
801
-
802
- - Updated dependencies [c9073ad]
803
- - @pluv/io@0.35.0
804
- - @pluv/types@0.35.0
805
-
806
- ## 0.34.1
807
-
808
- ### Patch Changes
809
-
810
- - Updated dependencies [d639427]
811
- - @pluv/io@0.34.1
812
- - @pluv/types@0.34.1
813
-
814
- ## 0.34.0
815
-
816
- ### Minor Changes
817
-
818
- - 70af3b2: Updated `@pluv/io` to have a `handleMode` internally that determines if connections are handled by the `PluvServer` or by the platform itself (i.e. outside of the `PluvServer`). The internals of `@pluv/platform-node` and `@pluv/platform-cloudflare` have been updated with the required changes for this.
819
-
820
- ### Patch Changes
821
-
822
- - Updated dependencies [0c920ea]
823
- - Updated dependencies [70af3b2]
824
- - @pluv/io@0.34.0
825
- - @pluv/types@0.34.0
826
-
827
- ## 0.33.0
828
-
829
- ### Patch Changes
830
-
831
- - @pluv/io@0.33.0
832
- - @pluv/types@0.33.0
833
-
834
- ## 0.32.9
835
-
836
- ### Patch Changes
837
-
838
- - @pluv/io@0.32.9
839
- - @pluv/types@0.32.9
840
-
841
- ## 0.32.8
842
-
843
- ### Patch Changes
844
-
845
- - Updated dependencies [e659f8a]
846
- - @pluv/io@0.32.8
847
- - @pluv/types@0.32.8
848
-
849
- ## 0.32.7
850
-
851
- ### Patch Changes
852
-
853
- - @pluv/io@0.32.7
854
- - @pluv/types@0.32.7
855
-
856
- ## 0.32.6
857
-
858
- ### Patch Changes
859
-
860
- - Updated dependencies [c0956e7]
861
- - @pluv/io@0.32.6
862
- - @pluv/types@0.32.6
863
-
864
- ## 0.32.5
865
-
866
- ### Patch Changes
867
-
868
- - 98d7585: Update `meta` type on platform contexts to allow for nested json types.
869
- - @pluv/io@0.32.5
870
- - @pluv/types@0.32.5
871
-
872
- ## 0.32.4
873
-
874
- ### Patch Changes
875
-
876
- - fd054db: Add support for adding metadata to context when creating a room.
877
-
878
- ```ts
879
- import { createIO } from "@pluv/io";
880
-
881
- // If using Cloudflare
882
- import { platformCloudflare } from "@pluv/platform-cloudflare";
883
-
884
- const io = createIO({
885
- // ...
886
- platform: platformCloudflare<CloudflareEnv, { myCustomData: string }>(),
887
- context: ({
888
- env,
889
- state,
890
- // This is now available on the context function
891
- meta,
892
- }) => ({ env, state, meta }),
893
- });
894
-
895
- const ioServer = io.server();
896
-
897
- ioServer.createRoom("my-room", {
898
- // ...
899
- // This will now be a required property when creating a room
900
- meta: { myCustomData: "hello world" },
901
- });
902
-
903
- // If using Node.js
904
- import { platformNode } from "@pluv/platform-node";
905
-
906
- const io = createIO({
907
- // ...
908
- platform: platformNode<{ myCustomData: string }>(),
909
- context: ({
910
- // This is now available on the context function
911
- meta,
912
- }) => ({ env, state, meta }),
913
- });
914
-
915
- const ioServer = io.server();
916
-
917
- ioServer.createRoom("my-room", {
918
- // ...
919
- // This will now be a required property when creating a room
920
- meta: { myCustomData: "hello world" },
921
- });
922
- ```
923
-
924
- - @pluv/io@0.32.4
925
- - @pluv/types@0.32.4
926
-
927
- ## 0.32.3
928
-
929
- ### Patch Changes
930
-
931
- - Updated dependencies [bb21274]
932
- - @pluv/io@0.32.3
933
- - @pluv/types@0.32.3
934
-
935
- ## 0.32.2
936
-
937
- ### Patch Changes
938
-
939
- - Updated dependencies [890d45b]
940
- - @pluv/io@0.32.2
941
- - @pluv/types@0.32.2
942
-
943
- ## 0.32.1
944
-
945
- ### Patch Changes
946
-
947
- - @pluv/io@0.32.1
948
- - @pluv/types@0.32.1
949
-
950
- ## 0.32.0
951
-
952
- ### Patch Changes
953
-
954
- - Updated dependencies [cde5305]
955
- - @pluv/io@0.32.0
956
- - @pluv/types@0.32.0
957
-
958
- ## 0.31.0
959
-
960
- ### Minor Changes
961
-
962
- - b3c31d7: **BREAKING**
963
-
964
- Fixed platform context types. This will require additional properties when registering a websocket and creating authorization tokens. See example below:
965
-
966
- ```ts
967
- // @pluv/platform-node example
968
-
969
- import { platformNode } from "@pluv/platform-node";
970
- import { createIO } from "@pluv/io";
971
- import type { IncomingMessage } from "node:http";
972
- import { z } from "zod";
973
-
974
- const io = createIO({
975
- // If using a function authorize parameter, `req` is now available as a param
976
- authorize: ({ req }) => ({
977
- required: true,
978
- secret: "MY-CUSTOM-SECRET",
979
- user: z.object({
980
- id: z.string(),
981
- }),
982
- }),
983
- platformNode(),
984
- });
985
-
986
- // Before
987
- io.createToken({
988
- room: "my-custom-room",
989
- user: { id: "abc123" },
990
- });
991
-
992
- // After
993
- io.createToken({
994
- room: "my-custom-room",
995
- user: { id: "abc123" },
996
-
997
- // Previously not required, but now required
998
- req: req as IncomingMessage,
999
- });
1000
- ```
1001
-
1002
- ```ts
1003
- // @pluv/platform-cloudflare example
1004
-
1005
- import { platformCloudflare } from "@pluv/platform-cloudflare";
1006
- import { createIO } from "@pluv/io";
1007
- import { z } from "zod";
1008
-
1009
- const io = createIO({
1010
- // If using a function authorize parameter, `env` and `request` are now available as params
1011
- authorize: ({ env, request }) => ({
1012
- required: true,
1013
- secret: "MY-CUSTOM-SECRET",
1014
- user: z.object({
1015
- id: z.string(),
1016
- }),
1017
- }),
1018
- platformCloudflare(),
1019
- });
1020
-
1021
- // Before
1022
- io.createToken({
1023
- room: "my-custom-room",
1024
- user: { id: "abc123" },
1025
- });
1026
-
1027
- // After
1028
- io.createToken({
1029
- room: "my-custom-room",
1030
- user: { id: "abc123" },
1031
-
1032
- // Previously not required, but now required
1033
- env: env as Env,
1034
- request: request as Request,
1035
- });
1036
- ```
1037
-
1038
- - 0f98064: **BREAKING**
1039
-
1040
- Update `authorize` params so that `roomId` is renamed to `room` and more platform-specific parameters are exposed. See example below:
1041
-
1042
- ```ts
1043
- // @pluv/platform-cloudflare example
1044
- import { createPluvHandler } from "@pluv/platform-cloudflare";
1045
-
1046
- // Before
1047
- createPluvHandler({
1048
- // ...
1049
- authorize: ({ roomId }) => {
1050
- // ...
1051
- },
1052
- });
1053
-
1054
- // After
1055
- createPluvHandler({
1056
- // ...
1057
- authorize: ({ env, request, room }) => {
1058
- // ...
1059
- },
1060
- });
1061
- ```
1062
-
1063
- ```ts
1064
- // @pluv/platform-node example
1065
- import { createPluvHandler } from "@pluv/platform-node";
1066
-
1067
- // Before
1068
- createPluvHandler({
1069
- // ...
1070
- authorize: ({ roomId }) => {
1071
- // ...
1072
- },
1073
- });
1074
-
1075
- // After
1076
- createPluvHandler({
1077
- // ...
1078
- authorize: ({ req, room }) => {
1079
- // ...
1080
- },
1081
- });
1082
- ```
1083
-
1084
- ### Patch Changes
1085
-
1086
- - Updated dependencies [b3c31d7]
1087
- - @pluv/io@0.31.0
1088
- - @pluv/types@0.31.0
1089
-
1090
- ## 0.30.2
1091
-
1092
- ### Patch Changes
1093
-
1094
- - 6521b05: Export the types of `NodePlatform` and `CloudflarePlatform`.
1095
- - @pluv/io@0.30.2
1096
- - @pluv/types@0.30.2
1097
-
1098
- ## 0.30.1
1099
-
1100
- ### Patch Changes
1101
-
1102
- - Updated dependencies [b9c3633]
1103
- - @pluv/io@0.30.1
1104
- - @pluv/types@0.30.1
1105
-
1106
- ## 0.30.0
1107
-
1108
- ### Patch Changes
1109
-
1110
- - Updated dependencies [7246a9e]
1111
- - @pluv/io@0.30.0
1112
- - @pluv/types@0.30.0
1113
-
1114
- ## 0.29.0
1115
-
1116
- ### Patch Changes
1117
-
1118
- - @pluv/io@0.29.0
1119
- - @pluv/types@0.29.0
1120
-
1121
- ## 0.28.0
1122
-
1123
- ### Patch Changes
1124
-
1125
- - @pluv/io@0.28.0
1126
- - @pluv/types@0.28.0
1127
-
1128
- ## 0.27.0
1129
-
1130
- ### Patch Changes
1131
-
1132
- - Updated dependencies [19ed36c]
1133
- - Updated dependencies [e309b0b]
1134
- - @pluv/io@0.27.0
1135
- - @pluv/types@0.27.0
1136
-
1137
- ## 0.26.0
1138
-
1139
- ### Patch Changes
1140
-
1141
- - 2a6e078: Updated `@pluv/platform-cloudflare` and `@pluv/platform-node` so that exact properties are used in its initialization.
1142
- - @pluv/io@0.26.0
1143
- - @pluv/types@0.26.0
1144
-
1145
- ## 0.25.4
1146
-
1147
- ### Patch Changes
1148
-
1149
- - Updated dependencies [7a9080c]
1150
- - @pluv/io@0.25.4
1151
- - @pluv/types@0.25.4
1152
-
1153
- ## 0.25.3
1154
-
1155
- ### Patch Changes
1156
-
1157
- - Updated dependencies [50d9b96]
1158
- - @pluv/io@0.25.3
1159
- - @pluv/types@0.25.3
1160
-
1161
- ## 0.25.2
1162
-
1163
- ### Patch Changes
1164
-
1165
- - Updated dependencies [60a0bf1]
1166
- - @pluv/io@0.25.2
1167
- - @pluv/types@0.25.2
1168
-
1169
- ## 0.25.1
1170
-
1171
- ### Patch Changes
1172
-
1173
- - Updated dependencies [3925f7c]
1174
- - @pluv/io@0.25.1
1175
- - @pluv/types@0.25.1
1176
-
1177
- ## 0.25.0
1178
-
1179
- ### Minor Changes
1180
-
1181
- - 9db06ba: **BREAKING **
1182
-
1183
- Fixed typos `persistance` to `persistence`.
1184
-
1185
- This does mean that all properties referencing `persistance` will need to be fixed. Examples below:
1186
-
1187
- ```bash
1188
- # Re-install @pluv/persistence-redis
1189
- pnpm uninstall @pluv/persistance-redis
1190
- pnpm install @pluv/persistence-redis
1191
- ```
1192
-
1193
- ```ts
1194
- // Before
1195
- createIO({
1196
- platform: platformNode({
1197
- persistance: new PersistanceRedis(/* ... */),
1198
- }),
1199
- });
1200
-
1201
- // After
1202
- createIO({
1203
- platform: platformNode({
1204
- persistence: new PersistenceRedis(/* ... */),
1205
- }),
1206
- });
1207
- ```
1208
-
1209
- `@pluv/persistance-redis` has been deprecated for `@pluv/persistence-redis`.
1210
-
1211
- ### Patch Changes
1212
-
1213
- - Updated dependencies [4e078ca]
1214
- - Updated dependencies [f556d30]
1215
- - Updated dependencies [9db06ba]
1216
- - @pluv/io@0.25.0
1217
- - @pluv/types@0.25.0
1218
-
1219
- ## 0.24.1
1220
-
1221
- ### Patch Changes
1222
-
1223
- - @pluv/io@0.24.1
1224
- - @pluv/types@0.24.1
1225
-
1226
- ## 0.24.0
1227
-
1228
- ### Patch Changes
1229
-
1230
- - Updated dependencies [6ac8a46]
1231
- - Updated dependencies [c26986d]
1232
- - @pluv/io@0.24.0
1233
- - @pluv/types@0.24.0
1234
-
1235
- ## 0.23.0
1236
-
1237
- ### Patch Changes
1238
-
1239
- - Updated dependencies [c01b16f]
1240
- - @pluv/io@0.23.0
1241
- - @pluv/types@0.23.0
1242
-
1243
- ## 0.22.0
1244
-
1245
- ### Patch Changes
1246
-
1247
- - Updated dependencies [650e577]
1248
- - @pluv/io@0.22.0
1249
- - @pluv/types@0.22.0
1250
-
1251
- ## 0.21.1
1252
-
1253
- ### Patch Changes
1254
-
1255
- - @pluv/io@0.21.1
1256
- - @pluv/types@0.21.1
1257
-
1258
- ## 0.21.0
1259
-
1260
- ### Minor Changes
1261
-
1262
- - 41b15e4: **BREAKING** - Updated `sessions` type in the procedure context from `Map<string, WebSocketSession>` to `readonly WebSocketSession[]`.
1263
- - f570c8a: **BREAKING**: The original request object is no longer available in the context of any event resolvers.
1264
-
1265
- Previously, the request object that was passed into `PluvServer.getRoom` would be made available on the context object of each of the resolvers. This is no-longer a part of the event context, and therefore needs to be omitted from calls to `PluvServer.getRoom`.
1266
-
1267
- ```ts
1268
- // Before
1269
-
1270
- // With platform-node
1271
- ioServer.getRoom(websocket, { req, token });
1272
-
1273
- // With platform-cloudflare
1274
- ioServer.getRoom(websocket, { env, req, token });
1275
- ```
1276
-
1277
- ```ts
1278
- // Now
1279
-
1280
- // With platform-node
1281
- ioServer.getRoom(websocket, { req });
1282
-
1283
- // With platform-cloudflare
1284
- ioServer.getRoom(websocket, { env, req });
1285
- ```
1286
-
1287
- - b98ab6b: Internal updates to platforms (i.e. `@pluv/platform-cloudflare` and `@pluv/platform-node`) to be able to support Cloudflare Worker Websocket Hibernation APIs.
1288
-
1289
- ### Patch Changes
1290
-
1291
- - cc2613e: Moved `sessionId` from being derived in `IORoom` to being derived as a getter in `AbstractWebsocket`.
1292
- - Updated dependencies [307bd44]
1293
- - Updated dependencies [41b15e4]
1294
- - Updated dependencies [f570c8a]
1295
- - Updated dependencies [b98ab6b]
1296
- - Updated dependencies [4c2228d]
1297
- - Updated dependencies [cc2613e]
1298
- - @pluv/io@0.21.0
1299
- - @pluv/types@0.21.0
1300
-
1301
- ## 0.20.0
1302
-
1303
- ### Patch Changes
1304
-
1305
- - @pluv/io@0.20.0
1306
- - @pluv/types@0.20.0
1307
-
1308
- ## 0.19.0
1309
-
1310
- ### Patch Changes
1311
-
1312
- - @pluv/io@0.19.0
1313
- - @pluv/types@0.19.0
1314
-
1315
- ## 0.18.0
1316
-
1317
- ### Minor Changes
1318
-
1319
- - 99b5ca9: ## Breaking Changes
1320
- - `@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.
1321
-
1322
- ### Before:
1323
-
1324
- ```ts
1325
- // backend/io.ts
1326
-
1327
- import { createIO } from "@pluv/io";
1328
- import { createPluvHandler, platformNode } from "@pluv/platform-node";
1329
- import { z } from "zod";
1330
-
1331
- export const io = createIO({
1332
- platform: platformNode(),
1333
- })
1334
- .event("SEND_MESSAGE", {
1335
- input: z.object({ message: z.string() }),
1336
- resolver: ({ message }) => ({ RECEIVE_MESSAGE: { message } }),
1337
- })
1338
- .event("DOUBLE_VALUE", {
1339
- input: z.object({ value: z.number() }),
1340
- resolver: ({ value }) => ({ VALUE_DOUBLED: { value: value * 2 } }),
1341
- });
1342
-
1343
- const Pluv = createPluvHandler({
1344
- io,
1345
- /* ... */
1346
- });
1347
- ```
1348
-
1349
- ```ts
1350
- // frontend/pluv.ts
1351
-
1352
- import { createClient } from "@pluv/react";
1353
- import type { io } from "../backend/io";
1354
-
1355
- const client = createClient<typeof io>({
1356
- /* ... */
1357
- });
1358
- ```
1359
-
1360
- ### Now:
1361
-
1362
- ```ts
1363
- import { createIO } from "@pluv/io";
1364
- import { createPluvHandler, platformNode } from "@pluv/platform-node";
1365
- import { z } from "zod";
1366
-
1367
- const io = createIO({
1368
- platform: platformNode(),
1369
- });
1370
-
1371
- const router = io.router({
1372
- SEND_MESSAGE: io.procedure
1373
- .input(z.object({ message: z.string() }))
1374
- .broadcast(({ message }) => ({
1375
- RECEIVE_MESSAGE: { message },
1376
- })),
1377
- DOUBLE_VALUE: io.procedure
1378
- .input(z.object({ value: z.number() }))
1379
- .broadcast(({ value }) => ({
1380
- VALUE_DOUBLED: { value: value * 2 },
1381
- })),
1382
- });
1383
-
1384
- export const ioServer = io.server({ router });
1385
-
1386
- const Pluv = createPluvHandler({
1387
- io: ioServer, // <- This uses the PluvServer now
1388
- /* ... */
1389
- });
1390
- ```
1391
-
1392
- ```ts
1393
- // frontend/pluv.ts
1394
-
1395
- import { createClient } from "@pluv/react";
1396
- import type { ioServer } from "../backend/io";
1397
-
1398
- // This users the PluvServer type now
1399
- const client = createClient<typeof ioServer>({
1400
- /* ... */
1401
- });
1402
- ```
1403
-
1404
- - `PluvRouter` instances can also be merged via the `mergeRouters` method, which effectively performs an `Object.assign` of the events object and returns a new `PluvRouter` with the correct types:
1405
-
1406
- ```ts
1407
- const router = io.mergeRouters(router1, router2);
1408
- ```
1409
-
1410
- ### Patch Changes
1411
-
1412
- - Updated dependencies [428c21c]
1413
- - Updated dependencies [329dbcd]
1414
- - Updated dependencies [99b5ca9]
1415
- - @pluv/io@0.18.0
1416
- - @pluv/types@0.18.0
1417
-
1418
- ## 0.17.3
1419
-
1420
- ### Patch Changes
1421
-
1422
- - @pluv/io@0.17.3
1423
- - @pluv/types@0.17.3
1424
-
1425
- ## 0.17.2
1426
-
1427
- ### Patch Changes
1428
-
1429
- - @pluv/io@0.17.2
1430
- - @pluv/types@0.17.2
1431
-
1432
- ## 0.17.1
1433
-
1434
- ### Patch Changes
1435
-
1436
- - @pluv/io@0.17.1
1437
- - @pluv/types@0.17.1
1438
-
1439
- ## 0.17.0
1440
-
1441
- ### Minor Changes
1442
-
1443
- - 507bc00: _BREAKING_: The `authorize` config when calling `createIO` can now also be a function that exposes the platform context.
1444
- This allows accessing the `env` in Cloudflare workers.
1445
-
1446
- ```ts
1447
- import { createIO } from "@pluv/io";
1448
- import { platformCloudflare } from "@pluv/platform-cloudflare";
1449
- import { z } from "zod";
1450
-
1451
- const io = createIO({
1452
- authorize: ({ env }) => ({
1453
- required: true,
1454
- secret: env.PLUV_AUTHORIZE_SECRET,
1455
- user: z.object({
1456
- id: z.string(),
1457
- name: z.string(),
1458
- }),
1459
- }),
1460
- platform: platformCloudflare<{ PLUV_AUTHORIZE_SECRET: string }>(),
1461
- // ...
1462
- });
1463
- ```
1464
-
1465
- This also requires that the platform contexts are passed to `io.createToken`.
1466
-
1467
- ```ts
1468
- // If using `platformNode`
1469
- await io.createToken({
1470
- req, // This `IncomingMessage` is now required
1471
- room,
1472
- user: {
1473
- id: "user_123",
1474
- name: "john doe",
1475
- },
1476
- });
1477
-
1478
- // If using `platformCloudflare`
1479
- await io.createToken({
1480
- env, // This env is now required from the handler's fetch function
1481
- room,
1482
- user: {
1483
- id: "user_123",
1484
- name: "john doe",
1485
- },
1486
- });
1487
- ```
1488
-
1489
- ### Patch Changes
1490
-
1491
- - Updated dependencies [507bc00]
1492
- - @pluv/types@0.17.0
1493
- - @pluv/io@0.17.0
1494
-
1495
- ## 0.16.3
1496
-
1497
- ### Patch Changes
1498
-
1499
- - Updated dependencies [0bf0934]
1500
- - @pluv/io@0.16.3
1501
- - @pluv/types@0.16.3
1502
-
1503
- ## 0.16.2
1504
-
1505
- ### Patch Changes
1506
-
1507
- - Updated dependencies [06f572d]
1508
- - @pluv/io@0.16.2
1509
- - @pluv/types@0.16.2
1510
-
1511
- ## 0.16.1
1512
-
1513
- ### Patch Changes
1514
-
1515
- - Updated dependencies [cd05d96]
1516
- - @pluv/io@0.16.1
1517
- - @pluv/types@0.16.1
1518
-
1519
- ## 0.16.0
1520
-
1521
- ### Patch Changes
1522
-
1523
- - Updated dependencies [4280220]
1524
- - @pluv/io@0.16.0
1525
- - @pluv/types@0.16.0
1526
-
1527
- ## 0.15.0
1528
-
1529
- ### Patch Changes
1530
-
1531
- - @pluv/io@0.15.0
1532
- - @pluv/types@0.15.0
1533
-
1534
- ## 0.14.1
1535
-
1536
- ### Patch Changes
1537
-
1538
- - @pluv/io@0.14.1
1539
- - @pluv/types@0.14.1
1540
-
1541
- ## 0.14.0
1542
-
1543
- ### Patch Changes
1544
-
1545
- - @pluv/io@0.14.0
1546
- - @pluv/types@0.14.0
1547
-
1548
- ## 0.13.0
1549
-
1550
- ### Patch Changes
1551
-
1552
- - @pluv/io@0.13.0
1553
- - @pluv/types@0.13.0
1554
-
1555
- ## 0.12.3
1556
-
1557
- ### Patch Changes
1558
-
1559
- - da9f600: Upgraded dependencies
1560
- - Updated dependencies [da9f600]
1561
- - @pluv/io@0.12.3
1562
- - @pluv/types@0.12.3
1563
-
1564
- ## 0.12.2
1565
-
1566
- ### Patch Changes
1567
-
1568
- - 259a7da: Bumped dependencies
1569
-
1570
- ## 0.12.1
1571
-
1572
- ### Patch Changes
1573
-
1574
- - @pluv/io@0.12.1
1575
- - @pluv/types@0.12.1
1576
-
1577
- ## 0.12.0
1578
-
1579
- ### Patch Changes
1580
-
1581
- - @pluv/io@0.12.0
1582
- - @pluv/types@0.12.0
1583
-
1584
- ## 0.11.1
1585
-
1586
- ### Patch Changes
1587
-
1588
- - 74b3061: Bumped minor and patch dependencies.
1589
- - Updated dependencies [74b3061]
1590
- - @pluv/io@0.11.1
1591
- - @pluv/types@0.11.1
1592
-
1593
- ## 0.11.0
1594
-
1595
- ### Patch Changes
1596
-
1597
- - Updated dependencies [b538f5c]
1598
- - @pluv/io@0.11.0
1599
- - @pluv/types@0.11.0
1600
-
1601
- ## 0.10.3
1602
-
1603
- ### Patch Changes
1604
-
1605
- - Updated dependencies [a7d3ad1]
1606
- - @pluv/io@0.10.3
1607
- - @pluv/types@0.10.3
1608
-
1609
- ## 0.10.2
1610
-
1611
- ### Patch Changes
1612
-
1613
- - Updated dependencies [3deee13]
1614
- - @pluv/io@0.10.2
1615
- - @pluv/types@0.10.2
1616
-
1617
- ## 0.10.1
1618
-
1619
- ### Patch Changes
1620
-
1621
- - 0eeb67c: Passed through sessionId and userId into platform websockets.
1622
- - 885835d: remove unnecessary dependency
1623
- - Updated dependencies [0eeb67c]
1624
- - Updated dependencies [885835d]
1625
- - @pluv/io@0.10.1
1626
- - @pluv/types@0.10.1
1627
-
1628
- ## 0.10.0
1629
-
1630
- ### Minor Changes
1631
-
1632
- - f43f1cc: Change packages to all be versioned together for consistency.
1633
-
1634
- ### Patch Changes
1635
-
1636
- - Updated dependencies [f43f1cc]
1637
- - @pluv/io@0.10.0
1638
- - @pluv/types@0.10.0
1639
-
1640
- ## 0.3.4
1641
-
1642
- ### Patch Changes
1643
-
1644
- - @pluv/io@0.7.2
1645
-
1646
- ## 0.3.3
1647
-
1648
- ### Patch Changes
1649
-
1650
- - 8fba48b: fix including incorrect dependency
1651
- - 8997c65: bumped dependencies
1652
- - Updated dependencies [8fba48b]
1653
- - Updated dependencies [8997c65]
1654
- - @pluv/types@0.2.2
1655
- - @pluv/io@0.7.1
1656
-
1657
- ## 0.3.2
1658
-
1659
- ### Patch Changes
1660
-
1661
- - 8d11672: bumped dependencies to latest
1662
- - Updated dependencies [8d11672]
1663
- - Updated dependencies [829d31b]
1664
- - @pluv/types@0.2.1
1665
- - @pluv/io@0.7.0
1666
-
1667
- ## 0.3.1
1668
-
1669
- ### Patch Changes
1670
-
1671
- - Updated dependencies [2e7cbfa]
1672
- - @pluv/io@0.6.0
1673
-
1674
- ## 0.3.0
1675
-
1676
- ### Minor Changes
1677
-
1678
- - ae4e1f1: added platform-specific contexts to expose env in cloudflare and req in node.js
1679
-
1680
- ### Patch Changes
1681
-
1682
- - Updated dependencies [ae4e1f1]
1683
- - @pluv/io@0.5.0
1684
-
1685
- ## 0.2.1
1686
-
1687
- ### Patch Changes
1688
-
1689
- - Updated dependencies [8917309]
1690
- - @pluv/io@0.4.2
1691
-
1692
- ## 0.2.0
1693
-
1694
- ### Minor Changes
1695
-
1696
- - 5bbfb98: added createPluvHandler to automatically set-up a pluv server with reasonable defaults
1697
-
1698
- ### Patch Changes
1699
-
1700
- - 5bbfb98: require ws as a peer dependency
1701
- - b85a232: bumped dependencies
1702
- - Updated dependencies [b85a232]
1703
- - @pluv/io@0.4.1
1704
- - @pluv/types@0.2.0
1705
-
1706
- ## 0.1.18
1707
-
1708
- ### Patch Changes
1709
-
1710
- - 41943cf: bumped dependencies
1711
- - 3518a83: bumped dependencies
1712
- - Updated dependencies [41943cf]
1713
- - Updated dependencies [0dd847e]
1714
- - Updated dependencies [bb2886b]
1715
- - Updated dependencies [ae679a8]
1716
- - Updated dependencies [3518a83]
1717
- - @pluv/io@0.4.0
1718
- - @pluv/types@0.2.0
1719
-
1720
- ## 0.1.17
1721
-
1722
- ### Patch Changes
1723
-
1724
- - Updated dependencies [abb3622]
1725
- - @pluv/io@0.3.9
1726
-
1727
- ## 0.1.16
1728
-
1729
- ### Patch Changes
1730
-
1731
- - Updated dependencies [bcf1c3e]
1732
- - @pluv/io@0.3.8
1733
-
1734
- ## 0.1.15
1735
-
1736
- ### Patch Changes
1737
-
1738
- - Updated dependencies [ecc4040]
1739
- - @pluv/io@0.3.7
1740
-
1741
- ## 0.1.14
1742
-
1743
- ### Patch Changes
1744
-
1745
- - Updated dependencies [a7e2980]
1746
- - @pluv/io@0.3.6
1747
-
1748
- ## 0.1.13
1749
-
1750
- ### Patch Changes
1751
-
1752
- - 78fd644: updated readmes with links to the documentation website
1753
- - Updated dependencies [78fd644]
1754
- - @pluv/io@0.3.5
1755
-
1756
- ## 0.1.12
1757
-
1758
- ### Patch Changes
1759
-
1760
- - 850626e: bumped dependencies
1761
- - Updated dependencies [850626e]
1762
- - @pluv/types@0.1.6
1763
- - @pluv/io@0.3.4
1764
-
1765
- ## 0.1.11
1766
-
1767
- ### Patch Changes
1768
-
1769
- - Updated dependencies [77069a1]
1770
- - @pluv/io@0.3.3
1771
- - @pluv/types@0.1.5
1772
-
1773
- ## 0.1.10
1774
-
1775
- ### Patch Changes
1776
-
1777
- - Updated dependencies [9ae251d]
1778
- - @pluv/io@0.3.2
1779
-
1780
- ## 0.1.9
1781
-
1782
- ### Patch Changes
1783
-
1784
- - 74870ee: bumped dependencies
1785
- - Updated dependencies [74870ee]
1786
- - @pluv/types@0.1.5
1787
- - @pluv/io@0.3.1
1788
-
1789
- ## 0.1.8
1790
-
1791
- ### Patch Changes
1792
-
1793
- - 57ae13f: bumped dependencies
1794
- - Updated dependencies [c5567f1]
1795
- - Updated dependencies [c5567f1]
1796
- - @pluv/io@0.3.0
1797
- - @pluv/types@0.1.4
1798
-
1799
- ## 0.1.7
1800
-
1801
- ### Patch Changes
1802
-
1803
- - 9516a4e: updated typescript to 5.0
1804
- - 7b6da1c: bumped dependencies
1805
- - e9c1514: bumped dependencies
1806
- - 9d1829c: chore: bumped dependencies
1807
- - Updated dependencies [9516a4e]
1808
- - Updated dependencies [7b6da1c]
1809
- - Updated dependencies [e9c1514]
1810
- - Updated dependencies [9d1829c]
1811
- - @pluv/types@0.1.4
1812
- - @pluv/io@0.2.6
1813
-
1814
- ## 0.1.6
1815
-
1816
- ### Patch Changes
1817
-
1818
- - 9c30e96: bumped dependencies
1819
- - 161e00e: fixed links to other pluv packages in readmes
1820
- - f6c0e65: bumped dependencies
1821
- - Updated dependencies [161e00e]
1822
- - Updated dependencies [f6c0e65]
1823
- - @pluv/io@0.2.5
1824
- - @pluv/types@0.1.3
1825
-
1826
- ## 0.1.5
1827
-
1828
- ### Patch Changes
1829
-
1830
- - 8bf62cb: bumped dependencies
1831
- - 7e52685: Bumped dependencies
1832
- - b1cb325: Updated dependencies
1833
- - 8e97fb2: Updated dependencies
1834
- - Updated dependencies [8bf62cb]
1835
- - Updated dependencies [7e52685]
1836
- - Updated dependencies [3b7b17a]
1837
- - Updated dependencies [b1cb325]
1838
- - Updated dependencies [8e97fb2]
1839
- - @pluv/io@0.2.4
1840
- - @pluv/types@0.1.3
1841
-
1842
- ## 0.1.4
1843
-
1844
- ### Patch Changes
1845
-
1846
- - Updated dependencies [95b5ef8]
1847
- - Updated dependencies [e23fbbe]
1848
- - @pluv/io@0.2.3
1849
- - @pluv/types@0.1.2
1850
-
1851
- ## 0.1.3
1852
-
1853
- ### Patch Changes
1854
-
1855
- - fe80d7b: added preview disclaimer about breaking changes in the readme
1856
- - Updated dependencies [fe80d7b]
1857
- - @pluv/io@0.2.2
1858
- - @pluv/types@0.1.2
1859
-
1860
- ## 0.1.2
1861
-
1862
- ### Patch Changes
1863
-
1864
- - Updated dependencies [b45d642]
1865
- - Updated dependencies [203dfee]
1866
- - @pluv/io@0.2.1
1867
-
1868
- ## 0.1.1
1869
-
1870
- ### Patch Changes
1871
-
1872
- - 24016e6: Updated dependencies
1873
- - Updated dependencies [23a7382]
1874
- - Updated dependencies [39271d4]
1875
- - Updated dependencies [24016e6]
1876
- - @pluv/io@0.2.0
1877
- - @pluv/types@0.1.1
1878
-
1879
- ## 0.1.0
1880
-
1881
- ### Minor Changes
1882
-
1883
- - a22f525: Added documentation
1884
-
1885
- ### Patch Changes
1886
-
1887
- - Updated dependencies [a22f525]
1888
- - @pluv/io@0.1.0
1889
- - @pluv/types@0.1.0