UNPKG

@tldraw/state

Version:

A tiny little drawing app (state).

789 lines (463 loc) โ€ข 29.3 kB
# v3.12.0 (Tue Apr 15 2025) ### Release Notes #### Add & fix missing state docs ([#5696](https://github.com/tldraw/tldraw/pull/5696)) - Docs: Added more docs to the `@tldraw/state` and `@tldraw/state-react` API reference, --- #### ๐Ÿ› Bug Fix - Disable currently broken docs links [#5778](https://github.com/tldraw/tldraw/pull/5778) ([@TodePond](https://github.com/TodePond)) - Better whyAmIRunning [#5746](https://github.com/tldraw/tldraw/pull/5746) ([@ds300](https://github.com/ds300)) - Add & fix missing state docs [#5696](https://github.com/tldraw/tldraw/pull/5696) ([@TodePond](https://github.com/TodePond)) #### Authors: 2 - David Sheldrick ([@ds300](https://github.com/ds300)) - Lu Wilson ([@TodePond](https://github.com/TodePond)) --- # v3.11.0 (Thu Mar 20 2025) ### Release Notes #### [Friendly Spellcheck]: Fix comments of types.ts file in @tldraw/state ([#5683](https://github.com/tldraw/tldraw/pull/5683)) - Fixed typos found in the `Signal` interface's comments --- #### ๐Ÿ› Bug Fix - [Friendly Spellcheck]: Fix comments of types.ts file in @tldraw/state [#5683](https://github.com/tldraw/tldraw/pull/5683) ([@Jastor11](https://github.com/Jastor11)) - Fix API links for state packages [#5606](https://github.com/tldraw/tldraw/pull/5606) ([@TodePond](https://github.com/TodePond)) #### Authors: 2 - Jeff Astor ([@Jastor11](https://github.com/Jastor11)) - Lu Wilson ([@TodePond](https://github.com/TodePond)) --- # v3.10.0 (Tue Mar 11 2025) ### Release Notes #### [feature] add rich text and contextual toolbar ([#4895](https://github.com/tldraw/tldraw/pull/4895)) - Rich text using ProseMirror as a first-class supported option in the Editor. --- #### ๐Ÿ› Bug Fix - CTA analytics [#5542](https://github.com/tldraw/tldraw/pull/5542) ([@TodePond](https://github.com/TodePond)) #### ๐ŸŽ‰ New Features - [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)) #### Authors: 6 - [@huppy-bot[bot]](https://github.com/huppy-bot[bot]) - alex ([@SomeHats](https://github.com/SomeHats)) - David Sheldrick ([@ds300](https://github.com/ds300)) - Lu Wilson ([@TodePond](https://github.com/TodePond)) - Mime ฤŒuvalo ([@mimecuvalo](https://github.com/mimecuvalo)) - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v3.9.0 (Mon Mar 03 2025) #### ๐Ÿ› Bug Fix - 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)) #### Authors: 4 - [@huppy-bot[bot]](https://github.com/huppy-bot[bot]) - alex ([@SomeHats](https://github.com/SomeHats)) - Lu Wilson ([@TodePond](https://github.com/TodePond)) - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v3.8.0 (Wed Feb 12 2025) ### Release Notes #### support react 19 ([#5293](https://github.com/tldraw/tldraw/pull/5293)) - tldraw now supports react 19 --- #### ๐Ÿ’„ Product Improvements - 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])) #### Authors: 3 - [@huppy-bot[bot]](https://github.com/huppy-bot[bot]) - alex ([@SomeHats](https://github.com/SomeHats)) - Mime ฤŒuvalo ([@mimecuvalo](https://github.com/mimecuvalo)) --- # v3.4.0 (Thu Oct 24 2024) ### Release Notes #### npm: upgrade eslint v8 โ†’ v9 ([#4757](https://github.com/tldraw/tldraw/pull/4757)) - Upgrade eslint v8 โ†’ v9 --- #### ๐Ÿ› Bug Fix - roll back changes from bad deploy [#4780](https://github.com/tldraw/tldraw/pull/4780) ([@SomeHats](https://github.com/SomeHats)) - Update CHANGELOG.md \[skip ci\] ([@huppy-bot[bot]](https://github.com/huppy-bot[bot])) #### ๐Ÿ’„ Product Improvements - 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)) #### Authors: 6 - [@huppy-bot[bot]](https://github.com/huppy-bot[bot]) - alex ([@SomeHats](https://github.com/SomeHats)) - David Sheldrick ([@ds300](https://github.com/ds300)) - Mime ฤŒuvalo ([@mimecuvalo](https://github.com/mimecuvalo)) - Mitja Bezenลกek ([@MitjaBezensek](https://github.com/MitjaBezensek)) - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v3.3.0 (Wed Oct 09 2024) ### Release Notes #### [state] fix error 'cannot change atoms during reaction cycle' bug ([#4645](https://github.com/tldraw/tldraw/pull/4645)) - Fixed a bug that was manifesting as `Error('cannot change atoms during reaction cycle')` #### Add eslint rule to check that tsdoc params match with function params ([#4615](https://github.com/tldraw/tldraw/pull/4615)) - Add lint rules to check for discrepancies between tsdoc params and function params and fix all the discovered issues. --- #### ๐Ÿ› Bug Fixes - [state] fix error 'cannot change atoms during reaction cycle' bug [#4645](https://github.com/tldraw/tldraw/pull/4645) ([@ds300](https://github.com/ds300)) #### ๐Ÿ’„ Product Improvements - 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)) #### Authors: 2 - David Sheldrick ([@ds300](https://github.com/ds300)) - Mitja Bezenลกek ([@MitjaBezensek](https://github.com/MitjaBezensek)) --- # v3.1.0 (Wed Sep 25 2024) #### ๐Ÿ› Bug Fix - 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)) - Clean up `apps` directory [#4548](https://github.com/tldraw/tldraw/pull/4548) ([@SomeHats](https://github.com/SomeHats)) - licenses: add MIT and update GB ones to match US [#4517](https://github.com/tldraw/tldraw/pull/4517) ([@mimecuvalo](https://github.com/mimecuvalo)) #### Authors: 4 - alex ([@SomeHats](https://github.com/SomeHats)) - Mime ฤŒuvalo ([@mimecuvalo](https://github.com/mimecuvalo)) - Mitja Bezenลกek ([@MitjaBezensek](https://github.com/MitjaBezensek)) - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v3.0.0 (Fri Sep 13 2024) ### Release Notes #### Detect multiple installed versions of tldraw packages ([#4398](https://github.com/tldraw/tldraw/pull/4398)) - We detect when there are multiple versions of tldraw installed and let you know, as this can cause bugs in your application #### Move from function properties to methods ([#4288](https://github.com/tldraw/tldraw/pull/4288)) - Adds eslint rules for enforcing the use of methods instead of function properties and fixes / disables all the resulting errors. --- #### ๐Ÿ› Bug Fix - [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)) - consistent function style [#4468](https://github.com/tldraw/tldraw/pull/4468) ([@SomeHats](https://github.com/SomeHats)) #### ๐Ÿ’„ Product Improvements - inline nanoid [#4410](https://github.com/tldraw/tldraw/pull/4410) ([@SomeHats](https://github.com/SomeHats)) #### ๐Ÿ› ๏ธ API Changes - support tc39 decorators [#4412](https://github.com/tldraw/tldraw/pull/4412) ([@SomeHats](https://github.com/SomeHats)) - Detect multiple installed versions of tldraw packages [#4398](https://github.com/tldraw/tldraw/pull/4398) ([@SomeHats](https://github.com/SomeHats)) - 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)) #### Authors: 4 - alex ([@SomeHats](https://github.com/SomeHats)) - David Sheldrick ([@ds300](https://github.com/ds300)) - Mitja Bezenลกek ([@MitjaBezensek](https://github.com/MitjaBezensek)) - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v2.4.0 (Mon Jul 22 2024) ### Release Notes #### Split @tldraw/state into @tldraw/state and @tldraw/state-react ([#4170](https://github.com/tldraw/tldraw/pull/4170)) - Fixed a bug withโ€ฆ #### [sdk] make EffectScheduler and useStateTracking public ([#4155](https://github.com/tldraw/tldraw/pull/4155)) - Made `EffectScheduler` and `useStateTracking` public --- #### ๐Ÿ’„ Product Improvements - [3/5] Automatically enable multiplayer UI when using demo sync [#4119](https://github.com/tldraw/tldraw/pull/4119) ([@SomeHats](https://github.com/SomeHats)) #### ๐Ÿ› ๏ธ API Changes - Split @tldraw/state into @tldraw/state and @tldraw/state-react [#4170](https://github.com/tldraw/tldraw/pull/4170) ([@ds300](https://github.com/ds300)) - [sdk] make EffectScheduler and useStateTracking public [#4155](https://github.com/tldraw/tldraw/pull/4155) ([@ds300](https://github.com/ds300)) #### Authors: 2 - alex ([@SomeHats](https://github.com/SomeHats)) - David Sheldrick ([@ds300](https://github.com/ds300)) --- # v2.3.0 (Tue Jun 25 2024) ### Release Notes #### assets: make option to transform urls dynamically / LOD ([#3827](https://github.com/tldraw/tldraw/pull/3827)) - Assets: make option to transform urls dynamically to provide different sized images on demand. --- #### ๐Ÿ“š SDK Changes - image: follow-up fixes for LOD [#3934](https://github.com/tldraw/tldraw/pull/3934) ([@mimecuvalo](https://github.com/mimecuvalo)) - assets: make option to transform urls dynamically / LOD [#3827](https://github.com/tldraw/tldraw/pull/3827) ([@mimecuvalo](https://github.com/mimecuvalo)) #### Authors: 1 - Mime ฤŒuvalo ([@mimecuvalo](https://github.com/mimecuvalo)) --- # v2.2.0 (Tue Jun 11 2024) ### Release Notes #### editor: register timeouts/intervals/rafs for disposal ([#3852](https://github.com/tldraw/tldraw/pull/3852)) - Editor: add registry of timeouts/intervals/rafs #### [signia] perf thing again ([#3645](https://github.com/tldraw/tldraw/pull/3645)) - Add a brief release note for your PR here. --- #### ๐Ÿ“š SDK Changes - timeouts: rework effectschedule timeout tracking [#3870](https://github.com/tldraw/tldraw/pull/3870) ([@mimecuvalo](https://github.com/mimecuvalo)) - editor: register timeouts/intervals/rafs for disposal [#3852](https://github.com/tldraw/tldraw/pull/3852) ([@mimecuvalo](https://github.com/mimecuvalo) [@steveruizok](https://github.com/steveruizok)) - Force `interface` instead of `type` for better docs [#3815](https://github.com/tldraw/tldraw/pull/3815) ([@SomeHats](https://github.com/SomeHats)) - [signia] perf thing again [#3645](https://github.com/tldraw/tldraw/pull/3645) ([@ds300](https://github.com/ds300)) - Revert "[signia] Smart dirty checking of active computeds (#3516)" [#3612](https://github.com/tldraw/tldraw/pull/3612) ([@SomeHats](https://github.com/SomeHats)) #### ๐Ÿ“– Documentation changes - make sure everything marked @public gets documented [#3892](https://github.com/tldraw/tldraw/pull/3892) ([@SomeHats](https://github.com/SomeHats)) #### ๐Ÿ  Internal - Don't check api.json files into git [#3565](https://github.com/tldraw/tldraw/pull/3565) ([@SomeHats](https://github.com/SomeHats)) #### Authors: 4 - alex ([@SomeHats](https://github.com/SomeHats)) - David Sheldrick ([@ds300](https://github.com/ds300)) - Mime ฤŒuvalo ([@mimecuvalo](https://github.com/mimecuvalo)) - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v2.1.0 (Tue Apr 23 2024) ### Release Notes #### [perf] faster signia capture (again) ([#3487](https://github.com/tldraw/tldraw/pull/3487)) - Add a brief release note for your PR here. #### [perf] faster signia capture ([#3471](https://github.com/tldraw/tldraw/pull/3471)) - Slight performance improvement to reactivity bookkeeping. #### New migrations again ([#3220](https://github.com/tldraw/tldraw/pull/3220)) #### BREAKING CHANGES - The `Migrations` type is now called `LegacyMigrations`. - 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. - `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. - `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. 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. - `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 - `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`. - 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. - the `Migrations` type has been renamed to `LegacyMigrations` and will be removed in a future release. - the `SerializedSchema` type has been augmented. If you need the old version specifically you can use `SerializedSchemaV1` #### [perf] Reinstate render throttling ([#3160](https://github.com/tldraw/tldraw/pull/3160)) - Add a brief release note for your PR here. #### Performance improvements ([#2977](https://github.com/tldraw/tldraw/pull/2977)) - Improves the performance of rendering. #### Fix typo in useValue comment ([#3088](https://github.com/tldraw/tldraw/pull/3088)) - Fix typo in useValue comment. --- #### ๐Ÿ’ฅ Breaking Change - Performance improvements [#2977](https://github.com/tldraw/tldraw/pull/2977) ([@MitjaBezensek](https://github.com/MitjaBezensek) [@steveruizok](https://github.com/steveruizok)) #### ๐Ÿ“š SDK Changes - [signia] Smart dirty checking of active computeds [#3516](https://github.com/tldraw/tldraw/pull/3516) ([@ds300](https://github.com/ds300)) - [perf] faster signia capture (again) [#3487](https://github.com/tldraw/tldraw/pull/3487) ([@ds300](https://github.com/ds300)) - [perf] faster signia capture [#3471](https://github.com/tldraw/tldraw/pull/3471) ([@ds300](https://github.com/ds300)) - New migrations again [#3220](https://github.com/tldraw/tldraw/pull/3220) ([@ds300](https://github.com/ds300) [@steveruizok](https://github.com/steveruizok)) - Add white migration [#3334](https://github.com/tldraw/tldraw/pull/3334) ([@steveruizok](https://github.com/steveruizok)) - Fix blur bug in editable text [#3343](https://github.com/tldraw/tldraw/pull/3343) ([@steveruizok](https://github.com/steveruizok)) - [perf] Reinstate render throttling [#3160](https://github.com/tldraw/tldraw/pull/3160) ([@ds300](https://github.com/ds300)) #### ๐Ÿ“– Documentation changes - Fix typo in useValue comment [#3088](https://github.com/tldraw/tldraw/pull/3088) ([@Slowhand0309](https://github.com/Slowhand0309)) #### ๐Ÿ  Internal - Revert "[perf] faster signia capture (#3471)" [#3480](https://github.com/tldraw/tldraw/pull/3480) ([@ds300](https://github.com/ds300)) - Revert perf changes [#3217](https://github.com/tldraw/tldraw/pull/3217) ([@MitjaBezensek](https://github.com/MitjaBezensek)) #### ๐Ÿ› Bug Fixes - Revert throttling of useValue and useStateTracking. [#3129](https://github.com/tldraw/tldraw/pull/3129) ([@MitjaBezensek](https://github.com/MitjaBezensek)) #### Authors: 4 - David Sheldrick ([@ds300](https://github.com/ds300)) - Mitja Bezenลกek ([@MitjaBezensek](https://github.com/MitjaBezensek)) - Slowhand ([@Slowhand0309](https://github.com/Slowhand0309)) - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v2.0.0-beta.5 (Thu Feb 29 2024) #### ๐Ÿ”ฉ Dependency Updates - bump typescript / api-extractor [#2949](https://github.com/tldraw/tldraw/pull/2949) ([@steveruizok](https://github.com/steveruizok)) #### Authors: 1 - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v2.0.0-beta.4 (Wed Feb 21 2024) ### Release Notes #### Improve signia error handling ([#2835](https://github.com/tldraw/tldraw/pull/2835)) - Add a brief release note for your PR here. --- #### ๐Ÿ› Bug Fix - Improve signia error handling [#2835](https://github.com/tldraw/tldraw/pull/2835) ([@ds300](https://github.com/ds300)) #### ๐Ÿ  Internal - Check tsconfig "references" arrays [#2891](https://github.com/tldraw/tldraw/pull/2891) ([@ds300](https://github.com/ds300)) - dev: swap yarn test and test-dev for better dx [#2773](https://github.com/tldraw/tldraw/pull/2773) ([@mimecuvalo](https://github.com/mimecuvalo)) #### Authors: 2 - David Sheldrick ([@ds300](https://github.com/ds300)) - Mime ฤŒuvalo ([@mimecuvalo](https://github.com/mimecuvalo)) --- # v2.0.0-beta.3 (Tue Feb 13 2024) ### Release Notes #### dev: add test-dev command for easier testing of packages ([#2627](https://github.com/tldraw/tldraw/pull/2627)) - Adds easier testing command for individual packages. --- #### ๐Ÿš€ Enhancement - [dx] use Biome instead of Prettier, part 2 [#2731](https://github.com/tldraw/tldraw/pull/2731) ([@si14](https://github.com/si14)) #### ๐Ÿ  Internal - Unbiome [#2776](https://github.com/tldraw/tldraw/pull/2776) ([@si14](https://github.com/si14)) - Update the project to Node 20 [#2691](https://github.com/tldraw/tldraw/pull/2691) ([@si14](https://github.com/si14)) - dev: add test-dev command for easier testing of packages [#2627](https://github.com/tldraw/tldraw/pull/2627) ([@mimecuvalo](https://github.com/mimecuvalo)) - unbrivate, dot com in [#2475](https://github.com/tldraw/tldraw/pull/2475) ([@steveruizok](https://github.com/steveruizok) [@si14](https://github.com/si14) [@SomeHats](https://github.com/SomeHats)) - Add docs [#2470](https://github.com/tldraw/tldraw/pull/2470) ([@steveruizok](https://github.com/steveruizok)) #### ๐Ÿ”ฉ Dependency Updates - Bump Yarn to 4.0.2 and add version constraints [#2481](https://github.com/tldraw/tldraw/pull/2481) ([@si14](https://github.com/si14)) #### Authors: 4 - alex ([@SomeHats](https://github.com/SomeHats)) - Dan Groshev ([@si14](https://github.com/si14)) - Mime ฤŒuvalo ([@mimecuvalo](https://github.com/mimecuvalo)) - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v2.0.0-beta.1 (Wed Dec 20 2023) ### Release Notes #### Remove deprecated getters ([#2333](https://github.com/tldraw/tldraw/pull/2333)) - (Breaking) Removed deprecated getters. #### Use a global singleton for tlstate ([#2322](https://github.com/tldraw/tldraw/pull/2322)) - Make a global singleton for tlstate. --- #### ๐Ÿ’ฅ Breaking Change - bump to beta [#2364](https://github.com/tldraw/tldraw/pull/2364) ([@steveruizok](https://github.com/steveruizok)) - Change licenses to tldraw [#2167](https://github.com/tldraw/tldraw/pull/2167) ([@steveruizok](https://github.com/steveruizok)) - Remove deprecated getters [#2333](https://github.com/tldraw/tldraw/pull/2333) ([@ds300](https://github.com/ds300)) #### ๐Ÿ› Bug Fix - Fix TSDoc for @tldraw/state [#2327](https://github.com/tldraw/tldraw/pull/2327) ([@ds300](https://github.com/ds300)) - Use a global singleton for tlstate [#2322](https://github.com/tldraw/tldraw/pull/2322) ([@ds300](https://github.com/ds300)) #### Authors: 2 - David Sheldrick ([@ds300](https://github.com/ds300)) - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v2.0.0-alpha.19 (Tue Dec 12 2023) #### ๐Ÿ’ฅ Breaking Change - No impure getters pt 1 [#2189](https://github.com/tldraw/tldraw/pull/2189) ([@steveruizok](https://github.com/steveruizok) [@ds300](https://github.com/ds300)) #### ๐Ÿ› Bug Fix - no impure getters pt 11 [#2236](https://github.com/tldraw/tldraw/pull/2236) ([@ds300](https://github.com/ds300)) - No impure getters pt10 [#2235](https://github.com/tldraw/tldraw/pull/2235) ([@ds300](https://github.com/ds300)) #### ๐Ÿ“ Documentation - Replace getters in examples [#2261](https://github.com/tldraw/tldraw/pull/2261) ([@ds300](https://github.com/ds300)) #### Authors: 2 - David Sheldrick ([@ds300](https://github.com/ds300)) - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v2.0.0-alpha.18 (Fri Nov 10 2023) ### Release Notes #### Remove (optional) from jsdocs ([#2109](https://github.com/tldraw/tldraw/pull/2109)) - dev: Removed duplicate/inconsistent `(optional)`s from docs --- #### ๐Ÿ  Internal - Revert "bump prerelease from alpha to beta" [#2192](https://github.com/tldraw/tldraw/pull/2192) ([@ds300](https://github.com/ds300)) - bump prerelease from alpha to beta [#2148](https://github.com/tldraw/tldraw/pull/2148) ([@ds300](https://github.com/ds300)) #### ๐Ÿ“ Documentation - Remove (optional) from jsdocs [#2109](https://github.com/tldraw/tldraw/pull/2109) ([@TodePond](https://github.com/TodePond)) #### Authors: 2 - David Sheldrick ([@ds300](https://github.com/ds300)) - Lu Wilson ([@TodePond](https://github.com/TodePond)) --- # v2.0.0-alpha.16 (Wed Oct 11 2023) #### ๐Ÿ  Internal - Publish api.json [#2034](https://github.com/tldraw/tldraw/pull/2034) ([@steveruizok](https://github.com/steveruizok)) #### Authors: 1 - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v2.0.0-alpha.15 (Fri Oct 06 2023) ### Release Notes #### Editor commands API / effects ([#1778](https://github.com/tldraw/tldraw/pull/1778)) - tbd #### tldraw zero - package shuffle ([#1710](https://github.com/tldraw/tldraw/pull/1710)) - [@tldraw/editor] lots, wip - [@tldraw/ui] gone, merged to tldraw/tldraw - [@tldraw/polyfills] gone, merged to tldraw/editor - [@tldraw/primitives] gone, merged to tldraw/editor / tldraw/tldraw - [@tldraw/indices] gone, merged to tldraw/editor - [@tldraw/file-format] gone, merged to tldraw/tldraw --- #### ๐Ÿ’ฅ Breaking Change - Revert "Editor commands API / effects" [#1783](https://github.com/tldraw/tldraw/pull/1783) ([@steveruizok](https://github.com/steveruizok)) - Editor commands API / effects [#1778](https://github.com/tldraw/tldraw/pull/1778) ([@steveruizok](https://github.com/steveruizok)) - tldraw zero - package shuffle [#1710](https://github.com/tldraw/tldraw/pull/1710) ([@steveruizok](https://github.com/steveruizok) [@SomeHats](https://github.com/SomeHats)) #### ๐Ÿš€ Enhancement - [improvement] More selection logic [#1806](https://github.com/tldraw/tldraw/pull/1806) ([@steveruizok](https://github.com/steveruizok)) #### Authors: 2 - alex ([@SomeHats](https://github.com/SomeHats)) - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v2.0.0-alpha.14 (Tue Jul 04 2023) #### ๐Ÿ› Bug Fix - [fix] rename `global` in @tldraw/state to avoid collissions [#1672](https://github.com/tldraw/tldraw/pull/1672) ([@steveruizok](https://github.com/steveruizok)) #### Authors: 1 - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v2.0.0-alpha.13 (Wed Jun 28 2023) #### ๐Ÿ”ฉ Dependency Updates - Incorporate signia as @tldraw/state [#1620](https://github.com/tldraw/tldraw/pull/1620) ([@steveruizok](https://github.com/steveruizok) [@ds300](https://github.com/ds300)) #### Authors: 2 - David Sheldrick ([@ds300](https://github.com/ds300)) - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # v2.0.0-alpha.12 (Mon Apr 03 2023) #### ๐Ÿ› Bug Fix - 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)) - add pre-commit api report generation [#1517](https://github.com/tldraw/tldraw-lite/pull/1517) ([@SomeHats](https://github.com/SomeHats)) - [chore] restore api extractor [#1500](https://github.com/tldraw/tldraw-lite/pull/1500) ([@steveruizok](https://github.com/steveruizok)) - Asset loading overhaul [#1457](https://github.com/tldraw/tldraw-lite/pull/1457) ([@SomeHats](https://github.com/SomeHats)) - David/publish good [#1488](https://github.com/tldraw/tldraw-lite/pull/1488) ([@ds300](https://github.com/ds300)) - [chore] alpha 10 [#1486](https://github.com/tldraw/tldraw-lite/pull/1486) ([@ds300](https://github.com/ds300)) - [chore] package build improvements [#1484](https://github.com/tldraw/tldraw-lite/pull/1484) ([@ds300](https://github.com/ds300)) - [chore] bump for alpha 8 [#1485](https://github.com/tldraw/tldraw-lite/pull/1485) ([@steveruizok](https://github.com/steveruizok)) - [fix] page point offset [#1483](https://github.com/tldraw/tldraw-lite/pull/1483) ([@steveruizok](https://github.com/steveruizok)) - stop using broken-af turbo for publishing [#1476](https://github.com/tldraw/tldraw-lite/pull/1476) ([@ds300](https://github.com/ds300)) - [chore] add canary release script [#1423](https://github.com/tldraw/tldraw-lite/pull/1423) ([@ds300](https://github.com/ds300) [@steveruizok](https://github.com/steveruizok)) - [chore] upgrade yarn [#1430](https://github.com/tldraw/tldraw-lite/pull/1430) ([@ds300](https://github.com/ds300)) - flush store on attach [#1449](https://github.com/tldraw/tldraw-lite/pull/1449) ([@ds300](https://github.com/ds300)) - [fix] dev version number for tldraw/tldraw [#1434](https://github.com/tldraw/tldraw-lite/pull/1434) ([@steveruizok](https://github.com/steveruizok)) - repo cleanup [#1426](https://github.com/tldraw/tldraw-lite/pull/1426) ([@steveruizok](https://github.com/steveruizok)) - [fix] use polyfill for `structuredClone` [#1408](https://github.com/tldraw/tldraw-lite/pull/1408) ([@TodePond](https://github.com/TodePond) [@steveruizok](https://github.com/steveruizok)) - Run all the tests. Fix linting for tests. [#1389](https://github.com/tldraw/tldraw-lite/pull/1389) ([@MitjaBezensek](https://github.com/MitjaBezensek)) #### Authors: 5 - alex ([@SomeHats](https://github.com/SomeHats)) - David Sheldrick ([@ds300](https://github.com/ds300)) - Lu[ke] Wilson ([@TodePond](https://github.com/TodePond)) - Mitja Bezenลกek ([@MitjaBezensek](https://github.com/MitjaBezensek)) - Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) --- # @tldraw/tlstore ## 2.0.0-alpha.11 ### Patch Changes - fix some package build scripting - Updated dependencies - @tldraw/utils@2.0.0-alpha.10 ## 2.0.0-alpha.10 ### Patch Changes - 4b4399b6e: redeploy with yarn to prevent package version issues - Updated dependencies [4b4399b6e] - @tldraw/utils@2.0.0-alpha.9 ## 2.0.0-alpha.9 ### Patch Changes - Release day! - Updated dependencies - @tldraw/utils@2.0.0-alpha.8 ## 2.0.0-alpha.8 ### Patch Changes - 23dd81cfe: Make signia a peer dependency ## 2.0.0-alpha.7 ### Patch Changes - Bug fixes. - Updated dependencies - @tldraw/utils@2.0.0-alpha.7 ## 2.0.0-alpha.6 ### Patch Changes - Add licenses. - Updated dependencies - @tldraw/utils@2.0.0-alpha.6 ## 2.0.0-alpha.5 ### Patch Changes - Add CSS files to tldraw/tldraw. - Updated dependencies - @tldraw/utils@2.0.0-alpha.5 ## 2.0.0-alpha.4 ### Patch Changes - Add children to tldraw/tldraw - Updated dependencies - @tldraw/utils@2.0.0-alpha.4 ## 2.0.0-alpha.3 ### Patch Changes - Change permissions. - Updated dependencies - @tldraw/utils@2.0.0-alpha.3 ## 2.0.0-alpha.2 ### Patch Changes - Add tldraw, editor - Updated dependencies - @tldraw/utils@2.0.0-alpha.2 ## 0.1.0-alpha.11 ### Patch Changes - Fix stale reactors. - Updated dependencies - @tldraw/utils@0.1.0-alpha.11 ## 0.1.0-alpha.10 ### Patch Changes - Fix type export bug. - Updated dependencies - @tldraw/utils@0.1.0-alpha.10 ## 0.1.0-alpha.9 ### Patch Changes - Fix import bugs. - Updated dependencies - @tldraw/utils@0.1.0-alpha.9 ## 0.1.0-alpha.8 ### Patch Changes - Changes validation requirements, exports validation helpers. - Updated dependencies - @tldraw/utils@0.1.0-alpha.8 ## 0.1.0-alpha.7 ### Patch Changes - - Pre-pre-release update - Updated dependencies - @tldraw/utils@0.1.0-alpha.7 ## 0.0.2-alpha.1 ### Patch Changes - Fix error with HMR - Updated dependencies - @tldraw/utils@0.0.2-alpha.1 ## 0.0.2-alpha.0 ### Patch Changes - Initial release - Updated dependencies - @tldraw/utils@0.0.2-alpha.0