tldraw/packages
Steve Ruiz 53be923921
[refactor] record migrations (#1430)
This PR removes comments from our record types, makes initial version
optional, and unifies the order of initial / current version.

- Initial versions are zero by default
- If no current version is provided to `defineMigrations`, migrations
should be undefined
- Fixes TypeScript quirks in versioning (e.g. only initial version)

This PR also:
- Makes migrations optional when empty
- Removes reference to empty migrations

### Change Type

- [x] `major` — Breaking Change

### Test Plan

- [x] Unit Tests
- [ ] Webdriver tests

### Release Notes

- [tlschema] Improve `defineMigrations`
- [editor] Simplify migration definitions
2023-05-22 21:46:24 +00:00
..
assets [feature] add laser pointer (#1412) 2023-05-19 11:09:13 +00:00
editor [refactor] record migrations (#1430) 2023-05-22 21:46:24 +00:00
file-format avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
indices Create @tldraw/indices package (#1426) 2023-05-22 08:18:01 +00:00
polyfills avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
primitives Measure individual words instead of just line breaks for text exports (#1397) 2023-05-22 15:10:03 +00:00
tldraw avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
tlschema [refactor] record migrations (#1430) 2023-05-22 21:46:24 +00:00
tlstore [refactor] record migrations (#1430) 2023-05-22 21:46:24 +00:00
tlsync-client avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
tlvalidate avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
ui Measure individual words instead of just line breaks for text exports (#1397) 2023-05-22 15:10:03 +00:00
utils Create @tldraw/indices package (#1426) 2023-05-22 08:18:01 +00:00