@pluv/crdt-yjs 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.
Files changed (43) hide show
  1. package/dist/index.d.mts +0 -1
  2. package/dist/index.d.mts.map +1 -1
  3. package/package.json +14 -11
  4. package/.turbo/turbo-build.log +0 -19
  5. package/CHANGELOG.md +0 -1623
  6. package/eslint.config.mjs +0 -4
  7. package/src/array/YjsArray.ts +0 -18
  8. package/src/array/array.ts +0 -9
  9. package/src/array/index.ts +0 -2
  10. package/src/awareness/PluvYjsAwareness.ts +0 -220
  11. package/src/awareness/awareness.ts +0 -15
  12. package/src/awareness/index.ts +0 -2
  13. package/src/constants.ts +0 -2
  14. package/src/doc/CrdtYjsDoc.ts +0 -241
  15. package/src/doc/CrdtYjsDocFactory.ts +0 -33
  16. package/src/doc/builder.ts +0 -71
  17. package/src/doc/doc.ts +0 -9
  18. package/src/doc/index.ts +0 -4
  19. package/src/index.ts +0 -5
  20. package/src/map/YjsMap.ts +0 -19
  21. package/src/map/index.ts +0 -2
  22. package/src/map/map.ts +0 -9
  23. package/src/provider/PluvYjsProvider.ts +0 -132
  24. package/src/provider/index.ts +0 -2
  25. package/src/provider/provider.ts +0 -15
  26. package/src/text/YjsText.ts +0 -16
  27. package/src/text/index.ts +0 -2
  28. package/src/text/text.ts +0 -7
  29. package/src/types.ts +0 -35
  30. package/src/utils/index.ts +0 -1
  31. package/src/utils/oneLine.ts +0 -7
  32. package/src/xmlElement/YjsXmlElement.ts +0 -25
  33. package/src/xmlElement/index.ts +0 -2
  34. package/src/xmlElement/xmlElement.ts +0 -9
  35. package/src/xmlFragment/YjsXmlFragment.ts +0 -19
  36. package/src/xmlFragment/index.ts +0 -2
  37. package/src/xmlFragment/xmlFragment.ts +0 -8
  38. package/src/xmlText/YjsXmlText.ts +0 -16
  39. package/src/xmlText/index.ts +0 -2
  40. package/src/xmlText/xmlText.ts +0 -7
  41. package/src/yjs.ts +0 -12
  42. package/tsconfig.json +0 -8
  43. package/tsdown.config.ts +0 -14
