@tldraw/validate 3.14.0-internal.eada756f6aa0 β 3.14.1
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.d.ts +2 -2
- package/dist-cjs/index.js +1 -1
- package/dist-esm/index.d.mts +2 -2
- package/dist-esm/index.mjs +1 -1
- package/package.json +2 -2
- package/CHANGELOG.md +0 -701
package/dist-cjs/index.d.ts
CHANGED
|
@@ -356,8 +356,8 @@ declare class ValidationError extends Error {
|
|
|
356
356
|
/** @public */
|
|
357
357
|
export declare class Validator<T> implements Validatable<T> {
|
|
358
358
|
readonly validationFn: ValidatorFn<T>;
|
|
359
|
-
readonly validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T
|
|
360
|
-
constructor(validationFn: ValidatorFn<T>, validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T
|
|
359
|
+
readonly validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T>;
|
|
360
|
+
constructor(validationFn: ValidatorFn<T>, validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T>);
|
|
361
361
|
/**
|
|
362
362
|
* Asserts that the passed value is of the correct type and returns it. The returned value is
|
|
363
363
|
* guaranteed to be referentially equal to the passed value.
|
package/dist-cjs/index.js
CHANGED
|
@@ -41,7 +41,7 @@ var T = __toESM(require("./lib/validation"));
|
|
|
41
41
|
var import_validation = require("./lib/validation");
|
|
42
42
|
(0, import_utils.registerTldrawLibraryVersion)(
|
|
43
43
|
"@tldraw/validate",
|
|
44
|
-
"3.14.
|
|
44
|
+
"3.14.1",
|
|
45
45
|
"cjs"
|
|
46
46
|
);
|
|
47
47
|
//# sourceMappingURL=index.js.map
|
package/dist-esm/index.d.mts
CHANGED
|
@@ -356,8 +356,8 @@ declare class ValidationError extends Error {
|
|
|
356
356
|
/** @public */
|
|
357
357
|
export declare class Validator<T> implements Validatable<T> {
|
|
358
358
|
readonly validationFn: ValidatorFn<T>;
|
|
359
|
-
readonly validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T
|
|
360
|
-
constructor(validationFn: ValidatorFn<T>, validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T
|
|
359
|
+
readonly validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T>;
|
|
360
|
+
constructor(validationFn: ValidatorFn<T>, validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T>);
|
|
361
361
|
/**
|
|
362
362
|
* Asserts that the passed value is of the correct type and returns it. The returned value is
|
|
363
363
|
* guaranteed to be referentially equal to the passed value.
|
package/dist-esm/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tldraw/validate",
|
|
3
3
|
"description": "A runtime validation library by tldraw.",
|
|
4
|
-
"version": "3.14.
|
|
4
|
+
"version": "3.14.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tldraw Inc.",
|
|
7
7
|
"email": "hello@tldraw.com"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"lint": "yarn run -T tsx ../../internal/scripts/lint.ts"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@tldraw/utils": "3.14.
|
|
45
|
+
"@tldraw/utils": "3.14.1"
|
|
46
46
|
},
|
|
47
47
|
"jest": {
|
|
48
48
|
"preset": "../../internal/config/jest/node/jest-preset.js",
|
package/CHANGELOG.md
DELETED
|
@@ -1,701 +0,0 @@
|
|
|
1
|
-
# v3.10.0 (Tue Mar 11 2025)
|
|
2
|
-
|
|
3
|
-
### Release Notes
|
|
4
|
-
|
|
5
|
-
#### [feature] add rich text and contextual toolbar ([#4895](https://github.com/tldraw/tldraw/pull/4895))
|
|
6
|
-
|
|
7
|
-
- Rich text using ProseMirror as a first-class supported option in the Editor.
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
#### π Bug Fix
|
|
12
|
-
|
|
13
|
-
- CTA analytics [#5542](https://github.com/tldraw/tldraw/pull/5542) ([@TodePond](https://github.com/TodePond))
|
|
14
|
-
|
|
15
|
-
#### π New Features
|
|
16
|
-
|
|
17
|
-
- [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))
|
|
18
|
-
|
|
19
|
-
#### Authors: 6
|
|
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
|
-
- Lu Wilson ([@TodePond](https://github.com/TodePond))
|
|
25
|
-
- Mime Δuvalo ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
26
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
27
|
-
|
|
28
|
-
---
|
|
29
|
-
|
|
30
|
-
# v3.9.0 (Mon Mar 03 2025)
|
|
31
|
-
|
|
32
|
-
#### π Bug Fix
|
|
33
|
-
|
|
34
|
-
- 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))
|
|
35
|
-
|
|
36
|
-
#### Authors: 4
|
|
37
|
-
|
|
38
|
-
- [@huppy-bot[bot]](https://github.com/huppy-bot[bot])
|
|
39
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
40
|
-
- Lu Wilson ([@TodePond](https://github.com/TodePond))
|
|
41
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
42
|
-
|
|
43
|
-
---
|
|
44
|
-
|
|
45
|
-
# v3.8.0 (Wed Feb 12 2025)
|
|
46
|
-
|
|
47
|
-
### Release Notes
|
|
48
|
-
|
|
49
|
-
#### support react 19 ([#5293](https://github.com/tldraw/tldraw/pull/5293))
|
|
50
|
-
|
|
51
|
-
- tldraw now supports react 19
|
|
52
|
-
|
|
53
|
-
---
|
|
54
|
-
|
|
55
|
-
#### π Product Improvements
|
|
56
|
-
|
|
57
|
-
- 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]))
|
|
58
|
-
|
|
59
|
-
#### Authors: 3
|
|
60
|
-
|
|
61
|
-
- [@huppy-bot[bot]](https://github.com/huppy-bot[bot])
|
|
62
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
63
|
-
- Mime Δuvalo ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
64
|
-
|
|
65
|
-
---
|
|
66
|
-
|
|
67
|
-
# v3.6.0 (Wed Dec 04 2024)
|
|
68
|
-
|
|
69
|
-
### Release Notes
|
|
70
|
-
|
|
71
|
-
#### Create a utility type for making undefined properties optional ([#5055](https://github.com/tldraw/tldraw/pull/5055))
|
|
72
|
-
|
|
73
|
-
- Expose a utility type for making undefined properties optional
|
|
74
|
-
|
|
75
|
-
---
|
|
76
|
-
|
|
77
|
-
#### π Bug Fix
|
|
78
|
-
|
|
79
|
-
- Create a utility type for making undefined properties optional [#5055](https://github.com/tldraw/tldraw/pull/5055) ([@trygve-aaberge-adsk](https://github.com/trygve-aaberge-adsk) [@SomeHats](https://github.com/SomeHats))
|
|
80
|
-
|
|
81
|
-
#### Authors: 2
|
|
82
|
-
|
|
83
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
84
|
-
- Trygve Aaberge ([@trygve-aaberge-adsk](https://github.com/trygve-aaberge-adsk))
|
|
85
|
-
|
|
86
|
-
---
|
|
87
|
-
|
|
88
|
-
# v3.4.0 (Thu Oct 24 2024)
|
|
89
|
-
|
|
90
|
-
### Release Notes
|
|
91
|
-
|
|
92
|
-
#### npm: upgrade eslint v8 β v9 ([#4757](https://github.com/tldraw/tldraw/pull/4757))
|
|
93
|
-
|
|
94
|
-
- Upgrade eslint v8 β v9
|
|
95
|
-
|
|
96
|
-
---
|
|
97
|
-
|
|
98
|
-
#### π Bug Fix
|
|
99
|
-
|
|
100
|
-
- roll back changes from bad deploy [#4780](https://github.com/tldraw/tldraw/pull/4780) ([@SomeHats](https://github.com/SomeHats))
|
|
101
|
-
- Update CHANGELOG.md \[skip ci\] ([@huppy-bot[bot]](https://github.com/huppy-bot[bot]))
|
|
102
|
-
|
|
103
|
-
#### π Product Improvements
|
|
104
|
-
|
|
105
|
-
- 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))
|
|
106
|
-
|
|
107
|
-
#### Authors: 6
|
|
108
|
-
|
|
109
|
-
- [@huppy-bot[bot]](https://github.com/huppy-bot[bot])
|
|
110
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
111
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
112
|
-
- Mime Δuvalo ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
113
|
-
- Mitja BezenΕ‘ek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
114
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
115
|
-
|
|
116
|
-
---
|
|
117
|
-
|
|
118
|
-
# v3.2.0 (Thu Sep 26 2024)
|
|
119
|
-
|
|
120
|
-
#### π Bug Fix
|
|
121
|
-
|
|
122
|
-
- [in the voice of David S: MERGE] tldraw.com v2 [#4576](https://github.com/tldraw/tldraw/pull/4576) ([@steveruizok](https://github.com/steveruizok) [@mimecuvalo](https://github.com/mimecuvalo) [@ds300](https://github.com/ds300) [@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
123
|
-
|
|
124
|
-
#### Authors: 4
|
|
125
|
-
|
|
126
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
127
|
-
- Mime Δuvalo ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
128
|
-
- Mitja BezenΕ‘ek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
129
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
130
|
-
|
|
131
|
-
---
|
|
132
|
-
|
|
133
|
-
# v3.1.0 (Wed Sep 25 2024)
|
|
134
|
-
|
|
135
|
-
#### π Bug Fix
|
|
136
|
-
|
|
137
|
-
- docs: cleanup/add readmes/licenses [#4542](https://github.com/tldraw/tldraw/pull/4542) ([@mimecuvalo](https://github.com/mimecuvalo) [@steveruizok](https://github.com/steveruizok) [@MitjaBezensek](https://github.com/MitjaBezensek) [@SomeHats](https://github.com/SomeHats))
|
|
138
|
-
- Clean up `apps` directory [#4548](https://github.com/tldraw/tldraw/pull/4548) ([@SomeHats](https://github.com/SomeHats))
|
|
139
|
-
- licenses: add MIT and update GB ones to match US [#4517](https://github.com/tldraw/tldraw/pull/4517) ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
140
|
-
|
|
141
|
-
#### Authors: 4
|
|
142
|
-
|
|
143
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
144
|
-
- Mime Δuvalo ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
145
|
-
- Mitja BezenΕ‘ek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
146
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
147
|
-
|
|
148
|
-
---
|
|
149
|
-
|
|
150
|
-
# v3.0.0 (Fri Sep 13 2024)
|
|
151
|
-
|
|
152
|
-
### Release Notes
|
|
153
|
-
|
|
154
|
-
#### Detect multiple installed versions of tldraw packages ([#4398](https://github.com/tldraw/tldraw/pull/4398))
|
|
155
|
-
|
|
156
|
-
- We detect when there are multiple versions of tldraw installed and let you know, as this can cause bugs in your application
|
|
157
|
-
|
|
158
|
-
#### Move from function properties to methods ([#4288](https://github.com/tldraw/tldraw/pull/4288))
|
|
159
|
-
|
|
160
|
-
- Adds eslint rules for enforcing the use of methods instead of function properties and fixes / disables all the resulting errors.
|
|
161
|
-
|
|
162
|
-
---
|
|
163
|
-
|
|
164
|
-
#### π Bug Fix
|
|
165
|
-
|
|
166
|
-
- [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))
|
|
167
|
-
- Update READMEs. [#4377](https://github.com/tldraw/tldraw/pull/4377) ([@steveruizok](https://github.com/steveruizok))
|
|
168
|
-
|
|
169
|
-
#### π οΈ API Changes
|
|
170
|
-
|
|
171
|
-
- Detect multiple installed versions of tldraw packages [#4398](https://github.com/tldraw/tldraw/pull/4398) ([@SomeHats](https://github.com/SomeHats))
|
|
172
|
-
- 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))
|
|
173
|
-
|
|
174
|
-
#### Authors: 4
|
|
175
|
-
|
|
176
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
177
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
178
|
-
- Mitja BezenΕ‘ek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
179
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
180
|
-
|
|
181
|
-
---
|
|
182
|
-
|
|
183
|
-
# v2.4.0 (Mon Jul 22 2024)
|
|
184
|
-
|
|
185
|
-
### Release Notes
|
|
186
|
-
|
|
187
|
-
#### Unfurl bookmarks in worker ([#4039](https://github.com/tldraw/tldraw/pull/4039))
|
|
188
|
-
|
|
189
|
-
- Do link unfurling on the same subdomain as all our other api endpoints.
|
|
190
|
-
|
|
191
|
-
---
|
|
192
|
-
|
|
193
|
-
#### π Bug Fix
|
|
194
|
-
|
|
195
|
-
- Demo server bookmark unfurl endpoint [#4062](https://github.com/tldraw/tldraw/pull/4062) ([@SomeHats](https://github.com/SomeHats))
|
|
196
|
-
|
|
197
|
-
#### π Product Improvements
|
|
198
|
-
|
|
199
|
-
- Unfurl bookmarks in worker [#4039](https://github.com/tldraw/tldraw/pull/4039) ([@ds300](https://github.com/ds300))
|
|
200
|
-
|
|
201
|
-
#### Authors: 2
|
|
202
|
-
|
|
203
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
204
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
205
|
-
|
|
206
|
-
---
|
|
207
|
-
|
|
208
|
-
# v2.3.0 (Tue Jun 25 2024)
|
|
209
|
-
|
|
210
|
-
### Release Notes
|
|
211
|
-
|
|
212
|
-
#### assets: store in indexedDB, not as base64 ([#3836](https://github.com/tldraw/tldraw/pull/3836))
|
|
213
|
-
|
|
214
|
-
- Assets: store as reference to blob in indexedDB instead of storing directly as base64 in the snapshot.
|
|
215
|
-
|
|
216
|
-
---
|
|
217
|
-
|
|
218
|
-
#### π SDK Changes
|
|
219
|
-
|
|
220
|
-
- assets: store in indexedDB, not as base64 [#3836](https://github.com/tldraw/tldraw/pull/3836) ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
221
|
-
|
|
222
|
-
#### Authors: 1
|
|
223
|
-
|
|
224
|
-
- Mime Δuvalo ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
225
|
-
|
|
226
|
-
---
|
|
227
|
-
|
|
228
|
-
# v2.2.0 (Tue Jun 11 2024)
|
|
229
|
-
|
|
230
|
-
### Release Notes
|
|
231
|
-
|
|
232
|
-
#### Update validation.ts ([#3324](https://github.com/tldraw/tldraw/pull/3324))
|
|
233
|
-
|
|
234
|
-
- Update example for Union type
|
|
235
|
-
|
|
236
|
-
---
|
|
237
|
-
|
|
238
|
-
I believe this type was changed and `literal` is what it should be now.
|
|
239
|
-
|
|
240
|
-
---
|
|
241
|
-
|
|
242
|
-
#### π SDK Changes
|
|
243
|
-
|
|
244
|
-
- Force `interface` instead of `type` for better docs [#3815](https://github.com/tldraw/tldraw/pull/3815) ([@SomeHats](https://github.com/SomeHats))
|
|
245
|
-
|
|
246
|
-
#### π Documentation changes
|
|
247
|
-
|
|
248
|
-
- make sure everything marked @public gets documented [#3892](https://github.com/tldraw/tldraw/pull/3892) ([@SomeHats](https://github.com/SomeHats))
|
|
249
|
-
- Update validation.ts [#3324](https://github.com/tldraw/tldraw/pull/3324) ([@lorenzolewis](https://github.com/lorenzolewis))
|
|
250
|
-
|
|
251
|
-
#### π Internal
|
|
252
|
-
|
|
253
|
-
- Update READMEs, add form link [#3741](https://github.com/tldraw/tldraw/pull/3741) ([@steveruizok](https://github.com/steveruizok))
|
|
254
|
-
- Don't check api.json files into git [#3565](https://github.com/tldraw/tldraw/pull/3565) ([@SomeHats](https://github.com/SomeHats))
|
|
255
|
-
|
|
256
|
-
#### Authors: 3
|
|
257
|
-
|
|
258
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
259
|
-
- Lorenzo Lewis ([@lorenzolewis](https://github.com/lorenzolewis))
|
|
260
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
261
|
-
|
|
262
|
-
---
|
|
263
|
-
|
|
264
|
-
# v2.1.0 (Tue Apr 23 2024)
|
|
265
|
-
|
|
266
|
-
### Release Notes
|
|
267
|
-
|
|
268
|
-
#### New migrations again ([#3220](https://github.com/tldraw/tldraw/pull/3220))
|
|
269
|
-
|
|
270
|
-
#### BREAKING CHANGES
|
|
271
|
-
|
|
272
|
-
- The `Migrations` type is now called `LegacyMigrations`.
|
|
273
|
-
- The serialized schema format (e.g. returned by `StoreSchema.serialize()` and `Store.getSnapshot()`) has changed. You don't need to do anything about it unless you were reading data directly from the schema for some reason. In which case it'd be best to avoid that in the future! We have no plans to change the schema format again (this time was traumatic enough) but you never know.
|
|
274
|
-
- `compareRecordVersions` and the `RecordVersion` type have both disappeared. There is no replacement. These were public by mistake anyway, so hopefully nobody had been using it.
|
|
275
|
-
- `compareSchemas` is gone. Comparing the schemas directly is no longer really possible since we introduced some fuzziness. The best thing to do now to check compatibility is to call `schema.getMigraitonsSince(prevSchema)` and it will return an error if the schemas are not compatible, an empty array if there are no migrations to apply since the prev schema, and a nonempty array otherwise.
|
|
276
|
-
|
|
277
|
-
Generally speaking, the best way to check schema compatibility now is to call `store.schema.getMigrationsSince(persistedSchema)`. This will throw an error if there is no upgrade path from the `persistedSchema` to the current version.
|
|
278
|
-
|
|
279
|
-
- `defineMigrations` has been deprecated and will be removed in a future release. For upgrade instructions see https://tldraw.dev/docs/persistence#Updating-legacy-shape-migrations-defineMigrations
|
|
280
|
-
|
|
281
|
-
- `migrate` has been removed. Nobody should have been using this but if you were you'll need to find an alternative. For migrating tldraw data, you should stick to using `schema.migrateStoreSnapshot` and, if you are building a nuanced sync engine that supports some amount of backwards compatibility, also feel free to use `schema.migratePersistedRecord`.
|
|
282
|
-
- the `Migration` type has changed. If you need the old one for some reason it has been renamed to `LegacyMigration`. It will be removed in a future release.
|
|
283
|
-
- the `Migrations` type has been renamed to `LegacyMigrations` and will be removed in a future release.
|
|
284
|
-
- the `SerializedSchema` type has been augmented. If you need the old version specifically you can use `SerializedSchemaV1`
|
|
285
|
-
|
|
286
|
-
---
|
|
287
|
-
|
|
288
|
-
#### π₯ Breaking Change
|
|
289
|
-
|
|
290
|
-
- React-powered SVG exports [#3117](https://github.com/tldraw/tldraw/pull/3117) ([@SomeHats](https://github.com/SomeHats) [@huppy-bot[bot]](https://github.com/huppy-bot[bot]))
|
|
291
|
-
|
|
292
|
-
#### π SDK Changes
|
|
293
|
-
|
|
294
|
-
- [fix] allow loading files [#3517](https://github.com/tldraw/tldraw/pull/3517) ([@ds300](https://github.com/ds300))
|
|
295
|
-
- New migrations again [#3220](https://github.com/tldraw/tldraw/pull/3220) ([@ds300](https://github.com/ds300) [@steveruizok](https://github.com/steveruizok))
|
|
296
|
-
- use native structuredClone on node, cloudflare workers, and in tests [#3166](https://github.com/tldraw/tldraw/pull/3166) ([@si14](https://github.com/si14))
|
|
297
|
-
|
|
298
|
-
#### Authors: 5
|
|
299
|
-
|
|
300
|
-
- [@huppy-bot[bot]](https://github.com/huppy-bot[bot])
|
|
301
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
302
|
-
- Dan Groshev ([@si14](https://github.com/si14))
|
|
303
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
304
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
305
|
-
|
|
306
|
-
---
|
|
307
|
-
|
|
308
|
-
# v2.0.0-beta.5 (Thu Feb 29 2024)
|
|
309
|
-
|
|
310
|
-
#### π© Dependency Updates
|
|
311
|
-
|
|
312
|
-
- bump typescript / api-extractor [#2949](https://github.com/tldraw/tldraw/pull/2949) ([@steveruizok](https://github.com/steveruizok))
|
|
313
|
-
|
|
314
|
-
#### Authors: 1
|
|
315
|
-
|
|
316
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
317
|
-
|
|
318
|
-
---
|
|
319
|
-
|
|
320
|
-
# v2.0.0-beta.4 (Wed Feb 21 2024)
|
|
321
|
-
|
|
322
|
-
### Release Notes
|
|
323
|
-
|
|
324
|
-
#### Faster validations + record reference stability at the same time ([#2848](https://github.com/tldraw/tldraw/pull/2848))
|
|
325
|
-
|
|
326
|
-
- Add a brief release note for your PR here.
|
|
327
|
-
|
|
328
|
-
---
|
|
329
|
-
|
|
330
|
-
#### π Bug Fix
|
|
331
|
-
|
|
332
|
-
- Fix object validator [#2897](https://github.com/tldraw/tldraw/pull/2897) ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
333
|
-
- Faster validations + record reference stability at the same time [#2848](https://github.com/tldraw/tldraw/pull/2848) ([@ds300](https://github.com/ds300))
|
|
334
|
-
- [Snapping 1/5] Validation & strict types for fractional indexes [#2827](https://github.com/tldraw/tldraw/pull/2827) ([@SomeHats](https://github.com/SomeHats))
|
|
335
|
-
|
|
336
|
-
#### π Internal
|
|
337
|
-
|
|
338
|
-
- Check tsconfig "references" arrays [#2891](https://github.com/tldraw/tldraw/pull/2891) ([@ds300](https://github.com/ds300))
|
|
339
|
-
- dev: swap yarn test and test-dev for better dx [#2773](https://github.com/tldraw/tldraw/pull/2773) ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
340
|
-
|
|
341
|
-
#### Authors: 4
|
|
342
|
-
|
|
343
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
344
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
345
|
-
- Mime Δuvalo ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
346
|
-
- Mitja BezenΕ‘ek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
347
|
-
|
|
348
|
-
---
|
|
349
|
-
|
|
350
|
-
# v2.0.0-beta.3 (Tue Feb 13 2024)
|
|
351
|
-
|
|
352
|
-
### Release Notes
|
|
353
|
-
|
|
354
|
-
#### error reporting: rm ids from msgs for better Sentry grouping ([#2738](https://github.com/tldraw/tldraw/pull/2738))
|
|
355
|
-
|
|
356
|
-
- Error reporting: improve grouping for Sentry.
|
|
357
|
-
|
|
358
|
-
#### dev: add test-dev command for easier testing of packages ([#2627](https://github.com/tldraw/tldraw/pull/2627))
|
|
359
|
-
|
|
360
|
-
- Adds easier testing command for individual packages.
|
|
361
|
-
|
|
362
|
-
---
|
|
363
|
-
|
|
364
|
-
#### π Enhancement
|
|
365
|
-
|
|
366
|
-
- [dx] use Biome instead of Prettier, part 2 [#2731](https://github.com/tldraw/tldraw/pull/2731) ([@si14](https://github.com/si14))
|
|
367
|
-
|
|
368
|
-
#### π Bug Fix
|
|
369
|
-
|
|
370
|
-
- error reporting: rm ids from msgs for better Sentry grouping [#2738](https://github.com/tldraw/tldraw/pull/2738) ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
371
|
-
- Fix validation for local files. [#2447](https://github.com/tldraw/tldraw/pull/2447) ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
372
|
-
|
|
373
|
-
#### π Internal
|
|
374
|
-
|
|
375
|
-
- Unbiome [#2776](https://github.com/tldraw/tldraw/pull/2776) ([@si14](https://github.com/si14))
|
|
376
|
-
- Update the project to Node 20 [#2691](https://github.com/tldraw/tldraw/pull/2691) ([@si14](https://github.com/si14))
|
|
377
|
-
- dev: add test-dev command for easier testing of packages [#2627](https://github.com/tldraw/tldraw/pull/2627) ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
378
|
-
- Add docs [#2470](https://github.com/tldraw/tldraw/pull/2470) ([@steveruizok](https://github.com/steveruizok))
|
|
379
|
-
|
|
380
|
-
#### π© Dependency Updates
|
|
381
|
-
|
|
382
|
-
- Bump Yarn to 4.0.2 and add version constraints [#2481](https://github.com/tldraw/tldraw/pull/2481) ([@si14](https://github.com/si14))
|
|
383
|
-
|
|
384
|
-
#### Authors: 4
|
|
385
|
-
|
|
386
|
-
- Dan Groshev ([@si14](https://github.com/si14))
|
|
387
|
-
- Mime Δuvalo ([@mimecuvalo](https://github.com/mimecuvalo))
|
|
388
|
-
- Mitja BezenΕ‘ek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
389
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
390
|
-
|
|
391
|
-
---
|
|
392
|
-
|
|
393
|
-
# v2.0.0-beta.2 (Wed Jan 10 2024)
|
|
394
|
-
|
|
395
|
-
### Release Notes
|
|
396
|
-
|
|
397
|
-
#### Add url validation ([#2428](https://github.com/tldraw/tldraw/pull/2428))
|
|
398
|
-
|
|
399
|
-
- Add validation to urls.
|
|
400
|
-
|
|
401
|
-
#### Fix trademark links ([#2380](https://github.com/tldraw/tldraw/pull/2380))
|
|
402
|
-
|
|
403
|
-
- Fixes broken links in a number of docs files.
|
|
404
|
-
|
|
405
|
-
---
|
|
406
|
-
|
|
407
|
-
#### π Bug Fix
|
|
408
|
-
|
|
409
|
-
- Add url validation [#2428](https://github.com/tldraw/tldraw/pull/2428) ([@MitjaBezensek](https://github.com/MitjaBezensek) [@SomeHats](https://github.com/SomeHats))
|
|
410
|
-
|
|
411
|
-
#### π Documentation
|
|
412
|
-
|
|
413
|
-
- Fix trademark links [#2380](https://github.com/tldraw/tldraw/pull/2380) ([@nonparibus](https://github.com/nonparibus))
|
|
414
|
-
- Another typo fix. [#2366](https://github.com/tldraw/tldraw/pull/2366) ([@steveruizok](https://github.com/steveruizok))
|
|
415
|
-
|
|
416
|
-
#### Authors: 4
|
|
417
|
-
|
|
418
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
419
|
-
- David @ HASH ([@nonparibus](https://github.com/nonparibus))
|
|
420
|
-
- Mitja BezenΕ‘ek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
421
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
422
|
-
|
|
423
|
-
---
|
|
424
|
-
|
|
425
|
-
# v2.0.0-beta.1 (Wed Dec 20 2023)
|
|
426
|
-
|
|
427
|
-
#### π₯ Breaking Change
|
|
428
|
-
|
|
429
|
-
- bump to beta [#2364](https://github.com/tldraw/tldraw/pull/2364) ([@steveruizok](https://github.com/steveruizok))
|
|
430
|
-
- Change licenses to tldraw [#2167](https://github.com/tldraw/tldraw/pull/2167) ([@steveruizok](https://github.com/steveruizok))
|
|
431
|
-
|
|
432
|
-
#### Authors: 1
|
|
433
|
-
|
|
434
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
435
|
-
|
|
436
|
-
---
|
|
437
|
-
|
|
438
|
-
# v2.0.0-alpha.18 (Fri Nov 10 2023)
|
|
439
|
-
|
|
440
|
-
#### π Internal
|
|
441
|
-
|
|
442
|
-
- Revert "bump prerelease from alpha to beta" [#2192](https://github.com/tldraw/tldraw/pull/2192) ([@ds300](https://github.com/ds300))
|
|
443
|
-
- bump prerelease from alpha to beta [#2148](https://github.com/tldraw/tldraw/pull/2148) ([@ds300](https://github.com/ds300))
|
|
444
|
-
|
|
445
|
-
#### Authors: 1
|
|
446
|
-
|
|
447
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
448
|
-
|
|
449
|
-
---
|
|
450
|
-
|
|
451
|
-
# v2.0.0-alpha.16 (Wed Oct 11 2023)
|
|
452
|
-
|
|
453
|
-
#### π Internal
|
|
454
|
-
|
|
455
|
-
- Publish api.json [#2034](https://github.com/tldraw/tldraw/pull/2034) ([@steveruizok](https://github.com/steveruizok))
|
|
456
|
-
|
|
457
|
-
#### Authors: 1
|
|
458
|
-
|
|
459
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
460
|
-
|
|
461
|
-
---
|
|
462
|
-
|
|
463
|
-
# v2.0.0-alpha.15 (Fri Oct 06 2023)
|
|
464
|
-
|
|
465
|
-
### Release Notes
|
|
466
|
-
|
|
467
|
-
#### tldraw zero - package shuffle ([#1710](https://github.com/tldraw/tldraw/pull/1710))
|
|
468
|
-
|
|
469
|
-
- [@tldraw/editor] lots, wip
|
|
470
|
-
- [@tldraw/ui] gone, merged to tldraw/tldraw
|
|
471
|
-
- [@tldraw/polyfills] gone, merged to tldraw/editor
|
|
472
|
-
- [@tldraw/primitives] gone, merged to tldraw/editor / tldraw/tldraw
|
|
473
|
-
- [@tldraw/indices] gone, merged to tldraw/editor
|
|
474
|
-
- [@tldraw/file-format] gone, merged to tldraw/tldraw
|
|
475
|
-
|
|
476
|
-
---
|
|
477
|
-
|
|
478
|
-
#### π₯ Breaking Change
|
|
479
|
-
|
|
480
|
-
- tldraw zero - package shuffle [#1710](https://github.com/tldraw/tldraw/pull/1710) ([@steveruizok](https://github.com/steveruizok) [@SomeHats](https://github.com/SomeHats))
|
|
481
|
-
|
|
482
|
-
#### π Enhancement
|
|
483
|
-
|
|
484
|
-
- Add shapes to exports [#1776](https://github.com/tldraw/tldraw/pull/1776) ([@steveruizok](https://github.com/steveruizok))
|
|
485
|
-
|
|
486
|
-
#### Authors: 2
|
|
487
|
-
|
|
488
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
489
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
490
|
-
|
|
491
|
-
---
|
|
492
|
-
|
|
493
|
-
# v2.0.0-alpha.14 (Tue Jul 04 2023)
|
|
494
|
-
|
|
495
|
-
### Release Notes
|
|
496
|
-
|
|
497
|
-
#### [feature] add `meta` property to records ([#1627](https://github.com/tldraw/tldraw/pull/1627))
|
|
498
|
-
|
|
499
|
-
- todo
|
|
500
|
-
|
|
501
|
-
---
|
|
502
|
-
|
|
503
|
-
#### π Enhancement
|
|
504
|
-
|
|
505
|
-
- [feature] add `meta` property to records [#1627](https://github.com/tldraw/tldraw/pull/1627) ([@steveruizok](https://github.com/steveruizok))
|
|
506
|
-
|
|
507
|
-
#### Authors: 1
|
|
508
|
-
|
|
509
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
510
|
-
|
|
511
|
-
---
|
|
512
|
-
|
|
513
|
-
# v2.0.0-alpha.13 (Wed Jun 28 2023)
|
|
514
|
-
|
|
515
|
-
### Release Notes
|
|
516
|
-
|
|
517
|
-
#### Styles API ([#1580](https://github.com/tldraw/tldraw/pull/1580))
|
|
518
|
-
|
|
519
|
-
-
|
|
520
|
-
|
|
521
|
-
#### mini `defineShape` API ([#1563](https://github.com/tldraw/tldraw/pull/1563))
|
|
522
|
-
|
|
523
|
-
[dev-facing, notes to come]
|
|
524
|
-
|
|
525
|
-
#### Rename tlvalidate to validate ([#1508](https://github.com/tldraw/tldraw/pull/1508))
|
|
526
|
-
|
|
527
|
-
- Rename tlvalidate to validate
|
|
528
|
-
|
|
529
|
-
---
|
|
530
|
-
|
|
531
|
-
#### π₯ Breaking Change
|
|
532
|
-
|
|
533
|
-
- Styles API [#1580](https://github.com/tldraw/tldraw/pull/1580) ([@SomeHats](https://github.com/SomeHats) [@steveruizok](https://github.com/steveruizok))
|
|
534
|
-
- mini `defineShape` API [#1563](https://github.com/tldraw/tldraw/pull/1563) ([@SomeHats](https://github.com/SomeHats))
|
|
535
|
-
- Rename tlvalidate to validate [#1508](https://github.com/tldraw/tldraw/pull/1508) ([@steveruizok](https://github.com/steveruizok))
|
|
536
|
-
|
|
537
|
-
#### β οΈ Pushed to `main`
|
|
538
|
-
|
|
539
|
-
- update lazyrepo ([@ds300](https://github.com/ds300))
|
|
540
|
-
|
|
541
|
-
#### Authors: 3
|
|
542
|
-
|
|
543
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
544
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
545
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
546
|
-
|
|
547
|
-
---
|
|
548
|
-
|
|
549
|
-
# v2.0.0-alpha.12 (Mon Apr 03 2023)
|
|
550
|
-
|
|
551
|
-
#### π Bug Fix
|
|
552
|
-
|
|
553
|
-
- Make sure all types and build stuff get run in CI [#1548](https://github.com/tldraw/tldraw-lite/pull/1548) ([@SomeHats](https://github.com/SomeHats))
|
|
554
|
-
- add pre-commit api report generation [#1517](https://github.com/tldraw/tldraw-lite/pull/1517) ([@SomeHats](https://github.com/SomeHats))
|
|
555
|
-
- [chore] restore api extractor [#1500](https://github.com/tldraw/tldraw-lite/pull/1500) ([@steveruizok](https://github.com/steveruizok))
|
|
556
|
-
- David/publish good [#1488](https://github.com/tldraw/tldraw-lite/pull/1488) ([@ds300](https://github.com/ds300))
|
|
557
|
-
- [chore] alpha 10 [#1486](https://github.com/tldraw/tldraw-lite/pull/1486) ([@ds300](https://github.com/ds300))
|
|
558
|
-
- [chore] bump for alpha 8 [#1485](https://github.com/tldraw/tldraw-lite/pull/1485) ([@steveruizok](https://github.com/steveruizok))
|
|
559
|
-
- [improvement] API Reference docs [#1478](https://github.com/tldraw/tldraw-lite/pull/1478) ([@steveruizok](https://github.com/steveruizok))
|
|
560
|
-
- stop using broken-af turbo for publishing [#1476](https://github.com/tldraw/tldraw-lite/pull/1476) ([@ds300](https://github.com/ds300))
|
|
561
|
-
- [chore] add canary release script [#1423](https://github.com/tldraw/tldraw-lite/pull/1423) ([@ds300](https://github.com/ds300) [@steveruizok](https://github.com/steveruizok))
|
|
562
|
-
- [chore] upgrade yarn [#1430](https://github.com/tldraw/tldraw-lite/pull/1430) ([@ds300](https://github.com/ds300))
|
|
563
|
-
- repo cleanup [#1426](https://github.com/tldraw/tldraw-lite/pull/1426) ([@steveruizok](https://github.com/steveruizok))
|
|
564
|
-
|
|
565
|
-
#### Authors: 3
|
|
566
|
-
|
|
567
|
-
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
568
|
-
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
569
|
-
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
570
|
-
|
|
571
|
-
---
|
|
572
|
-
|
|
573
|
-
# @tldraw/tlvalidate
|
|
574
|
-
|
|
575
|
-
## 2.0.0-alpha.10
|
|
576
|
-
|
|
577
|
-
### Patch Changes
|
|
578
|
-
|
|
579
|
-
- fix some package build scripting
|
|
580
|
-
- Updated dependencies
|
|
581
|
-
- @tldraw/utils@2.0.0-alpha.10
|
|
582
|
-
|
|
583
|
-
## 2.0.0-alpha.9
|
|
584
|
-
|
|
585
|
-
### Patch Changes
|
|
586
|
-
|
|
587
|
-
- 4b4399b6e: redeploy with yarn to prevent package version issues
|
|
588
|
-
- Updated dependencies [4b4399b6e]
|
|
589
|
-
- @tldraw/utils@2.0.0-alpha.9
|
|
590
|
-
|
|
591
|
-
## 2.0.0-alpha.8
|
|
592
|
-
|
|
593
|
-
### Patch Changes
|
|
594
|
-
|
|
595
|
-
- Release day!
|
|
596
|
-
- Updated dependencies
|
|
597
|
-
- @tldraw/utils@2.0.0-alpha.8
|
|
598
|
-
|
|
599
|
-
## 2.0.0-alpha.7
|
|
600
|
-
|
|
601
|
-
### Patch Changes
|
|
602
|
-
|
|
603
|
-
- Bug fixes.
|
|
604
|
-
- Updated dependencies
|
|
605
|
-
- @tldraw/utils@2.0.0-alpha.7
|
|
606
|
-
|
|
607
|
-
## 2.0.0-alpha.6
|
|
608
|
-
|
|
609
|
-
### Patch Changes
|
|
610
|
-
|
|
611
|
-
- Add licenses.
|
|
612
|
-
- Updated dependencies
|
|
613
|
-
- @tldraw/utils@2.0.0-alpha.6
|
|
614
|
-
|
|
615
|
-
## 2.0.0-alpha.5
|
|
616
|
-
|
|
617
|
-
### Patch Changes
|
|
618
|
-
|
|
619
|
-
- Add CSS files to tldraw/tldraw.
|
|
620
|
-
- Updated dependencies
|
|
621
|
-
- @tldraw/utils@2.0.0-alpha.5
|
|
622
|
-
|
|
623
|
-
## 2.0.0-alpha.4
|
|
624
|
-
|
|
625
|
-
### Patch Changes
|
|
626
|
-
|
|
627
|
-
- Add children to tldraw/tldraw
|
|
628
|
-
- Updated dependencies
|
|
629
|
-
- @tldraw/utils@2.0.0-alpha.4
|
|
630
|
-
|
|
631
|
-
## 2.0.0-alpha.3
|
|
632
|
-
|
|
633
|
-
### Patch Changes
|
|
634
|
-
|
|
635
|
-
- Change permissions.
|
|
636
|
-
- Updated dependencies
|
|
637
|
-
- @tldraw/utils@2.0.0-alpha.3
|
|
638
|
-
|
|
639
|
-
## 2.0.0-alpha.2
|
|
640
|
-
|
|
641
|
-
### Patch Changes
|
|
642
|
-
|
|
643
|
-
- Add tldraw, editor
|
|
644
|
-
- Updated dependencies
|
|
645
|
-
- @tldraw/utils@2.0.0-alpha.2
|
|
646
|
-
|
|
647
|
-
## 0.1.0-alpha.11
|
|
648
|
-
|
|
649
|
-
### Patch Changes
|
|
650
|
-
|
|
651
|
-
- Fix stale reactors.
|
|
652
|
-
- Updated dependencies
|
|
653
|
-
- @tldraw/utils@0.1.0-alpha.11
|
|
654
|
-
|
|
655
|
-
## 0.1.0-alpha.10
|
|
656
|
-
|
|
657
|
-
### Patch Changes
|
|
658
|
-
|
|
659
|
-
- Fix type export bug.
|
|
660
|
-
- Updated dependencies
|
|
661
|
-
- @tldraw/utils@0.1.0-alpha.10
|
|
662
|
-
|
|
663
|
-
## 0.1.0-alpha.9
|
|
664
|
-
|
|
665
|
-
### Patch Changes
|
|
666
|
-
|
|
667
|
-
- Fix import bugs.
|
|
668
|
-
- Updated dependencies
|
|
669
|
-
- @tldraw/utils@0.1.0-alpha.9
|
|
670
|
-
|
|
671
|
-
## 0.1.0-alpha.8
|
|
672
|
-
|
|
673
|
-
### Patch Changes
|
|
674
|
-
|
|
675
|
-
- Changes validation requirements, exports validation helpers.
|
|
676
|
-
- Updated dependencies
|
|
677
|
-
- @tldraw/utils@0.1.0-alpha.8
|
|
678
|
-
|
|
679
|
-
## 0.1.0-alpha.7
|
|
680
|
-
|
|
681
|
-
### Patch Changes
|
|
682
|
-
|
|
683
|
-
- - Pre-pre-release update
|
|
684
|
-
- Updated dependencies
|
|
685
|
-
- @tldraw/utils@0.1.0-alpha.7
|
|
686
|
-
|
|
687
|
-
## 0.0.2-alpha.1
|
|
688
|
-
|
|
689
|
-
### Patch Changes
|
|
690
|
-
|
|
691
|
-
- Fix error with HMR
|
|
692
|
-
- Updated dependencies
|
|
693
|
-
- @tldraw/utils@0.0.2-alpha.1
|
|
694
|
-
|
|
695
|
-
## 0.0.2-alpha.0
|
|
696
|
-
|
|
697
|
-
### Patch Changes
|
|
698
|
-
|
|
699
|
-
- Initial release
|
|
700
|
-
- Updated dependencies
|
|
701
|
-
- @tldraw/utils@0.0.2-alpha.0
|