tldraw SDK 5.6
tldraw SDK 5.6
We've just landed version 5.6 of the tldraw SDK.
We’ve been continuing with the polishing push we were doing in last month’s release, making everything feel that little bit cleaner and more satisfying. That includes smarter menus, easier translation, and cleaner commenting interfaces.
There were 150 updates in total. Here are a few of the highlights:
Smarter menus
Menus only display actions you can actually perform. Everything else is hidden or grayed out. Custom menus can do the same with the new isAvailable and isEnabled on actions.
Translations in the UI
This month, we spent some time thinking about how to make translation easier in the canvas interface. We landed on switching every UI string to ICU MessageFormat. So, you can set your canvas UI to your preferred language.
Interface text adjusts to the situation, so users see “1 shape” or “3 shapes” instead of “3 shape(s)”. Adding your own translated text is simpler, too. Write it in the same place it’s displayed, using defineMessages and F, rather than keeping it in a separate file.
This change has also made the canvas more accessible for people using screen readers. Shape names like “rectangle” or “arrow” are now read aloud in the user’s chosen language.
Comment from the context menu
If you've set up comments, you can right-click the canvas and pick to drop one exactly where you clicked. On iOS, the composer no longer needs a second tap before you can type, and clicking the canvas mid-comment now cancels it instead of moving it.
Whether you’ve set up comments or not, we’d love to hear from you — either with feedback or if we can help you get set up.
Read the 5.6 highlights blog: tldraw.dev/blog/tldraw-sdk-5-6
Read the full release notes: tldraw.dev/releases/v5.6.0
Cheers,
Steve
tldraw, Inc. 548 Market Street Suite 85507 San Francisco CA 94104