Some checks failed
Deploy analytics worker / Deploy analytics worker to ${{ (github.ref == 'refs/heads/production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') || 'preview' }} (push) Failing after 1s
i18n upload strings / Upload latest strings (push) Failing after 1s
Deploy bemo / Deploy bemo to ${{ (github.ref == 'refs/heads/bemo-production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') || 'preview' }} (push) Failing after 1s
Deploy grafana resources / ${{ github.event_name == 'push' && 'Deploy grafana resources' || 'Validate grafana resources (dry run)' }} (push) Failing after 0s
End to end tests (dotcom) / Check for relevant changes (push) Failing after 0s
End to end tests (examples) / Check for relevant changes (push) Failing after 0s
End to end tests (mermaid readability) / Check for relevant changes (push) Failing after 1s
End to end tests (perf) / Check for relevant changes (push) Failing after 0s
Publish editor extensions / Publish editor extensions (push) Failing after 1s
Publish SDK packages / Remove the publish-packages label (push) Has been skipped
Checks / Tests & checks (push) Has been cancelled
Checks / Build all projects (push) Has been cancelled
Deploy templates / Deploy templates (push) Has been cancelled
End to end tests (dotcom) / End to end tests (dotcom) (push) Has been cancelled
End to end tests (mermaid readability) / End to end tests (mermaid readability) (push) Has been cancelled
End to end tests (perf) / End to end tests (perf) (push) Has been cancelled
Deploy .com / Deploy dotcom to ${{ (github.ref == 'refs/heads/production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') || 'preview' }} (push) Has been cancelled
End to end tests (examples) / End to end tests (examples) (push) Has been cancelled
Publish SDK packages / Publish SDK packages (push) Has been cancelled
Publish SDK packages / Tell user released version (push) Has been cancelled
Publish SDK packages / Publishes code templates to separate repositories (push) Has been cancelled
Publish SDK packages / Deploys the template demos with the new SDK version (push) Has been cancelled
66 lines
2.1 KiB
Plaintext
66 lines
2.1 KiB
Plaintext
---
|
|
title: 'v3.12.0'
|
|
created_at: 4/15/2025
|
|
updated_at: 4/15/2025
|
|
keywords:
|
|
- changelog
|
|
- release
|
|
- v3.12
|
|
- v3.12.0
|
|
- v3.12.1
|
|
- v3.12.2
|
|
- accessibility
|
|
- keyboard-navigation
|
|
- frames
|
|
- geometry
|
|
status: published
|
|
---
|
|
|
|
This release focuses on accessibility improvements and API enhancements, with no breaking changes.
|
|
|
|
## API changes
|
|
|
|
- Add new `getShapeVisibility` prop replacing the deprecated `isShapeHidden`, allowing hidden children to override parent visibility states.
|
|
- Allow frames to display colorful borders and labels by configuring `FrameShapeUtil` with `showColors: true`.
|
|
- Add `Geometry2d` helper methods including `intersectLineSegment`, `intersectCircle`, `transform`, and filtering options.
|
|
- Export two Tiptap extensions individually for rich text customization.
|
|
|
|
## Improvements
|
|
|
|
- Add keyboard-based selection movement between shapes using Tab and Cmd/Ctrl+Arrow keys.
|
|
- Add screen reader announcements for tool and shape selection changes.
|
|
- Add keyboard resizing capability via Cmd/Ctrl+Alt+Shift with +/- keys.
|
|
- Improve semantic HTML5 tags and proper ARIA roles throughout the UI.
|
|
- Simplify keyboard shortcut syntax (e.g., `'?!l'` becomes `'alt+shift+l'`).
|
|
- Add atomic `Store.mergeRemoteChanges` with correct scope-triggered side effects.
|
|
- Add smoother drawing on slower CPUs via `getCoalescedEvents`.
|
|
- Add YouTube embed support for time/loop parameters.
|
|
- Add optional asset URL overrides for unused Embed shape icons.
|
|
|
|
## Bug fixes
|
|
|
|
- Fix Firefox SVG pasting.
|
|
- Fix TailwindCSS text export styling.
|
|
- Fix image pasting efficiency.
|
|
- Fix Miro shape compatibility.
|
|
- Fix Safari trackpad zoom.
|
|
- Fix performance regressions in rich text and iPad drawing.
|
|
|
|
[View release on GitHub](https://github.com/tldraw/tldraw/releases/tag/v3.12.0)
|
|
|
|
---
|
|
|
|
## Patch releases
|
|
|
|
### v3.12.1
|
|
|
|
- Fix group bounds containing text shapes. ([#5911](https://github.com/tldraw/tldraw/pull/5911))
|
|
|
|
[View release on GitHub](https://github.com/tldraw/tldraw/releases/tag/v3.12.1)
|
|
|
|
### v3.12.2
|
|
|
|
- Restore DPR constrained shape dimensions. ([#6034](https://github.com/tldraw/tldraw/pull/6034))
|
|
|
|
[View release on GitHub](https://github.com/tldraw/tldraw/releases/tag/v3.12.2)
|