Zum Inhalt springen

tldraw Release Notes

Einträge
35
Quellen
1
Zuletzt aktualisiert

Folge tldraw, um die Release Notes in deinen Feed zu holen.

tldraw

v5.7.0

So far this release adds a command palette (Cmd/Ctrl+K), task lists in rich text with font-matched checkboxes, a "Show tooltips" preference, removes canvas-colored text outlines, lets shapes decide whether they can flip, gates action execution on action predicates across menus and shortcuts, adds onSessionConnected to TLSocketRoom, brings multi-comment placement and UI polish to @tldraw/commenting, restyles the error screen, improves crop mode, switches sync server templates to node:sqlite, and runs agent starter kit actions through tool calls. It also includes bug fixes across heading font measurement, tooltip timing, canvas cursors, comment drafts, text and note shape re-renders, video controls on zoom, arrow binding in locked groups, UI translation loading, icon fallback outside asset providers, .tldr asset preservation, media asset handling, frame hit testing, text shape bounds, cursor chat, locked frame shortcuts, screen readers, and the comment composer.

What's new

Command palette …

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

v5.6.2

Generated from commits between v5.6.1 and HEAD

Improvements

feat(tldraw): ask before opening links into unknown apps, block more unsafe schemes (#11561) (#11594)

  • Ask before opening a link into an app tldraw doesn't recognize.

  • Block more link schemes with known exploits, such as smb: and ms-word:. Existing links that use them are cleared.

  • Added getLinkOpenPolicy(), openLink() and TLLinkOpenPolicy to tldraw

  • Added the confirm-open-link event to TLEventMap

  • T.linkUrl rejects more schemes (see above)

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

v5.5.4

Generated from commits between v5.5.2 and HEAD

Improvements

feat(editor): increase default hit test margin to 4.5 (#11108)

  • Increase the default hit test margin, making shape edges easier to hover and select.

  • Changed the default value of TldrawOptions.hitTestMargin from 3 to 4.5

Features

feat(editor): add a tracked license flag that always sends the tracking ping (#11178)

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

v5.6.0

This release introduces ICU MessageFormat and react-intl for translations, action-driven menu gating, and a ThrottledFunction type in @tldraw/utils. It also improves commenting, canvas navigation, and the select tool, and includes a broad set of bug fixes across selection, undo/redo, local persistence, sync, and the store.

What's new

ICU MessageFormat and react-intl for translations (#8036)

The SDK's UI strings now use ICU MessageFormat, allowing messages to support pluralization, selections, and values interpolation cleanly across languages. We've also added react-intl authoring on top: defineMessages and <F> declare and render messages with their default English next to the code that uses them.

Existing translations overridden by ID through overrides.translations continue to work unchanged.

API changes

  • Add ICU MessageFormat translation support with defineMessages, <F>, and useTldrawI18n. useTranslation's msg now supports interpolating values through an optional second argument and accepts declared message descriptors. (#8036) …

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

tldraw v5.5.2: Lizenz-Domain-Prüfung für blob:-URLs korrigiert

In tldraw v5.5.2 wird die Lizenz-Domain-Validierung für Seiten korrigiert, die von blob:-URLs geladen werden.

Generated from commits between v5.5.1 and HEAD

Bug Fixes

fix(editor): validate license domain for pages loaded from blob URLs (#11040)

  • Fix license domain validation for pages loaded from blob: URLs

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

tldraw v5.5.1: Cursor-Hotspot näher an der sichtbaren Spitze

In tldraw v5.5.1 wurde der Hotspot des Standardcursors näher an die sichtbare Spitze verschoben, sodass Hover und Auswahl von Formen nicht mehr nach unten versetzt wirken.

Generated from commits between v5.5.0 and HEAD

Bug Fixes

fix(editor): move default cursor hotspot down toward the visible tip (#11033)

  • Fix shape hover and selection feeling offset below shapes, caused by the default cursor's hotspot sitting above its visible tip.

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

tldraw v5.5.0: Smart Typography, Link-Einfügen und mehr Zuverlässigkeit

tldraw v5.5.0 verbessert die Zuverlässigkeit des SDK breit (Drag-, Resize-, Touch- und Export-Verhalten, Store, Sync), ergänzt Smart Typography und Klammer-/Anführungszeichen-Umschließung in Rich Text, das Setzen von Links per Einfügen auf eine Form und ein ausblendbares Attribution-Badge der Note-Form, exportiert die TipTap-Extension-API und lässt Editor.setCamera nicht endliche Werte nun ablehnen.

This release is a broad reliability pass over the SDK. Shapes keep changes made by other commands while they are being dragged, resized, rotated, or cropped; touch gestures no longer stick when the browser cancels a pointer; selection, draw, line, note, frame, and arrow interactions survive shapes being deleted or locked mid-interaction; SVG exports embed every resource they reference; and there are fixes across the store, signals, sync, and local persistence. Rich text gets smart typography and wraps a selection in the bracket or quote you type, pasting a link onto a selected shape sets its link, and the note shape's attribution badge can be hidden or replaced. tldraw now re-exports TipTap's extension API, so custom rich text extensions no longer need their own @tiptap/* install, and Editor.setCamera rejects non-finite values instead of quietly coercing them.

What's new

Smart typography in rich text (#10767)

Text typed on the canvas now reads like typeset text. Straight quotes curl, -- becomes an em dash, ... an ellipsis, and -> an arrow. Pressing Backspace straight after a rewrite restores what you typed. The rules are TipTap's Typography extension, added as a standalone entry in getTipTapDefaultExtensions(), so filter it out to keep literal punctuation. …

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

tldraw v5.4.2: MIT-Lizenz in Paketmetadaten ergänzt

In tldraw v5.4.2 enthalten die Paketmetadaten von @tldraw/utils und @tldraw/validate nun ausdrücklich die MIT-Lizenz.

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.

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

tldraw v5.4.1: Kontextmenü öffnet sich nach Linksklick wieder

In tldraw v5.4.1 lässt sich das Kontextmenü mit radix-ui 1.5+ nach dem Schließen per Linksklick wieder öffnen.

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

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

tldraw v5.4.0: Neue Ausrichtung „center“ und über hundert Fehlerbehebungen

tldraw v5.4.0 ergänzt die Operation center für Editor.alignShapes, die Registry tleditors, iterateGraphemes in @tldraw/utils und zwei reaktive AtomMap-Methoden, markiert useViewportHeight als veraltet, beschleunigt Signals und Store und behebt über hundert Fehler im SDK.

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, the signals and store layers, sync, and local persistence.

API changes

  • 🔜 useViewportHeight() is deprecated. Read window.visualViewport directly instead. The hook returns only the visible viewport's bottom edge, and keeping a panel clear of the software keyboard generally needs the whole visible rectangle. (#9826)

  • Add 'center' as an Editor.alignShapes operation. It applies the existing 'center-horizontal' and 'center-vertical' operations together, so shapes center on both axes in one command. (#9074)

  • Add tleditors, a reactive global registry of currently mounted editors. Use it to reach live editors from outside the React tree, for example from sidebar chrome or a keyboard shortcut handler. (#9904)

    import { tleditors, useValue } from 'tldraw'
    
    const mounted = useValue('mounted editors', () => tleditors.getMounted(), [])
    ``` …
    

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

tldraw v5.3.2: Produktmetadaten und Fixes bei Lizenzprüfung und UI

tldraw v5.3.2 ergänzt Produktmetadaten in allen package.json-Dateien, behebt Abstürze der Standard-UI-Komponenten außerhalb von Tldraw sowie Fehler bei der Lizenzprüfung (native Apps mit eigenen Protokollen, Wildcard-Hosts).

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 protocols as development environments.
  • Fixed wildcard license host matching so *.example.com matches only that domain's subdomains.
  • Added internal useMaybeLicenseManager(): the license manager from context, falling back to the nearest editor's, or null.
  • Added internal Editor.licenseManager, assigned by <TldrawEditor /> when it creates the editor.
  • Changed internal useLicenseFeatureFlag to accept LicenseManager | null and return false for null.

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

tldraw v5.3.1: Touch-Eingaben auf iOS bei abgesetztem Editor behoben

In tldraw v5.3.1 werden Touch-Eingaben auf iOS nicht mehr ignoriert, wenn der Editor vom Seitenrand abgesetzt ist, etwa neben einer Seitenleiste.

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.

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

tldraw v5.3.0: Kommentare als verankerte Threads auf der Canvas

tldraw v5.3.0 führt Kommentare als verankerte Threads auf der Canvas ein (neues Paket @tldraw/commenting), außerdem Spiegeln von Geo-Shapes, Snapping und symmetrisches Skalieren beim Zuschneiden, eine assets-Prop für TldrawImage, Editor.getIsMounted() samt unmount-Event, schnelleres Viewport-Culling und diverse Fehlerbehebungen.

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 while cropping images, an assets prop for TldrawImage, and a reactive Editor.getIsMounted() with a new unmount event. Viewport culling is faster on large pages, and there's a batch of fixes for crashes and interaction bugs across arrows, groups, and text.

What's new

Commenting (#9471, #9782, #9850)

Comments are now a first-class primitive in the SDK. @tldraw/commenting ships a batteries-included canvas comments layer: threads anchor to a point, a shape (precisely or imprecisely), a text range, a region, or the page. You can reply, edit, react, resolve, and delete comments. The pins drag to re-anchor, and ?comment=<id> deep links open a thread and bring the camera to its pin. Comment pins cluster together as you zoom out and separate back out as you zoom in. …

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

tldraw v5.2.4: Kein überflüssiges Segment bei geschlossenen Draw-Shapes

In tldraw v5.2.4 zeichnen nicht gefüllte, geschlossene Draw-Shapes in den Stilen solid, dashed und dotted kein überflüssiges schließendes Segment mehr.

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.

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

tldraw v5.2.3: Doppelklick auf Pfeil-Endpunkt korrigiert

In tldraw v5.2.3 löst ein Doppelklick auf einen Pfeil-Endpunkt den Toggle nicht mehr aus, bevor der zweite Klick zu einem Ziehen werden kann.

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.

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

Export von PNG/SVG ohne Textabschneidung

Behoben: Beim Export als PNG und SVG werden die Ränder kursiver, rechtsläufiger und kursiv geschriebener Texte nicht mehr abgeschnitten.

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.

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

Dokumentation aktualisiert

Die Dokumentation wurde für die neueste Version aktualisiert, da dies in der vorherigen Version versäumt wurde.

Generated from commits between v5.2.0 and HEAD

Documentation

  • Update docs for latest release (missed in last release)

Originalquelle(öffnet in neuem Tab)Problem melden

tldraw

Leistungsverbesserungen und Frame-Auswahl

tldraw 5.2.0 bringt schnellere freihändige Tintenstriche, eine neue Frame-Auswahl-Aktion, vereinfachte Mehrfachklick-Behandlung und zahlreiche Fehlerbehebungen.

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 the freehand ink algorithm. Draw and highlighter strokes now compute about 2x faster (up to 3x for long strokes) and produce 57% smaller SVG path data, with no visible change to how strokes look. The rewrite removes two rarely-used stroke APIs; see the breaking changes in API changes.

Frame selection (#8151)

A new "Frame selection" action wraps the selected shapes in a frame with cmd+shift+f. When a frame is selected, the same shortcut removes it.

API changes

  • 💥 Simplify multi-click handling to double-click only. ClickManager no longer tracks triple or quadruple clicks: the triple_click and quadruple_click events and the onTripleClick / onQuadrupleClick handlers have been removed, and TLClickEventName is now just 'double_click'. (#8897) …

Originalquelle(öffnet in neuem Tab)Problem melden