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