v3.8.0
This release delivers performance enhancements, UI improvements, and developer experience upgrades alongside bug fixes.
API changes
- 💥
maxDrawShapePointsmoved toDrawShapeUtil.configure({ maxPoints }). - 💥 Asset upload now returns
{ src, meta? }object instead of string. - 💥 JSON export option removed;
useImageOrVideoAssetUrlrequires width parameter. - 💥
TldrawUiToastsandTldrawUiDialogsrenamed toDefaultToastsandDefaultDialogs. - Add new
Editor.toImagemethod for refined export functionality. - Add custom content handlers for pasted tldraw and excalidraw content.
- Add "before-event" listener for custom input event handling.
- Add
onCropmethod for shape-specific cropping customization.
Improvements
- Add
ShapeUtil.configureutility for passing options to shape utilities. - Allow note shapes to resize by scale.
- Add geometric tool shortcut (
gkey) for quick selection. - Add URL drag-and-drop to create bookmark shapes on canvas.
- Expand support to 40+ languages via i18n enhancements.
- Add React 19 compatibility.
- Improve frame performance through computation relocation.
Bug fixes
- Fix dialog and edit menu glitches.
- Fix mousewheel scrolling on elements.
- Fix image export width.
- Fix text paste behavior via keyboard shortcuts.
Patch releases
v3.8.1
- Fix
TldrawImagenot functioning properly withformat=png. (#5429)
Prev
v3.7.0Next
v3.9.0