@pluv/platform-node 5.0.1 → 5.0.3

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