v3.5.0
Welcome to the 3.5.0 release of tldraw. This month's SDK release improves grid snapping, some usability improvements around layering shapes, and more fine-grained controls around exporting.
What's new
Snap to grid when creating shapes (#4875)
This PR makes sure that shapes snap to the grid when created. It adds a maybeSnapToGrid
function, which can be used to push a shape onto the grid if grid mode is enabled, both when click-creating and when drag-creating.
Smart bringForward
/sendBackward
(#4851)
Improved the 'bring forward' and 'send backward' actions by making them only consider nearby overlapping shapes when deciding the next ordering.
Better support scale / quality in export utilities (#4795)
This helps better control the scale when using the image export utilities in tldraw. We now have the option to pass scale
and pixelRatio
to the export functions to give more fine-grained control.
Improvements
- Improve panning performance when we have many note shapes and when we are zoomed out #4935
- Improve hovers on page menu #4788
- Allow custom React providers in SVG exports #4991
- Make default color theme light. #4796
- Improve right click on frame headings #4979
API changes
- Expose font sizes, stroke sizes API #4940
- Add rate limiting socket close reason. #4898
- Add option to disable text creation on double click #4841
Bug Fix
- Remove zooming to an editing shape if the shape is off-screen #4872
- Fix shapes getting stuck in erasing state #4861
- Fix id regression #4849pull/4788)
- Keyboard shortcuts: fix up wrong size dialog on desktop #4791
- Fix toast spacing #4800
- Fix dragging on frame headings #4794
- Make sure copy-as-png comes in at natural size #4771
- Add store consistency checks during
mergeRemoteChanges
#4833 - Fix Safari sleep crash #4822
Authors: 13
- alex (@SomeHats)
- @Crysta1ightning
- David Sheldrick (@ds300)
- Emmanuel Ferdman (@emmanuel-ferdman)
- Judicael (@judicaelandria)
- Lu Wilson (@TodePond)
- Mime Čuvalo (@mimecuvalo)
- Mitja Bezenšek (@MitjaBezensek)
- Steve Ruiz (@steveruizok)
- Taha (@Taha-Hassan-Git)
- Thien Nguyen (@tatthien)
- Younsang Na (@nayounsang)
Prev
v3.6.0Next
v3.4.0