release 1.12.0

This commit is contained in:
Steve Ruiz 2022-05-11 14:34:07 +01:00
parent aeebfa7368
commit 4b2b14eb26
11 changed files with 39 additions and 10 deletions

View file

@ -1,5 +1,11 @@
## 1.2.4 ## 1.2.4
## 1.12.0
### Minor Changes
- This update changes how clipboard actions (cut, copy, paste) and exports work. Significantly, image exports are no longer handled via a server-side integration, and are instead handled locally on the client. This allows now for exports in the VS Code extension, as well as greatly simplifying exports for apps that embed the Tldraw React component.
## 1.11.3 ## 1.11.3
### Patch Changes ### Patch Changes

View file

@ -2,7 +2,7 @@
"name": "tldraw-vscode", "name": "tldraw-vscode",
"displayName": "tldraw", "displayName": "tldraw",
"description": "The tldraw Extension for VS Code.", "description": "The tldraw Extension for VS Code.",
"version": "1.11.3", "version": "1.12.0",
"license": "MIT", "license": "MIT",
"publisher": "tldraw-org", "publisher": "tldraw-org",
"repository": { "repository": {

View file

@ -25,8 +25,8 @@
"@sentry/react": "^6.13.2", "@sentry/react": "^6.13.2",
"@sentry/tracing": "^6.13.2", "@sentry/tracing": "^6.13.2",
"@stitches/react": "^1.2.5", "@stitches/react": "^1.2.5",
"@tldraw/core": "^1.9.1", "@tldraw/core": "^1.10.0",
"@tldraw/tldraw": "^1.11.1", "@tldraw/tldraw": "^1.12.0",
"@types/next-auth": "^3.15.0", "@types/next-auth": "^3.15.0",
"aws-sdk": "^2.1053.0", "aws-sdk": "^2.1053.0",
"next": "^12.0.7", "next": "^12.0.7",

View file

@ -34,8 +34,8 @@
"test": "turbo run test --stream", "test": "turbo run test --stream",
"test:ci": "turbo run test:ci --stream", "test:ci": "turbo run test:ci --stream",
"test:watch": "turbo run test:watch --stream", "test:watch": "turbo run test:watch --stream",
"docs": "turbo run typedoc", "docs": "turbo run docs",
"docs:watch": "turbo run typedoc --watch", "docs:watch": "turbo run docs --watch",
"postinstall": "husky install", "postinstall": "husky install",
"pretty-quick": "pretty-quick", "pretty-quick": "pretty-quick",
"clean": "turbo run clean" "clean": "turbo run clean"

View file

@ -1,5 +1,11 @@
# Changelog # Changelog
## 1.10.0
### Minor Changes
- This update changes how clipboard actions (cut, copy, paste) and exports work. Significantly, image exports are no longer handled via a server-side integration, and are instead handled locally on the client. This allows now for exports in the VS Code extension, as well as greatly simplifying exports for apps that embed the Tldraw React component.
## 1.9.1 ## 1.9.1
### Patch Changes ### Patch Changes

View file

@ -1,5 +1,5 @@
{ {
"version": "1.9.1", "version": "1.10.0",
"name": "@tldraw/core", "name": "@tldraw/core",
"description": "The tldraw core renderer and utilities.", "description": "The tldraw core renderer and utilities.",
"author": "@steveruizok", "author": "@steveruizok",

View file

@ -95,6 +95,7 @@ describe('When creating a minimal ShapeUtil', () => {
<Box.Component <Box.Component
ref={ref} ref={ref}
shape={boxShape} shape={boxShape}
bounds={Box.getBounds(boxShape)}
isEditing={false} isEditing={false}
isBinding={false} isBinding={false}
isHovered={false} isHovered={false}
@ -214,6 +215,7 @@ describe('When creating a realistic API around TLShapeUtil', () => {
<Box.Component <Box.Component
ref={ref} ref={ref}
shape={box} shape={box}
bounds={Box.getBounds(box)}
isEditing={false} isEditing={false}
isBinding={false} isBinding={false}
isHovered={false} isHovered={false}

View file

@ -7,6 +7,8 @@ describe('brush', () => {
test('mounts component without crashing', () => { test('mounts component without crashing', () => {
renderWithSvg( renderWithSvg(
<Brush <Brush
zoom={1}
dashed={false}
brush={{ brush={{
minX: 0, minX: 0,
maxX: 100, maxX: 100,
@ -23,6 +25,8 @@ describe('brush', () => {
test('validate attributes for brush component', () => { test('validate attributes for brush component', () => {
renderWithSvg( renderWithSvg(
<Brush <Brush
zoom={1}
dashed={false}
brush={{ brush={{
minX: 0, minX: 0,
maxX: 100, maxX: 100,

View file

@ -1,5 +1,16 @@
# Changelog # Changelog
## 1.12.0
### Minor Changes
- This update changes how clipboard actions (cut, copy, paste) and exports work. Significantly, image exports are no longer handled via a server-side integration, and are instead handled locally on the client. This allows now for exports in the VS Code extension, as well as greatly simplifying exports for apps that embed the Tldraw React component.
### Patch Changes
- Updated dependencies
- @tldraw/core@1.10.0
## 1.11.1 ## 1.11.1
### Patch Changes ### Patch Changes

View file

@ -1,6 +1,6 @@
{ {
"name": "@tldraw/tldraw", "name": "@tldraw/tldraw",
"version": "1.11.1", "version": "1.12.0",
"description": "A tiny little drawing app (editor)", "description": "A tiny little drawing app (editor)",
"author": "@steveruizok", "author": "@steveruizok",
"repository": { "repository": {
@ -49,7 +49,7 @@
"@radix-ui/react-radio-group": "^0.1.5", "@radix-ui/react-radio-group": "^0.1.5",
"@radix-ui/react-tooltip": "^0.1.7", "@radix-ui/react-tooltip": "^0.1.7",
"@stitches/react": "^1.2.8", "@stitches/react": "^1.2.8",
"@tldraw/core": "^1.9.1", "@tldraw/core": "^1.10.0",
"@tldraw/intersect": "^1.7.1", "@tldraw/intersect": "^1.7.1",
"@tldraw/vec": "^1.7.0", "@tldraw/vec": "^1.7.0",
"@types/lz-string": "^1.3.34", "@types/lz-string": "^1.3.34",

View file

@ -23,7 +23,7 @@
"start:vscode": { "start:vscode": {
"cache": false "cache": false
}, },
"typedoc": { "docs": {
"dependsOn": [ "dependsOn": [
"^build" "^build"
], ],