tldraw/packages/tldraw/CHANGELOG.md
Steve Ruiz 9619e3be0b
Add changeset (#567)
* add lask for packages

* Add turbo

* remove custom scripts

* update turbo scripts

* Improve scripts, update changelogs

* update action to use turbo

* Update .gitignore

* Update main.yml

* Update main.yml

* Update main.yml

* Add docs

* add clean

* Add changesets

* Add changeset
2022-02-08 11:45:11 +00:00

424 lines
7.6 KiB
Markdown

# Changelog
## 1.7.0
### Minor Changes
- Update dependencies and monorepo.
### Patch Changes
- Updated dependencies
- @tldraw/core@1.7.0
- @tldraw/intersect@1.7.0
- @tldraw/vec@1.7.0
## 1.6.1
- Fix label colors on arrows and triangles in dark mode
- Fix label wobble on arrows
- Fix debug mode when in production mode
## 1.6.0
- Improve arrow binding.
- Fix bug where input pressure would not be accounted for.
- Fix bug where upload media button would not work on multiplayer.
- Adds sourcemap loader.
- Adds ids to UI components.
- Adds exports.
## 1.5.2
- Fix bounds and snapping on first load.
## 1.5.1
- Fix HTML content in text shape
- Fix text shape bounding box size
- Fix failed call when deleting assets
- Fix crash when alt-click-copying image
- Improves scroll wheel
- Fixes SVGs in multiplayer
- Fixes error on Load/Save
- Fixes bug that could occur when erasing
## 1.5.0
- Fix context menu bug on mobile.
- Support for assets (images and videos) in tldraw multiplayer.
- Support for image exporting in tldraw.
- Breaking change: changed `onImageCreate` and `onImageDelete` props to `onAssetCreate` and `onAssetDelete`.
- Preserve application state between reloads.
## 1.4.3
- Update README
- Update LICENSE year
## 1.4.2
- Fixes a bug where shapes could be deleted during an erasing session
- Fixes a bug where groups could throw an error if a shape was missing
## 1.4.1
- Improves label placement, indicators and colors
- Fixes a bug with missing labels when copying shapes to SVG
- Fixes a bug with font when copying text to SVG
- Fixes a bug with text placement when copying sticky notes to SVG
## 1.4.0
- Fixes bug with black canvas after double reload.
- Fixes rendering bug with tiny images / videos.
- Adds labels to rectangles, triangles, circles, lines and arrows.
- Adds support for performance modes to sessions.
## 1.3.0
- Adds Video and Image shape types.
## 1.2.9
- Improves multiplayer cursor appearance.
- Improves authentication and sponsor-related code.
- Fixes bug where logged-out users could not access multiplayer rooms.
- Fixes bug where sponsors would see sponsor prompt in multiplayer rooms.
## 1.2.7
- Fixes crash due to a missing ID provider.
## 1.2.6
- No minify on bundle.
## 1.2.5
- Triangles!
- Improves selection logic.
## 1.2.4
- Fixes bug with `onPersist`.
- Fixes knock-on bug with VS Code extension not saving.
## 1.2.3
- Updates multiplayer code.
## 1.2.2
- Updates @tldraw/core.
## 1.1.6
- Fix bug when creating arrows and lines.
## 1.1.6
- Adds spellcheck to text and stickies.
## 1.1.6
- Fixes bugs in VS Code extension.
## 1.1.5
- Adds grid, clone handles.
## 1.1.4
- Adds undo and redo buttons at smaller breakpoints.
## 1.1.3
- Adds ability to copying text / sticky notes.
- Adds line tool (an arrow without decorations).
- Fixes bad README links.
- Fixes keyboard shortcuts for tools.
- Adds `onChangePresence` and `onChangePage` for multiplayer.
## 1.1.1
- Adds shift modifier to snap arrows to a 15 degree angle.
## 1.1.0
- Adds text styles (alignment and font family)
- Fixes zoom shortcuts on VS Code extension
- Adds zoom shortcuts for numpad
- Fixes delete keyboard shortcuts on PC
## 1.0.4
- Fixes bug in selected styles menu
- Fixes page options dialog for page rename / delete
- Fixes bug in arrow -> elipse intersections
- Fixes sign in / sign out buttons both appearing
- Fixes line breaks for sticky notes
- Improves performance (related to menu bug above)
- Sets default behavior of copyJson and copySvg when no shapes are selected
## 1.0.3
- Improves compatibility with Create React App.
## 1.0.2
- Bumps rko dependency.
## 1.0.1
- Improves appearance of action menu and delete button while disabled
- Adds "resize from center" for transform sessions. Hold the Alt or Option key while resizing to preserve the selection's center point.
## 1.0.0
Breaking
- Renames many props, components (e.g. `TLDrawState` to `TLDrawApp`)
Improvements
- Updates UI in toolbars, menus.
- Simplifies state and context.
- Adds and updtes tests.
- Renames TLDraw to tldraw throughout the app and documentation.
- Renames TLDrawState to TldrawApp, state to app.
- Improves action menu
- Improves dark colors
- Consolidates style menu
- Fixes performance bug with menus
- Fixes text formatting in Text shapes
New
- Adds shape menu
- Adds eraser tool (click or drag to erase)
- Adds `darkMode` prop for controlling dark mode UI.
- Double-click a tool icon to toggle "tool lock". This will prevent the app from returning to the select tool after creating a shape.
## 0.1.17
- Fixes "shifting" bug with drawing tool. Finally!
## 0.1.13
- Fixes bugs related to `readOnly` mode.
## 0.1.12
- Fixes behavior of context menu.
## 0.1.11
- Fixes appearance of keyboard shortcuts in tooltips.
## 0.1.10
- Fixes spacing in text and sticky shapes.
## 0.1.7
- Fixes text and sticky shapes on iOS.
## 0.1.4
- UI bug fixes.
## 0.1.3
- Update dependencies.
## 0.1.2
- Improve migrations.
## 0.1.1
- Update dependencies.
## 0.1.0
- Mark dependencies as external.
- Revamp UI
## 0.0.133
- Removed libraries (vec, svg, and intersect) to their own repositories.
## 0.0.133
- Migration for bindings.
## 0.0.132
- Fix bug with bounds handles.
## 0.0.131
### TLCore
- Extracted into its own repository (`tldraw/core`) and open sourced! :clap:
### tldraw
- Updated with latest `@tldraw/core`, updated ShapeUtils API.
## 0.0.130
### TLCore
- Major change to ShapeUtils API.
### tldraw
- Rewrite utils with new API.
## 0.0.126
### tldraw
- Swap behavior of command and alt keys in arrow shapes.
## 0.0.125
### tldraw
- Bug fixes.
## 0.0.124
### tldraw
- Fix typings.
## 0.0.123
### tldraw
- Adds bound shape controls.
- Drag a bound shape control to translate shapes in that direction.
- Double click bound shape controls to select shapes in that direction.
- Fix bug in arrow decorations toggle.
## 0.0.122
### tldraw
- Adds snapping for transforming shapes.
## 0.0.121
### Core
- Adds `snapLines`.
### tldraw
- Adds shape snapping while translating. Hold Command/Control to disable while dragging.
## 0.0.120
### tldraw
- Improves rectangle rendering.
- Improves zoom to fit and zoom to selection.
## 0.0.119
### tldraw
- Fixes bug with bound arrows after undo.
## 0.0.118
### Core
- Improves multiplayer features.
### tldraw
- Fixes bugs in text, arrows, stickies.
- Adds start binding for new arrows.
- Adds copy painting (alt + shift + drag).
- Adds side clonig.
- Adds clone dragging.
## 0.0.116
### Core
- Improves rendering on Safari.
### tldraw
- Improves rendering on Safari.
- Minor bug fixes around selection.
- Fixes bug when undoing a newly created shape.
## 0.0.115
### Core
- Adds [side cloning](https://github.com/tldraw/tldraw/pull/149).
- Improves rendering.
### tldraw
- Adds sticky note [side cloning](https://github.com/tldraw/tldraw/pull/149).
## 0.0.114
### tldraw
- Improves fills for filled shapes.
## 0.0.113
### tldraw
- Improves grouping and ungrouping.
## 0.0.112
### tldraw
- Fixes centering on embedded tldraw components.
- Removes expensive calls to window.
## 0.0.111
### tldraw
- Adjust stroke widths and sizes.
- Fixes a bug on very small dashed shapes.
## 0.0.110
### Core
- Adds `user` and `users` props (optional) for multiplayer cursors. This feature is very lightly implemented.
### tldraw
- Adds multiplayer support.
- Adds `showMenu` and `showPages` props.
- Adds `mergeState`, `updateUsers`, and `removeUser` methods.
## 0.0.109
### tldraw
- Bumps perfect-freehand
- Fixes dots for small sized draw shapes
## 0.0.108
- Adds CHANGELOG. Only 108 releases late!
### tldraw
- Fixes a bug with bounding boxes on arrows.