110 KiB
110 KiB
v2.0.0-alpha.15 (Fri Oct 06 2023)
Release Notes
frame label fix (#2016)
- Add a brief release note for your PR here.
fix cloud rendering (#2008)
- Improves cloud shape rendering
[improvement] prevent editing in readonly (#1990)
- Prevent editing text shapes in readonly mode.
[fix] Hovered indicators shown when coarse pointer (#1985)
- Hide hovered indicators on mobile / coarse pointer devices.
fix(docs): update shapes docs add the array of defined shapes (#1949)
This pr add the custom defined shapes that's being passed to Tldraw
Fix style panel opening when disabled (#1983)
- When select tool is active, the style menu shouldn't be openable unless a shape is also selected.
Before/After
[fix] pinch events (#1979)
- Improve pinch gesture events.
Fix text-wrapping on Safari (#1980)
- Fix text wrapping differently on Safari and Chrome/Firefox
Before/After
Remove focus management (#1953)
- [editor] Make autofocus default, remove automatic blur / focus events.
[fix] Drawing tool touch for first pen mark (#1977)
- [fix] Accidental palm inputs when using iPad pencil
Remove targeted editing from text (#1962)
- Fixed some cases where text would get selected in the wrong place.
- Changed the behaviour of text selection. Removed 'deep editing'.
fix line bugs (#1936)
- This PR patches a couple of bugs which led to straight draw lines and beziered dash lines not rendering on the canvas
Before & After:
Allow right clicking selection backgrounds (#1968)
- Improved right click behaviour.
Mark an undo before toggling lock (#1969)
- Mark an undo before toggling locked.
Stop editing frame headers when clicking inside a frame. (#1955)
- Stop editing frame headers when clicking inside of a frame.
Lokalise: Translations update (#1964)
- Updated community translations for German and Galician
[improvement] improve arrows (for real) (#1957)
- Improve arrows.
[feature] Include sources
in TLExternalContent
(#1925)
- [editor / tldraw] add
sources
toTLExternalContent
[improvement] quick actions (#1922)
- Improve the menu / kbds behavior when select tool is not active
Fix shape drag perf (#1932)
- Fixes a perf regression for dragging shapes around
Firefox: Fix dropdowns not opening with touch (#1923)
- Firefox: Fixed dropdown menus not opening with touch.
Use smarter rounding for shape container div width/height (#1930)
- Improves the precision of the shape dimensions rounding logic
Fix lines being draggable via their background (#1920)
- None - unreleased bug
Fix first handle of line snapping to itself (#1912)
- Fixed a bug where the first handle of a line shape could snap to itself.
[fix] Moving group items inside of a frame (dropping) (#1886)
- Fix bug: ungroup when moving a shape in a group in a frame.
[fix] id properties of undefined (#1730) (#1919)
- Fixed a bug similar #1730
♻️ fix: editing is not terminated after the conversion is confirmed. (#1885)
- fix: editing is not terminated after the conversion is confirmed.
Update community translations (#1889)
- Updated translations for Russian, Ukrainian, and Simplified Chinese
Fix line wobble (#1915)
- Fixes an issue where lines would wobble as you dragged the handles around
Fix selecting one shape from selection group (#1905)
- Fix bug when selecting a single shape from a selection group
Before
https://github.com/tldraw/tldraw/assets/98838967/1412f9c6-d466-42b3-af94-d08cbc1656be
Fix highlighter dots not being clickable (#1903)
- None - unreleased bug
Fix video shape controls (#1909)
- Fixes pointer events for editing video shapes.
Fix line handles (#1904)
- Fixes an issue where line handles were slightly offset from the indicator line.
Fix pinch start with toolbar open (#1895)
- Fixes a bug that could trigger undo by accident when closing the style toolbar via a pinch gesture on mobile.
[wip] Viewport focus of editing shapes (#1873)
Removed a feature to reset the viewport back to a shape that is being edited.
(Before) Don't be held back by the past
(After) You are free to find new avenues of exploration
Migrate snapshot (#1843)
- [editor] add
Store.migrateSnapshot
[fix] zero width / height bounds (#1840)
- Fix bug with straight lines / arrows
clamp x-box and check-box lines to stay within box at small scales (#1860)
- Fixes a regression introduced by the geometry refactor related to x-box and checkbox resizing.
Fix paste transform (#1859)
- Fixes a bug affecting the position of pasted content inside frames.
Fix indicator transform miscalculation (#1852)
- Fixes indicator transform miscalculation on android and windows
update currentPageShapesSorted reference in docs (#1851)
- Add a brief release note for your PR here.
[fix] awful rendering issue (#1842)
- [fix] iframe rendering issue
fix typo (#1831)
- Just fixed a typo in the docs
[feature] Asset props (#1824)
- [@tldraw/tldraw] add asset props
[fix] snapping bug (#1819)
- [fix] crash that could occur when snapping
[fix] editing video shapes (#1821)
- Fix bug with editing video shapes.
[feature] unlock all action (#1820)
- Adds the unlock all feature.
[fix] bug with eventemitter3 default export (#1818)
- [@tldraw/editor] updates eventemitter3 import to fix issue with Astro builds.
Add next cache to clean command (#1811)
- Internal tooling change
Fix text editing in page menu popover (#1790)
- (fix) page menu editing
[fix] embeds switching / tldraw embed (#1792)
- [fix] tldraw embeds
Custom rendering margin / don't cull selected shapes (#1788)
- [editor] add
Editor.renderingBoundsMargin
Camera APIs (#1786)
- (editor) improve camera commands
environment manager (#1784)
- [editor] Move environment flags to environment manager
Editor commands API / effects (#1778)
- tbd
[feature] Add val town embed (#1777)
- (feature) val town
export UiEventsProvider
(#1774)
- [@tldraw/tldraw] export ui events, so that UI hooks can work without context
remove useForceSolid effect for geo / line shapes (#1769)
- Remove the force solid switching for geo / line shapes
[fix] shape indicator showing when locked shapes are hovered (#1771)
- locked shapes do not show an indicator when hovered
remove selectionPageCenter
(#1766)
- [dev] Removes
Editor.selectionPageCenter
rename selection page bounds (#1763)
- [editor] rename
selectedPageBounds
toselectionPageBounds
ShapeUtil.getGeometry
, selection rewrite (#1751)
- [editor] Remove
ShapeUtil.getBounds
,ShapeUtil.getOutline
,ShapeUtil.hitTestPoint
,ShapeUtil.hitTestLineSegment
- [editor] Add
ShapeUtil.getGeometry
- [editor] Add
Editor.getShapeGeometry
Fix asset urls (#1758)
- Fixed asset urls
[fix] arrow snapping bug (#1756)
- [fix] arrow snapping
[fix] dark mode (#1754)
- [fix] dark mode colors not updating
Remove helpers / extraneous API methods. (#1745)
- [tldraw] rename
useReadonly
touseReadOnly
- [editor] remove
Editor.isDarkMode
- [editor] remove
Editor.isChangingStyle
- [editor] remove
Editor.isCoarsePointer
- [editor] remove
Editor.isDarkMode
- [editor] remove
Editor.isFocused
- [editor] remove
Editor.isGridMode
- [editor] remove
Editor.isPenMode
- [editor] remove
Editor.isReadOnly
- [editor] remove
Editor.isSnapMode
- [editor] remove
Editor.isToolLocked
- [editor] remove
Editor.locale
- [editor] rename
Editor.pageState
toEditor.currentPageState
- [editor] add
Editor.pageStates
- [editor] add
Editor.setErasingIds
- [editor] add
Editor.setEditingId
- [editor] add several new component overrides
add shapes docs content (#1705)
- Documentation: Added more info about shapes.
fix: escape eraser tool on escape (#1732)
- escape eraser tool on escape
fix: arrow label dark mode color (#1733)
- fixed arrow label dark mode color
tldraw zero - package shuffle (#1710)
- [@tldraw/editor] lots, wip
- [@tldraw/ui] gone, merged to tldraw/tldraw
- [@tldraw/polyfills] gone, merged to tldraw/editor
- [@tldraw/primitives] gone, merged to tldraw/editor / tldraw/tldraw
- [@tldraw/indices] gone, merged to tldraw/editor
- [@tldraw/file-format] gone, merged to tldraw/tldraw
[fix] add cloud tooltip (#1728)
- Add a brief release note for your PR here.
(2/2) Add content to Tools docs page. (#1721)
- Tools docs.
tweaks for cloud shape (#1723)
- Add a brief release note for your PR here.
Add cloud shape (#1708)
- Adds a cloud shape.
[refactor] reduce dependencies on shape utils in editor (#1693)
- removes shape utils from the arguments of
isShapeOfType
, replacing with a generic - removes shape utils from the arguments of
getShapeUtil
, replacing with a generic - moves custom arrow info cache out of the util and into the editor class
- changes the a tool's
shapeType
to be a string instead of a shape util
Make some missing tsdocs appear on the docs site (#1706)
- Docs: Fixed some missing docs for the TldrawEditor component.
[hot take] remove tool
from shape definition (#1691)
- [dev] Removed the
tool
property fromdefineShape
[refactor] reordering shapes (#1718)
- [api] removes
Editor.getParentsMappedToChildren
- [api] removes
Editor.reorderShapes
- [api] moves reordering shapes code into its own file, outside of the editor
remove state checks for brush and zoom brush (#1717)
- [editor] remove
editor.isIn
state checks for displaying brush and zoom brush.
Add API links to all docs pages (#1661)
- Documentation: Added links to API reference in guides.
Go back to default cursor when done resizing. (#1700)
- Switch back to the default cursor after you are done inserting a new text shape.
Firefox: Fix coarse pointer issue (#1701)
- Fixed firefox not being able to use cursor chat when using a touch screen on desktop.
Fix tsdocs for TldrawUi component (#1707)
- Docs: Show some docs missing from TldrawUi component.
💥 Breaking Change
@tldraw/editor
,@tldraw/tldraw
- [improvement] prevent editing in readonly #1990 (@steveruizok)
- Remove focus management #1953 (@steveruizok @ds300)
- Make user preferences optional #1963 (@ds300)
- [fix] style changes #1814 (@steveruizok)
- Cleanup page state commands #1800 (@steveruizok)
- Rendering / cropping side-effects #1799 (@steveruizok)
- history options / markId / createPage #1796 (@steveruizok)
- Update setter names,
setXXShapeId
rather thansetXXId
#1789 (@steveruizok) - Rename shapes apis #1787 (@steveruizok)
- Camera APIs #1786 (@steveruizok)
- environment manager #1784 (@steveruizok)
- remove
selectionPageCenter
#1766 (@steveruizok) - rename selection page bounds #1763 (@steveruizok)
@tldraw/tldraw
- Remove targeted editing from text #1962 (@TodePond @steveruizok)
- [improvement] quick actions #1922 (@steveruizok)
@tldraw/editor
,@tldraw/store
- SideEffectManager #1785 (@steveruizok)
@tldraw/editor
,@tldraw/state
,@tldraw/store
,@tldraw/tldraw
,@tldraw/tlschema
- Revert "Editor commands API / effects" #1783 (@steveruizok)
- Editor commands API / effects #1778 (@steveruizok)
@tldraw/editor
,@tldraw/tldraw
,@tldraw/tlschema
ShapeUtil.getGeometry
, selection rewrite #1751 (@steveruizok)- More cleanup, focus bug fixes #1749 (@steveruizok)
- Remove helpers / extraneous API methods. #1745 (@steveruizok)
@tldraw/editor
,@tldraw/tldraw
,@tldraw/utils
- move some utils into tldraw/utils #1750 (@steveruizok)
@tldraw/editor
,@tldraw/state
,@tldraw/store
,@tldraw/tldraw
,@tldraw/tlschema
,@tldraw/utils
,@tldraw/validate
- tldraw zero - package shuffle #1710 (@steveruizok @SomeHats)
@tldraw/editor
- [refactor] reduce dependencies on shape utils in editor #1693 (@steveruizok)
- [hot take] remove
tool
from shape definition #1691 (@TodePond) - [refactor] reordering shapes #1718 (@steveruizok)
🚀 Enhancement
@tldraw/editor
,@tldraw/tldraw
- Debugging cleanup / misc cleanup #2025 (@steveruizok)
- [feature] Include
sources
inTLExternalContent
#1925 (@steveruizok) - Add snapshot prop, examples #1856 (@steveruizok)
- [fix] arrow snapping bug #1756 (@steveruizok)
@tldraw/editor
,@tldraw/tldraw
,@tldraw/tlschema
- Fix arrow handle snapping, snapping to text labels, selection of text labels #1910 (@steveruizok)
@tldraw/editor
,@tldraw/store
,@tldraw/tldraw
,@tldraw/tlschema
- Migrate snapshot #1843 (@steveruizok)
@tldraw/tldraw
- export asset stuff #1829 (@steveruizok)
- [feature] Asset props #1824 (@steveruizok)
- [feature] unlock all action #1820 (@steveruizok)
- export
UiEventsProvider
#1774 (@steveruizok)
@tldraw/editor
- Add className as prop to Canvas #1827 (@steveruizok)
- refactor
parentsToChildrenWithIndexes
#1764 (@steveruizok) - remove state checks for brush and zoom brush #1717 (@steveruizok)
@tldraw/editor
,@tldraw/state
,@tldraw/tldraw
- [improvement] More selection logic #1806 (@steveruizok)
@tldraw/assets
,@tldraw/tlschema
- [feature] Add val town embed #1777 (@steveruizok)
@tldraw/tldraw
,@tldraw/validate
- Add shapes to exports #1776 (@steveruizok)
@tldraw/assets
,@tldraw/editor
,@tldraw/tlschema
🐛 Bug Fix
- [fix] Multiple example #2026 (@steveruizok)
- Fix vs code extension. Prepare for new release. #2011 (@MitjaBezensek @steveruizok)
- Lokalise: Translations update #1964 (@TodePond)
- Update community translations #1889 (@TodePond)
- Bump vs code version. #1735 (@MitjaBezensek)
- [fix] add cloud tooltip #1728 (@ds300)
- Bump vs code version. #1719 (@MitjaBezensek)
@tldraw/tldraw
- Update readme #2027 (@steveruizok)
- [fix] Minimap interactions #2012 (@steveruizok)
- [fix] Image size #2002 (@steveruizok)
- [fix] tool lock button in toolbar #2009 (@steveruizok)
- fix cloud rendering #2008 (@ds300)
- Fix hooks error. #2000 (@MitjaBezensek)
- Fix style panel opening when disabled #1983 (@Taha-Hassan-Git @steveruizok)
- [fix] Drawing tool touch for first pen mark #1977 (@steveruizok)
- [fix] Screen bounds offset after editing text #1976 (@steveruizok)
- fix line bugs #1936 (@Taha-Hassan-Git @steveruizok)
- Mark an undo before toggling lock #1969 (@steveruizok)
- Stop editing frame headers when clicking inside a frame. #1955 (@MitjaBezensek @TodePond)
- Firefox: Fix dropdowns not opening with touch #1923 (@TodePond)
- Fix lines being draggable via their background #1920 (@TodePond)
- Fix first handle of line snapping to itself #1912 (@TodePond)
- [fix] id properties of undefined (#1730) #1919 (@momenthana)
- ♻️ fix: editing is not terminated after the conversion is confirmed. #1885 (@mr04vv @steveruizok)
- Fix selecting one shape from selection group #1905 (@Taha-Hassan-Git)
- [fix] help menu css #1888 (@steveruizok)
- Fix highlighter dots not being clickable #1903 (@TodePond)
- Fix video shape controls #1909 (@ds300)
- Fix line handles #1904 (@ds300)
- Fix pinch start with toolbar open #1895 (@ds300)
- clamp x-box and check-box lines to stay within box at small scales #1860 (@ds300)
- [fix] exit penmode #1847 (@steveruizok)
- [fix] assets and content handlers #1846 (@steveruizok)
- [fix] line tool bug with tool locked #1841 (@steveruizok)
- [fix] arrows bind to locked shapes #1833 (@steveruizok @MitjaBezensek)
- [fix] Collaborator scribble on tldraw #1804 (@steveruizok)
- [fix] Don't make arrows shapes to arrows #1793 (@steveruizok)
- Fix text editing in page menu popover #1790 (@steveruizok)
- Fix outlines on text shapes #1781 (@steveruizok)
- remove useForceSolid effect for geo / line shapes #1769 (@steveruizok)
- [fix] arrow rendering safari #1767 (@steveruizok)
- [fix] revert legacy changes to buildFromV1Document.ts #1761 (@steveruizok)
- Fix asset urls #1758 (@lakesare)
- [fix]: Fix typo in shapeType declaration #1747 (@ricardo-crespo @steveruizok)
- fix: escape eraser tool on escape #1732 (@gabrielchl @steveruizok)
- fix: arrow label dark mode color #1733 (@gabrielchl @steveruizok)
@tldraw/editor
- fix screen bounds not updating #2022 (@SomeHats)
- [improvement] Refactor curved arrows #2019 (@steveruizok)
- [fix] focus events #2013 (@steveruizok)
- Re-focus on focus. #2010 (@steveruizok)
- [fix] X box shape arrow intersections #2006 (@steveruizok)
- Fix group opacity #1997 (@ds300)
- [fix] Escape key exiting full screen while editing shapes #1986 (@steveruizok)
- [fix] Hovered indicators shown when coarse pointer #1985 (@steveruizok)
- Sliiiightly darken muted-2 color. #1981 (@steveruizok)
- [fix] pinch events #1979 (@steveruizok)
- Make state node methods arrow functions #1973 (@steveruizok)
- Arrows followup #1972 (@steveruizok)
- [improvement] improve arrows (for real) #1957 (@steveruizok)
- fix clipping on nested non-intersecting frames #1934 (@SomeHats)
- Use smarter rounding for shape container div width/height #1930 (@ds300)
- Fix line wobble #1915 (@ds300)
- [fix] right click #1891 (@steveruizok)
- [wip] Viewport focus of editing shapes #1873 (@Taha-Hassan-Git)
- Fix indicator transform miscalculation #1852 (@ds300)
- [fix] pointer events in shapes #1855 (@steveruizok)
- [fix] overlays stacking #1849 (@steveruizok)
- [fix] awful rendering issue #1842 (@steveruizok)
- [fix] svg overlays when browser zoom is not 100% #1836 (@steveruizok)
- Allow setting
user
as a prop #1832 (@SomeHats) - [fix] snapping bug #1819 (@steveruizok)
- [fix] Replace
findLast
for browser compat #1822 (@steveruizok) - [fix] bug with eventemitter3 default export #1818 (@steveruizok)
- [fix] handles updates #1779 (@steveruizok)
- [fix] transform errors #1772 (@steveruizok)
- [fix] shape indicator showing when locked shapes are hovered #1771 (@steveruizok)
- tweaks for cloud shape #1723 (@ds300)
- Go back to default cursor when done resizing. #1700 (@MitjaBezensek)
- Firefox: Fix coarse pointer issue #1701 (@TodePond)
@tldraw/editor
,@tldraw/tldraw
- frame label fix #2016 (@ds300)
- [fix] Focus events (actually) #2015 (@steveruizok)
- Contain all the things #1999 (@steveruizok)
- fix text in geo shapes not causing its container to grow #2003 (@SomeHats)
- Fix an issue with arrow creation. #2004 (@MitjaBezensek @steveruizok)
- Fix text-wrapping on Safari #1980 (@Taha-Hassan-Git)
- [fix] text shape outline #1974 (@steveruizok)
- Allow right clicking selection backgrounds #1968 (@TodePond @steveruizok)
- [fix] geo shape text label placement #1927 (@steveruizok @ds300)
- expanded highlighter geometry #1929 (@SomeHats)
- [fix] Moving group items inside of a frame (dropping) #1886 (@mr04vv @steveruizok)
- [fix] iframe losing focus on pointer down #1848 (@steveruizok)
- [fix] zero width / height bounds #1840 (@steveruizok)
- avoid pixel rounding / transformation miscalc for overlay items #1858 (@BrianHung @ds300)
- Fix paste transform #1859 (@ds300)
- [fix] text editing outline when scaled #1826 (@steveruizok)
- [fix] Line shape rendering #1825 (@steveruizok)
- [fix] remove CSS radius calculations #1823 (@steveruizok)
- [fix] editing video shapes #1821 (@steveruizok)
- [fix] Sticky text content / hovered shapes #1808 (@steveruizok)
- [fix] page to screen #1797 (@steveruizok)
- Custom rendering margin / don't cull selected shapes #1788 (@steveruizok)
- [fix] minimap, common page bounds #1770 (@steveruizok)
- [fix] restore bg option, fix calculations #1765 (@steveruizok)
@tldraw/editor
,@tldraw/store
@tldraw/tldraw
,@tldraw/tlschema
- [fix] embeds switching / tldraw embed #1792 (@steveruizok)
@tldraw/editor
,@tldraw/tldraw
,@tldraw/tlschema
- [fix] dark mode #1754 (@steveruizok)
🏠 Internal
- Remove docs source. #2030 (@steveruizok)
- [infra] missing await #1951 (@ds300)
- [infra] maybe fix canary publish #1950 (@ds300)
- fix typo #1831 (@judicaelandria)
- Add next cache to clean command #1811 (@ds300)
- remove yjs example #1795 (@steveruizok)
- support custom shapes in yjs example #1737 (@steveruizok)
- [internal] Add basic list to examples #1688 (@steveruizok)
- cleanup #1711 (@SomeHats)
@tldraw/tldraw
- [fix] CSS reload in dev #1791 (@steveruizok)
📝 Documentation
- fix(docs): update shapes docs add the array of defined shapes #1949 (@judicaelandria @steveruizok)
- update currentPageShapesSorted reference in docs #1851 (@Taha-Hassan-Git)
- Fix broken link in docs #1830 (@jmduke @steveruizok)
- add shapes docs content #1705 (@TodePond @steveruizok)
- (2/2) Add content to Tools docs page. #1721 (@TodePond)
- Add API links to all docs pages #1661 (@TodePond)
- Fix tsdocs for TldrawUi component #1707 (@TodePond)
@tldraw/editor
🧪 Tests
- Fix e2e test #1748 (@steveruizok)
@tldraw/tldraw
- [fix] Right click groups #1975 (@TodePond @steveruizok)
🔩 Dependency Updates
@tldraw/editor
- (chore) bump #1744 (@steveruizok)
Authors: 14
- alex (@SomeHats)
- Brian Hung (@BrianHung)
- David Sheldrick (@ds300)
- Evgenia Karunus (@lakesare)
- Gabriel Lee (@gabrielchl)
- Hana (@momenthana)
- Judicael (@judicaelandria)
- Justin Duke (@jmduke)
- Lu Wilson (@TodePond)
- Mitja Bezenšek (@MitjaBezensek)
- Ricardo Crespo (@ricardo-crespo)
- Steve Ruiz (@steveruizok)
- Taha (@Taha-Hassan-Git)
- Takuto Mori Gump (@mr04vv)
v2.0.0-alpha.14 (Tue Jul 04 2023)
Release Notes
Disable styles panel button on mobile when using the laser tool. (#1704)
- Disable the styles panel button for laser tool on mobile.
remove lock option from highlighter (#1703)
- We no longer show the tool lock option for highlighter - it didn't do anything anyway
[fix] penmode (#1698)
- [fix] pen mode
Update readme (#1686)
- Documentation: Updated readme to reflect recent library changes.
[docs] Fix the types in the Shapes example (#1681)
- Documentation: Fix some incorrect types on the Shapes page.
[improvement] More nuanced cursor state (#1682)
- Improve cursor timeouts and hiding logic.
Fix VS Code commits failing on bublic? (#1680)
- [internal] fixed commits failing from bublic when using UI
[fix] Lock shortcut (#1677)
- [@tldraw/editor] Fix lock tool shortcut
[fix] comma keyboard shortcuts (#1675)
- [@tldraw/editor] Bug fixes on document events.
[improvement] add box sizing border box (#1674)
- [@tldraw/editor] Add
box-sizing: border-box
totl-container
[improvemnet] drop crc, Buffer dependency (#1673)
- [@tldraw/editor] Remove peer dependency on buffer.
[improvement] export scribble manager (#1671)
- [@tldraw/tldraw] Export
ScribbleManager
[feature] add meta
property to records (#1627)
- todo
[fix] mutating snapshot
in migrateStoreSnapshot
(#1663)
- [@tldraw/store] Fixed a bug that would cause
Store.migrateStoreSnapshot
to mutate itssnapshot
argument.
🚀 Enhancement
@tldraw/editor
- [improvement] More nuanced cursor state #1682 (@steveruizok)
- [improvement] export scribble manager #1671 (@steveruizok)
@tldraw/editor
,@tldraw/file-format
,@tldraw/tlschema
,@tldraw/ui
,@tldraw/utils
,@tldraw/validate
- [feature] add
meta
property to records #1627 (@steveruizok)
- [feature] add
🐛 Bug Fix
- Lokalise: Translations update #1694 (@TodePond)
@tldraw/ui
- Disable styles panel button on mobile when using the laser tool. #1704 (@MitjaBezensek)
- remove lock option from highlighter #1703 (@SomeHats)
- [fix] Lock shortcut #1677 (@steveruizok)
@tldraw/editor
- [fix] penmode #1698 (@steveruizok)
- [fix] indicator not updating #1696 (@steveruizok)
- [fix] comma keyboard shortcuts #1675 (@steveruizok)
- [improvement] add box sizing border box #1674 (@steveruizok)
- [improvemnet] drop crc, Buffer dependency #1673 (@steveruizok)
- [fix] Shape rendering #1670 (@steveruizok)
@tldraw/state
- [fix] rename
global
in @tldraw/state to avoid collissions #1672 (@steveruizok)
- [fix] rename
@tldraw/store
- [fix] mutating
snapshot
inmigrateStoreSnapshot
#1663 (@steveruizok)
- [fix] mutating
🏠 Internal
- [infra] use huppy token for publish-new #1687 (@ds300)
- Fix VS Code commits failing on bublic? #1680 (@TodePond)
📝 Documentation
- Update readme #1686 (@TodePond)
- [docs] Update multiple test #1685 (@steveruizok)
- [docs] Fix the types in the Shapes example #1681 (@TodePond)
Authors: 5
- alex (@SomeHats)
- David Sheldrick (@ds300)
- Lu Wilson (@TodePond)
- Mitja Bezenšek (@MitjaBezensek)
- Steve Ruiz (@steveruizok)
v2.0.0-alpha.13 (Wed Jun 28 2023)
Release Notes
Fix crash when rotating a deleted shape (#1658)
- Fixed a crash when trying to rotate a deleted shape.
[improvement] store snapshot types (#1657)
- [dev] Rename
StoreSnapshot
toSerializedStore
- [dev] Create new
StoreSnapshot
as type related togetSnapshot
/loadSnapshot
[fix] pen mode touches (#1655)
- Removes three touches to cancel pen mode feature.
(2/2) [docs] Fix links to API. (#1654)
- Documentation: Simplified links to the API reference.
(1/2) [docs] Restore some missing changes (#1652)
- None (Docs internals)
[docs] Remove embeds page (#1653)
- Documentation: Removed unused Embeds page.
Fix text shapes not having colour (#1649)
- None: Fixes an unreleased bug.
Styles API docs (#1641)
--
Styles API follow-ups (#1636)
--
docs: remove not accepting contributions notice (#1647)
- Remove not accepting contributions notice from README
Fix SVG cursors not being used (#1639)
- None: Fixing an unreleased bug.
[docs] Add table of contents to Editor page (#1642)
- Documentation: Added a table of contents to the Editor page.
speed up playwright and add visual regression tests (#1638)
--
[docs] Allow sidebar to be scrolled on short screens (#1632)
- Documentation: Fixed the sidebar being unscrollable on some short screens.
[docs] Add feedback when you search (#1633)
- Documentation: Added some immediate feedback when you search.
[docs] Separate some pages out of the Docs section (#1626)
- Documentation: Restructured the sidebar for clarity.
[docs] Fix wrong cursor when hovering buttons (#1630)
- Documentation: Fixed the wrong cursor showing when hovering some buttons.
[docs] Tighten up wording & structure of Usage page (#1624)
- Documentation: Impoved clarity of wording and structure of the Usage page.
[docs] Tighten up Editor page introduction (#1622)
- Documentation: Simplified the Editor page.
[docs] Tighten up Introduction page (#1621)
- Documentation: Simplified the Introduction page.
Lokalise: Translations update (#1618)
- Added more translations for Simplified Chinese.
[docs] Simplify paths for uncategorised pages (#1619)
- Documentation: Cleaned up some paths.
ShapeUtil
refactor, Editor
cleanup (#1611)
- [editor] renames
defaultProps
togetDefaultProps
- [editor] removes
outline
,outlineSegments
,handles
,bounds
- [editor] renames
renderBackground
tobackgroundComponent
Revert "Update dependencies (#1613)" (#1617)
Remove on drop override (#1612)
- [editor] Remove
onDropOverride
Make resizeBox a regular function (#1610)
- [editor] Change
resizeBox
to be a regular function.
Rename ShapeUtil.render
-> ShapeUtil.component
(#1609)
- [editor] rename
ShapeUtil.render
toShapeUtil.component
tldraw.css (#1607)
- [tldraw] Removes
editor.css
andui.css
exports, replaces withtldraw.css
[fix] camera culling (#1602)
- [editor] Adds
Editor.cameraState
- Adds smart culling to make panning and zooming more smooth
Styles API (#1580)
(1/2) Timeout collaborator cursors (#1525)
- Brought back cursor timeouts. Collaborator cursors now disappear after 3 seconds of inactivity.
Remove @tldraw/utils
from the docs site (#1596)
- [docs] Removed an internal utilities package.
(1/2) Cursor Chat - Presence (#1487)
- [dev] Added support for cursor chat presence.
[docs] Add barebones note about translations (#1593)
- [docs] Added brief info on how to join as a translations contributor.
[refactor] snapping (#1589)
- [editor] fix bug in snapping
remove ShapeUtil.transform
(#1590)
- [editor] Remove
ShapeUtil.transform
Change app to editor in docs (#1592)
- [docs] Updated 'App' to 'Editor'.
Make sure loading screens use dark mode user preference. (#1552)
- Make sure our loading and error screens take dark mode setting into account.
remove ShapeUtil.point
(#1591)
- [editor] Remove
ShapeUtil.point
[fix] Remove group shape export backgrounds (#1587)
- Fix image exports for groups
Add tsdocs to Editor methods (#1581)
- [dev] Added initial documentation for the Editor class.
add presence to yjs example (#1582)
- [editor] Add presence to yjs example.
Add optional generic to updateShapes
/ createShapes
(#1579)
- [editor] adds an optional shape generic to
updateShapes
andcreateShapes
fix: properly remove awareness from store (#1565)
- Add a brief release note for your PR here.
[improvement] Embed shape cleanup (#1569)
- [editor] Remove unused props for
TLEditorShape
- [editor] Adds
canUnmount
property to embed definitions
Move the loading of assets to the TldrawEditorWithReadyStore so that all code paths load the assets. (#1561)
- Fix a problem where assets were not loading in some cases (snapshots).
Add anchor targets to our headings. (#1571)
- Improve documentation to include anchor targets.
shapes folder, move tools into shape defs (#1574)
n/a
mini defineShape
API (#1563)
[dev-facing, notes to come]
Lokalise: Translations update (#1572)
- Added and updates translations for Italian, Russian, and Ukrainian.
Fix README typo (#1451)
- None
yjs example (#1560)
- [editor] Adds yjs example project
ExternalContentManager
for handling external content (files, images, etc) (#1550)
- [editor] add
ExternalContentManager
for plopping content onto the canvas - [editor] remove
onCreateAssetFromFile
prop - [editor] remove
onCreateBookmarkFromUrl
prop - [editor] introduce
ExternalContentManager
- [editor] add cleanup function to
onMount
Misc sync fixes (#1555)
- Fixes a handful of state management bugs that manifest in multiplayer rooms
[Docs] Change some editor properties to methods (#1553)
- [docs] Fixed some methods that were incorrectly marked as properties.
[Docs] Change some internal methods to public (#1554)
- [docs] Changed some Editor methods from internal to public.
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]
Fix arrows with weird bends crashing (#1540)
- Fixed a rare crash that could happen when you try to curve an arrow with zero distance.
[feature] add vertical align to note shape (#1539)
- Adds vertical align prop to note shapes
[fix] Shift key code / nudge (#1537)
- Fix shift key nudging
scale exported canvases when they reach the browsers max size (#1536)
- Fix a bug where sometimes exports would fail when they were too big for your browser. Now, they're scaled down to the max supported size.
[fix] control click on mac (#1535)
- Fix control click to open menu on Mac
Fix being able to undo following (#1531)
- Fixed a bug where you could undo viewport-following and viewport-unfollowing.
Select locked shapes on long press (#1529)
highlighter fixes (#1530)
[aq bug fixes]
Lokalise: Translations update (#1515)
- Added and updated community translations for Galician, Italian, Romanian, Russian, Ukrainian, and Traditional Chinese.
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
Rename tlstore to store (#1507)
- Replace @tldraw/tlstore with @tldraw/store
Rename tlvalidate to validate (#1508)
- Rename tlvalidate to validate
Filter out unused assets. (#1502)
- Optimize file size of exported files.
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
.
Revert 09c36781
& tweak linting (#1501)
[internal-only]
Add support for locking shapes (#1447)
- Add support for locking shapes.
[3/3] Highlighter styling (#1490)
Highlighter pen is here! 🎉🎉🎉
[2/3] renderer changes to support "sandwich mode" highlighting (#1418)
[not yet!]
[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] Easier store persistence API + persistence example (#1480)
- [tlstore] adds
getSnapshot
andloadSnapshot
Add DSL to make writing shape-layout test cases much easier (#1413)
[internal only change]
Feature flags rework (#1474)
[internal only change]
[tiny] add isPageId (#1482)
- [tlschema] Add
isPageId
[minor] Mark tlsync-client internal APIs (#1481)
- Removes internal APIs from
@tldraw/tlsync-client
[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
update use-gesture (#1453)
- Updates use-gesture to fix pinch gesture bug on iPad.
Add migration for horizontal alignment (#1443)
- Add support for legacy alignment options.
Stricter ID types (#1439)
[internal only, covered by #1432 changelog]
[refactor] restore createTLSchema (#1444)
- [editor] Simplifies custom shape definition
- [tldraw] Updates props for component to require a
TldrawEditorConfig
.
Fix cursor shadow getting clipped (#1441)
- Fixed a bug where custom cursors could have their shadow clipped.
Add SVG cursors for all cursor types (#1416)
- Added consistent custom cursors.
[refactor] remove createTLSchema
(#1440)
- [tlschema] Removes
createTLSchema
in favor ofTldrawEditorConfig
[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
[refactor] record migrations (#1430)
- [tlschema] Improve
defineMigrations
- [editor] Simplify migration definitions
Measure individual words instead of just line breaks for text exports (#1397)
- Add a brief release note for your PR here.
Update docs links + guides + build (#1422)
- [docs] Updated guides to get assets from the new
tldraw/tldraw
repo instead of the oldtldraw/tldraw-examples
. - [docs] Updated an old CodeSandbox link to the new StackBlitz.
Create @tldraw/indices package (#1426)
- [@tldraw/editor] Remove fractional indices code into
@tldraw/indices
- [@tldraw/indices] Create library for fractional indices code
[feature] Add checkbox to toolbar (#1423)
- Adds missing checkbox to toolbar.
[improvement] set horizontal position using text alignment (#1419)
- Geo shapes and sticky notes now position their labels based on their alignment.
[fix] reorder handles in front of selection (#1420)
- Fix a bug where handles would appear behind selection indicators.
[feature] add laser pointer (#1412)
- Adds the laser pointer tool.
[firefox] Fix the pointer getting stuck down when you press the control key (#1390)
- [Firefox] Fixed a bug where the pointer could get stuck down when the control key is held down.
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
remove url state, to private (#1402)
- [editor] remove
useUrlState
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.
fix pasted tabs not getting converted to space (#1388)
- Fixed a bug where pasted tabs wouldn't get converted into spaces.
Delete an empty text shape when clicking on another text shape. (#1384)
- Fix a problem with empty text shapes not getting deleted if you clicked on another text shape.
Fix setting the grid mode. (#1386)
- Fix grid mode toggle.
Update codesandbox + example link (#1368)
- [docs] Fixed some links to examples.
Fix selection foreground being misaligned (#1380)
- None (fix for a bug that hasn't released)
Expand selection outline for single-selected draw shape (#1379)
- Improve selection outlines around horizontal or vertical draw shapes
Add localizations for snapshots links (#1347)
- Add localization for creating snapshot links.
[fix] pointer location not updating when moving over editing shape (#1378)
- Fix a bug where the pointer location would not update when moving the pointer over an editing shape.
[perf] deleteShapes (#1373)
- Perf improvement for deleting shapes in a document with lots of pages.
Neaten up pr template (#1369)
- None: internal
fix a couple of consistency assumptions (#1365)
- Fixes a couple of minor consistency bugs affecting shape updating and page deletion in multiplayer contexts.
Disable nightly/on-demand webdriver scripts (#1366)
None
avoid lazy race conditions (#1364)
[internal only]
Adds CI for webdriver tests (#1343)
- Github action CI workflows added for webdriver tests
- Refactored e2e test runner
enable eslint for test files (#1363)
internal-only change
[perf] make ensureStoreIsUsable scale better (#1362)
- Add a brief release note for your PR here.
Export Events stuff (#1360)
- [ui] export the
TLUiEventSource
type - [ui] export the
EventsProviderProps
type - [ui] export the
useEvents
hook
presence-related fixes (#1361)
- Fix a bug where creating a page could throw an error in some multiplayer contexts.
[improvement] rename onEvent to onUiEvent (#1358)
- [docs] Adds docs for ui events
- [tldraw] Renames
onEvent
toonUiEvent
[docs] Update links in docs (#1357)
- [docs] Update links in docs to point to the tldraw repository rather than tldraw-examples.
[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] various text (#1350)
- Allow leading whitespace
[chore] Bump nanoid (#1349)
- Remove unused userId and instanceId props from AppOptions
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
Rework the assets package for strategy-specific imports (#1341)
- [dev] If you're using the
@tldraw/assets
package, you need to update your code toimport { getAssetUrlsByImport } from '@tldraw/assets/imports'
instead ofimport { getBundlerAssetUrls } from '@tldraw/assets
💥 Breaking Change
- [minor] Mark tlsync-client internal APIs #1481 (@steveruizok)
@tldraw/editor
,@tldraw/file-format
,@tldraw/store
- [tweak] migrate store snapshot arguments #1659 (@steveruizok)
@tldraw/editor
,@tldraw/file-format
,@tldraw/store
,@tldraw/tlschema
- [improvement] store snapshot types #1657 (@steveruizok)
- Rename tlstore to store #1507 (@steveruizok)
@tldraw/editor
,@tldraw/ui
- [fix] react component runaways, error boundaries #1625 (@steveruizok)
- Tidy up #1600 (@steveruizok)
- Use unpkg as a default for serving assets. #1548 (@MitjaBezensek)
- Switch to new collaborators component #1405 (@ds300)
- [improvement] Ui events followup #1354 (@steveruizok)
- [feature] ui events #1326 (@orangemug @steveruizok)
@tldraw/editor
,@tldraw/file-format
,@tldraw/tldraw
,@tldraw/tlschema
ShapeUtil
refactor,Editor
cleanup #1611 (@steveruizok)- [refactor] restore createTLSchema #1444 (@steveruizok)
@tldraw/editor
- Remove on drop override #1612 (@steveruizok)
- Rename
ShapeUtil.render
->ShapeUtil.component
#1609 (@steveruizok) - [fix] camera culling #1602 (@steveruizok)
- remove
ShapeUtil.transform
#1590 (@steveruizok) - remove
ShapeUtil.point
#1591 (@steveruizok) - remove url state, to private #1402 (@steveruizok)
@tldraw/editor
,@tldraw/tldraw
,@tldraw/ui
- tldraw.css #1607 (@steveruizok)
@tldraw/editor
,@tldraw/file-format
,@tldraw/tlschema
,@tldraw/ui
,@tldraw/utils
,@tldraw/validate
- Styles API #1580 (@SomeHats @steveruizok)
@tldraw/editor
,@tldraw/file-format
,@tldraw/tldraw
,@tldraw/tlschema
,@tldraw/utils
,@tldraw/validate
@tldraw/editor
,@tldraw/file-format
,@tldraw/tldraw
,@tldraw/ui
ExternalContentManager
for handling external content (files, images, etc) #1550 (@steveruizok)
@tldraw/editor
,@tldraw/tlschema
,@tldraw/ui
- hoist opacity out of props #1526 (@SomeHats)
- Add support for project names #1340 (@TodePond @steveruizok)
- [refactor] Remove
TLShapeDef
,getShapeUtilByType
. #1432 (@steveruizok @SomeHats) - [fix] Don't synchronize isReadOnly #1396 (@ds300)
@tldraw/editor
,@tldraw/file-format
,@tldraw/store
,@tldraw/tlschema
,@tldraw/ui
- Independent instance state persistence #1493 (@ds300)
- tlschema cleanup #1509 (@steveruizok)
@tldraw/editor
,@tldraw/file-format
,@tldraw/ui
- Renaming types, shape utils, tools #1513 (@steveruizok)
@tldraw/editor
,@tldraw/file-format
,@tldraw/tlschema
,@tldraw/validate
- Rename tlvalidate to validate #1508 (@steveruizok)
@tldraw/file-format
,@tldraw/tlschema
,@tldraw/ui
- Cleanup @tldraw/ui types / exports #1504 (@steveruizok)
@tldraw/editor
,@tldraw/file-format
,@tldraw/indices
,@tldraw/tldraw
,@tldraw/ui
- rename app to editor #1503 (@steveruizok)
@tldraw/editor
,@tldraw/file-format
,@tldraw/tldraw
,@tldraw/tlschema
,@tldraw/ui
- [refactor] User-facing APIs #1478 (@steveruizok)
- [chore] refactor user preferences #1435 (@ds300)
@tldraw/editor
,@tldraw/file-format
,@tldraw/tlschema
,@tldraw/ui
- [refactor] update record names #1473 (@steveruizok)
@tldraw/editor
,@tldraw/tlschema
- [refactor] remove
createTLSchema
#1440 (@steveruizok) - [refactor] record migrations #1430 (@steveruizok)
- [chore] Bump nanoid #1349 (@ds300)
- [refactor] remove
@tldraw/editor
,@tldraw/indices
,@tldraw/utils
- Create @tldraw/indices package #1426 (@steveruizok)
@tldraw/ui
- [improvement] rename onEvent to onUiEvent #1358 (@steveruizok)
@tldraw/assets
,@tldraw/tlschema
🚀 Enhancement
- [feature] Easier store persistence API + persistence example #1480 (@steveruizok)
@tldraw/editor
,@tldraw/tlschema
,@tldraw/ui
- Styles API follow-ups #1636 (@SomeHats @steveruizok)
- (1/2) Cursor Chat - Presence #1487 (@TodePond @steveruizok)
@tldraw/editor
- Make resizeBox a regular function #1610 (@steveruizok)
- [improvement] set horizontal position using text alignment #1419 (@steveruizok)
- [fix] pointer location not updating when moving over editing shape #1378 (@steveruizok)
@tldraw/editor
,@tldraw/tlschema
- [fix] yjs presence #1603 (@steveruizok)
- (1/2) Timeout collaborator cursors #1525 (@TodePond @steveruizok)
- [feature] add vertical align to note shape #1539 (@steveruizok)
@tldraw/editor
,@tldraw/file-format
- Add optional generic to
updateShapes
/createShapes
#1579 (@steveruizok) - move v1 migration code into file-format #1499 (@steveruizok)
- Add optional generic to
@tldraw/editor
,@tldraw/ui
- Add support for locking shapes #1447 (@MitjaBezensek @steveruizok)
- [feature] reduce motion #1485 (@steveruizok)
- [mini-feature] Following indicator #1468 (@steveruizok)
- Add SVG cursors for all cursor types #1416 (@TodePond @steveruizok)
- [improvement] refactor paste to support multi-line text #1398 (@steveruizok)
@tldraw/assets
,@tldraw/editor
,@tldraw/ui
- [3/3] Highlighter styling #1490 (@SomeHats @steveruizok)
@tldraw/editor
,@tldraw/primitives
@tldraw/assets
,@tldraw/editor
,@tldraw/tlschema
,@tldraw/ui
- [1/3] initial highlighter shape/tool #1401 (@SomeHats)
- [feature] add laser pointer #1412 (@steveruizok)
- Vertical text alignment for geo shapes #1414 (@MitjaBezensek @steveruizok)
@tldraw/ui
- [feature] Add checkbox to toolbar #1423 (@steveruizok)
- Add stuff for new 'share project' flow #1403 (@ds300)
- Snapshot link menu translations #1399 (@steveruizok)
@tldraw/assets
,@tldraw/ui
- open menus refactor #1400 (@steveruizok)
🐛 Bug Fix
- Lokalise: Translations update #1618 (@TodePond)
- Fa translation #1500 (@mokazemi @steveruizok)
- Lokalise: Translations update #1572 (@TodePond)
- Update changelog. Bump version. #1546 (@MitjaBezensek)
- Lokalise: Translations update #1515 (@TodePond)
- VS Code version bump, changelog. #1497 (@MitjaBezensek)
- Fix issue template label not getting applied #1428 (@TodePond)
- Bump version. #1421 (@MitjaBezensek)
- Update community translations + remove unused translations #1356 (@TodePond)
- [docs] Update links in docs #1357 (@steveruizok)
- [chore] Add label options to PR template #1339 (@ds300)
- Fix publishing #1338 (@SomeHats)
- Update README.md #1331 (@steveruizok)
- [docs] editor API #1328 (@steveruizok)
- [docs] Add missing params docs #1223 (@TodePond)
- Add link to original tldraw within issue template #1225 (@TodePond)
- Fix issue templates not appearing #1228 (@TodePond)
- [improvement] readme / contributing #1199 (@TodePond @steveruizok)
- [improvement] add bug report / feature request #1218 (@steveruizok)
- add
env
and prefix output options to exec #1217 (@SomeHats) - [wip] Going bublic #1195 (@SomeHats @ds300 @orangemug @steveruizok @TodePond)
- [chore] use explicit yarn in clean script #1216 (@ds300)
- fix husky install #1212 (@SomeHats)
- Alex/test #1202 (@SomeHats)
@tldraw/editor
- Fix crash when rotating a deleted shape #1658 (@TodePond)
- [fix] pen mode touches #1655 (@steveruizok)
- Fix text shapes not having colour #1649 (@TodePond)
- Fix SVG cursors not being used #1639 (@TodePond)
- [fix] tldraw file drop #1616 (@steveruizok)
- Make sure loading screens use dark mode user preference. #1552 (@MitjaBezensek @steveruizok)
- [fix] Remove group shape export backgrounds #1587 (@steveruizok)
- Move the loading of assets to the TldrawEditorWithReadyStore so that all code paths load the assets. #1561 (@MitjaBezensek)
- shapes folder, move tools into shape defs #1574 (@SomeHats)
- offset drop point by editor client rect #1564 (@BrianHung)
- More misc sync fixes #1559 (@ds300)
- Misc sync fixes #1555 (@ds300)
- [fix] Shift key code / nudge #1537 (@steveruizok)
- scale exported canvases when they reach the browsers max size #1536 (@SomeHats)
- [fix] control click on mac #1535 (@steveruizok)
- Fix being able to undo following #1531 (@TodePond)
- send user prefs data in broadcast msg #1466 (@ds300)
- Fix positioning of default cursor #1458 (@TodePond)
- change pointer cursor to white #1454 (@TodePond)
- Fix cursor shadow getting clipped #1441 (@TodePond)
- Fix new wobble #1431 (@TodePond)
- [fix] laser pointer #1429 (@steveruizok)
- [fix] reorder handles in front of selection #1420 (@steveruizok)
- [firefox] Fix the pointer getting stuck down when you press the control key #1390 (@TodePond)
- fix viewport following #1411 (@ds300)
- fix pasted tabs not getting converted to space #1388 (@TodePond)
- Delete an empty text shape when clicking on another text shape. #1384 (@MitjaBezensek)
- Fix setting the grid mode. #1386 (@MitjaBezensek)
- Fix selection foreground being misaligned #1380 (@TodePond @steveruizok)
- Expand selection outline for single-selected draw shape #1379 (@SomeHats)
- [fix] Allow interactions with embeds in readonly mode #1333 (@MitjaBezensek)
- [perf] deleteShapes #1373 (@ds300)
- fix a couple of consistency assumptions #1365 (@ds300)
- [fix] various text #1350 (@steveruizok)
- [fix] tabs in text exports #1323 (@steveruizok)
- [fix] update useTransform.ts #1327 (@steveruizok)
- [improvement] dragging start distance on coarse pointer #1220 (@steveruizok)
- [fix] SVG export for arrows with labels but no arrowheads #1229 (@steveruizok)
- add docs for TLShapeUtil #1215 (@TodePond)
- [fix] publish #1222 (@ds300)
- [fix] typo in isFocusingInput #1221 (@ds300)
- [feat] new LiveCollaborators behind feature flag #1219 (@ds300)
- [fix] collaborator render order #1213 (@steveruizok)
@tldraw/editor
,@tldraw/ui
- 3/2 Cursor chat #1623 (@steveruizok)
- [fix] embeds #1578 (@steveruizok)
- highlighter fixes #1530 (@SomeHats)
- Feature flags rework #1474 (@SomeHats)
- remove svg layer, html all the things, rs to tl #1227 (@TodePond @steveruizok)
- Added
pHYs
to import/export of png images #1200 (@orangemug @steveruizok)
@tldraw/tldraw
- [fix] tldraw api report #1615 (@steveruizok)
- Fix to not ignore the
userId
option for<Tldraw/>
component in@tldraw/tldraw
#1205 (@orangemug)
@tldraw/editor
,@tldraw/primitives
- [refactor] snapping #1589 (@steveruizok)
- Fix arrows with weird bends crashing #1540 (@TodePond)
- ensure that fixed points stay fixed #1523 (@steveruizok)
- Use
strokePathData
for<ShapeFill/>
path to avoid bugs in the inner path algo #1207 (@orangemug @steveruizok)
@tldraw/editor
,@tldraw/tlschema
- update exports for user presence #1583 (@steveruizok)
- [improvement] Embed shape cleanup #1569 (@steveruizok)
- Add migration for horizontal alignment #1443 (@MitjaBezensek @steveruizok)
- [chore] move schema construction to tlschema package #1334 (@ds300)
@tldraw/assets
,@tldraw/editor
,@tldraw/ui
,@tldraw/utils
- Asset improvements #1557 (@MitjaBezensek)
@tldraw/ui
- Use
"Toggle locked"
#1538 (@steveruizok) - Select locked shapes on long press #1529 (@steveruizok)
- 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)
- [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) - [tiny] rename show menu paste #1332 (@steveruizok)
- update @radix-ui/react-popover to 1.0.6-rc.5 #1206 (@SomeHats)
- Use
@tldraw/file-format
- Filter out unused assets. #1502 (@MitjaBezensek)
@tldraw/editor
,@tldraw/file-format
,@tldraw/tlschema
,@tldraw/ui
,@tldraw/utils
- Stricter ID types #1439 (@SomeHats @steveruizok)
@tldraw/editor
,@tldraw/primitives
,@tldraw/ui
@tldraw/tlschema
@tldraw/editor
,@tldraw/utils
@tldraw/assets
,@tldraw/editor
,@tldraw/tlschema
,@tldraw/ui
- [feature]
check-box
geo shape #1330 (@steveruizok)
- [feature]
@tldraw/assets
,@tldraw/editor
,@tldraw/tldraw
,@tldraw/ui
@tldraw/assets
,@tldraw/file-format
,@tldraw/polyfills
,@tldraw/primitives
,@tldraw/tldraw
,@tldraw/tlschema
,@tldraw/ui
,@tldraw/utils
- [wip] Going bublic #1195 (@SomeHats @ds300 @orangemug @steveruizok @TodePond)
@tldraw/assets
,@tldraw/editor
,@tldraw/file-format
,@tldraw/polyfills
,@tldraw/primitives
,@tldraw/tldraw
,@tldraw/tlschema
,@tldraw/ui
,@tldraw/utils
- [chore] update lazyrepo #1211 (@ds300)
- [lite] upgrade lazyrepo #1198 (@ds300)
- [wip] Going bublic #1195 (@SomeHats @ds300 @orangemug @steveruizok @TodePond)
@tldraw/tlschema
,@tldraw/ui
- [fix] pick a better default language #1201 (@steveruizok @TodePond)
@tldraw/assets
,@tldraw/editor
,@tldraw/tldraw
,@tldraw/tlschema
,@tldraw/ui
,@tldraw/utils
⚠️ Pushed to main
- Update publish-new.yml (@steveruizok)
- Update lerna.json (@steveruizok)
- Update publish-new.ts (@steveruizok)
- change App to Editor in docs (@TodePond)
- rename api.mdx to editor.mdx (@TodePond)
- remove e2e files (@steveruizok)
- main: notify huppy after release (@SomeHats)
- main: exclude @tldraw/assets from vite dep optimization to fix examples links (@SomeHats)
@tldraw/assets
,@tldraw/editor
,@tldraw/file-format
,@tldraw/indices
,@tldraw/polyfills
,@tldraw/primitives
,@tldraw/store
,@tldraw/tldraw
,@tldraw/tlschema
,@tldraw/ui
,@tldraw/utils
,@tldraw/validate
- update lazyrepo (@ds300)
🏠 Internal
- [chore] bump vscode extension to 2.0.9 #1662 (@steveruizok)
- untrack generated files #1646 (@steveruizok)
- Update pr template #1570 (@steveruizok)
- Add contributor license agreement. #1556 (@steveruizok)
- Reinstate auto #1524 (@ds300)
- [infra] use npx to run auto #1521 (@ds300)
- Revert
09c36781
& tweak linting #1501 (@SomeHats) - [fix] eslint from brivate #1498 (@steveruizok)
- [chore] remove webdriver dependencies / scripts #1488 (@steveruizok)
- [fix] local e2e script #1442 (@steveruizok)
- [chore] remove yarnrc-private.yml #1427 (@steveruizok)
- [fix] example routes on vercel #1391 (@steveruizok)
- Neaten up pr template #1369 (@TodePond)
- remove references to tldraw-lite #1367 (@SomeHats)
@tldraw/editor
,@tldraw/ui
- Explicit shape type checks #1594 (@steveruizok)
- [improvement] bookmark shape logic #1568 (@steveruizok)
- Simplify static cursors #1520 (@steveruizok)
@tldraw/ui
- move some kbds into actions and tools #1585 (@BrianHung @steveruizok)
- Add localizations for snapshots links #1347 (@MitjaBezensek)
@tldraw/editor
- use the right TLEventHandlers #1486 (@judicaelandria @steveruizok)
- yjs example #1560 (@steveruizok)
- rename app folder to editor #1528 (@steveruizok)
- [fix] overlay rendering issues #1389 (@steveruizok)
- Remove commented code in App #1377 (@steveruizok)
- enable eslint for test files #1363 (@SomeHats)
@tldraw/tlschema
- restore styles sets exports #1512 (@steveruizok)
@tldraw/primitives
- replace console.log with nicelog #1496 (@steveruizok)
@tldraw/editor
,@tldraw/indices
,@tldraw/primitives
,@tldraw/tldraw
,@tldraw/ui
- [chore] remove benchmark #1489 (@steveruizok)
@tldraw/editor
,@tldraw/tlschema
- [tiny] add isPageId #1482 (@steveruizok)
@tldraw/editor
,@tldraw/file-format
,@tldraw/polyfills
,@tldraw/primitives
,@tldraw/tldraw
,@tldraw/tlschema
,@tldraw/ui
,@tldraw/utils
📝 Documentation
- [fix] remove docs scripts #1651 (@steveruizok)
- (2/2) [docs] Fix links to API. #1654 (@TodePond)
- (1/2) [docs] Restore some missing changes #1652 (@TodePond)
- [docs] Remove embeds page #1653 (@TodePond)
- docs: remove not accepting contributions notice #1647 (@gabrielchl)
- [docs] Add table of contents to Editor page #1642 (@TodePond @steveruizok)
- remove docs (again) #1643 (@steveruizok)
- [1/2] Move docs to brivate #1640 (@steveruizok)
- [docs] Allow sidebar to be scrolled on short screens #1632 (@TodePond)
- [docs] Add feedback when you search #1633 (@TodePond)
- [docs] Separate some pages out of the Docs section #1626 (@TodePond)
- [docs] Fix wrong cursor when hovering buttons #1630 (@TodePond)
- [docs] Tighten up wording & structure of Usage page #1624 (@TodePond @steveruizok)
- [docs] Tighten up Editor page introduction #1622 (@TodePond)
- [docs] Tighten up Introduction page #1621 (@TodePond @steveruizok)
- [docs] Simplify paths for uncategorised pages #1619 (@TodePond)
- Auto content refresh for docs site #1606 (@steveruizok)
- Remove
@tldraw/utils
from the docs site #1596 (@TodePond) - [docs] Add barebones note about translations #1593 (@TodePond @steveruizok)
- Change app to editor in docs #1592 (@TodePond)
- add presence to yjs example #1582 (@steveruizok)
- fix: properly remove awareness from store #1565 (@shahriar-shojib @steveruizok)
- Add anchor targets to our headings. #1571 (@MitjaBezensek)
- Fix README typo #1451 (@fossinating @steveruizok)
- Update examples links to point to examples folder. #1522 (@steveruizok)
- Update docs links + guides + build #1422 (@TodePond)
- Update codesandbox + example link #1368 (@TodePond)
@tldraw/editor
- [improvement] custom shapes example #1660 (@steveruizok)
- Add tsdocs to Editor methods #1581 (@TodePond @steveruizok)
- [Docs] Change some editor properties to methods #1553 (@TodePond)
- [Docs] Change some internal methods to public #1554 (@TodePond)
@tldraw/editor
,@tldraw/tlschema
- Styles API docs #1641 (@SomeHats @steveruizok)
@tldraw/tlschema
- TLSchema readme #1506 (@steveruizok)
🧪 Tests
- speed up playwright and add visual regression tests #1638 (@SomeHats @huppy-bot[bot])
- Disable nightly/on-demand webdriver scripts #1366 (@orangemug)
- Adds CI for webdriver tests #1343 (@orangemug)
- Added initial webdriver tests #1337 (@orangemug)
@tldraw/editor
- update editor tests #1547 (@steveruizok)
- Add DSL to make writing shape-layout test cases much easier #1413 (@SomeHats)
@tldraw/editor
,@tldraw/ui
- Add playwright tests #1484 (@steveruizok)
🔩 Dependency Updates
- [chore] update wdio-vscode-service #1346 (@ds300)
@tldraw/editor
,@tldraw/state
,@tldraw/store
,@tldraw/tlschema
,@tldraw/ui
- Incorporate signia as @tldraw/state #1620 (@steveruizok @ds300)
@tldraw/assets
,@tldraw/editor
,@tldraw/polyfills
,@tldraw/tldraw
,@tldraw/ui
- Revert "Update dependencies (#1613)" #1617 (@SomeHats)
- Update dependencies #1613 (@steveruizok)
@tldraw/editor
Authors: 13
- @huppy-bot[bot]
- alex (@SomeHats)
- Brian Hung (@BrianHung)
- David (@fossinating)
- David Sheldrick (@ds300)
- Gabriel Lee (@gabrielchl)
- Judicael (@judicaelandria)
- Lu Wilson (@TodePond)
- Mitja Bezenšek (@MitjaBezensek)
- Mohammad Kazemi (@mokazemi)
- Orange Mug (@orangemug)
- Shahriar Shojib (@shahriar-shojib)
- Steve Ruiz (@steveruizok)