package/CHANGELOG.md DELETED
@@ -1,1623 +0,0 @@
1
- # @pluv/crdt-yjs
2
-
3
- ## 5.0.0
4
-
5
- ### Patch Changes
6
-
7
- - @pluv/crdt@5.0.0
8
- - @pluv/types@5.0.0
9
-
10
- ## 4.1.0
11
-
12
- ### Patch Changes
13
-
14
- - @pluv/crdt@4.1.0
15
- - @pluv/types@4.1.0
16
-
17
- ## 4.0.2
18
-
19
- ### Patch Changes
20
-
21
- - e1913b3: Upgraded internal dependencies
22
- - Updated dependencies [e1913b3]
23
- - @pluv/types@4.0.2
24
- - @pluv/crdt@4.0.2
25
-
26
- ## 4.0.1
27
-
28
- ### Patch Changes
29
-
30
- - @pluv/crdt@4.0.1
31
- - @pluv/types@4.0.1
32
-
33
- ## 4.0.0
34
-
35
- ### Major Changes
36
-
37
- - df5c39c: Update all packages to be ESM only.
38
-
39
- ### Minor Changes
40
-
41
- - 037074e: Migrated build process from tsup to tsdown.
42
-
43
- ### Patch Changes
44
-
45
- - 2eb5def: Bumped dependencies.
46
- - 50c1353: Updated the `PluvYjsAwareness` class so that the readonly `meta` property is type-compatible with the latest blocknote version.
47
- - Updated dependencies [2eb5def]
48
- - Updated dependencies [df5c39c]
49
- - Updated dependencies [037074e]
50
- - @pluv/types@4.0.0
51
- - @pluv/crdt@4.0.0
52
-
53
- ## 3.2.2
54
-
55
- ### Patch Changes
56
-
57
- - Updated dependencies [8665dbe]
58
- - @pluv/types@3.2.2
59
- - @pluv/crdt@3.2.2
60
-
61
- ## 3.2.1
62
-
63
- ### Patch Changes
64
-
65
- - 1e0c886: Updated crdt internal private properties to use native [private elements](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_elements).
66
- - @pluv/crdt@3.2.1
67
- - @pluv/types@3.2.1
68
-
69
- ## 3.2.0
70
-
71
- ### Patch Changes
72
-
73
- - @pluv/crdt@3.2.0
74
- - @pluv/types@3.2.0
75
-
76
- ## 3.1.7
77
-
78
- ### Patch Changes
79
-
80
- - @pluv/crdt@3.1.7
81
- - @pluv/types@3.1.7
82
-
83
- ## 3.1.6
84
-
85
- ### Patch Changes
86
-
87
- - @pluv/crdt@3.1.6
88
- - @pluv/types@3.1.6
89
-
90
- ## 3.1.5
91
-
92
- ### Patch Changes
93
-
94
- - 6d43c08: Fixed CRDT docs being considered as `empty` even when there are properties (i.e. yjs shared types and loro container types) on the document when they have not been modified.
95
- - @pluv/crdt@3.1.5
96
- - @pluv/types@3.1.5
97
-
98
- ## 3.1.4
99
-
100
- ### Patch Changes
101
-
102
- - @pluv/crdt@3.1.4
103
- - @pluv/types@3.1.4
104
-
105
- ## 3.1.3
106
-
107
- ### Patch Changes
108
-
109
- - @pluv/crdt@3.1.3
110
- - @pluv/types@3.1.3
111
-
112
- ## 3.1.2
113
-
114
- ### Patch Changes
115
-
116
- - @pluv/crdt@3.1.2
117
- - @pluv/types@3.1.2
118
-
119
- ## 3.1.1
120
-
121
- ### Patch Changes
122
-
123
- - @pluv/crdt@3.1.1
124
- - @pluv/types@3.1.1
125
-
126
- ## 3.1.0
127
-
128
- ### Patch Changes
129
-
130
- - @pluv/crdt@3.1.0
131
- - @pluv/types@3.1.0
132
-
133
- ## 3.0.0
134
-
135
- ### Major Changes
136
-
137
- - bc1ae91: **BREAKING** Removed deprecated `yjs.object`. These must now be switched over to `yjs.map`.
138
- - bc1ae91: **BREAKING** Removed deprecated ability to set top-level document types via the yjs shared-type and loro container type utilities (e.g. `yjs.array`, `loro.list`). These must now use the builder type provided in the 1st positional parameter of `yjs.doc` and `loro.doc`.
139
-
140
- ### Patch Changes
141
-
142
- - @pluv/crdt@3.0.0
143
- - @pluv/types@3.0.0
144
-
145
- ## 2.3.1
146
-
147
- ### Patch Changes
148
-
149
- - @pluv/crdt@2.3.1
150
- - @pluv/types@2.3.1
151
-
152
- ## 2.3.0
153
-
154
- ### Patch Changes
155
-
156
- - @pluv/crdt@2.3.0
157
- - @pluv/types@2.3.0
158
-
159
- ## 2.2.8
160
-
161
- ### Patch Changes
162
-
163
- - @pluv/crdt@2.2.8
164
- - @pluv/types@2.2.8
165
-
166
- ## 2.2.7
167
-
168
- ### Patch Changes
169
-
170
- - @pluv/crdt@2.2.7
171
- - @pluv/types@2.2.7
172
-
173
- ## 2.2.6
174
-
175
- ### Patch Changes
176
-
177
- - @pluv/crdt@2.2.6
178
- - @pluv/types@2.2.6
179
-
180
- ## 2.2.5
181
-
182
- ### Patch Changes
183
-
184
- - @pluv/crdt@2.2.5
185
- - @pluv/types@2.2.5
186
-
187
- ## 2.2.4
188
-
189
- ### Patch Changes
190
-
191
- - @pluv/crdt@2.2.4
192
- - @pluv/types@2.2.4
193
-
194
- ## 2.2.3
195
-
196
- ### Patch Changes
197
-
198
- - @pluv/crdt@2.2.3
199
- - @pluv/types@2.2.3
200
-
201
- ## 2.2.2
202
-
203
- ### Patch Changes
204
-
205
- - 289d71d: Updated `yjs.provider` field to `presenceField`.
206
- - @pluv/crdt@2.2.2
207
- - @pluv/types@2.2.2
208
-
209
- ## 2.2.1
210
-
211
- ### Patch Changes
212
-
213
- - @pluv/crdt@2.2.1
214
- - @pluv/types@2.2.1
215
-
216
- ## 2.2.0
217
-
218
- ### Minor Changes
219
-
220
- - 745f6df: Added a `provider` function that satisfies Yjs's provider interface.
221
-
222
- ```ts
223
- import { createClient } from "@pluv/client";
224
- import { yjs } from "@pluv/crdt-yjs";
225
-
226
- const client = createClient({
227
- /* ... */
228
- });
229
- const room = client.createRoom("example-room");
230
-
231
- // Yjs Provider
232
- yjs.provider({ room });
233
- ```
234
-
235
- - df4ceed: Update `yjs.awareness` and `yjs.provider` to allow for a `field` parameter to use awareness on a nested presence field.
236
-
237
- ```ts
238
- createClient({
239
- presence: z.object({
240
- topField: z.number(),
241
- forAwareness: z.object({
242
- nestedField: z.number(),
243
- }),
244
- }),
245
- });
246
-
247
- yjs.provider({
248
- // ...
249
- // Optional field to use a nested field, instead of the presence root
250
- field: "forAwareness",
251
- });
252
-
253
- yjs.awareness({
254
- // ...
255
- // Optional field to use a nested field, instead of the presence root
256
- field: "forAwareness",
257
- });
258
- ```
259
-
260
- This allows better integrations with [lexical](https://lexical.dev), since they have their own presence types.
261
-
262
- ```tsx
263
- createClient({
264
- presence: z.object({
265
- topField: z.number(),
266
- lexical: z.any(),
267
- }),
268
- });
269
-
270
- yjs.provider({ field: "lexical" /* ... */ });
271
- ```
272
-
273
- - 6323979: Added an `awareness` function that satisfies Yjs's [awareness interface](https://github.com/yjs/y-protocols/blob/master/awareness.js).
274
-
275
- ```ts
276
- import { createClient } from "@pluv/client";
277
- import { yjs } from "@pluv/crdt-yjs";
278
-
279
- const client = createClient({
280
- /* ... */
281
- });
282
- const room = client.createRoom("example-room");
283
-
284
- // Yjs Awareness
285
- yjs.awareness({ room /* ... */ });
286
- ```
287
-
288
- ### Patch Changes
289
-
290
- - @pluv/crdt@2.2.0
291
- - @pluv/types@2.2.0
292
-
293
- ## 2.1.0
294
-
295
- ### Patch Changes
296
-
297
- - @pluv/crdt@2.1.0
298
- - @pluv/types@2.1.0
299
-
300
- ## 2.0.2
301
-
302
- ### Patch Changes
303
-
304
- - 945c47d: Updated deprecation warnings to read that features will be removed in v3 instead of v2.
305
-
306
- Due to an [extremely unfortunate bug in changesets](https://github.com/changesets/changesets/issues/1011), minor and patch changes will create major releases. This caused an unintended v2 release that had no breaking changes. To avoid backtracking and deleting deprecated functionalities right away, the deprecation warnings have been updated so that those APIs will be removed in v3 instead of v2.
307
- - @pluv/crdt@2.0.2
308
- - @pluv/types@2.0.2
309
-
310
- ## 2.0.1
311
-
312
- ### Patch Changes
313
-
314
- - @pluv/crdt@2.0.1
315
- - @pluv/types@2.0.1
316
-
317
- ## 2.0.0
318
-
319
- ### Minor Changes
320
-
321
- - 0b234d1: **Deprecated** Declaring top-level types on your CRDT storage via the `yjs` utility (e.g. `yjs.array`) is now deprecated, to be removed in the next major release (v2). Continuing to use the `yjs` utility to declare top-level types will log a warning to your console while in development mode (i.e. when `process.env.NODE_ENV === "development"`). To declare top-level types, you should now use the builder type exposed in the storage factory function. See the example below:
322
-
323
- ```ts
324
- import { yjs } from "@pluv/crdt-yjs";
325
-
326
- // Before
327
- yjs.doc(() => ({
328
- // Using the `yjs` utility (in this case `yjs.map`) when declaring
329
- // top-level types is now deprecated
330
- topType: yjs.map([
331
- ["key1", yjs.text("")],
332
- ["key2", yjs.text("")],
333
- ]),
334
- }));
335
-
336
- // After
337
- yjs.doc((t) => ({
338
- // Top-level properties must now use the builder (in this case `t`).
339
- // This effectively calls `yjs.getMap("topType")` to instantiate the type on
340
- // the root document.
341
- // This simply returns the native Yjs shared-types (e.g. Y.Map), which
342
- // allows you operate on your yjs shared-typess in a more native way.
343
- topType: t.map("topType", [
344
- // Declaring nested types should continue to use the `yjs` utilities
345
- // you've used before
346
- ["key1", yjs.text("")],
347
- ["key2", yjs.text("")],
348
- ]),
349
- }));
350
- ```
351
-
352
- The functions on the builder type calls the native yjs shared-type instantiating methods and returns the native types (e.g. `t.map("topType")` is simply just a `Y.Doc.getMap("topType")`) call under the hood. This allows you to declare your type in a more yjs-native and predictable way, and enables declaring more complex initial storage states if needed.
353
-
354
- ### Patch Changes
355
-
356
- - 0b234d1: Fixed `Y.XmlText` types transforming into `Y.Text` types on the initial initializaion of storage states.
357
- - Updated dependencies [047a1d8]
358
- - @pluv/types@2.0.0
359
- - @pluv/crdt@2.0.0
360
-
361
- ## 1.0.2
362
-
363
- ### Patch Changes
364
-
365
- - @pluv/crdt@1.0.2
366
- - @pluv/types@1.0.2
367
-
368
- ## 1.0.1
369
-
370
- ### Patch Changes
371
-
372
- - @pluv/crdt@1.0.1
373
- - @pluv/types@1.0.1
374
-
375
- ## 1.0.0
376
-
377
- ### Major Changes
378
-
379
- - af94706: pluv.io is now stable and production ready!
380
-
381
- 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.
382
-
383
- Checkout the [full documentation here](https://pluv.io/docs/introduction) to get started today!
384
-
385
- ### Patch Changes
386
-
387
- - Updated dependencies [af94706]
388
- - @pluv/crdt@1.0.0
389
- - @pluv/types@1.0.0
390
-
391
- ## 0.44.2
392
-
393
- ### Patch Changes
394
-
395
- - @pluv/crdt@0.44.2
396
- - @pluv/types@0.44.2
397
-
398
- ## 0.44.1
399
-
400
- ### Patch Changes
401
-
402
- - @pluv/crdt@0.44.1
403
- - @pluv/types@0.44.1
404
-
405
- ## 0.44.0
406
-
407
- ### Patch Changes
408
-
409
- - 503c23b: Updated `batchApplyEncodedState` to use `Yjs.mergeUpdates` to more efficiently update the document under-the-hood, while also producing a smaller document.
410
- - @pluv/crdt@0.44.0
411
- - @pluv/types@0.44.0
412
-
413
- ## 0.43.0
414
-
415
- ### Patch Changes
416
-
417
- - @pluv/crdt@0.43.0
418
- - @pluv/types@0.43.0
419
-
420
- ## 0.42.0
421
-
422
- ### Patch Changes
423
-
424
- - @pluv/crdt@0.42.0
425
- - @pluv/types@0.42.0
426
-
427
- ## 0.41.7
428
-
429
- ### Patch Changes
430
-
431
- - @pluv/crdt@0.41.7
432
- - @pluv/types@0.41.7
433
-
434
- ## 0.41.6
435
-
436
- ### Patch Changes
437
-
438
- - @pluv/crdt@0.41.6
439
- - @pluv/types@0.41.6
440
-
441
- ## 0.41.5
442
-
443
- ### Patch Changes
444
-
445
- - @pluv/crdt@0.41.5
446
- - @pluv/types@0.41.5
447
-
448
- ## 0.41.4
449
-
450
- ### Patch Changes
451
-
452
- - @pluv/crdt@0.41.4
453
- - @pluv/types@0.41.4
454
-
455
- ## 0.41.3
456
-
457
- ### Patch Changes
458
-
459
- - @pluv/crdt@0.41.3
460
- - @pluv/types@0.41.3
461
-
462
- ## 0.41.2
463
-
464
- ### Patch Changes
465
-
466
- - @pluv/crdt@0.41.2
467
- - @pluv/types@0.41.2
468
-
469
- ## 0.41.1
470
-
471
- ### Patch Changes
472
-
473
- - @pluv/crdt@0.41.1
474
- - @pluv/types@0.41.1
475
-
476
- ## 0.41.0
477
-
478
- ### Patch Changes
479
-
480
- - @pluv/crdt@0.41.0
481
- - @pluv/types@0.41.0
482
-
483
- ## 0.40.2
484
-
485
- ### Patch Changes
486
-
487
- - @pluv/crdt@0.40.2
488
- - @pluv/types@0.40.2
489
-
490
- ## 0.40.1
491
-
492
- ### Patch Changes
493
-
494
- - @pluv/crdt@0.40.1
495
- - @pluv/types@0.40.1
496
-
497
- ## 0.40.0
498
-
499
- ### Patch Changes
500
-
501
- - @pluv/crdt@0.40.0
502
- - @pluv/types@0.40.0
503
-
504
- ## 0.39.1
505
-
506
- ### Patch Changes
507
-
508
- - @pluv/crdt@0.39.1
509
- - @pluv/types@0.39.1
510
-
511
- ## 0.39.0
512
-
513
- ### Patch Changes
514
-
515
- - @pluv/crdt@0.39.0
516
- - @pluv/types@0.39.0
517
-
518
- ## 0.38.14
519
-
520
- ### Patch Changes
521
-
522
- - @pluv/crdt@0.38.14
523
- - @pluv/types@0.38.14
524
-
525
- ## 0.38.13
526
-
527
- ### Patch Changes
528
-
529
- - @pluv/crdt@0.38.13
530
- - @pluv/types@0.38.13
531
-
532
- ## 0.38.12
533
-
534
- ### Patch Changes
535
-
536
- - @pluv/crdt@0.38.12
537
- - @pluv/types@0.38.12
538
-
539
- ## 0.38.11
540
-
541
- ### Patch Changes
542
-
543
- - @pluv/crdt@0.38.11
544
- - @pluv/types@0.38.11
545
-
546
- ## 0.38.10
547
-
548
- ### Patch Changes
549
-
550
- - @pluv/crdt@0.38.10
551
- - @pluv/types@0.38.10
552
-
553
- ## 0.38.9
554
-
555
- ### Patch Changes
556
-
557
- - @pluv/crdt@0.38.9
558
- - @pluv/types@0.38.9
559
-
560
- ## 0.38.8
561
-
562
- ### Patch Changes
563
-
564
- - @pluv/crdt@0.38.8
565
- - @pluv/types@0.38.8
566
-
567
- ## 0.38.7
568
-
569
- ### Patch Changes
570
-
571
- - @pluv/crdt@0.38.7
572
- - @pluv/types@0.38.7
573
-
574
- ## 0.38.6
575
-
576
- ### Patch Changes
577
-
578
- - @pluv/crdt@0.38.6
579
- - @pluv/types@0.38.6
580
-
581
- ## 0.38.5
582
-
583
- ### Patch Changes
584
-
585
- - @pluv/crdt@0.38.5
586
- - @pluv/types@0.38.5
587
-
588
- ## 0.38.4
589
-
590
- ### Patch Changes
591
-
592
- - @pluv/crdt@0.38.4
593
- - @pluv/types@0.38.4
594
-
595
- ## 0.38.3
596
-
597
- ### Patch Changes
598
-
599
- - @pluv/crdt@0.38.3
600
- - @pluv/types@0.38.3
601
-
602
- ## 0.38.2
603
-
604
- ### Patch Changes
605
-
606
- - @pluv/crdt@0.38.2
607
- - @pluv/types@0.38.2
608
-
609
- ## 0.38.1
610
-
611
- ### Patch Changes
612
-
613
- - @pluv/crdt@0.38.1
614
- - @pluv/types@0.38.1
615
-
616
- ## 0.38.0
617
-
618
- ### Patch Changes
619
-
620
- - Updated dependencies [f4ceca3]
621
- - @pluv/types@0.38.0
622
- - @pluv/crdt@0.38.0
623
-
624
- ## 0.37.7
625
-
626
- ### Patch Changes
627
-
628
- - @pluv/crdt@0.37.7
629
- - @pluv/types@0.37.7
630
-
631
- ## 0.37.6
632
-
633
- ### Patch Changes
634
-
635
- - @pluv/crdt@0.37.6
636
- - @pluv/types@0.37.6
637
-
638
- ## 0.37.5
639
-
640
- ### Patch Changes
641
-
642
- - @pluv/crdt@0.37.5
643
- - @pluv/types@0.37.5
644
-
645
- ## 0.37.4
646
-
647
- ### Patch Changes
648
-
649
- - @pluv/crdt@0.37.4
650
- - @pluv/types@0.37.4
651
-
652
- ## 0.37.3
653
-
654
- ### Patch Changes
655
-
656
- - @pluv/crdt@0.37.3
657
- - @pluv/types@0.37.3
658
-
659
- ## 0.37.2
660
-
661
- ### Patch Changes
662
-
663
- - @pluv/crdt@0.37.2
664
- - @pluv/types@0.37.2
665
-
666
- ## 0.37.1
667
-
668
- ### Patch Changes
669
-
670
- - @pluv/crdt@0.37.1
671
- - @pluv/types@0.37.1
672
-
673
- ## 0.37.0
674
-
675
- ### Patch Changes
676
-
677
- - @pluv/crdt@0.37.0
678
- - @pluv/types@0.37.0
679
-
680
- ## 0.36.0
681
-
682
- ### Patch Changes
683
-
684
- - @pluv/crdt@0.36.0
685
- - @pluv/types@0.36.0
686
-
687
- ## 0.35.4
688
-
689
- ### Patch Changes
690
-
691
- - @pluv/crdt@0.35.4
692
- - @pluv/types@0.35.4
693
-
694
- ## 0.35.3
695
-
696
- ### Patch Changes
697
-
698
- - @pluv/crdt@0.35.3
699
- - @pluv/types@0.35.3
700
-
701
- ## 0.35.2
702
-
703
- ### Patch Changes
704
-
705
- - Updated dependencies [81cb692]
706
- - @pluv/types@0.35.2
707
- - @pluv/crdt@0.35.2
708
-
709
- ## 0.35.1
710
-
711
- ### Patch Changes
712
-
713
- - 820898c: Increase undo/redo merge interval from 0s to 1s.
714
- - @pluv/crdt@0.35.1
715
- - @pluv/types@0.35.1
716
-
717
- ## 0.35.0
718
-
719
- ### Patch Changes
720
-
721
- - @pluv/crdt@0.35.0
722
- - @pluv/types@0.35.0
723
-
724
- ## 0.34.1
725
-
726
- ### Patch Changes
727
-
728
- - @pluv/crdt@0.34.1
729
- - @pluv/types@0.34.1
730
-
731
- ## 0.34.0
732
-
733
- ### Patch Changes
734
-
735
- - @pluv/crdt@0.34.0
736
- - @pluv/types@0.34.0
737
-
738
- ## 0.33.0
739
-
740
- ### Patch Changes
741
-
742
- - @pluv/crdt@0.33.0
743
- - @pluv/types@0.33.0
744
-
745
- ## 0.32.9
746
-
747
- ### Patch Changes
748
-
749
- - @pluv/crdt@0.32.9
750
- - @pluv/types@0.32.9
751
-
752
- ## 0.32.8
753
-
754
- ### Patch Changes
755
-
756
- - @pluv/crdt@0.32.8
757
- - @pluv/types@0.32.8
758
-
759
- ## 0.32.7
760
-
761
- ### Patch Changes
762
-
763
- - @pluv/crdt@0.32.7
764
- - @pluv/types@0.32.7
765
-
766
- ## 0.32.6
767
-
768
- ### Patch Changes
769
-
770
- - @pluv/crdt@0.32.6
771
- - @pluv/types@0.32.6
772
-
773
- ## 0.32.5
774
-
775
- ### Patch Changes
776
-
777
- - @pluv/crdt@0.32.5
778
- - @pluv/types@0.32.5
779
-
780
- ## 0.32.4
781
-
782
- ### Patch Changes
783
-
784
- - @pluv/crdt@0.32.4
785
- - @pluv/types@0.32.4
786
-
787
- ## 0.32.3
788
-
789
- ### Patch Changes
790
-
791
- - @pluv/crdt@0.32.3
792
- - @pluv/types@0.32.3
793
-
794
- ## 0.32.2
795
-
796
- ### Patch Changes
797
-
798
- - @pluv/crdt@0.32.2
799
- - @pluv/types@0.32.2
800
-
801
- ## 0.32.1
802
-
803
- ### Patch Changes
804
-
805
- - @pluv/crdt@0.32.1
806
- - @pluv/types@0.32.1
807
-
808
- ## 0.32.0
809
-
810
- ### Patch Changes
811
-
812
- - @pluv/crdt@0.32.0
813
- - @pluv/types@0.32.0
814
-
815
- ## 0.31.0
816
-
817
- ### Patch Changes
818
-
819
- - @pluv/crdt@0.31.0
820
- - @pluv/types@0.31.0
821
-
822
- ## 0.30.2
823
-
824
- ### Patch Changes
825
-
826
- - @pluv/crdt@0.30.2
827
- - @pluv/types@0.30.2
828
-
829
- ## 0.30.1
830
-
831
- ### Patch Changes
832
-
833
- - @pluv/crdt@0.30.1
834
- - @pluv/types@0.30.1
835
-
836
- ## 0.30.0
837
-
838
- ### Patch Changes
839
-
840
- - 7246a9e: Added `CrdtLibraryType` so that `@pluv/crdt-yjs` and `@pluv/crdt-loro` export a new property `kind` containing an identifier for the crdt.
841
- - @pluv/crdt@0.30.0
842
- - @pluv/types@0.30.0
843
-
844
- ## 0.29.0
845
-
846
- ### Patch Changes
847
-
848
- - @pluv/crdt@0.29.0
849
- - @pluv/types@0.29.0
850
-
851
- ## 0.28.0
852
-
853
- ### Patch Changes
854
-
855
- - @pluv/crdt@0.28.0
856
- - @pluv/types@0.28.0
857
-
858
- ## 0.27.0
859
-
860
- ### Patch Changes
861
-
862
- - @pluv/crdt@0.27.0
863
- - @pluv/types@0.27.0
864
-
865
- ## 0.26.0
866
-
867
- ### Patch Changes
868
-
869
- - @pluv/crdt@0.26.0
870
- - @pluv/types@0.26.0
871
-
872
- ## 0.25.4
873
-
874
- ### Patch Changes
875
-
876
- - @pluv/crdt@0.25.4
877
- - @pluv/types@0.25.4
878
-
879
- ## 0.25.3
880
-
881
- ### Patch Changes
882
-
883
- - @pluv/crdt@0.25.3
884
- - @pluv/types@0.25.3
885
-
886
- ## 0.25.2
887
-
888
- ### Patch Changes
889
-
890
- - @pluv/crdt@0.25.2
891
- - @pluv/types@0.25.2
892
-
893
- ## 0.25.1
894
-
895
- ### Patch Changes
896
-
897
- - @pluv/crdt@0.25.1
898
- - @pluv/types@0.25.1
899
-
900
- ## 0.25.0
901
-
902
- ### Patch Changes
903
-
904
- - @pluv/crdt@0.25.0
905
- - @pluv/types@0.25.0
906
-
907
- ## 0.24.1
908
-
909
- ### Patch Changes
910
-
911
- - @pluv/crdt@0.24.1
912
- - @pluv/types@0.24.1
913
-
914
- ## 0.24.0
915
-
916
- ### Patch Changes
917
-
918
- - @pluv/crdt@0.24.0
919
- - @pluv/types@0.24.0
920
-
921
- ## 0.23.0
922
-
923
- ### Patch Changes
924
-
925
- - @pluv/crdt@0.23.0
926
- - @pluv/types@0.23.0
927
-
928
- ## 0.22.0
929
-
930
- ### Patch Changes
931
-
932
- - @pluv/crdt@0.22.0
933
- - @pluv/types@0.22.0
934
-
935
- ## 0.21.1
936
-
937
- ### Patch Changes
938
-
939
- - @pluv/crdt@0.21.1
940
- - @pluv/types@0.21.1
941
-
942
- ## 0.21.0
943
-
944
- ### Patch Changes
945
-
946
- - @pluv/crdt@0.21.0
947
- - @pluv/types@0.21.0
948
-
949
- ## 0.20.0
950
-
951
- ### Minor Changes
952
-
953
- - 9492085: **BREAKING**: `@pluv/crdt-yjs` and `@pluv/crdt-loro` have been updated so that the utilities to create shared-types/containers no-longer return a wrapper around the underlying shared-types and containers, but rather return the shared-types/containers directly.
954
-
955
- This means that for methods such as `getStorage` from `@pluv/client` and `useStorage` from `@pluv/react`, the shared-types/containers are also returned instead of the wrapper types.
956
-
957
- The motivation for these changes are so that pluv.io is supplementary to `yjs` and `loro-crdt`, instead of having these libraries be an internal implementation of pluv.io.
958
-
959
- ```ts
960
- // Before
961
-
962
- import { yjs } from "@pluv/crdt-yjs";
963
-
964
- yjs.array([]); // Returns CrdtYjsArray
965
- yjs.object([]); // Returns CrdtYjsObject
966
-
967
- const room: PluvRoom = /* ... */;
968
-
969
- room.getStorage("messages"); // Returns AbstractCrdtType
970
-
971
- const [, sharedType] = useStorage("messages"); // sharedType is an AbstractCrdtType
972
- ```
973
-
974
- ```ts
975
- // Now
976
-
977
- import { yjs } from "@pluv/crdt-yjs";
978
-
979
- yjs.array([]); // Returns yjs.Array
980
- yjs.object([]); // Returns yjs.Map
981
-
982
- const room: PluvRoom = /* ... */;
983
-
984
- room.getStorage("messages"); // Returns yjs.AbstractType
985
-
986
- const [, sharedType] = useStorage("messages"); // sharedType is a yjs.AbstractType
987
- ```
988
-
989
- For `@pluv/crdt-loro` specifically, `@pluv/client` relies on [loro events and subscriptions](https://www.loro.dev/docs/tutorial/get_started#event) to detect changes. The `AbstractLoroCrdt` types previously called `Loro.commit` after each change as an abstraction, but now this no-longer happens. To ensure that changes to loro containers are properly handled in `@pluv/react`, make sure to commit your changes whenever possible:
990
-
991
- ```ts
992
- // Before
993
-
994
- const [data, container] = useStorage("messages");
995
-
996
- // This automatically called Loro.commit under the hood and rerendered the page with updated data.
997
- container.push(loro.object({ name: "John Doe", age: 35 }));
998
- ```
999
-
1000
- ```ts
1001
- // Now
1002
-
1003
- const [data, container] = useStorage("messages");
1004
-
1005
- const doc = useDoc();
1006
- const transact = useTransact();
1007
-
1008
- // Updates need to be committed back to the doc whenever the changes need to be emitted to other users
1009
- // The returned data also will not update until the changes are commited
1010
-
1011
- // The two operations below are functionally equivalent
1012
- transact(() => {
1013
- container.push(loro.object({ name: "John Doe", age: 35 }));
1014
- });
1015
-
1016
- container.push(loro.object({ name: "John Doe", age: 35 }));
1017
- doc.value.commit();
1018
- ```
1019
-
1020
- ### Patch Changes
1021
-
1022
- - Updated dependencies [9492085]
1023
- - @pluv/crdt@0.20.0
1024
- - @pluv/types@0.20.0
1025
-
1026
- ## 0.19.0
1027
-
1028
- ### Patch Changes
1029
-
1030
- - @pluv/crdt@0.19.0
1031
- - @pluv/types@0.19.0
1032
-
1033
- ## 0.18.0
1034
-
1035
- ### Patch Changes
1036
-
1037
- - Updated dependencies [99b5ca9]
1038
- - @pluv/types@0.18.0
1039
- - @pluv/crdt@0.18.0
1040
-
1041
- ## 0.17.3
1042
-
1043
- ### Patch Changes
1044
-
1045
- - @pluv/crdt@0.17.3
1046
- - @pluv/types@0.17.3
1047
-
1048
- ## 0.17.2
1049
-
1050
- ### Patch Changes
1051
-
1052
- - @pluv/crdt@0.17.2
1053
- - @pluv/types@0.17.2
1054
-
1055
- ## 0.17.1
1056
-
1057
- ### Patch Changes
1058
-
1059
- - @pluv/crdt@0.17.1
1060
- - @pluv/types@0.17.1
1061
-
1062
- ## 0.17.0
1063
-
1064
- ### Patch Changes
1065
-
1066
- - Updated dependencies [507bc00]
1067
- - @pluv/types@0.17.0
1068
- - @pluv/crdt@0.17.0
1069
-
1070
- ## 0.16.3
1071
-
1072
- ### Patch Changes
1073
-
1074
- - @pluv/crdt@0.16.3
1075
- - @pluv/types@0.16.3
1076
-
1077
- ## 0.16.2
1078
-
1079
- ### Patch Changes
1080
-
1081
- - @pluv/crdt@0.16.2
1082
- - @pluv/types@0.16.2
1083
-
1084
- ## 0.16.1
1085
-
1086
- ### Patch Changes
1087
-
1088
- - @pluv/crdt@0.16.1
1089
- - @pluv/types@0.16.1
1090
-
1091
- ## 0.16.0
1092
-
1093
- ### Patch Changes
1094
-
1095
- - @pluv/crdt@0.16.0
1096
- - @pluv/types@0.16.0
1097
-
1098
- ## 0.15.0
1099
-
1100
- ### Patch Changes
1101
-
1102
- - @pluv/types@0.15.0
1103
-
1104
- ## 0.14.1
1105
-
1106
- ### Patch Changes
1107
-
1108
- - @pluv/types@0.14.1
1109
-
1110
- ## 0.14.0
1111
-
1112
- ### Patch Changes
1113
-
1114
- - @pluv/types@0.14.0
1115
-
1116
- ## 0.13.0
1117
-
1118
- ### Patch Changes
1119
-
1120
- - @pluv/types@0.13.0
1121
-
1122
- ## 0.12.3
1123
-
1124
- ### Patch Changes
1125
-
1126
- - da9f600: Upgraded dependencies
1127
- - @pluv/types@0.12.3
1128
-
1129
- ## 0.12.2
1130
-
1131
- ### Patch Changes
1132
-
1133
- - 259a7da: Bumped dependencies
1134
-
1135
- ## 0.12.1
1136
-
1137
- ### Patch Changes
1138
-
1139
- - @pluv/types@0.12.1
1140
-
1141
- ## 0.12.0
1142
-
1143
- ### Minor Changes
1144
-
1145
- - 436040b: Added ability to undo and redo changes to storage.
1146
-
1147
- ## @pluv/crdt-yjs
1148
-
1149
- `@pluv/crdt-yjs` now exposes 5 new methods: `canRedo`, `canUndo`, `redo`, `undo` and `trackOrigins`.
1150
-
1151
- Refer to the code-example below to better understand how to undo and redo with your doc.
1152
-
1153
- ```ts
1154
- // Example
1155
- import { array, doc } from "@pluv/crdt-yjs";
1156
-
1157
- // Create your doc with your shared-types
1158
- const myDoc = doc({
1159
- messages: array<string>([]),
1160
- });
1161
-
1162
- /**
1163
- * @description Track origins to enable undos and redos for your document.
1164
- * trackOrigins must be called before any storage mutations, to enable those
1165
- * mutations to be undone/redone.
1166
- */
1167
- myDoc.trackOrigins({
1168
- /**
1169
- * @description This is the same `captureTimeout` option from yjs's UndoManager.
1170
- * This specifies a number in ms, during which edits are merged together to be
1171
- * undone together. Set this to 0, to track each transacted change individually.
1172
- * @see (@link https://docs.yjs.dev/api/undo-manager)
1173
- * @default 500
1174
- */
1175
- captureTimeout: 500,
1176
- /**
1177
- * @desription This is the same `trackedOrigins` option from yjs's UndoManager.
1178
- * This specifies transaction origins (strings only) to filter which transactions
1179
- * can be undone.
1180
- * @see (@link https://docs.yjs.dev/api/undo-manager)
1181
- * @default undefined
1182
- */
1183
- trackedOrigins: ["user-123"],
1184
- });
1185
-
1186
- /**
1187
- * @description Check whether calling undo will mutate storage
1188
- * @returns boolean
1189
- */
1190
- myDoc.canUndo();
1191
- /**
1192
- * @description Check whether calling redo will mutate storage
1193
- * @returns boolean
1194
- */
1195
- myDoc.canRedo();
1196
-
1197
- // Perform a storage mutation within a transaction so that it can be affected
1198
- // by undo/redo operations.
1199
- myDoc.transact(() => {
1200
- myDoc.get("messages").push(["hello world!"]);
1201
- }, "user-123");
1202
-
1203
- /**
1204
- * @description Undoes the last valid mutation to storage
1205
- */
1206
- myDoc.undo();
1207
-
1208
- /**
1209
- * @description Re-applies the last undone mutation to storage
1210
- */
1211
- myDoc.redo();
1212
- ```
1213
-
1214
- ## @pluv/client
1215
-
1216
- `@pluv/client`'s `PluvRoom` and `MockedRoom` now exposes 5 new methods: `canRedo`, `canUndo`, `redo`, `undo` and `transact`.
1217
-
1218
- Refer to the code-example below to better understand how to undo and redo with your `PluvRoom`.
1219
-
1220
- ```ts
1221
- import { createClient, y } from "@pluv/client";
1222
-
1223
- const client = createClient({});
1224
-
1225
- /**
1226
- * @description When a room is created, undo/redo will automatically
1227
- * be configured to filter for changes made by the connected user
1228
- * (so that users only undo/redo their changes).
1229
- */
1230
- const room = client.createRoom("my-room", {
1231
- initialStorage: () => ({
1232
- messages: y.array<string>([]),
1233
- }),
1234
- /**
1235
- * @description This is the same `captureTimeout` option from yjs's UndoManager.
1236
- * This specifies a number in ms, during which edits are merged together to be
1237
- * undone together. Set this to 0, to track each transacted change individually.
1238
- * @see (@link https://docs.yjs.dev/api/undo-manager)
1239
- * @default 500
1240
- */
1241
- captureTimeout: 500,
1242
- /**
1243
- * @desription This is the same `trackedOrigins` option from yjs's UndoManager.
1244
- * This specifies transaction origins (strings only) to filter which transactions
1245
- * can be undone.
1246
- * When omitted, the user's connection id will be tracked. When provided,
1247
- * specifies additional tracked origins besides the user's connection id.
1248
- * @see (@link https://docs.yjs.dev/api/undo-manager)
1249
- * @default undefined
1250
- */
1251
- trackedOrigins: ["user-123"],
1252
- });
1253
-
1254
- /**
1255
- * @description Check whether calling undo will mutate storage
1256
- * @returns boolean
1257
- */
1258
- room.canUndo();
1259
- /**
1260
- * @description Check whether calling redo will mutate storage
1261
- * @returns boolean
1262
- */
1263
- room.canRedo();
1264
-
1265
- /**
1266
- * @description Calling transact will enable a storage mutation to be undone/redone.
1267
- * When called without an origin, the origin will default to the user's connection
1268
- * id.
1269
- *
1270
- * You can specify a 2nd parameter to transact with a different transaction origin.
1271
- */
1272
- room.transact(() => {
1273
- room.get("messages").push(["hello world!"]);
1274
- });
1275
-
1276
- // This will also be undoable because `"user-123"` is a tracked origin.
1277
- room.transact(() => {
1278
- room.get("messages").push(["hello world!"]);
1279
- }, "user-123");
1280
-
1281
- /**
1282
- * @description Undoes the last valid mutation to storage
1283
- */
1284
- room.undo();
1285
-
1286
- /**
1287
- * @description Re-applies the last undone mutation to storage
1288
- */
1289
- room.redo();
1290
- ```
1291
-
1292
- ## @pluv/react
1293
-
1294
- `@pluv/react`'s `createRoomBundle` now exposes 5 new react hooks: `useCanRedo`, `useCanUndo`, `useRedo`, `useUndo` and `useTransact`.
1295
-
1296
- Refer to the code-example below to better understand how to undo and redo with your `createRoomBundle`.
1297
-
1298
- ```tsx
1299
- import { createBundle, createClient, y } from "@pluv/react";
1300
- import { type io } from "./io";
1301
-
1302
- const client = createClient<typeof io>();
1303
-
1304
- const { createRoomBundle } = createBundle(client);
1305
-
1306
- const { useCanRedo, useCanUndo, useRedo, useStorage, useTransact, useUndo } = createRoomBundle({
1307
- initialStorage: () => ({
1308
- messages: y.array<string>([]),
1309
- }),
1310
- /**
1311
- * @description This is the same `captureTimeout` option from yjs's UndoManager.
1312
- * This specifies a number in ms, during which edits are merged together to be
1313
- * undone together. Set this to 0, to track each transacted change individually.
1314
- * @see (@link https://docs.yjs.dev/api/undo-manager)
1315
- * @default 500
1316
- */
1317
- captureTimeout: 500,
1318
- /**
1319
- * @desription This is the same `trackedOrigins` option from yjs's UndoManager.
1320
- * This specifies transaction origins (strings only) to filter which transactions
1321
- * can be undone.
1322
- * When omitted, the user's connection id will be tracked. When provided,
1323
- * specifies additional tracked origins besides the user's connection id.
1324
- * @see (@link https://docs.yjs.dev/api/undo-manager)
1325
- * @default undefined
1326
- */
1327
- trackedOrigins: ["user-123"],
1328
- });
1329
-
1330
- /**
1331
- * @description Check whether calling undo will mutate storage
1332
- */
1333
- const canUndo: boolean = useCanUndo();
1334
- /**
1335
- * @description Check whether calling redo will mutate storage
1336
- */
1337
- const canRedo: boolean = useCanRedo();
1338
-
1339
- const [messages, sharedType] = useStorage("messages");
1340
-
1341
- /**
1342
- * @description Calling transact will enable a storage mutation to be undone/redone.
1343
- * When called without an origin, the origin will default to the user's connection
1344
- * id.
1345
- *
1346
- * You can specify a 2nd parameter to transact with a different transaction origin.
1347
- */
1348
- const transact = useTransact();
1349
-
1350
- transact(() => {
1351
- sharedType.push(["hello world!"]);
1352
- });
1353
-
1354
- // This will also be undoable because `"user-123"` is a tracked origin.
1355
- transact(() => {
1356
- sharedType.push(["hello world!"]);
1357
- }, "user-123");
1358
-
1359
- /**
1360
- * @description Undoes the last valid mutation to storage
1361
- */
1362
- const undo = useUndo();
1363
-
1364
- undo();
1365
-
1366
- /**
1367
- * @description Re-applies the last undone mutation to storage
1368
- */
1369
- const redo = useRedo();
1370
-
1371
- redo();
1372
- ```
1373
-
1374
- ### Patch Changes
1375
-
1376
- - @pluv/types@0.12.0
1377
-
1378
- ## 0.11.1
1379
-
1380
- ### Patch Changes
1381
-
1382
- - 74b3061: Bumped minor and patch dependencies.
1383
- - @pluv/types@0.11.1
1384
-
1385
- ## 0.11.0
1386
-
1387
- ### Patch Changes
1388
-
1389
- - @pluv/types@0.11.0
1390
-
1391
- ## 0.10.3
1392
-
1393
- ### Patch Changes
1394
-
1395
- - @pluv/types@0.10.3
1396
-
1397
- ## 0.10.2
1398
-
1399
- ### Patch Changes
1400
-
1401
- - @pluv/types@0.10.2
1402
-
1403
- ## 0.10.1
1404
-
1405
- ### Patch Changes
1406
-
1407
- - 885835d: remove unnecessary dependency
1408
- - Updated dependencies [885835d]
1409
- - @pluv/types@0.10.1
1410
-
1411
- ## 0.10.0
1412
-
1413
- ### Minor Changes
1414
-
1415
- - f43f1cc: Change packages to all be versioned together for consistency.
1416
-
1417
- ### Patch Changes
1418
-
1419
- - Updated dependencies [f43f1cc]
1420
- - @pluv/types@0.10.0
1421
-
1422
- ## 0.4.2
1423
-
1424
- ### Patch Changes
1425
-
1426
- - f4317ba: \* Renamed type `unstable_YObjectValue` to `YObjectValue`;
1427
- - Renamed type `unstable_YObject` to `YObject`.
1428
- - Re-exported `xmlElement`, `xmlFragment` and `xmlText` from `@pluv/client`.
1429
-
1430
- ```ts
1431
- import { y } from "@pluv/client";
1432
- // or
1433
- import { y } from "@pluv/react";
1434
-
1435
- y.xmlElement("MyElement", {});
1436
- y.xmlFragment({});
1437
- y.xmlText("hello world");
1438
- ```
1439
-
1440
- ## 0.4.1
1441
-
1442
- ### Patch Changes
1443
-
1444
- - 8fba48b: fix including incorrect dependency
1445
- - 8997c65: bumped dependencies
1446
- - Updated dependencies [8fba48b]
1447
- - Updated dependencies [8997c65]
1448
- - @pluv/types@0.2.2
1449
-
1450
- ## 0.4.0
1451
-
1452
- ### Minor Changes
1453
-
1454
- - 829d31b: Added support for defining persistant frontend storage for rooms via a new `addons` option on rooms.
1455
-
1456
- This also introduces the first new addon `@pluv/addon-indexeddb`, which is more-or-less the equivalent to `y-indexeddb` which you can install like so:
1457
-
1458
- ```
1459
- npm install @pluv/addon-indexeddb
1460
- ```
1461
-
1462
- To use this new addon, simply pass it to options when creating a room:
1463
-
1464
- ```ts
1465
- import { addonIndexedDB } from "@pluv/addon-indexeddb";
1466
- import { createClient } from "@pluv/client";
1467
-
1468
- const client = createClient({
1469
- // ...
1470
- });
1471
-
1472
- const room = client.createRoom("my-new-room", {
1473
- addons: [
1474
- // Define your addons in an array like so
1475
- addonIndexedDB(),
1476
- ],
1477
- });
1478
- ```
1479
-
1480
- Or when using `@pluv/react`:
1481
-
1482
- ```ts
1483
- const PluvRoom = createRoomBundle({
1484
- // ...
1485
- addons: [
1486
- // Define your addons in an array like so
1487
- addonIndexedDB(),
1488
- ],
1489
- });
1490
- ```
1491
-
1492
- ### Patch Changes
1493
-
1494
- - 8d11672: bumped dependencies to latest
1495
- - Updated dependencies [8d11672]
1496
- - @pluv/types@0.2.1
1497
-
1498
- ## 0.3.8
1499
-
1500
- ### Patch Changes
1501
-
1502
- - b85a232: bumped dependencies
1503
- - @pluv/types@0.2.0
1504
-
1505
- ## 0.3.7
1506
-
1507
- ### Patch Changes
1508
-
1509
- - 0dd847e: updated storage to be synced when reconnected to the room
1510
- - 3518a83: bumped dependencies
1511
- - Updated dependencies [0dd847e]
1512
- - Updated dependencies [bb2886b]
1513
- - Updated dependencies [ae679a8]
1514
- - @pluv/types@0.2.0
1515
-
1516
- ## 0.3.6
1517
-
1518
- ### Patch Changes
1519
-
1520
- - 78fd644: updated readmes with links to the documentation website
1521
-
1522
- ## 0.3.5
1523
-
1524
- ### Patch Changes
1525
-
1526
- - 850626e: bumped dependencies
1527
- - Updated dependencies [850626e]
1528
- - @pluv/types@0.1.6
1529
-
1530
- ## 0.3.4
1531
-
1532
- ### Patch Changes
1533
-
1534
- - 9ae251d: bumped dependencies
1535
-
1536
- ## 0.3.3
1537
-
1538
- ### Patch Changes
1539
-
1540
- - 74870ee: bumped dependencies
1541
- - Updated dependencies [74870ee]
1542
- - @pluv/types@0.1.5
1543
-
1544
- ## 0.3.2
1545
-
1546
- ### Patch Changes
1547
-
1548
- - 9516a4e: updated typescript to 5.0
1549
- - 7b6da1c: bumped dependencies
1550
- - e9c1514: bumped dependencies
1551
- - 9d1829c: chore: bumped dependencies
1552
- - Updated dependencies [9516a4e]
1553
- - Updated dependencies [7b6da1c]
1554
- - Updated dependencies [e9c1514]
1555
- - @pluv/types@0.1.4
1556
-
1557
- ## 0.3.1
1558
-
1559
- ### Patch Changes
1560
-
1561
- - 161e00e: fixed links to other pluv packages in readmes
1562
- - f6c0e65: bumped dependencies
1563
- - @pluv/types@0.1.3
1564
-
1565
- ## 0.3.0
1566
-
1567
- ### Minor Changes
1568
-
1569
- - 327a6ef: renamed y.unstable\_\_object to y.object
1570
-
1571
- ### Patch Changes
1572
-
1573
- - 8bf62cb: bumped dependencies
1574
- - 7e52685: Bumped dependencies
1575
- - b1cb325: Updated dependencies
1576
- - 8e97fb2: Updated dependencies
1577
- - Updated dependencies [8bf62cb]
1578
- - Updated dependencies [7e52685]
1579
- - Updated dependencies [8e97fb2]
1580
- - @pluv/types@0.1.3
1581
-
1582
- ## 0.2.0
1583
-
1584
- ### Minor Changes
1585
-
1586
- - 6858682: Added support for yjs xml types including XmlElement, XmlFragment and XmlText
1587
-
1588
- ### Patch Changes
1589
-
1590
- - @pluv/types@0.1.2
1591
-
1592
- ## 0.1.3
1593
-
1594
- ### Patch Changes
1595
-
1596
- - fe80d7b: added preview disclaimer about breaking changes in the readme
1597
- - Updated dependencies [fe80d7b]
1598
- - @pluv/types@0.1.2
1599
-
1600
- ## 0.1.2
1601
-
1602
- ### Patch Changes
1603
-
1604
- - b45d642: Fixed links on README
1605
-
1606
- ## 0.1.1
1607
-
1608
- ### Patch Changes
1609
-
1610
- - 24016e6: Updated dependencies
1611
- - Updated dependencies [24016e6]
1612
- - @pluv/types@0.1.1
1613
-
1614
- ## 0.1.0
1615
-
1616
- ### Minor Changes
1617
-
1618
- - a22f525: Added documentation
1619
-
1620
- ### Patch Changes
1621
-
1622
- - Updated dependencies [a22f525]
1623
- - @pluv/types@0.1.0