v5.4.2
Generated from commits between v5.4.1 and HEAD Bug Fixes fix(packages): declare MIT license for utils and validate (#10738) Fix package metadata to explicitly identify the MIT licenses of @tldraw/utils and @tldraw/validate.
Generated from commits between v5.4.1 and HEAD Bug Fixes fix(packages): declare MIT license for utils and validate (#10738) Fix package metadata to explicitly identify the MIT licenses of @tldraw/utils and @tldraw/validate.
Generated from commits between v5.4.0 and HEAD Bug Fixes fix(tldraw): control context menu open state so radix-ui 1.5+ can reopen it (#10567) Fix the context menu not reopening after a left-click dismissal when radix-ui 1.5+ is installed
This release adds a center operation to Editor.alignShapes, a tleditors registry of mounted editors, iterateGraphemes to @tldraw/utils, and two new reactive methods on AtomMap. It also deprecates useViewportHeight, speeds up the signals and store layers, and lands a broad reliability pass across the SDK, with over a hundred fixes to undo history, selection and tool interactions, cropping, arrows,…
Generated from commits between v5.3.1 and HEAD Bug Fixes License fixes and product metadata (#10062) Added product metadata to all our package.json files to make licensing clearer between packages. Fixed default UI components (such as DefaultToolbar and DefaultQuickActionsContent) crashing when mounted outside the Tldraw component. Fixed license validation treating native apps served from custom p…
Generated from commits between v5.3.0 and HEAD Bug Fixes fix(editor): don't swallow touches when the editor is inset from the page edge (#9989) Fixed a bug where touches in part of the canvas were ignored on iOS when the editor was inset from the edge of the page, such as beside a sidebar.
This release adds commenting: a set of new packages for anchored comment threads on the canvas, backed by comment records in the schema and sync support for non-document data. Commenting is the first piece of our new collaboration package, a separately licensed section of the SDK for premium collaboration features. The release also adds flipping for geo shapes, snapping and symmetric resizing whil…
Generated from commits between v5.2.4 and HEAD
Generated from commits between v5.2.3 and HEAD Bug Fixes fix(tldraw): don't close the stroke on unfilled closed draw shapes (#9538) Fix unfilled closed draw shapes drawing a spurious closing segment in the solid, dashed, and dotted dash styles.
Generated from commits between v5.2.2 and HEAD Bug Fixes fix(arrows): defer handle double click toggle (#9499) Fix arrow endpoint double-click toggles firing before a second click can become a drag.
Generated from commits between v5.2.0 and HEAD Documentation Update docs for latest release (missed in last release)
Generated from commits between v5.2.1 and HEAD Bug Fixes fix(tldraw): stop PNG/SVG exports clipping text glyph ink (#9463) Fix exported PNG and SVG images clipping the edges of italic, right-to-left, and cursive text.
This release brings in performance improvements across tldraw. The freehand ink algorithm now computes strokes 2–3x faster, shape resizing is quicker, and editor load time is reduced. Multi-click handling was simplified to double-click only to support improved mobile gestures. Plus it's easier to add shapes to frames, and dozens of bugs were fixed. What's new Faster freehand ink (#9154) We rewrote…
Generated from commits between v5.1.0 and HEAD Bug Fixes fix(editor): forgets previous touch interactions when entering pen mode (#9162) Fixed a bug when user enter pen mode while a finger/hand is on the touch screen device. We cancel previous touches and the line starts where the pen first touched the screen.
This release redesigns the page menu around inline interaction, adds a keyboard shortcut to copy styles from a hovered shape, and adds a selectLockedShapes option for inspecting locked shapes, along with new public translation APIs, canvas performance improvements, and various rendering and UI bug fixes. What's new Page menu redesign (#8836) The page menu no longer has an explicit edit mode. Reord…
Generated from commits between v5.0.1 and HEAD Bug Fixes fix(tldraw): pattern fill exports broken in dark mode (#8872) Fix pattern fill exports broken in dark mode when the editor was in light mode (and vice versa).
Generated from commits between v5.0.0 and HEAD Bug Fixes fix(tldraw): style panel dropdown sizing and offset (#8850) Added optional sideOffset prop to StylePanelDropdownPickerProps for tuning popover position when the trigger isn't at the panel's left edge. Fix sizing and offset for style panel dropdown buttons so fill pattern and vertical alignment popovers open left of the style panel.
Generated from commits between v4.5.10 and HEAD Bug Fixes fix(context-menu): keep menu open after long-press release on touch (#8741) Fix the iOS context menu closing immediately after a long-press release. fix(license): don't show expired warning for perpetual licenses on covered versions (#8791) Perpetual licenses no longer show a misleading "license expired" console warning when the user is pas…
Generated from commits between v4.4.1 and HEAD Bug Fixes fix(license): don't show expired warning for perpetual licenses on covered versions (#8791) Perpetual licenses no longer show a misleading "license expired" console warning when the user is past their calendar expiry date but still on a version covered by the license.
Generated from commits between v4.2.3 and HEAD Bug Fixes fix(license): don't show expired warning for perpetual licenses on covered versions (#8791) Perpetual licenses no longer show a misleading "license expired" console warning when the user is past their calendar expiry date but still on a version covered by the license.
Generated from commits between v4.3.2 and HEAD Bug Fixes fix(license): don't show expired warning for perpetual licenses on covered versions (#8791) Perpetual licenses no longer show a misleading "license expired" console warning when the user is past their calendar expiry date but still on a version covered by the license.