From 3cba9712fd24c8c27f586816d434e1ff0ccb542e Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Sat, 25 Jun 2022 20:31:27 +0100 Subject: [PATCH] 1.18.0 --- .changeset/short-ears-own.md | 9 --------- apps/vscode/extension/CHANGELOG.md | 9 +++++++++ apps/vscode/extension/package.json | 2 +- apps/www/CHANGELOG.md | 7 +++++++ apps/www/package.json | 2 +- examples/tldraw-example/src/app.tsx | 6 ------ packages/tldraw/CHANGELOG.md | 9 +++++++++ packages/tldraw/package.json | 2 +- .../src/state/commands/deleteShapes/deleteShapes.spec.ts | 6 ++++-- 9 files changed, 32 insertions(+), 20 deletions(-) delete mode 100644 .changeset/short-ears-own.md diff --git a/.changeset/short-ears-own.md b/.changeset/short-ears-own.md deleted file mode 100644 index 13ecd91df..000000000 --- a/.changeset/short-ears-own.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'tldraw-vscode': minor -'@tldraw/tldraw': minor ---- - -- Updates multiplayer implementation. -- Adds translation guide. -- Fixes bug on text shape -- Updates undo redo for text shapes. diff --git a/apps/vscode/extension/CHANGELOG.md b/apps/vscode/extension/CHANGELOG.md index 20fe96a10..b70245fe1 100644 --- a/apps/vscode/extension/CHANGELOG.md +++ b/apps/vscode/extension/CHANGELOG.md @@ -1,5 +1,14 @@ ## 1.2.4 +## 1.17.0 + +### Minor Changes + +- 8ef86c19: - Updates multiplayer implementation. + - Adds translation guide. + - Fixes bug on text shape + - Updates undo redo for text shapes. + ## 1.16.2 ### Patch Changes diff --git a/apps/vscode/extension/package.json b/apps/vscode/extension/package.json index 59a28c541..ca0136174 100644 --- a/apps/vscode/extension/package.json +++ b/apps/vscode/extension/package.json @@ -2,7 +2,7 @@ "name": "tldraw-vscode", "displayName": "tldraw", "description": "The tldraw Extension for VS Code.", - "version": "1.16.2", + "version": "1.17.0", "license": "MIT", "publisher": "tldraw-org", "repository": { diff --git a/apps/www/CHANGELOG.md b/apps/www/CHANGELOG.md index 970a4605d..82a7e3b33 100644 --- a/apps/www/CHANGELOG.md +++ b/apps/www/CHANGELOG.md @@ -1,5 +1,12 @@ # @tldraw/www +## 1.7.4 + +### Patch Changes + +- Updated dependencies [8ef86c19] + - @tldraw/tldraw@1.18.0 + ## 1.7.3 ### Patch Changes diff --git a/apps/www/package.json b/apps/www/package.json index f630f7efc..463758349 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -1,6 +1,6 @@ { "name": "@tldraw/www", - "version": "1.7.3", + "version": "1.7.4", "private": true, "description": "A tiny little drawing app (site).", "repository": { diff --git a/examples/tldraw-example/src/app.tsx b/examples/tldraw-example/src/app.tsx index 06c0b9267..f3ad5f96c 100644 --- a/examples/tldraw-example/src/app.tsx +++ b/examples/tldraw-example/src/app.tsx @@ -16,7 +16,6 @@ import Scroll from './scroll' import FileSystem from './file-system' import UIOptions from './ui-options' import { Multiplayer } from './multiplayer' -import { Multiplayer as MultiplayerWithImages } from './multiplayer-with-images' import './styles.css' import Export from '~export' @@ -43,11 +42,6 @@ const pages: ({ path: string; component: any; title: string } | '---')[] = [ { path: '/export', component: Export, title: 'Export' }, { path: '/scroll', component: Scroll, title: 'In a scrolling container' }, { path: '/multiplayer', component: Multiplayer, title: 'Multiplayer' }, - { - path: '/multiplayer-with-images', - component: MultiplayerWithImages, - title: 'Multiplayer (with images)', - }, ] export default function App() { diff --git a/packages/tldraw/CHANGELOG.md b/packages/tldraw/CHANGELOG.md index 37c7f6604..b895b35c9 100644 --- a/packages/tldraw/CHANGELOG.md +++ b/packages/tldraw/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 1.18.0 + +### Minor Changes + +- 8ef86c19: - Updates multiplayer implementation. + - Adds translation guide. + - Fixes bug on text shape + - Updates undo redo for text shapes. + ## 1.17.2 ### Patch Changes diff --git a/packages/tldraw/package.json b/packages/tldraw/package.json index 5b2b6b937..06e0c59b4 100644 --- a/packages/tldraw/package.json +++ b/packages/tldraw/package.json @@ -1,6 +1,6 @@ { "name": "@tldraw/tldraw", - "version": "1.17.2", + "version": "1.18.0", "description": "A tiny little drawing app (editor)", "author": "@steveruizok", "repository": { diff --git a/packages/tldraw/src/state/commands/deleteShapes/deleteShapes.spec.ts b/packages/tldraw/src/state/commands/deleteShapes/deleteShapes.spec.ts index 6f59abec9..bc1c6e9fa 100644 --- a/packages/tldraw/src/state/commands/deleteShapes/deleteShapes.spec.ts +++ b/packages/tldraw/src/state/commands/deleteShapes/deleteShapes.spec.ts @@ -232,7 +232,8 @@ const mockDocumentWithImage: TDDocument = { assets: { asset1: { type: TDAssetType.Image, - src: 'https://image.com', + src: 'https://image.com/image.png', + fileName: 'image.png', size: [100, 100], id: 'asset1', }, @@ -294,7 +295,8 @@ const mockDocumentWithSharedAssets: TDDocument = { assets: { '123': { type: TDAssetType.Image, - src: 'https://image.com', + src: 'https://image.com/image.png', + fileName: 'image.png', size: [100, 100], id: '123', },