@tldraw/sync-core 3.14.0-internal.601adf6e424b β 3.14.0
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-cjs/index.js +1 -1
- package/dist-esm/index.mjs +1 -1
- package/package.json +6 -6
- package/CHANGELOG.md +0 -602
package/dist-cjs/index.js
CHANGED
|
@@ -50,7 +50,7 @@ var import_diff = require("./lib/diff");
|
|
|
50
50
|
var import_protocol = require("./lib/protocol");
|
|
51
51
|
(0, import_utils.registerTldrawLibraryVersion)(
|
|
52
52
|
"@tldraw/sync-core",
|
|
53
|
-
"3.14.0
|
|
53
|
+
"3.14.0",
|
|
54
54
|
"cjs"
|
|
55
55
|
);
|
|
56
56
|
//# sourceMappingURL=index.js.map
|
package/dist-esm/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tldraw/sync-core",
|
|
3
3
|
"description": "A tiny little drawing app (multiplayer sync).",
|
|
4
|
-
"version": "3.14.0
|
|
4
|
+
"version": "3.14.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tldraw GB Ltd.",
|
|
7
7
|
"email": "hello@tldraw.com"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@types/uuid-readable": "^0.0.3",
|
|
47
47
|
"react": "^18.3.1",
|
|
48
48
|
"react-dom": "^18.3.1",
|
|
49
|
-
"tldraw": "3.14.0
|
|
49
|
+
"tldraw": "3.14.0",
|
|
50
50
|
"typescript": "~5.4.5",
|
|
51
51
|
"uuid-by-string": "^4.0.0",
|
|
52
52
|
"uuid-readable": "^0.0.2"
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@tldraw/state": "3.14.0
|
|
70
|
-
"@tldraw/store": "3.14.0
|
|
71
|
-
"@tldraw/tlschema": "3.14.0
|
|
72
|
-
"@tldraw/utils": "3.14.0
|
|
69
|
+
"@tldraw/state": "3.14.0",
|
|
70
|
+
"@tldraw/store": "3.14.0",
|
|
71
|
+
"@tldraw/tlschema": "3.14.0",
|
|
72
|
+
"@tldraw/utils": "3.14.0",
|
|
73
73
|
"nanoevents": "^7.0.1",
|
|
74
74
|
"ws": "^8.18.0"
|
|
75
75
|
},
|
package/CHANGELOG.md
DELETED
|
@@ -1,602 +0,0 @@
|
|
|
1
|
-
# v3.13.0 (Thu May 22 2025)
|
|
2
|
-
|
|
3
|
-
### Release Notes
|
|
4
|
-
|
|
5
|
-
#### Elbow arrows ([#5572](https://github.com/tldraw/tldraw/pull/5572))
|
|
6
|
-
|
|
7
|
-
- The arrow shape now supports elbow arrows. Instead of a single straight line or arc, these arrows get from A to B in a series straight lines joined at right angles. Access the new arrow type by selecting the arrow tool, and choosing the new option under the "Line" style.
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
#### π Bug Fixes
|
|
12
|
-
|
|
13
|
-
- [tlsync] Add internal hooks to expose presence changes [#6096](https://github.com/tldraw/tldraw/pull/6096) ([@ds300](https://github.com/ds300))
|
|
14
|
-
|
|
15
|
-
#### π New Features
|
|
16
|
-
|
|
17
|
-
- Elbow arrows [#5572](https://github.com/tldraw/tldraw/pull/5572) ([@SomeHats](https://github.com/SomeHats) [@huppy-bot[bot]](https://github.com/huppy-bot[bot]))
|
|
18
|
-
|
|
19
|
-
#### Authors: 3
|
|
20
|
-
|
|
21
|
-
- [@huppy-bot[bot]](https://github.com/huppy-bot[bot])
|
|
22
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
23
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
# v3.11.0 (Thu Mar 20 2025)
|
|
28
|
-
|
|
29
|
-
#### π Bug Fix
|
|
30
|
-
|
|
31
|
-
- upgrade yarn to 4.7 [#5687](https://github.com/tldraw/tldraw/pull/5687) ([@SomeHats](https://github.com/SomeHats))
|
|
32
|
-
|
|
33
|
-
#### Authors: 1
|
|
34
|
-
|
|
35
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
36
|
-
|
|
37
|
-
---
|
|
38
|
-
|
|
39
|
-
# v3.10.0 (Tue Mar 11 2025)
|
|
40
|
-
|
|
41
|
-
### Release Notes
|
|
42
|
-
|
|
43
|
-
#### [feature] add rich text and contextual toolbar ([#4895](https://github.com/tldraw/tldraw/pull/4895))
|
|
44
|
-
|
|
45
|
-
- Rich text using ProseMirror as a first-class supported option in the Editor.
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
#### π Bug Fix
|
|
50
|
-
|
|
51
|
-
- CTA analytics [#5542](https://github.com/tldraw/tldraw/pull/5542) ([@TodePond](https://github.com/TodePond))
|
|
52
|
-
|
|
53
|
-
#### π New Features
|
|
54
|
-
|
|
55
|
-
- [feature] add rich text and contextual toolbar [#4895](https://github.com/tldraw/tldraw/pull/4895) ([@mimecuvalo](https://github.com/mimecuvalo) [@huppy-bot[bot]](https://github.com/huppy-bot[bot]) [@SomeHats](https://github.com/SomeHats) [@ds300](https://github.com/ds300) [@steveruizok](https://github.com/steveruizok))
|
|
56
|
-
|
|
57
|
-
#### Authors: 6
|
|
58
|
-
|
|
59
|
-
- [@huppy-bot[bot]](https://github.com/huppy-bot[bot])
|
|
60
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
61
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
62
|
-
- Lu Wilson ([@TodePond](https://github.com/TodePond))
|
|
63
|
-
- Mime Δuvalo ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
64
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
65
|
-
|
|
66
|
-
---
|
|
67
|
-
|
|
68
|
-
# v3.9.0 (Mon Mar 03 2025)
|
|
69
|
-
|
|
70
|
-
#### π Bug Fix
|
|
71
|
-
|
|
72
|
-
- Update discord links [#5500](https://github.com/tldraw/tldraw/pull/5500) ([@SomeHats](https://github.com/SomeHats) [@huppy-bot[bot]](https://github.com/huppy-bot[bot]) [@steveruizok](https://github.com/steveruizok) [@TodePond](https://github.com/TodePond))
|
|
73
|
-
|
|
74
|
-
#### Authors: 4
|
|
75
|
-
|
|
76
|
-
- [@huppy-bot[bot]](https://github.com/huppy-bot[bot])
|
|
77
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
78
|
-
- Lu Wilson ([@TodePond](https://github.com/TodePond))
|
|
79
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
# v3.8.0 (Wed Feb 12 2025)
|
|
84
|
-
|
|
85
|
-
### Release Notes
|
|
86
|
-
|
|
87
|
-
#### support react 19 ([#5293](https://github.com/tldraw/tldraw/pull/5293))
|
|
88
|
-
|
|
89
|
-
- tldraw now supports react 19
|
|
90
|
-
|
|
91
|
-
#### Asset uploads ([#5218](https://github.com/tldraw/tldraw/pull/5218))
|
|
92
|
-
|
|
93
|
-
**Breaking change**
|
|
94
|
-
|
|
95
|
-
- `@tldraw/tlschema`: `TLAssetStore.upload` used to return just the `src` of the uploaded asset. It now returns `{src: string, meta?: JsonObject}`. The returned metadata will be added to the asset record and thus allows the users to add some additional data to them when uploading.
|
|
96
|
-
- `@tldraw/editor`: `Editor.uploadAsset` used to return `Promise<string>` and now returns `Promise<{ src: string; meta?: JsonObject }> `
|
|
97
|
-
|
|
98
|
-
#### close sockets on 'close' event ([#5214](https://github.com/tldraw/tldraw/pull/5214))
|
|
99
|
-
|
|
100
|
-
- sync: close the server sockets on disconnect to proactively clean up socket connections.
|
|
101
|
-
|
|
102
|
-
---
|
|
103
|
-
|
|
104
|
-
#### π Product Improvements
|
|
105
|
-
|
|
106
|
-
- support react 19 [#5293](https://github.com/tldraw/tldraw/pull/5293) ([@SomeHats](https://github.com/SomeHats) [@mimecuvalo](https://github.com/mimecuvalo) [@huppy-bot[bot]](https://github.com/huppy-bot[bot]))
|
|
107
|
-
- Asset uploads [#5218](https://github.com/tldraw/tldraw/pull/5218) ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
108
|
-
- close sockets on 'close' event [#5214](https://github.com/tldraw/tldraw/pull/5214) ([@ds300](https://github.com/ds300))
|
|
109
|
-
|
|
110
|
-
#### Authors: 5
|
|
111
|
-
|
|
112
|
-
- [@huppy-bot[bot]](https://github.com/huppy-bot[bot])
|
|
113
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
114
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
115
|
-
- Mime Δuvalo ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
116
|
-
- Mitja BezenΕ‘ek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
# v3.7.0 (Tue Jan 07 2025)
|
|
121
|
-
|
|
122
|
-
### Release Notes
|
|
123
|
-
|
|
124
|
-
#### custom sync presence ([#5071](https://github.com/tldraw/tldraw/pull/5071))
|
|
125
|
-
|
|
126
|
-
- It's now possible to customise what presence data is synced between clients, or disable presence syncing entirely.
|
|
127
|
-
|
|
128
|
-
---
|
|
129
|
-
|
|
130
|
-
#### π οΈ API Changes
|
|
131
|
-
|
|
132
|
-
- custom sync presence [#5071](https://github.com/tldraw/tldraw/pull/5071) ([@SomeHats](https://github.com/SomeHats))
|
|
133
|
-
|
|
134
|
-
#### Authors: 1
|
|
135
|
-
|
|
136
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
137
|
-
|
|
138
|
-
---
|
|
139
|
-
|
|
140
|
-
# v3.6.0 (Wed Dec 04 2024)
|
|
141
|
-
|
|
142
|
-
#### π Product Improvements
|
|
143
|
-
|
|
144
|
-
- [dotcom] Handle max connections properly [#5044](https://github.com/tldraw/tldraw/pull/5044) ([@ds300](https://github.com/ds300))
|
|
145
|
-
|
|
146
|
-
#### Authors: 1
|
|
147
|
-
|
|
148
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
149
|
-
|
|
150
|
-
---
|
|
151
|
-
|
|
152
|
-
# v3.5.0 (Tue Nov 26 2024)
|
|
153
|
-
|
|
154
|
-
### Release Notes
|
|
155
|
-
|
|
156
|
-
#### Add rate limiting. ([#4898](https://github.com/tldraw/tldraw/pull/4898))
|
|
157
|
-
|
|
158
|
-
- Fixed a bug withβ¦
|
|
159
|
-
|
|
160
|
-
#### Call ensureStoreIsUsable after mergeRemoteChanges ([#4833](https://github.com/tldraw/tldraw/pull/4833))
|
|
161
|
-
|
|
162
|
-
- Add store consistency checks during `mergeRemoteChanges`
|
|
163
|
-
|
|
164
|
-
#### [dotcom] fix Safari sleep crash ([#4822](https://github.com/tldraw/tldraw/pull/4822))
|
|
165
|
-
|
|
166
|
-
- Fixed a bug causing the app to crash on Safari (desktop or iPad) when the wifi is disconnected.
|
|
167
|
-
|
|
168
|
-
---
|
|
169
|
-
|
|
170
|
-
#### π Bug Fix
|
|
171
|
-
|
|
172
|
-
- botcom: scaffolding for i18n [#4719](https://github.com/tldraw/tldraw/pull/4719) ([@mimecuvalo](https://github.com/mimecuvalo) [@SomeHats](https://github.com/SomeHats))
|
|
173
|
-
- [botcom] Duplicate / Publish / Create / Delete files on the server [#4798](https://github.com/tldraw/tldraw/pull/4798) ([@steveruizok](https://github.com/steveruizok))
|
|
174
|
-
|
|
175
|
-
#### π Bug Fixes
|
|
176
|
-
|
|
177
|
-
- [dotcom] fix Safari sleep crash [#4822](https://github.com/tldraw/tldraw/pull/4822) ([@ds300](https://github.com/ds300))
|
|
178
|
-
|
|
179
|
-
#### π Product Improvements
|
|
180
|
-
|
|
181
|
-
- Add rate limiting. [#4898](https://github.com/tldraw/tldraw/pull/4898) ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
182
|
-
- Call ensureStoreIsUsable after mergeRemoteChanges [#4833](https://github.com/tldraw/tldraw/pull/4833) ([@ds300](https://github.com/ds300))
|
|
183
|
-
|
|
184
|
-
#### Authors: 5
|
|
185
|
-
|
|
186
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
187
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
188
|
-
- Mime Δuvalo ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
189
|
-
- Mitja BezenΕ‘ek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
190
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
191
|
-
|
|
192
|
-
---
|
|
193
|
-
|
|
194
|
-
# v3.4.0 (Thu Oct 24 2024)
|
|
195
|
-
|
|
196
|
-
### Release Notes
|
|
197
|
-
|
|
198
|
-
#### npm: upgrade eslint v8 β v9 ([#4757](https://github.com/tldraw/tldraw/pull/4757))
|
|
199
|
-
|
|
200
|
-
- Upgrade eslint v8 β v9
|
|
201
|
-
|
|
202
|
-
---
|
|
203
|
-
|
|
204
|
-
#### π Bug Fix
|
|
205
|
-
|
|
206
|
-
- roll back changes from bad deploy [#4780](https://github.com/tldraw/tldraw/pull/4780) ([@SomeHats](https://github.com/SomeHats))
|
|
207
|
-
- Update CHANGELOG.md \[skip ci\] ([@huppy-bot[bot]](https://github.com/huppy-bot[bot]))
|
|
208
|
-
- [botcom] Fix file deletion and creation [#4751](https://github.com/tldraw/tldraw/pull/4751) ([@ds300](https://github.com/ds300))
|
|
209
|
-
- botcom: account menu [bk] [#4683](https://github.com/tldraw/tldraw/pull/4683) ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
210
|
-
|
|
211
|
-
#### π Product Improvements
|
|
212
|
-
|
|
213
|
-
- npm: upgrade eslint v8 β v9 [#4757](https://github.com/tldraw/tldraw/pull/4757) ([@mimecuvalo](https://github.com/mimecuvalo) [@SomeHats](https://github.com/SomeHats) [@ds300](https://github.com/ds300) [@MitjaBezensek](https://github.com/MitjaBezensek) [@steveruizok](https://github.com/steveruizok))
|
|
214
|
-
|
|
215
|
-
#### Authors: 6
|
|
216
|
-
|
|
217
|
-
- [@huppy-bot[bot]](https://github.com/huppy-bot[bot])
|
|
218
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
219
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
220
|
-
- Mime Δuvalo ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
221
|
-
- Mitja BezenΕ‘ek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
222
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
223
|
-
|
|
224
|
-
---
|
|
225
|
-
|
|
226
|
-
# v3.3.0 (Wed Oct 09 2024)
|
|
227
|
-
|
|
228
|
-
### Release Notes
|
|
229
|
-
|
|
230
|
-
#### [botcom] sharing ([#4654](https://github.com/tldraw/tldraw/pull/4654))
|
|
231
|
-
|
|
232
|
-
- Fixed a bug withβ¦
|
|
233
|
-
|
|
234
|
-
#### [sync] refine error handling + room.closeSession method ([#4660](https://github.com/tldraw/tldraw/pull/4660))
|
|
235
|
-
|
|
236
|
-
- Adds a `closeSession` to the `TLSocketRoom` class, for terminating or restarting a client's socket connection.
|
|
237
|
-
|
|
238
|
-
#### [sync] Expose sessions and individual records on TLSocketRoom ([#4677](https://github.com/tldraw/tldraw/pull/4677))
|
|
239
|
-
|
|
240
|
-
- [sync] Adds a couple of new methods to the TLSocketRoom class:
|
|
241
|
-
- `getRecord` - for getting an individual record
|
|
242
|
-
- `getSessions` - for getting a list of the active sessions
|
|
243
|
-
|
|
244
|
-
#### [sync] Set instance.isReadonly automatically ([#4673](https://github.com/tldraw/tldraw/pull/4673))
|
|
245
|
-
|
|
246
|
-
- Puts the editor into readonly mode automatically when the tlsync server responds in readonly mode.
|
|
247
|
-
- Adds the `editor.getIsReadonly()` method.
|
|
248
|
-
- Fixes a bug where arrow labels could be edited in readonly mode.
|
|
249
|
-
|
|
250
|
-
#### [sync] readonly mode ([#4648](https://github.com/tldraw/tldraw/pull/4648))
|
|
251
|
-
|
|
252
|
-
- [tldraw sync] Adds `isReadonly` mode for socket connections.
|
|
253
|
-
|
|
254
|
-
#### Add eslint rule to check that tsdoc params match with function params ([#4615](https://github.com/tldraw/tldraw/pull/4615))
|
|
255
|
-
|
|
256
|
-
- Add lint rules to check for discrepancies between tsdoc params and function params and fix all the discovered issues.
|
|
257
|
-
|
|
258
|
-
---
|
|
259
|
-
|
|
260
|
-
#### π Bug Fix
|
|
261
|
-
|
|
262
|
-
- [botcom] use tlsync as prototype backend [#4617](https://github.com/tldraw/tldraw/pull/4617) ([@ds300](https://github.com/ds300) [@steveruizok](https://github.com/steveruizok))
|
|
263
|
-
|
|
264
|
-
#### π Product Improvements
|
|
265
|
-
|
|
266
|
-
- [sync] refine error handling + room.closeSession method [#4660](https://github.com/tldraw/tldraw/pull/4660) ([@ds300](https://github.com/ds300))
|
|
267
|
-
- [sync] Set instance.isReadonly automatically [#4673](https://github.com/tldraw/tldraw/pull/4673) ([@ds300](https://github.com/ds300))
|
|
268
|
-
- [sync] readonly mode [#4648](https://github.com/tldraw/tldraw/pull/4648) ([@ds300](https://github.com/ds300))
|
|
269
|
-
- Add eslint rule to check that tsdoc params match with function params [#4615](https://github.com/tldraw/tldraw/pull/4615) ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
270
|
-
|
|
271
|
-
#### π New Features
|
|
272
|
-
|
|
273
|
-
- [botcom] sharing [#4654](https://github.com/tldraw/tldraw/pull/4654) ([@ds300](https://github.com/ds300) [@steveruizok](https://github.com/steveruizok))
|
|
274
|
-
- [botcom] Use auth on backend [#4639](https://github.com/tldraw/tldraw/pull/4639) ([@ds300](https://github.com/ds300))
|
|
275
|
-
|
|
276
|
-
#### π οΈ API Changes
|
|
277
|
-
|
|
278
|
-
- [sync] Expose sessions and individual records on TLSocketRoom [#4677](https://github.com/tldraw/tldraw/pull/4677) ([@ds300](https://github.com/ds300))
|
|
279
|
-
|
|
280
|
-
#### Authors: 3
|
|
281
|
-
|
|
282
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
283
|
-
- Mitja BezenΕ‘ek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
284
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
285
|
-
|
|
286
|
-
---
|
|
287
|
-
|
|
288
|
-
# v3.1.0 (Wed Sep 25 2024)
|
|
289
|
-
|
|
290
|
-
### Release Notes
|
|
291
|
-
|
|
292
|
-
#### [sync] Allow doing CRUD directly on the server ([#4559](https://github.com/tldraw/tldraw/pull/4559))
|
|
293
|
-
|
|
294
|
-
- Adds the `updateStore` method to the `TLSocketRoom` class, to allow updating room data directly on the server.
|
|
295
|
-
|
|
296
|
-
---
|
|
297
|
-
|
|
298
|
-
#### π Bug Fix
|
|
299
|
-
|
|
300
|
-
- npm: make our React packages consistent [#4547](https://github.com/tldraw/tldraw/pull/4547) ([@mimecuvalo](https://github.com/mimecuvalo) [@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
301
|
-
- Clean up `apps` directory [#4548](https://github.com/tldraw/tldraw/pull/4548) ([@SomeHats](https://github.com/SomeHats))
|
|
302
|
-
|
|
303
|
-
#### π Product Improvements
|
|
304
|
-
|
|
305
|
-
- [sync] tiny perf thing [#4591](https://github.com/tldraw/tldraw/pull/4591) ([@ds300](https://github.com/ds300))
|
|
306
|
-
|
|
307
|
-
#### π New Features
|
|
308
|
-
|
|
309
|
-
- [sync] Allow doing CRUD directly on the server [#4559](https://github.com/tldraw/tldraw/pull/4559) ([@ds300](https://github.com/ds300))
|
|
310
|
-
|
|
311
|
-
#### Authors: 4
|
|
312
|
-
|
|
313
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
314
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
315
|
-
- Mime Δuvalo ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
316
|
-
- Mitja BezenΕ‘ek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
317
|
-
|
|
318
|
-
---
|
|
319
|
-
|
|
320
|
-
# v3.0.0 (Fri Sep 13 2024)
|
|
321
|
-
|
|
322
|
-
### Release Notes
|
|
323
|
-
|
|
324
|
-
#### Add sleep fn ([#4454](https://github.com/tldraw/tldraw/pull/4454))
|
|
325
|
-
|
|
326
|
-
(internal-only change)
|
|
327
|
-
|
|
328
|
-
#### Detect multiple installed versions of tldraw packages ([#4398](https://github.com/tldraw/tldraw/pull/4398))
|
|
329
|
-
|
|
330
|
-
- We detect when there are multiple versions of tldraw installed and let you know, as this can cause bugs in your application
|
|
331
|
-
|
|
332
|
-
#### Move from function properties to methods ([#4288](https://github.com/tldraw/tldraw/pull/4288))
|
|
333
|
-
|
|
334
|
-
- Adds eslint rules for enforcing the use of methods instead of function properties and fixes / disables all the resulting errors.
|
|
335
|
-
|
|
336
|
-
#### Deprecate editor.mark, fix cropping tests ([#4250](https://github.com/tldraw/tldraw/pull/4250))
|
|
337
|
-
|
|
338
|
-
This deprecates `Editor.mark()` in favour of `Editor.markHistoryStoppingPoint()`.
|
|
339
|
-
|
|
340
|
-
This was done because calling `editor.mark(id)` is a potential footgun unless you always provide a random ID. So `editor.markHistoryStoppingPoint()` always returns a random id.
|
|
341
|
-
|
|
342
|
-
#### Make it easy to load preexisting snapshots into TLSocketRoom ([#4272](https://github.com/tldraw/tldraw/pull/4272))
|
|
343
|
-
|
|
344
|
-
- Allow `TLSocketRoom` to load regular `TLStoreSnapshot` snapshots.
|
|
345
|
-
|
|
346
|
-
#### Sync docs rework ([#4267](https://github.com/tldraw/tldraw/pull/4267))
|
|
347
|
-
|
|
348
|
-
- Update sync.mdx
|
|
349
|
-
|
|
350
|
-
#### Sync docs, further refinements ([#4263](https://github.com/tldraw/tldraw/pull/4263))
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
---
|
|
355
|
-
|
|
356
|
-
#### π Bug Fix
|
|
357
|
-
|
|
358
|
-
- [SORRY, PLEASE MERGE] 3.0 megabus [#4494](https://github.com/tldraw/tldraw/pull/4494) ([@SomeHats](https://github.com/SomeHats) [@steveruizok](https://github.com/steveruizok) [@ds300](https://github.com/ds300))
|
|
359
|
-
- consistent function style [#4468](https://github.com/tldraw/tldraw/pull/4468) ([@SomeHats](https://github.com/SomeHats))
|
|
360
|
-
- Add sleep fn [#4454](https://github.com/tldraw/tldraw/pull/4454) ([@SomeHats](https://github.com/SomeHats))
|
|
361
|
-
- Update READMEs. [#4377](https://github.com/tldraw/tldraw/pull/4377) ([@steveruizok](https://github.com/steveruizok))
|
|
362
|
-
- Sync docs rework [#4267](https://github.com/tldraw/tldraw/pull/4267) ([@ds300](https://github.com/ds300) [@adamwiggins](https://github.com/adamwiggins))
|
|
363
|
-
- Sync docs, further refinements [#4263](https://github.com/tldraw/tldraw/pull/4263) ([@adamwiggins](https://github.com/adamwiggins) [@SomeHats](https://github.com/SomeHats))
|
|
364
|
-
|
|
365
|
-
#### π Product Improvements
|
|
366
|
-
|
|
367
|
-
- inline nanoid [#4410](https://github.com/tldraw/tldraw/pull/4410) ([@SomeHats](https://github.com/SomeHats))
|
|
368
|
-
|
|
369
|
-
#### π New Features
|
|
370
|
-
|
|
371
|
-
- Make it easy to load preexisting snapshots into TLSocketRoom [#4272](https://github.com/tldraw/tldraw/pull/4272) ([@ds300](https://github.com/ds300))
|
|
372
|
-
|
|
373
|
-
#### π οΈ API Changes
|
|
374
|
-
|
|
375
|
-
- Detect multiple installed versions of tldraw packages [#4398](https://github.com/tldraw/tldraw/pull/4398) ([@SomeHats](https://github.com/SomeHats))
|
|
376
|
-
- Move from function properties to methods [#4288](https://github.com/tldraw/tldraw/pull/4288) ([@ds300](https://github.com/ds300) [@MitjaBezensek](https://github.com/MitjaBezensek) [@steveruizok](https://github.com/steveruizok))
|
|
377
|
-
- Deprecate editor.mark, fix cropping tests [#4250](https://github.com/tldraw/tldraw/pull/4250) ([@ds300](https://github.com/ds300))
|
|
378
|
-
|
|
379
|
-
#### Authors: 5
|
|
380
|
-
|
|
381
|
-
- Adam Wiggins ([@adamwiggins](https://github.com/adamwiggins))
|
|
382
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
383
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
384
|
-
- Mitja BezenΕ‘ek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
385
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
386
|
-
|
|
387
|
-
---
|
|
388
|
-
|
|
389
|
-
# v2.4.0 (Mon Jul 22 2024)
|
|
390
|
-
|
|
391
|
-
### Release Notes
|
|
392
|
-
|
|
393
|
-
#### Finesse sync api ([#4212](https://github.com/tldraw/tldraw/pull/4212))
|
|
394
|
-
|
|
395
|
-
- Fixed a bug withβ¦
|
|
396
|
-
|
|
397
|
-
#### Example node + bun server ([#4173](https://github.com/tldraw/tldraw/pull/4173))
|
|
398
|
-
|
|
399
|
-
- Fixed a bug withβ¦
|
|
400
|
-
|
|
401
|
-
#### [bemo] add analytics to bemo worker ([#4146](https://github.com/tldraw/tldraw/pull/4146))
|
|
402
|
-
|
|
403
|
-
- Fixed a bug withβ¦
|
|
404
|
-
|
|
405
|
-
#### [bemo] allow custom shapes ([#4144](https://github.com/tldraw/tldraw/pull/4144))
|
|
406
|
-
|
|
407
|
-
- Fixed a bug withβ¦
|
|
408
|
-
|
|
409
|
-
---
|
|
410
|
-
|
|
411
|
-
#### π Bug Fix
|
|
412
|
-
|
|
413
|
-
- Example node + bun server [#4173](https://github.com/tldraw/tldraw/pull/4173) ([@ds300](https://github.com/ds300))
|
|
414
|
-
- publish bemo canaries [#4175](https://github.com/tldraw/tldraw/pull/4175) ([@SomeHats](https://github.com/SomeHats))
|
|
415
|
-
- [5/5] Move bemo from dotcom to examples [#4135](https://github.com/tldraw/tldraw/pull/4135) ([@SomeHats](https://github.com/SomeHats) [@ds300](https://github.com/ds300))
|
|
416
|
-
- [4/5] sync -> sync-core, sync-react -> sync [#4123](https://github.com/tldraw/tldraw/pull/4123) ([@SomeHats](https://github.com/SomeHats))
|
|
417
|
-
|
|
418
|
-
#### π New Features
|
|
419
|
-
|
|
420
|
-
- [bemo] add analytics to bemo worker [#4146](https://github.com/tldraw/tldraw/pull/4146) ([@ds300](https://github.com/ds300))
|
|
421
|
-
- [bemo] allow custom shapes [#4144](https://github.com/tldraw/tldraw/pull/4144) ([@ds300](https://github.com/ds300))
|
|
422
|
-
|
|
423
|
-
#### π οΈ API Changes
|
|
424
|
-
|
|
425
|
-
- Rename APIs for new sync demo [#4248](https://github.com/tldraw/tldraw/pull/4248) ([@SomeHats](https://github.com/SomeHats))
|
|
426
|
-
- Finesse sync api [#4212](https://github.com/tldraw/tldraw/pull/4212) ([@ds300](https://github.com/ds300))
|
|
427
|
-
|
|
428
|
-
#### Authors: 2
|
|
429
|
-
|
|
430
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
431
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
432
|
-
|
|
433
|
-
---
|
|
434
|
-
|
|
435
|
-
# @tldraw/tlsync
|
|
436
|
-
|
|
437
|
-
## 2.0.0-alpha.11
|
|
438
|
-
|
|
439
|
-
### Patch Changes
|
|
440
|
-
|
|
441
|
-
- Updated dependencies
|
|
442
|
-
- @tldraw/tlschema@2.0.0-alpha.11
|
|
443
|
-
- @tldraw/tlstore@2.0.0-alpha.11
|
|
444
|
-
- @tldraw/utils@2.0.0-alpha.10
|
|
445
|
-
|
|
446
|
-
## 2.0.0-alpha.10
|
|
447
|
-
|
|
448
|
-
### Patch Changes
|
|
449
|
-
|
|
450
|
-
- Updated dependencies [4b4399b6e]
|
|
451
|
-
- @tldraw/tlschema@2.0.0-alpha.10
|
|
452
|
-
- @tldraw/tlstore@2.0.0-alpha.10
|
|
453
|
-
- @tldraw/utils@2.0.0-alpha.9
|
|
454
|
-
|
|
455
|
-
## 2.0.0-alpha.9
|
|
456
|
-
|
|
457
|
-
### Patch Changes
|
|
458
|
-
|
|
459
|
-
- Release day!
|
|
460
|
-
- Updated dependencies
|
|
461
|
-
- @tldraw/tlschema@2.0.0-alpha.9
|
|
462
|
-
- @tldraw/tlstore@2.0.0-alpha.9
|
|
463
|
-
- @tldraw/utils@2.0.0-alpha.8
|
|
464
|
-
|
|
465
|
-
## 2.0.0-alpha.8
|
|
466
|
-
|
|
467
|
-
### Patch Changes
|
|
468
|
-
|
|
469
|
-
- 23dd81cfe: Make signia a peer dependency
|
|
470
|
-
- Updated dependencies [23dd81cfe]
|
|
471
|
-
- @tldraw/tlstore@2.0.0-alpha.8
|
|
472
|
-
- @tldraw/tlschema@2.0.0-alpha.8
|
|
473
|
-
|
|
474
|
-
## 2.0.0-alpha.7
|
|
475
|
-
|
|
476
|
-
### Patch Changes
|
|
477
|
-
|
|
478
|
-
- Bug fixes.
|
|
479
|
-
- Updated dependencies
|
|
480
|
-
- @tldraw/tlschema@2.0.0-alpha.7
|
|
481
|
-
- @tldraw/tlstore@2.0.0-alpha.7
|
|
482
|
-
- @tldraw/utils@2.0.0-alpha.7
|
|
483
|
-
|
|
484
|
-
## 2.0.0-alpha.6
|
|
485
|
-
|
|
486
|
-
### Patch Changes
|
|
487
|
-
|
|
488
|
-
- Add licenses.
|
|
489
|
-
- Updated dependencies
|
|
490
|
-
- @tldraw/tlschema@2.0.0-alpha.6
|
|
491
|
-
- @tldraw/tlstore@2.0.0-alpha.6
|
|
492
|
-
- @tldraw/utils@2.0.0-alpha.6
|
|
493
|
-
|
|
494
|
-
## 2.0.0-alpha.5
|
|
495
|
-
|
|
496
|
-
### Patch Changes
|
|
497
|
-
|
|
498
|
-
- Add CSS files to tldraw/tldraw.
|
|
499
|
-
- Updated dependencies
|
|
500
|
-
- @tldraw/tlschema@2.0.0-alpha.5
|
|
501
|
-
- @tldraw/tlstore@2.0.0-alpha.5
|
|
502
|
-
- @tldraw/utils@2.0.0-alpha.5
|
|
503
|
-
|
|
504
|
-
## 2.0.0-alpha.4
|
|
505
|
-
|
|
506
|
-
### Patch Changes
|
|
507
|
-
|
|
508
|
-
- Add children to tldraw/tldraw
|
|
509
|
-
- Updated dependencies
|
|
510
|
-
- @tldraw/tlschema@2.0.0-alpha.4
|
|
511
|
-
- @tldraw/tlstore@2.0.0-alpha.4
|
|
512
|
-
- @tldraw/utils@2.0.0-alpha.4
|
|
513
|
-
|
|
514
|
-
## 2.0.0-alpha.3
|
|
515
|
-
|
|
516
|
-
### Patch Changes
|
|
517
|
-
|
|
518
|
-
- Change permissions.
|
|
519
|
-
- Updated dependencies
|
|
520
|
-
- @tldraw/tlschema@2.0.0-alpha.3
|
|
521
|
-
- @tldraw/tlstore@2.0.0-alpha.3
|
|
522
|
-
- @tldraw/utils@2.0.0-alpha.3
|
|
523
|
-
|
|
524
|
-
## 2.0.0-alpha.2
|
|
525
|
-
|
|
526
|
-
### Patch Changes
|
|
527
|
-
|
|
528
|
-
- Add tldraw, editor
|
|
529
|
-
- Updated dependencies
|
|
530
|
-
- @tldraw/tlschema@2.0.0-alpha.2
|
|
531
|
-
- @tldraw/tlstore@2.0.0-alpha.2
|
|
532
|
-
- @tldraw/utils@2.0.0-alpha.2
|
|
533
|
-
|
|
534
|
-
## 0.1.0-alpha.11
|
|
535
|
-
|
|
536
|
-
### Patch Changes
|
|
537
|
-
|
|
538
|
-
- Fix stale reactors.
|
|
539
|
-
- Updated dependencies
|
|
540
|
-
- @tldraw/tlschema@0.1.0-alpha.11
|
|
541
|
-
- @tldraw/tlstore@0.1.0-alpha.11
|
|
542
|
-
- @tldraw/utils@0.1.0-alpha.11
|
|
543
|
-
|
|
544
|
-
## 0.1.0-alpha.10
|
|
545
|
-
|
|
546
|
-
### Patch Changes
|
|
547
|
-
|
|
548
|
-
- Fix type export bug.
|
|
549
|
-
- Updated dependencies
|
|
550
|
-
- @tldraw/tlschema@0.1.0-alpha.10
|
|
551
|
-
- @tldraw/tlstore@0.1.0-alpha.10
|
|
552
|
-
- @tldraw/utils@0.1.0-alpha.10
|
|
553
|
-
|
|
554
|
-
## 0.1.0-alpha.9
|
|
555
|
-
|
|
556
|
-
### Patch Changes
|
|
557
|
-
|
|
558
|
-
- Fix import bugs.
|
|
559
|
-
- Updated dependencies
|
|
560
|
-
- @tldraw/tlschema@0.1.0-alpha.9
|
|
561
|
-
- @tldraw/tlstore@0.1.0-alpha.9
|
|
562
|
-
- @tldraw/utils@0.1.0-alpha.9
|
|
563
|
-
|
|
564
|
-
## 0.1.0-alpha.8
|
|
565
|
-
|
|
566
|
-
### Patch Changes
|
|
567
|
-
|
|
568
|
-
- Changes validation requirements, exports validation helpers.
|
|
569
|
-
- Updated dependencies
|
|
570
|
-
- @tldraw/tlschema@0.1.0-alpha.8
|
|
571
|
-
- @tldraw/tlstore@0.1.0-alpha.8
|
|
572
|
-
- @tldraw/utils@0.1.0-alpha.8
|
|
573
|
-
|
|
574
|
-
## 0.1.0-alpha.7
|
|
575
|
-
|
|
576
|
-
### Patch Changes
|
|
577
|
-
|
|
578
|
-
- - Pre-pre-release update
|
|
579
|
-
- Updated dependencies
|
|
580
|
-
- @tldraw/tlschema@0.1.0-alpha.7
|
|
581
|
-
- @tldraw/tlstore@0.1.0-alpha.7
|
|
582
|
-
- @tldraw/utils@0.1.0-alpha.7
|
|
583
|
-
|
|
584
|
-
## 0.0.2-alpha.1
|
|
585
|
-
|
|
586
|
-
### Patch Changes
|
|
587
|
-
|
|
588
|
-
- Fix error with HMR
|
|
589
|
-
- Updated dependencies
|
|
590
|
-
- @tldraw/tlschema@0.0.2-alpha.1
|
|
591
|
-
- @tldraw/tlstore@0.0.2-alpha.1
|
|
592
|
-
- @tldraw/utils@0.0.2-alpha.1
|
|
593
|
-
|
|
594
|
-
## 0.0.2-alpha.0
|
|
595
|
-
|
|
596
|
-
### Patch Changes
|
|
597
|
-
|
|
598
|
-
- Initial release
|
|
599
|
-
- Updated dependencies
|
|
600
|
-
- @tldraw/tlschema@0.0.2-alpha.0
|
|
601
|
-
- @tldraw/tlstore@0.0.2-alpha.0
|
|
602
|
-
- @tldraw/utils@0.0.2-alpha.0
|