diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bf1c9e44..cb3d3a6f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,264 @@ +# v2.3.0 (Tue Jun 25 2024) + +### Release Notes + +#### editing: don't allow editing locked shapes when edit→edit mode. ([#4007](https://github.com/tldraw/tldraw/pull/4007)) + +- Editing: don't allow editing locked shapes when edit→edit mode. + +#### clipboard: fix copy/paste bad typo, ugh ([#4008](https://github.com/tldraw/tldraw/pull/4008)) + +- Clipboard: fix copy/paste for older versions of Firefox + +#### clipboard: fix copy/paste on Firefox ([#4003](https://github.com/tldraw/tldraw/pull/4003)) + +- Clipboard: fix copy/paste in Firefox 127+ + +#### Fix multiple editor instances issue ([#4001](https://github.com/tldraw/tldraw/pull/4001)) + +- Fix a bug causing text shape measurement to work incorrectly when using react strict mode + +#### fix: typo on "CardShapeUtil" example name ([#3998](https://github.com/tldraw/tldraw/pull/3998)) + +- Fix typo on "CardShapeUtil" name in the custom shape example documentation. + +#### Update license in readme of the store package ([#3990](https://github.com/tldraw/tldraw/pull/3990)) + +- Fix the license in the readme file for the store package. + +#### Add a new environment for publishing ([#3981](https://github.com/tldraw/tldraw/pull/3981)) + +- Introduce a new CI environment and use it for publishing vs code extension. + +#### Fix vs code publishing ([#3976](https://github.com/tldraw/tldraw/pull/3976)) + +- Fix VS Code publishing. + +#### Fix border color for following user ([#3975](https://github.com/tldraw/tldraw/pull/3975)) + +- Add a brief release note for your PR here. + +#### Fix edge scrolling at odd browser zoom levels ([#3973](https://github.com/tldraw/tldraw/pull/3973)) + +- Add a brief release note for your PR here. + +#### images: make isAnimated check on shared rooms work better ([#3967](https://github.com/tldraw/tldraw/pull/3967)) + +- Images: fix isAnimated checks when adding an image to a shared room. + +#### Add fill fill style. ([#3966](https://github.com/tldraw/tldraw/pull/3966)) + +- Secretly adds a fill-fill style (Alt-F) + +#### Add tags to examples frontmatter ([#3929](https://github.com/tldraw/tldraw/pull/3929)) + +- Improve filtering of examples + +#### Fix solid style draw shape. ([#3963](https://github.com/tldraw/tldraw/pull/3963)) + +- Fixes the appearance of solid-style heart shapes. + +#### Fix asset positions ([#3965](https://github.com/tldraw/tldraw/pull/3965)) + +- Fixes the position of multiple assets when pasted / dropped onto the canvas. + +#### Fix draw shape indicators for pen-drawn solid shapes ([#3962](https://github.com/tldraw/tldraw/pull/3962)) + +- Fixes a bug with the indicator for stylus-drawn draw shapes. + +#### assets: fix copy/paste with missing src ([#3959](https://github.com/tldraw/tldraw/pull/3959)) + +- Assets: fix copy/paste for new asset resolver mechanic. + +#### [Experiment] Allow users to use system's appearance (dark / light) mode ([#3703](https://github.com/tldraw/tldraw/pull/3703)) + +- Add a brief release note for your PR here. + +#### Improve edge scrolling ([#3950](https://github.com/tldraw/tldraw/pull/3950)) + +- Add a delay and easing to edge scrolling. + +#### Set up automatic VS Code publishing ([#3905](https://github.com/tldraw/tldraw/pull/3905)) + +- Automate publishing of the VS Code extension. + +#### Move from unpkg to our own cdn. ([#3923](https://github.com/tldraw/tldraw/pull/3923)) + +- Start using our own cdn instead of unpkg. + +#### bookmark: css tweaks ([#3955](https://github.com/tldraw/tldraw/pull/3955)) + +- Bookmarks: padding tweaks + +#### Dynamic size mode + fill fill ([#3835](https://github.com/tldraw/tldraw/pull/3835)) + +- Adds a dynamic size user preferences. +- Removes double click to reset scale on text shapes. +- Removes double click to reset autosize on text shapes. + +#### assets: preload fonts ([#3927](https://github.com/tldraw/tldraw/pull/3927)) + +- Perf: improve font loading timing on dotcom. + +#### [tiny] getSnapshot and loadSnapshot on Editor class ([#3912](https://github.com/tldraw/tldraw/pull/3912)) + +- Add a brief release note for your PR here. + +#### Make ArrowBindingUtil public ([#3913](https://github.com/tldraw/tldraw/pull/3913)) + +- Add a brief release note for your PR here. + +#### Flatten shapes to image(s) ([#3933](https://github.com/tldraw/tldraw/pull/3933)) + +- Add Flatten, a new menu item to flatten shapes into images + +#### Update with api key with access to all buckets ([#3944](https://github.com/tldraw/tldraw/pull/3944)) + +- Retrigger canary packaging. + +#### Retrying with Mime's keys ([#3943](https://github.com/tldraw/tldraw/pull/3943)) + +- Retrigger canary package build to publish a new package and upload assets to R2. + +#### Empty PR to trigger canary publish ([#3942](https://github.com/tldraw/tldraw/pull/3942)) + +- Retrigger canary package build to publish a new package and upload assets to R2. + +#### Fix uploading static assets to r2 ([#3941](https://github.com/tldraw/tldraw/pull/3941)) + +- Fix an issue with uploading the static assets. + +#### Uploading the static assets to R2 bucket ([#3921](https://github.com/tldraw/tldraw/pull/3921)) + +- Upload our static assets (fonts, icons, embed-icons, translations) to a R2 bucket so that we can move away from using unpkg and start using our own cdn. + +#### assets: store in indexedDB, not as base64 ([#3836](https://github.com/tldraw/tldraw/pull/3836)) + +- Assets: store as reference to blob in indexedDB instead of storing directly as base64 in the snapshot. + +#### images: avoid double request for animated images ([#3924](https://github.com/tldraw/tldraw/pull/3924)) + +- Images: avoid double request for animated images. + +#### Fix document name editable in readonly mode ([#3911](https://github.com/tldraw/tldraw/pull/3911)) + +- Remove ability to rename document while in readonly mode + +#### 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. + +#### VS Code release 2.0.36 ([#3922](https://github.com/tldraw/tldraw/pull/3922)) + +- VS Code 2.0.36 release. + +--- + +#### 📚 SDK Changes + +- images: make isAnimated check on shared rooms work better [#3967](https://github.com/tldraw/tldraw/pull/3967) ([@mimecuvalo](https://github.com/mimecuvalo)) +- `@tldraw/editor` + - assets: mark assetOptions as internal [#4014](https://github.com/tldraw/tldraw/pull/4014) ([@mimecuvalo](https://github.com/mimecuvalo)) + - Fix border color for following user [#3975](https://github.com/tldraw/tldraw/pull/3975) ([@ds300](https://github.com/ds300)) + - Fix edge scrolling at odd browser zoom levels [#3973](https://github.com/tldraw/tldraw/pull/3973) ([@ds300](https://github.com/ds300)) + - [tiny] getSnapshot and loadSnapshot on Editor class [#3912](https://github.com/tldraw/tldraw/pull/3912) ([@ds300](https://github.com/ds300)) +- `tldraw` + - editing: don't allow editing locked shapes when edit→edit mode. [#4007](https://github.com/tldraw/tldraw/pull/4007) ([@mimecuvalo](https://github.com/mimecuvalo)) + - clipboard: fix copy/paste bad typo, ugh [#4008](https://github.com/tldraw/tldraw/pull/4008) ([@mimecuvalo](https://github.com/mimecuvalo)) + - clipboard: fix copy/paste on Firefox [#4003](https://github.com/tldraw/tldraw/pull/4003) ([@mimecuvalo](https://github.com/mimecuvalo)) + - theme: rename color scheme to theme [#3991](https://github.com/tldraw/tldraw/pull/3991) ([@mimecuvalo](https://github.com/mimecuvalo)) + - Fix scale issue with new draw lines [#3971](https://github.com/tldraw/tldraw/pull/3971) ([@steveruizok](https://github.com/steveruizok)) + - lod: dont resize images that are culled [#3970](https://github.com/tldraw/tldraw/pull/3970) ([@mimecuvalo](https://github.com/mimecuvalo)) + - flattening: use correct id for asset [#3968](https://github.com/tldraw/tldraw/pull/3968) ([@mimecuvalo](https://github.com/mimecuvalo)) + - Add fill fill style. [#3966](https://github.com/tldraw/tldraw/pull/3966) ([@steveruizok](https://github.com/steveruizok)) + - Fix solid style draw shape. [#3963](https://github.com/tldraw/tldraw/pull/3963) ([@steveruizok](https://github.com/steveruizok)) + - Fix asset positions [#3965](https://github.com/tldraw/tldraw/pull/3965) ([@steveruizok](https://github.com/steveruizok)) + - lod: fix up missing timeout from bad merge [#3964](https://github.com/tldraw/tldraw/pull/3964) ([@mimecuvalo](https://github.com/mimecuvalo)) + - Fix draw shape indicators for pen-drawn solid shapes [#3962](https://github.com/tldraw/tldraw/pull/3962) ([@steveruizok](https://github.com/steveruizok)) + - assets: fix copy/paste with missing src [#3959](https://github.com/tldraw/tldraw/pull/3959) ([@mimecuvalo](https://github.com/mimecuvalo)) + - Move from unpkg to our own cdn. [#3923](https://github.com/tldraw/tldraw/pull/3923) ([@MitjaBezensek](https://github.com/MitjaBezensek)) + - assets: fix up videos with indexedDB [#3954](https://github.com/tldraw/tldraw/pull/3954) ([@mimecuvalo](https://github.com/mimecuvalo)) + - Make ArrowBindingUtil public [#3913](https://github.com/tldraw/tldraw/pull/3913) ([@ds300](https://github.com/ds300)) + - images: avoid double request for animated images [#3924](https://github.com/tldraw/tldraw/pull/3924) ([@mimecuvalo](https://github.com/mimecuvalo)) +- `@tldraw/editor`, `tldraw` + - better auto-generated docs for Tldraw and TldrawEditor [#4012](https://github.com/tldraw/tldraw/pull/4012) ([@SomeHats](https://github.com/SomeHats)) + - Fix multiple editor instances issue [#4001](https://github.com/tldraw/tldraw/pull/4001) ([@SomeHats](https://github.com/SomeHats)) + - [Experiment] Allow users to use system's appearance (dark / light) mode [#3703](https://github.com/tldraw/tldraw/pull/3703) ([@MitjaBezensek](https://github.com/MitjaBezensek)) + - Improve edge scrolling [#3950](https://github.com/tldraw/tldraw/pull/3950) ([@steveruizok](https://github.com/steveruizok)) + - bookmark: css tweaks [#3955](https://github.com/tldraw/tldraw/pull/3955) ([@mimecuvalo](https://github.com/mimecuvalo)) + - Flatten shapes to image(s) [#3933](https://github.com/tldraw/tldraw/pull/3933) ([@steveruizok](https://github.com/steveruizok)) +- `@tldraw/assets`, `@tldraw/editor`, `tldraw`, `@tldraw/tlschema` + - Dynamic size mode + fill fill [#3835](https://github.com/tldraw/tldraw/pull/3835) ([@steveruizok](https://github.com/steveruizok) [@Taha-Hassan-Git](https://github.com/Taha-Hassan-Git) [@huppy-bot[bot]](https://github.com/huppy-bot[bot])) +- `@tldraw/editor`, `tldraw`, `@tldraw/validate` + - assets: store in indexedDB, not as base64 [#3836](https://github.com/tldraw/tldraw/pull/3836) ([@mimecuvalo](https://github.com/mimecuvalo)) +- `@tldraw/editor`, `@tldraw/state`, `tldraw` + - image: follow-up fixes for LOD [#3934](https://github.com/tldraw/tldraw/pull/3934) ([@mimecuvalo](https://github.com/mimecuvalo)) +- `@tldraw/editor`, `@tldraw/state`, `tldraw`, `@tldraw/tlschema` + - assets: make option to transform urls dynamically / LOD [#3827](https://github.com/tldraw/tldraw/pull/3827) ([@mimecuvalo](https://github.com/mimecuvalo)) +- `@tldraw/editor`, `@tldraw/store`, `tldraw`, `@tldraw/utils` + - security: enforce use of our fetch function and its default referrerpolicy [#3884](https://github.com/tldraw/tldraw/pull/3884) ([@mimecuvalo](https://github.com/mimecuvalo)) + +#### 🖥️ tldraw.com Changes + +- assets: add crossorigin tag for preloaded fonts [#3953](https://github.com/tldraw/tldraw/pull/3953) ([@mimecuvalo](https://github.com/mimecuvalo)) +- Fix document name editable in readonly mode [#3911](https://github.com/tldraw/tldraw/pull/3911) ([@Taha-Hassan-Git](https://github.com/Taha-Hassan-Git)) +- `@tldraw/utils` + - lod: dont transform SVGs [#3972](https://github.com/tldraw/tldraw/pull/3972) ([@mimecuvalo](https://github.com/mimecuvalo)) +- `@tldraw/editor`, `tldraw` + - assets: preload fonts [#3927](https://github.com/tldraw/tldraw/pull/3927) ([@mimecuvalo](https://github.com/mimecuvalo) [@steveruizok](https://github.com/steveruizok)) + +#### 📖 Documentation changes + +- fix: typo on "CardShapeUtil" example name [#3998](https://github.com/tldraw/tldraw/pull/3998) ([@bholmesdev](https://github.com/bholmesdev)) +- Add tags to examples frontmatter [#3929](https://github.com/tldraw/tldraw/pull/3929) ([@Taha-Hassan-Git](https://github.com/Taha-Hassan-Git)) +- Generated docs cleanup [#3935](https://github.com/tldraw/tldraw/pull/3935) ([@SomeHats](https://github.com/SomeHats)) +- Inline documentation links in type excerpts [#3931](https://github.com/tldraw/tldraw/pull/3931) ([@SomeHats](https://github.com/SomeHats)) +- `@tldraw/store` + - Update license in readme of the store package [#3990](https://github.com/tldraw/tldraw/pull/3990) ([@MitjaBezensek](https://github.com/MitjaBezensek)) +- `@tldraw/editor`, `tldraw` + - Document inherited members in reference [#3956](https://github.com/tldraw/tldraw/pull/3956) ([@SomeHats](https://github.com/SomeHats)) + - Better generated docs for react components [#3930](https://github.com/tldraw/tldraw/pull/3930) ([@SomeHats](https://github.com/SomeHats)) + +#### 🏠 Internal + +- Update with api key with access to all buckets [#3944](https://github.com/tldraw/tldraw/pull/3944) ([@MitjaBezensek](https://github.com/MitjaBezensek)) +- Retrying with Mime's keys [#3943](https://github.com/tldraw/tldraw/pull/3943) ([@MitjaBezensek](https://github.com/MitjaBezensek)) +- Empty PR to trigger canary publish [#3942](https://github.com/tldraw/tldraw/pull/3942) ([@MitjaBezensek](https://github.com/MitjaBezensek)) +- Fix uploading static assets to r2 [#3941](https://github.com/tldraw/tldraw/pull/3941) ([@MitjaBezensek](https://github.com/MitjaBezensek)) +- Uploading the static assets to R2 bucket [#3921](https://github.com/tldraw/tldraw/pull/3921) ([@MitjaBezensek](https://github.com/MitjaBezensek)) + +#### 🧹 Chores + +- VS Code release 2.0.36 [#3922](https://github.com/tldraw/tldraw/pull/3922) ([@MitjaBezensek](https://github.com/MitjaBezensek)) + +#### 🧪 Tests + +- Add a new environment for publishing [#3981](https://github.com/tldraw/tldraw/pull/3981) ([@MitjaBezensek](https://github.com/MitjaBezensek)) + +#### 🛠️ Tools + +- Fix vs code publishing [#3976](https://github.com/tldraw/tldraw/pull/3976) ([@MitjaBezensek](https://github.com/MitjaBezensek)) +- Set up automatic VS Code publishing [#3905](https://github.com/tldraw/tldraw/pull/3905) ([@MitjaBezensek](https://github.com/MitjaBezensek)) + +#### 🔩 Dependency Updates + +- build(deps): bump ws from 8.16.0 to 8.17.1 in the npm_and_yarn group across 1 directory [#3984](https://github.com/tldraw/tldraw/pull/3984) ([@dependabot[bot]](https://github.com/dependabot[bot])) +- Bump the npm_and_yarn group across 3 directories with 4 updates [#3920](https://github.com/tldraw/tldraw/pull/3920) ([@dependabot[bot]](https://github.com/dependabot[bot])) + +#### Authors: 9 + +- [@dependabot[bot]](https://github.com/dependabot[bot]) +- [@huppy-bot[bot]](https://github.com/huppy-bot[bot]) +- alex ([@SomeHats](https://github.com/SomeHats)) +- Ben Holmes ([@bholmesdev](https://github.com/bholmesdev)) +- 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)) +- Taha ([@Taha-Hassan-Git](https://github.com/Taha-Hassan-Git)) + +--- + # v2.2.0 (Tue Jun 11 2024) ### Release Notes diff --git a/apps/dotcom/version.ts b/apps/dotcom/version.ts index dc185a0f8..568aca0b4 100644 --- a/apps/dotcom/version.ts +++ b/apps/dotcom/version.ts @@ -1,4 +1,4 @@ // This file is automatically generated by scripts/refresh-assets.ts. // Do not edit manually. Or do, I'm a comment, not a cop. -export const version = '2.2.0' +export const version = '2.3.0' diff --git a/lerna.json b/lerna.json index bd9175767..e4dd1a030 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,7 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "packages": ["packages/*"], - "version": "2.2.0" + "packages": [ + "packages/*" + ], + "version": "2.3.0" } diff --git a/packages/assets/CHANGELOG.md b/packages/assets/CHANGELOG.md index 2f666eacc..e76f7b962 100644 --- a/packages/assets/CHANGELOG.md +++ b/packages/assets/CHANGELOG.md @@ -1,3 +1,27 @@ +# v2.3.0 (Tue Jun 25 2024) + +### Release Notes + +#### Dynamic size mode + fill fill ([#3835](https://github.com/tldraw/tldraw/pull/3835)) + +- Adds a dynamic size user preferences. +- Removes double click to reset scale on text shapes. +- Removes double click to reset autosize on text shapes. + +--- + +#### 📚 SDK Changes + +- Dynamic size mode + fill fill [#3835](https://github.com/tldraw/tldraw/pull/3835) ([@steveruizok](https://github.com/steveruizok) [@Taha-Hassan-Git](https://github.com/Taha-Hassan-Git) [@huppy-bot[bot]](https://github.com/huppy-bot[bot])) + +#### Authors: 3 + +- [@huppy-bot[bot]](https://github.com/huppy-bot[bot]) +- Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) +- Taha ([@Taha-Hassan-Git](https://github.com/Taha-Hassan-Git)) + +--- + # v2.2.0 (Tue Jun 11 2024) ### Release Notes diff --git a/packages/assets/package.json b/packages/assets/package.json index 98cf80761..a6d969e19 100644 --- a/packages/assets/package.json +++ b/packages/assets/package.json @@ -1,7 +1,7 @@ { "name": "@tldraw/assets", "description": "A tiny little drawing app (assets).", - "version": "2.2.0", + "version": "2.3.0", "author": { "name": "tldraw Inc.", "email": "hello@tldraw.com" diff --git a/packages/editor/CHANGELOG.md b/packages/editor/CHANGELOG.md index aefeff68e..b9bab68b4 100644 --- a/packages/editor/CHANGELOG.md +++ b/packages/editor/CHANGELOG.md @@ -1,3 +1,93 @@ +# v2.3.0 (Tue Jun 25 2024) + +### Release Notes + +#### Fix border color for following user ([#3975](https://github.com/tldraw/tldraw/pull/3975)) + +- Add a brief release note for your PR here. + +#### Fix edge scrolling at odd browser zoom levels ([#3973](https://github.com/tldraw/tldraw/pull/3973)) + +- Add a brief release note for your PR here. + +#### [Experiment] Allow users to use system's appearance (dark / light) mode ([#3703](https://github.com/tldraw/tldraw/pull/3703)) + +- Add a brief release note for your PR here. + +#### Improve edge scrolling ([#3950](https://github.com/tldraw/tldraw/pull/3950)) + +- Add a delay and easing to edge scrolling. + +#### bookmark: css tweaks ([#3955](https://github.com/tldraw/tldraw/pull/3955)) + +- Bookmarks: padding tweaks + +#### Dynamic size mode + fill fill ([#3835](https://github.com/tldraw/tldraw/pull/3835)) + +- Adds a dynamic size user preferences. +- Removes double click to reset scale on text shapes. +- Removes double click to reset autosize on text shapes. + +#### assets: preload fonts ([#3927](https://github.com/tldraw/tldraw/pull/3927)) + +- Perf: improve font loading timing on dotcom. + +#### [tiny] getSnapshot and loadSnapshot on Editor class ([#3912](https://github.com/tldraw/tldraw/pull/3912)) + +- Add a brief release note for your PR here. + +#### Flatten shapes to image(s) ([#3933](https://github.com/tldraw/tldraw/pull/3933)) + +- Add Flatten, a new menu item to flatten shapes into images + +#### assets: store in indexedDB, not as base64 ([#3836](https://github.com/tldraw/tldraw/pull/3836)) + +- Assets: store as reference to blob in indexedDB instead of storing directly as base64 in the snapshot. + +#### 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 + +- assets: mark assetOptions as internal [#4014](https://github.com/tldraw/tldraw/pull/4014) ([@mimecuvalo](https://github.com/mimecuvalo)) +- better auto-generated docs for Tldraw and TldrawEditor [#4012](https://github.com/tldraw/tldraw/pull/4012) ([@SomeHats](https://github.com/SomeHats)) +- Fix border color for following user [#3975](https://github.com/tldraw/tldraw/pull/3975) ([@ds300](https://github.com/ds300)) +- Fix edge scrolling at odd browser zoom levels [#3973](https://github.com/tldraw/tldraw/pull/3973) ([@ds300](https://github.com/ds300)) +- [Experiment] Allow users to use system's appearance (dark / light) mode [#3703](https://github.com/tldraw/tldraw/pull/3703) ([@MitjaBezensek](https://github.com/MitjaBezensek)) +- Improve edge scrolling [#3950](https://github.com/tldraw/tldraw/pull/3950) ([@steveruizok](https://github.com/steveruizok)) +- bookmark: css tweaks [#3955](https://github.com/tldraw/tldraw/pull/3955) ([@mimecuvalo](https://github.com/mimecuvalo)) +- Dynamic size mode + fill fill [#3835](https://github.com/tldraw/tldraw/pull/3835) ([@steveruizok](https://github.com/steveruizok) [@Taha-Hassan-Git](https://github.com/Taha-Hassan-Git) [@huppy-bot[bot]](https://github.com/huppy-bot[bot])) +- [tiny] getSnapshot and loadSnapshot on Editor class [#3912](https://github.com/tldraw/tldraw/pull/3912) ([@ds300](https://github.com/ds300)) +- Flatten shapes to image(s) [#3933](https://github.com/tldraw/tldraw/pull/3933) ([@steveruizok](https://github.com/steveruizok)) +- assets: store in indexedDB, not as base64 [#3836](https://github.com/tldraw/tldraw/pull/3836) ([@mimecuvalo](https://github.com/mimecuvalo)) +- 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)) +- security: enforce use of our fetch function and its default referrerpolicy [#3884](https://github.com/tldraw/tldraw/pull/3884) ([@mimecuvalo](https://github.com/mimecuvalo)) + +#### 🖥️ tldraw.com Changes + +- assets: preload fonts [#3927](https://github.com/tldraw/tldraw/pull/3927) ([@mimecuvalo](https://github.com/mimecuvalo) [@steveruizok](https://github.com/steveruizok)) + +#### 📖 Documentation changes + +- Document inherited members in reference [#3956](https://github.com/tldraw/tldraw/pull/3956) ([@SomeHats](https://github.com/SomeHats)) +- Better generated docs for react components [#3930](https://github.com/tldraw/tldraw/pull/3930) ([@SomeHats](https://github.com/SomeHats)) + +#### Authors: 7 + +- [@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)) +- Taha ([@Taha-Hassan-Git](https://github.com/Taha-Hassan-Git)) + +--- + # v2.2.0 (Tue Jun 11 2024) ### Release Notes diff --git a/packages/editor/package.json b/packages/editor/package.json index c9a11a490..1e85f7b44 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,7 +1,7 @@ { "name": "@tldraw/editor", "description": "A tiny little drawing app (editor).", - "version": "2.2.0", + "version": "2.3.0", "author": { "name": "tldraw Inc.", "email": "hello@tldraw.com" diff --git a/packages/editor/src/version.ts b/packages/editor/src/version.ts index dc185a0f8..568aca0b4 100644 --- a/packages/editor/src/version.ts +++ b/packages/editor/src/version.ts @@ -1,4 +1,4 @@ // This file is automatically generated by scripts/refresh-assets.ts. // Do not edit manually. Or do, I'm a comment, not a cop. -export const version = '2.2.0' +export const version = '2.3.0' diff --git a/packages/namespaced-tldraw/package.json b/packages/namespaced-tldraw/package.json index f4f747cc1..80a3be97b 100644 --- a/packages/namespaced-tldraw/package.json +++ b/packages/namespaced-tldraw/package.json @@ -1,7 +1,7 @@ { "name": "@tldraw/tldraw", "description": "A tiny little drawing editor.", - "version": "2.2.0", + "version": "2.3.0", "author": { "name": "tldraw Inc.", "email": "hello@tldraw.com" diff --git a/packages/state/CHANGELOG.md b/packages/state/CHANGELOG.md index ca4d583e1..ae078665e 100644 --- a/packages/state/CHANGELOG.md +++ b/packages/state/CHANGELOG.md @@ -1,3 +1,24 @@ +# 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 diff --git a/packages/state/package.json b/packages/state/package.json index ba370cdbf..c6a881ae8 100644 --- a/packages/state/package.json +++ b/packages/state/package.json @@ -1,7 +1,7 @@ { "name": "@tldraw/state", "description": "A tiny little drawing app (state).", - "version": "2.2.0", + "version": "2.3.0", "author": { "name": "tldraw Inc.", "email": "hello@tldraw.com" diff --git a/packages/store/CHANGELOG.md b/packages/store/CHANGELOG.md index 36599ae97..bfb712418 100644 --- a/packages/store/CHANGELOG.md +++ b/packages/store/CHANGELOG.md @@ -1,3 +1,28 @@ +# v2.3.0 (Tue Jun 25 2024) + +### Release Notes + +#### Update license in readme of the store package ([#3990](https://github.com/tldraw/tldraw/pull/3990)) + +- Fix the license in the readme file for the store package. + +--- + +#### 📚 SDK Changes + +- security: enforce use of our fetch function and its default referrerpolicy [#3884](https://github.com/tldraw/tldraw/pull/3884) ([@mimecuvalo](https://github.com/mimecuvalo)) + +#### 📖 Documentation changes + +- Update license in readme of the store package [#3990](https://github.com/tldraw/tldraw/pull/3990) ([@MitjaBezensek](https://github.com/MitjaBezensek)) + +#### Authors: 2 + +- Mime Čuvalo ([@mimecuvalo](https://github.com/mimecuvalo)) +- Mitja Bezenšek ([@MitjaBezensek](https://github.com/MitjaBezensek)) + +--- + # v2.2.0 (Tue Jun 11 2024) ### Release Notes diff --git a/packages/store/package.json b/packages/store/package.json index d2420c749..da03a65c2 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -1,7 +1,7 @@ { "name": "@tldraw/store", "description": "A tiny little drawing app (store).", - "version": "2.2.0", + "version": "2.3.0", "author": { "name": "tldraw Inc.", "email": "hello@tldraw.com" diff --git a/packages/tldraw/CHANGELOG.md b/packages/tldraw/CHANGELOG.md index 5e424a1ef..16e0590cc 100644 --- a/packages/tldraw/CHANGELOG.md +++ b/packages/tldraw/CHANGELOG.md @@ -1,3 +1,138 @@ +# v2.3.0 (Tue Jun 25 2024) + +### Release Notes + +#### editing: don't allow editing locked shapes when edit→edit mode. ([#4007](https://github.com/tldraw/tldraw/pull/4007)) + +- Editing: don't allow editing locked shapes when edit→edit mode. + +#### clipboard: fix copy/paste bad typo, ugh ([#4008](https://github.com/tldraw/tldraw/pull/4008)) + +- Clipboard: fix copy/paste for older versions of Firefox + +#### clipboard: fix copy/paste on Firefox ([#4003](https://github.com/tldraw/tldraw/pull/4003)) + +- Clipboard: fix copy/paste in Firefox 127+ + +#### Add fill fill style. ([#3966](https://github.com/tldraw/tldraw/pull/3966)) + +- Secretly adds a fill-fill style (Alt-F) + +#### Fix solid style draw shape. ([#3963](https://github.com/tldraw/tldraw/pull/3963)) + +- Fixes the appearance of solid-style heart shapes. + +#### Fix asset positions ([#3965](https://github.com/tldraw/tldraw/pull/3965)) + +- Fixes the position of multiple assets when pasted / dropped onto the canvas. + +#### Fix draw shape indicators for pen-drawn solid shapes ([#3962](https://github.com/tldraw/tldraw/pull/3962)) + +- Fixes a bug with the indicator for stylus-drawn draw shapes. + +#### assets: fix copy/paste with missing src ([#3959](https://github.com/tldraw/tldraw/pull/3959)) + +- Assets: fix copy/paste for new asset resolver mechanic. + +#### [Experiment] Allow users to use system's appearance (dark / light) mode ([#3703](https://github.com/tldraw/tldraw/pull/3703)) + +- Add a brief release note for your PR here. + +#### Improve edge scrolling ([#3950](https://github.com/tldraw/tldraw/pull/3950)) + +- Add a delay and easing to edge scrolling. + +#### Move from unpkg to our own cdn. ([#3923](https://github.com/tldraw/tldraw/pull/3923)) + +- Start using our own cdn instead of unpkg. + +#### bookmark: css tweaks ([#3955](https://github.com/tldraw/tldraw/pull/3955)) + +- Bookmarks: padding tweaks + +#### Dynamic size mode + fill fill ([#3835](https://github.com/tldraw/tldraw/pull/3835)) + +- Adds a dynamic size user preferences. +- Removes double click to reset scale on text shapes. +- Removes double click to reset autosize on text shapes. + +#### assets: preload fonts ([#3927](https://github.com/tldraw/tldraw/pull/3927)) + +- Perf: improve font loading timing on dotcom. + +#### Make ArrowBindingUtil public ([#3913](https://github.com/tldraw/tldraw/pull/3913)) + +- Add a brief release note for your PR here. + +#### Flatten shapes to image(s) ([#3933](https://github.com/tldraw/tldraw/pull/3933)) + +- Add Flatten, a new menu item to flatten shapes into images + +#### assets: store in indexedDB, not as base64 ([#3836](https://github.com/tldraw/tldraw/pull/3836)) + +- Assets: store as reference to blob in indexedDB instead of storing directly as base64 in the snapshot. + +#### images: avoid double request for animated images ([#3924](https://github.com/tldraw/tldraw/pull/3924)) + +- Images: avoid double request for animated images. + +#### 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 + +- editing: don't allow editing locked shapes when edit→edit mode. [#4007](https://github.com/tldraw/tldraw/pull/4007) ([@mimecuvalo](https://github.com/mimecuvalo)) +- better auto-generated docs for Tldraw and TldrawEditor [#4012](https://github.com/tldraw/tldraw/pull/4012) ([@SomeHats](https://github.com/SomeHats)) +- clipboard: fix copy/paste bad typo, ugh [#4008](https://github.com/tldraw/tldraw/pull/4008) ([@mimecuvalo](https://github.com/mimecuvalo)) +- clipboard: fix copy/paste on Firefox [#4003](https://github.com/tldraw/tldraw/pull/4003) ([@mimecuvalo](https://github.com/mimecuvalo)) +- theme: rename color scheme to theme [#3991](https://github.com/tldraw/tldraw/pull/3991) ([@mimecuvalo](https://github.com/mimecuvalo)) +- Fix scale issue with new draw lines [#3971](https://github.com/tldraw/tldraw/pull/3971) ([@steveruizok](https://github.com/steveruizok)) +- lod: dont resize images that are culled [#3970](https://github.com/tldraw/tldraw/pull/3970) ([@mimecuvalo](https://github.com/mimecuvalo)) +- flattening: use correct id for asset [#3968](https://github.com/tldraw/tldraw/pull/3968) ([@mimecuvalo](https://github.com/mimecuvalo)) +- Add fill fill style. [#3966](https://github.com/tldraw/tldraw/pull/3966) ([@steveruizok](https://github.com/steveruizok)) +- Fix solid style draw shape. [#3963](https://github.com/tldraw/tldraw/pull/3963) ([@steveruizok](https://github.com/steveruizok)) +- Fix asset positions [#3965](https://github.com/tldraw/tldraw/pull/3965) ([@steveruizok](https://github.com/steveruizok)) +- lod: fix up missing timeout from bad merge [#3964](https://github.com/tldraw/tldraw/pull/3964) ([@mimecuvalo](https://github.com/mimecuvalo)) +- Fix draw shape indicators for pen-drawn solid shapes [#3962](https://github.com/tldraw/tldraw/pull/3962) ([@steveruizok](https://github.com/steveruizok)) +- assets: fix copy/paste with missing src [#3959](https://github.com/tldraw/tldraw/pull/3959) ([@mimecuvalo](https://github.com/mimecuvalo)) +- [Experiment] Allow users to use system's appearance (dark / light) mode [#3703](https://github.com/tldraw/tldraw/pull/3703) ([@MitjaBezensek](https://github.com/MitjaBezensek)) +- Improve edge scrolling [#3950](https://github.com/tldraw/tldraw/pull/3950) ([@steveruizok](https://github.com/steveruizok)) +- Move from unpkg to our own cdn. [#3923](https://github.com/tldraw/tldraw/pull/3923) ([@MitjaBezensek](https://github.com/MitjaBezensek)) +- bookmark: css tweaks [#3955](https://github.com/tldraw/tldraw/pull/3955) ([@mimecuvalo](https://github.com/mimecuvalo)) +- assets: fix up videos with indexedDB [#3954](https://github.com/tldraw/tldraw/pull/3954) ([@mimecuvalo](https://github.com/mimecuvalo)) +- Dynamic size mode + fill fill [#3835](https://github.com/tldraw/tldraw/pull/3835) ([@steveruizok](https://github.com/steveruizok) [@Taha-Hassan-Git](https://github.com/Taha-Hassan-Git) [@huppy-bot[bot]](https://github.com/huppy-bot[bot])) +- Make ArrowBindingUtil public [#3913](https://github.com/tldraw/tldraw/pull/3913) ([@ds300](https://github.com/ds300)) +- Flatten shapes to image(s) [#3933](https://github.com/tldraw/tldraw/pull/3933) ([@steveruizok](https://github.com/steveruizok)) +- assets: store in indexedDB, not as base64 [#3836](https://github.com/tldraw/tldraw/pull/3836) ([@mimecuvalo](https://github.com/mimecuvalo)) +- image: follow-up fixes for LOD [#3934](https://github.com/tldraw/tldraw/pull/3934) ([@mimecuvalo](https://github.com/mimecuvalo)) +- images: avoid double request for animated images [#3924](https://github.com/tldraw/tldraw/pull/3924) ([@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)) +- security: enforce use of our fetch function and its default referrerpolicy [#3884](https://github.com/tldraw/tldraw/pull/3884) ([@mimecuvalo](https://github.com/mimecuvalo)) + +#### 🖥️ tldraw.com Changes + +- assets: preload fonts [#3927](https://github.com/tldraw/tldraw/pull/3927) ([@mimecuvalo](https://github.com/mimecuvalo) [@steveruizok](https://github.com/steveruizok)) + +#### 📖 Documentation changes + +- Document inherited members in reference [#3956](https://github.com/tldraw/tldraw/pull/3956) ([@SomeHats](https://github.com/SomeHats)) +- Better generated docs for react components [#3930](https://github.com/tldraw/tldraw/pull/3930) ([@SomeHats](https://github.com/SomeHats)) + +#### Authors: 7 + +- [@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)) +- Taha ([@Taha-Hassan-Git](https://github.com/Taha-Hassan-Git)) + +--- + # v2.2.0 (Tue Jun 11 2024) ### Release Notes diff --git a/packages/tldraw/package.json b/packages/tldraw/package.json index a486f27a4..d5fe9a13d 100644 --- a/packages/tldraw/package.json +++ b/packages/tldraw/package.json @@ -1,7 +1,7 @@ { "name": "tldraw", "description": "A tiny little drawing editor.", - "version": "2.2.0", + "version": "2.3.0", "author": { "name": "tldraw Inc.", "email": "hello@tldraw.com" diff --git a/packages/tldraw/src/lib/ui/version.ts b/packages/tldraw/src/lib/ui/version.ts index dc185a0f8..568aca0b4 100644 --- a/packages/tldraw/src/lib/ui/version.ts +++ b/packages/tldraw/src/lib/ui/version.ts @@ -1,4 +1,4 @@ // This file is automatically generated by scripts/refresh-assets.ts. // Do not edit manually. Or do, I'm a comment, not a cop. -export const version = '2.2.0' +export const version = '2.3.0' diff --git a/packages/tlschema/CHANGELOG.md b/packages/tlschema/CHANGELOG.md index 288917ac7..aaaf88980 100644 --- a/packages/tlschema/CHANGELOG.md +++ b/packages/tlschema/CHANGELOG.md @@ -1,3 +1,33 @@ +# v2.3.0 (Tue Jun 25 2024) + +### Release Notes + +#### Dynamic size mode + fill fill ([#3835](https://github.com/tldraw/tldraw/pull/3835)) + +- Adds a dynamic size user preferences. +- Removes double click to reset scale on text shapes. +- Removes double click to reset autosize on text shapes. + +#### 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 + +- Dynamic size mode + fill fill [#3835](https://github.com/tldraw/tldraw/pull/3835) ([@steveruizok](https://github.com/steveruizok) [@Taha-Hassan-Git](https://github.com/Taha-Hassan-Git) [@huppy-bot[bot]](https://github.com/huppy-bot[bot])) +- assets: make option to transform urls dynamically / LOD [#3827](https://github.com/tldraw/tldraw/pull/3827) ([@mimecuvalo](https://github.com/mimecuvalo)) + +#### Authors: 4 + +- [@huppy-bot[bot]](https://github.com/huppy-bot[bot]) +- Mime Čuvalo ([@mimecuvalo](https://github.com/mimecuvalo)) +- Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) +- Taha ([@Taha-Hassan-Git](https://github.com/Taha-Hassan-Git)) + +--- + # v2.2.0 (Tue Jun 11 2024) ### Release Notes diff --git a/packages/tlschema/package.json b/packages/tlschema/package.json index 142e4d5c5..9e7dce165 100644 --- a/packages/tlschema/package.json +++ b/packages/tlschema/package.json @@ -1,7 +1,7 @@ { "name": "@tldraw/tlschema", "description": "A tiny little drawing app (schema).", - "version": "2.2.0", + "version": "2.3.0", "author": { "name": "tldraw Inc.", "email": "hello@tldraw.com" diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 77b704159..f6d1fae10 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,3 +1,19 @@ +# v2.3.0 (Tue Jun 25 2024) + +#### 📚 SDK Changes + +- security: enforce use of our fetch function and its default referrerpolicy [#3884](https://github.com/tldraw/tldraw/pull/3884) ([@mimecuvalo](https://github.com/mimecuvalo)) + +#### 🖥️ tldraw.com Changes + +- lod: dont transform SVGs [#3972](https://github.com/tldraw/tldraw/pull/3972) ([@mimecuvalo](https://github.com/mimecuvalo)) + +#### Authors: 1 + +- Mime Čuvalo ([@mimecuvalo](https://github.com/mimecuvalo)) + +--- + # v2.2.0 (Tue Jun 11 2024) ### Release Notes diff --git a/packages/utils/package.json b/packages/utils/package.json index c54748129..e1acb75a9 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,7 +1,7 @@ { "name": "@tldraw/utils", "description": "A tiny little drawing app (private utilities).", - "version": "2.2.0", + "version": "2.3.0", "author": { "name": "tldraw Inc.", "email": "hello@tldraw.com" diff --git a/packages/validate/CHANGELOG.md b/packages/validate/CHANGELOG.md index 54958c533..a25a36cfe 100644 --- a/packages/validate/CHANGELOG.md +++ b/packages/validate/CHANGELOG.md @@ -1,3 +1,23 @@ +# v2.3.0 (Tue Jun 25 2024) + +### Release Notes + +#### assets: store in indexedDB, not as base64 ([#3836](https://github.com/tldraw/tldraw/pull/3836)) + +- Assets: store as reference to blob in indexedDB instead of storing directly as base64 in the snapshot. + +--- + +#### 📚 SDK Changes + +- assets: store in indexedDB, not as base64 [#3836](https://github.com/tldraw/tldraw/pull/3836) ([@mimecuvalo](https://github.com/mimecuvalo)) + +#### Authors: 1 + +- Mime Čuvalo ([@mimecuvalo](https://github.com/mimecuvalo)) + +--- + # v2.2.0 (Tue Jun 11 2024) ### Release Notes diff --git a/packages/validate/package.json b/packages/validate/package.json index 51d3b4bdd..e36426635 100644 --- a/packages/validate/package.json +++ b/packages/validate/package.json @@ -1,7 +1,7 @@ { "name": "@tldraw/validate", "description": "A runtime validation library by tldraw.", - "version": "2.2.0", + "version": "2.3.0", "author": { "name": "tldraw Inc.", "email": "hello@tldraw.com"