32 KiB
32 KiB
v2.0.0-alpha.13 (Wed Jun 28 2023)
Release Notes
Styles API follow-ups (#1636)
--
Revert "Update dependencies (#1613)" (#1617)
tldraw.css (#1607)
- [tldraw] Removes
editor.css
andui.css
exports, replaces withtldraw.css
Styles API (#1580)
(1/2) Cursor Chat - Presence (#1487)
- [dev] Added support for cursor chat presence.
Use unpkg as a default for serving assets. (#1548)
- Use unpkg asset hosting as a default.
hoist opacity out of props (#1526)
[internal only for now]
Select locked shapes on long press (#1529)
highlighter fixes (#1530)
[aq bug fixes]
Simplify static cursors (#1520)
- (editor) Simplifies the cursors in our CSS.
Renaming types, shape utils, tools (#1513)
- Renaming of types, shape utils, tools
tlschema cleanup (#1509)
- [editor] Remove
app.createShapeId
- [tlschema] Cleans up exports
Cleanup @tldraw/ui types / exports (#1504)
- [editor] clean up / unify types
rename app to editor (#1503)
- Rename
App
toEditor
and many other things that referenceapp
toeditor
.
Add support for locking shapes (#1447)
- Add support for locking shapes.
[3/3] Highlighter styling (#1490)
Highlighter pen is here! 🎉🎉🎉
[1/3] initial highlighter shape/tool (#1401)
[internal only change layout ground work for highlighter]
[feature] reduce motion (#1485)
- [editor] Add
reduceMotion
user preference - Add reduce motion option to preferences
Feature flags rework (#1474)
[internal only change]
[refactor] update record names (#1473)
- [editor] rename record types
remove safari special-casing for paste (#1470)
[fixes a regression introduced during this release]
Don't allow g
keyboard shortcut in readonly mode, show laser tool in the toolbar (#1459)
- Disable geo tool shortcut in readonly mode. Show laser on the toolbar.
[mini-feature] Following indicator (#1468)
- Adds viewport following indicator
[chore] refactor user preferences (#1435)
- Add a brief release note for your PR here.
Add translations for "Leave shared project" action (#1394)
- None
Stricter ID types (#1439)
[internal only, covered by #1432 changelog]
Add SVG cursors for all cursor types (#1416)
- Added consistent custom cursors.
[refactor] Remove TLShapeDef
, getShapeUtilByType
. (#1432)
- [tlschema] Update props of
createTLSchema
- [editor] Update props of
TldrawEditorConfig
- [editor] Remove
App.getShapeUtilByType
- [editor] Update
App.getShapeUtil
to take a type rather than a shape
Measure individual words instead of just line breaks for text exports (#1397)
- Add a brief release note for your PR here.
[feature] Add checkbox to toolbar (#1423)
- Adds missing checkbox to toolbar.
[feature] add laser pointer (#1412)
- Adds the laser pointer tool.
Vertical text alignment for geo shapes (#1414)
- This adds vertical text alignment property to geo shapes.
[fix] page menu, drag handle css (#1406)
- Fix styling in the page menu
Switch to new collaborators component (#1405)
- [Breaking] Removes the old version of LiveCollaborators, replacing it with the new one based on
TLInstancePresence
[improvement] refactor paste to support multi-line text (#1398)
- Improves clipboard logic when pasting text
- Adds support for pasting multi-line text
- Adds maximum widths when pasting single-line text
- Adds support for RTL languages when pasting multi-line or wrapped text
- Strips leading indentation when pasting text
Don't allow the users to use keyboard shortcuts to select tools in readonly mode. (#1382)
- Disable keyboard shortcut events for tools in readonly mode. We only allow the select, hand tools, and zoom tool.
[fix] Don't synchronize isReadOnly (#1396)
- Removes the isReadOnly value from the
user_document_settings
record type.
Add localizations for snapshots links (#1347)
- Add localization for creating snapshot links.
avoid lazy race conditions (#1364)
[internal only]
Export Events stuff (#1360)
- [ui] export the
TLUiEventSource
type - [ui] export the
EventsProviderProps
type - [ui] export the
useEvents
hook
[improvement] rename onEvent to onUiEvent (#1358)
- [docs] Adds docs for ui events
- [tldraw] Renames
onEvent
toonUiEvent
[improvement] Ui events followup (#1354)
- [ui] Adds source to ui events data object
- [ui] Corrects source for toolbar events
- [ui] Corrects source for clipboard events
- [examples] Updates events example
Fix "copy as png" in firefox when dom.events.asyncClipboard.clipboardItem
is enabled (#1342)
- Fix "copy as png" in firefox when
dom.events.asyncClipboard.clipboardItem
is enabled
💥 Breaking Change
- [fix] react component runaways, error boundaries #1625 (@steveruizok)
- tldraw.css #1607 (@steveruizok)
- Tidy up #1600 (@steveruizok)
- Styles API #1580 (@SomeHats @steveruizok)
- Use unpkg as a default for serving assets. #1548 (@MitjaBezensek)
- hoist opacity out of props #1526 (@SomeHats)
- Independent instance state persistence #1493 (@ds300)
- Renaming types, shape utils, tools #1513 (@steveruizok)
- tlschema cleanup #1509 (@steveruizok)
- Cleanup @tldraw/ui types / exports #1504 (@steveruizok)
- rename app to editor #1503 (@steveruizok)
- Add support for project names #1340 (@TodePond @steveruizok)
- [refactor] User-facing APIs #1478 (@steveruizok)
- [refactor] update record names #1473 (@steveruizok)
- [chore] refactor user preferences #1435 (@ds300)
- [refactor] Remove
TLShapeDef
,getShapeUtilByType
. #1432 (@steveruizok @SomeHats) - Switch to new collaborators component #1405 (@ds300)
- [fix] Don't synchronize isReadOnly #1396 (@ds300)
- [improvement] rename onEvent to onUiEvent #1358 (@steveruizok)
- [improvement] Ui events followup #1354 (@steveruizok)
- [feature] ui events #1326 (@orangemug @steveruizok)
🚀 Enhancement
- Styles API follow-ups #1636 (@SomeHats @steveruizok)
- (1/2) Cursor Chat - Presence #1487 (@TodePond @steveruizok)
- Add support for locking shapes #1447 (@MitjaBezensek @steveruizok)
- [3/3] Highlighter styling #1490 (@SomeHats @steveruizok)
- [1/3] initial highlighter shape/tool #1401 (@SomeHats)
- [feature] reduce motion #1485 (@steveruizok)
- [mini-feature] Following indicator #1468 (@steveruizok)
- Add SVG cursors for all cursor types #1416 (@TodePond @steveruizok)
- [feature] Add checkbox to toolbar #1423 (@steveruizok)
- [feature] add laser pointer #1412 (@steveruizok)
- Vertical text alignment for geo shapes #1414 (@MitjaBezensek @steveruizok)
- [improvement] refactor paste to support multi-line text #1398 (@steveruizok)
- Add stuff for new 'share project' flow #1403 (@ds300)
- open menus refactor #1400 (@steveruizok)
- Snapshot link menu translations #1399 (@steveruizok)
🐛 Bug Fix
- 3/2 Cursor chat #1623 (@steveruizok)
- [fix] embeds #1578 (@steveruizok)
- Asset improvements #1557 (@MitjaBezensek)
- Use
"Toggle locked"
#1538 (@steveruizok) - Select locked shapes on long press #1529 (@steveruizok)
- highlighter fixes #1530 (@SomeHats)
- Feature flags rework #1474 (@SomeHats)
- remove safari special-casing for paste #1470 (@SomeHats)
- Don't allow
g
keyboard shortcut in readonly mode, show laser tool in the toolbar #1459 (@MitjaBezensek @steveruizok) - Fix people menu button border on android #1471 (@TodePond)
- [fix] lock option for laser tool #1460 (@steveruizok)
- Add laser keyboard shortcut. #1467 (@MitjaBezensek)
- [fix] make follow icon visible on iPad #1462 (@steveruizok)
- [fix] page item submenu #1461 (@steveruizok)
- Add translations for "Leave shared project" action #1394 (@TodePond @steveruizok)
- Stricter ID types #1439 (@SomeHats @steveruizok)
- Measure individual words instead of just line breaks for text exports #1397 (@SomeHats)
- [fix] page menu, drag handle css #1406 (@steveruizok)
- Don't allow the users to use keyboard shortcuts to select tools in readonly mode. #1382 (@MitjaBezensek)
- Disabling middle click paste in favour of panning #1335 (@orangemug @steveruizok)
- Export Events stuff #1360 (@steveruizok)
- Fix "copy as png" in firefox when
dom.events.asyncClipboard.clipboardItem
is enabled #1342 (@orangemug) - [feature]
check-box
geo shape #1330 (@steveruizok) - [tiny] rename show menu paste #1332 (@steveruizok)
- remove svg layer, html all the things, rs to tl #1227 (@TodePond @steveruizok)
- New vite-based examples app #1226 (@SomeHats)
- readmes #1195 (@steveruizok)
- update @radix-ui/react-popover to 1.0.6-rc.5 #1206 (@SomeHats)
- [chore] update lazyrepo #1211 (@ds300)
- [fix] pick a better default language #1201 (@steveruizok @TodePond)
- Added
pHYs
to import/export of png images #1200 (@orangemug @steveruizok) - derived presence state #1204 (@ds300)
- [lite] upgrade lazyrepo #1198 (@ds300)
- transfer-out: transfer out #1195 (@SomeHats)
⚠️ Pushed to main
- update lazyrepo (@ds300)
🏠 Internal
- Explicit shape type checks #1594 (@steveruizok)
- move some kbds into actions and tools #1585 (@BrianHung @steveruizok)
- [improvement] bookmark shape logic #1568 (@steveruizok)
- Simplify static cursors #1520 (@steveruizok)
- [chore] remove benchmark #1489 (@steveruizok)
- Add localizations for snapshots links #1347 (@MitjaBezensek)
- avoid lazy race conditions #1364 (@SomeHats)
🧪 Tests
- Add playwright tests #1484 (@steveruizok)
🔩 Dependency Updates
- Incorporate signia as @tldraw/state #1620 (@steveruizok @ds300)
- Revert "Update dependencies (#1613)" #1617 (@SomeHats)
- Update dependencies #1613 (@steveruizok)
Authors: 7
- alex (@SomeHats)
- Brian Hung (@BrianHung)
- David Sheldrick (@ds300)
- Lu Wilson (@TodePond)
- Mitja Bezenšek (@MitjaBezensek)
- Orange Mug (@orangemug)
- Steve Ruiz (@steveruizok)
v2.0.0-alpha.12 (Mon Apr 03 2023)
🐛 Bug Fix
- add vietnamese to language menu, and strings that were missing from lokalise #1578 (@TodePond)
- Fix for dialogs rendering outside of portal #1576 (@orangemug)
- [fix] item height when in mobile #1573 (@steveruizok)
- [fix] menus, add dialog debug thing #1570 (@steveruizok)
- [fix] use masked page bounds for finding drop parent #1564 (@steveruizok)
- Fix the location of pasted excalidraw content. #1554 (@MitjaBezensek)
- add community translations #1559 (@steveruizok @TodePond)
- Fix safari clipboard issues #1535 (@orangemug)
- Add proper messaging & import flows for migration from local & multiplayer rooms #1506 (@SomeHats @steveruizok)
- Make sure all types and build stuff get run in CI #1548 (@SomeHats)
- fix spacing of double dropdown picker #1545 (@TodePond)
- [feature]
App.canMoveCamera
#1543 (@steveruizok) - add pre-commit api report generation #1517 (@SomeHats)
- Add vscode notification when opening v1 files #1469 (@MitjaBezensek @steveruizok)
- Rename some methods #1528 (@steveruizok)
- [fix] better titles for double dropdown picker #1524 (@steveruizok)
- Remove react-intl #1521 (@steveruizok)
- Don't use previous opacity for new
bookmark
/embed
shapes #1510 (@orangemug) - Fix back to content button. #1519 (@MitjaBezensek @steveruizok)
- Define
isMobilePointer
in<PagesMenu/>
#1511 (@orangemug) - remove max width on menu items to fit longer translations (eg: German) #1508 (@TodePond)
- Update existing translations based on v1 #1515 (@TodePond)
- [chore] restore api extractor #1500 (@steveruizok)
- Asset loading overhaul #1457 (@SomeHats)
- [feature] paste from Excalidraw #1417 (@steveruizok @MitjaBezensek)
- [improvement] docs / api cleanup #1491 (@steveruizok)
- Lokalise: Translations update #1492 (@steveruizok @TodePond)
- update cloudflare deps #1493 (@threepointone)
- Add a toast message when trying to open files from shared documents. #1490 (@MitjaBezensek)
- Add a new page during the move-to-page operation #1460 (@orangemug @steveruizok)
- Fix an issue with adding html elements to the document body. #1481 (@MitjaBezensek)
- David/publish good #1488 (@ds300)
- [chore] alpha 10 #1486 (@ds300)
- [chore] package build improvements #1484 (@ds300)
- [chore] bump for alpha 8 #1485 (@steveruizok)
- stop using broken-af turbo for publishing #1476 (@ds300)
- [chore] add canary release script #1423 (@ds300 @steveruizok)
- derive currentToolId from app.root #1459 (@ds300 @steveruizok)
- [fix] remove unused icons, untrack assets #1464 (@steveruizok)
- Always file->print with light-mode enabled #1315 (@orangemug @steveruizok)
- [fix] scrolling to focused menu item #1456 (@steveruizok)
- [chore] upgrade yarn #1430 (@ds300)
- Added
preserveAspectRatio
to print for overflow of content #1453 (@orangemug) - [fix] Menu paste button #1451 (@steveruizok)
- Fix flashing when adding a new page #1429 (@orangemug)
- Fix language menu not 'checking' the chosen language #1445 (@TodePond)
- [fix] dev version number for tldraw/tldraw #1434 (@steveruizok)
- [fix] translations, refresh assets #1436 (@steveruizok @TodePond)
- repo cleanup #1426 (@steveruizok)
- Fix out of order logic. #1425 (@MitjaBezensek)
- Vscode extension #1253 (@steveruizok @MitjaBezensek @orangemug)
- Bring over v1 translations #1422 (@TodePond @steveruizok)
- Disable context menu when right clicking context menu #1414 (@orangemug)
- [chore] Create main.json #1410 (@steveruizok)
- [ui] update checkboxes for language menu #1412 (@steveruizok)
- Revert "Remove print element and print style after printing." #1411 (@orangemug)
⚠️ Pushed to main
- main: update api-report.md (@SomeHats)
Authors: 7
- alex (@SomeHats)
- David Sheldrick (@ds300)
- Lu[ke] Wilson (@TodePond)
- Mitja Bezenšek (@MitjaBezensek)
- Orange Mug (@orangemug)
- Steve Ruiz (@steveruizok)
- Sunil Pai (@threepointone)
@tldraw/ui
2.0.0-alpha.11
Patch Changes
- fix some package build scripting
- Updated dependencies
- @tldraw/editor@2.0.0-alpha.11
- @tldraw/primitives@2.0.0-alpha.11
- @tldraw/tlsync-client@2.0.0-alpha.11
- @tldraw/utils@2.0.0-alpha.10
2.0.0-alpha.10
Patch Changes
- 4b4399b6e: redeploy with yarn to prevent package version issues
- Updated dependencies [4b4399b6e]
- @tldraw/primitives@2.0.0-alpha.10
- @tldraw/tlsync-client@2.0.0-alpha.10
- @tldraw/utils@2.0.0-alpha.9
- @tldraw/editor@2.0.0-alpha.10
2.0.0-alpha.9
Patch Changes
- Release day!
- Updated dependencies
- @tldraw/editor@2.0.0-alpha.9
- @tldraw/primitives@2.0.0-alpha.9
- @tldraw/tlsync-client@2.0.0-alpha.9
- @tldraw/utils@2.0.0-alpha.8
2.0.0-alpha.8
Patch Changes
- 23dd81cfe: Make signia a peer dependency
- Updated dependencies [23dd81cfe]
- @tldraw/editor@2.0.0-alpha.8
- @tldraw/tlsync-client@2.0.0-alpha.8
- @tldraw/primitives@2.0.0-alpha.8
2.0.0-alpha.7
Patch Changes
- Bug fixes.
- Updated dependencies
- @tldraw/editor@2.0.0-alpha.7
- @tldraw/primitives@2.0.0-alpha.7
- @tldraw/tlsync-client@2.0.0-alpha.7
- @tldraw/utils@2.0.0-alpha.7
2.0.0-alpha.6
Patch Changes
- Add licenses.
- Updated dependencies
- @tldraw/editor@2.0.0-alpha.6
- @tldraw/primitives@2.0.0-alpha.6
- @tldraw/tlsync-client@2.0.0-alpha.6
- @tldraw/utils@2.0.0-alpha.6
2.0.0-alpha.5
Patch Changes
- Add CSS files to tldraw/tldraw.
- Updated dependencies
- @tldraw/editor@2.0.0-alpha.5
- @tldraw/primitives@2.0.0-alpha.5
- @tldraw/tlsync-client@2.0.0-alpha.5
- @tldraw/utils@2.0.0-alpha.5
2.0.0-alpha.4
Patch Changes
- Add children to tldraw/tldraw
- Updated dependencies
- @tldraw/editor@2.0.0-alpha.4
- @tldraw/primitives@2.0.0-alpha.4
- @tldraw/tlsync-client@2.0.0-alpha.4
- @tldraw/utils@2.0.0-alpha.4
2.0.0-alpha.3
Patch Changes
- Change permissions.
- Updated dependencies
- @tldraw/editor@2.0.0-alpha.3
- @tldraw/primitives@2.0.0-alpha.3
- @tldraw/tlsync-client@2.0.0-alpha.3
- @tldraw/utils@2.0.0-alpha.3
2.0.0-alpha.2
Patch Changes
- Add tldraw, editor
- Updated dependencies
- @tldraw/editor@2.0.0-alpha.2
- @tldraw/primitives@2.0.0-alpha.2
- @tldraw/tlsync-client@2.0.0-alpha.2
- @tldraw/utils@2.0.0-alpha.2
0.1.0-alpha.11
Patch Changes
- Fix stale reactors.
- Updated dependencies
- @tldraw/primitives@0.1.0-alpha.11
- @tldraw/tldraw-beta@0.1.0-alpha.11
- @tldraw/tlsync-client@0.1.0-alpha.11
- @tldraw/utils@0.1.0-alpha.11
0.1.0-alpha.10
Patch Changes
- Fix type export bug.
- Updated dependencies
- @tldraw/primitives@0.1.0-alpha.10
- @tldraw/tldraw-beta@0.1.0-alpha.10
- @tldraw/tlsync-client@0.1.0-alpha.10
- @tldraw/utils@0.1.0-alpha.10
0.1.0-alpha.9
Patch Changes
- Fix import bugs.
- Updated dependencies
- @tldraw/primitives@0.1.0-alpha.9
- @tldraw/tldraw-beta@0.1.0-alpha.9
- @tldraw/tlsync-client@0.1.0-alpha.9
- @tldraw/utils@0.1.0-alpha.9
0.1.0-alpha.8
Patch Changes
- Changes validation requirements, exports validation helpers.
- Updated dependencies
- @tldraw/primitives@0.1.0-alpha.8
- @tldraw/tldraw-beta@0.1.0-alpha.8
- @tldraw/tlsync-client@0.1.0-alpha.8
- @tldraw/utils@0.1.0-alpha.8
0.1.0-alpha.7
Patch Changes
-
- Pre-pre-release update
- Updated dependencies
- @tldraw/primitives@0.1.0-alpha.7
- @tldraw/tldraw-beta@0.1.0-alpha.7
- @tldraw/tlsync-client@0.1.0-alpha.7
- @tldraw/utils@0.1.0-alpha.7
0.0.2-alpha.1
Patch Changes
- Fix error with HMR
- Updated dependencies
- @tldraw/primitives@0.0.2-alpha.1
- @tldraw/tldraw-beta@0.0.2-alpha.1
- @tldraw/tlsync-client@0.0.2-alpha.1
- @tldraw/utils@0.0.2-alpha.1
0.0.2-alpha.0
Patch Changes
- Initial release
- Updated dependencies
- @tldraw/primitives@0.0.2-alpha.0
- @tldraw/tldraw-beta@0.0.2-alpha.0
- @tldraw/tlsync-client@0.0.2-alpha.0
- @tldraw/utils@0.0.2-alpha.0