v4.2.0

This month's release includes many bug fixes and small API additions, along with a major version bump of our TipTap rich text editor.

What's new

TipTap v3 (#5717)

We've upgraded TipTap from v2 to v3. If you've done any customization to our standard TipTap kit, please refer to TipTap's guide How to upgrade Tiptap v2 to v3 for breaking changes you might experience.

API changes

  • Add Editor.setTool/Editor.removeTool for dynamically altering the editor's tool state chart. (#6909) (#7134)
  • Allow using custom socket implementations with useSync via a new connect option. (#6859) (contributed by @Digital39999)
  • Add support for nested property queries in the store. (#6981)
  • Add createBookmarkFromUrl helper for easier bookmark shape creation. (#6894)
  • Add custom reference points for handle angle snapping. (#6987) (contributed by @naaa760)
  • Add new "lined-fill" style, accessible via Option+Shift+F. (#7034)
  • Add onInteractionEnd callback option. (#6919)
  • Add allowReferrer option for window opening functions. (#7004)
  • Remove defunct Excalidraw embed definition. (#6897)

Improvements

  • Use window.prompt for renaming frames on mobile. (#6838)
  • Optimize string append operations in sync protocol. (#7007) (contributed by @quasor)

Bug fixes

  • Fix Replit embed URL handling. (#6892)
  • Fix accessibility issue that caused a misleading warning in the console. (#6904)
  • Fix convert-to-bookmark action. (#6894)
  • Fix dropdown menu pointer handling. (#7021)
  • Fix iOS Safari image uploads. (#7037)
  • Fix Alt+Tab conflict on Windows. (#7005)
  • Fix text focus issues. (#7043)
  • Fix TldrawEditor usability without TldrawUiContextProvider. (#7053)
  • Fix cross-realm clipboard functionality. (#7026)
  • Fix iOS ink rendering via coalesced events. (#6917)
  • Fix menu-open dragging behavior. (#6918)

View release on GitHub


Patch releases

v4.2.1

  • Fix CommonJS/cjs builds that were broken in v4.2.0. (#7282)

View release on GitHub

Prev
v4.1.0
Next
Next release