diff --git a/manifest.json b/manifest.json index a23d0b2..776592a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-excalidraw-plugin", "name": "Excalidraw", - "version": "1.7.5", + "version": "1.7.6", "minAppVersion": "0.15.3", "description": "An Obsidian plugin to edit and view Excalidraw drawings", "author": "Zsolt Viczian", diff --git a/package.json b/package.json index afb3186..882935f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-excalidraw-plugin", - "version": "1.6.33", + "version": "1.7.6", "description": "This is an Obsidian.md plugin that lets you view and edit Excalidraw drawings", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -18,19 +18,19 @@ "license": "MIT", "dependencies": { "@types/lz-string": "^1.3.34", - "@zsviczian/excalidraw": "0.11.0-obsidian-24", + "@zsviczian/excalidraw": "0.11.0-obsidian-25", "clsx": "^1.1.1", "lz-string": "^1.4.4", "monkey-around": "^2.3.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^17.0.2", + "react-dom": "^17.0.2", "react-scripts": "^5.0.1", "roughjs": "^4.5.2" }, "devDependencies": { "@babel/core": "^7.16.12", "@babel/preset-env": "^7.16.11", - "@babel/preset-react": "^7.18.6", + "@babel/preset-react": "^7.16.7", "@excalidraw/eslint-config": "1.0.0", "@excalidraw/prettier-config": "1.0.2", "@popperjs/core": "^2.11.5", @@ -41,7 +41,7 @@ "@rollup/plugin-typescript": "^8.3.0", "@types/js-beautify": "^1.13.3", "@types/node": "^15.12.4", - "@types/react-dom": "^18.0.5", + "@types/react-dom": "^17.0.2", "@zerollup/ts-transform-paths": "^1.7.18", "cross-env": "^7.0.3", "eslint-config-prettier": "8.3.0", diff --git a/src/dialogs/Messages.ts b/src/dialogs/Messages.ts index b8f59b7..e04657e 100644 --- a/src/dialogs/Messages.ts +++ b/src/dialogs/Messages.ts @@ -17,6 +17,21 @@ I develop this plugin as a hobby, spending most of my free time doing this. If y
`, +"1.7.6": ` +This release is the same as 1.7.5 except for two minor fixes +- a fix for ExcaliBrain, becuase 1.7.5 broke ExcaliBrain. +- I left out the release note from 1.7.5. + +# New +- Deployed sidebar for libraries panel from excalidraw.com ([#5274](https://github.com/excalidraw/excalidraw/pull/5274)). You can dock the library to the right side depending on the screen real estate available (i.e. does not work on mobiles). + +# Fixed +- When copying 2 identical images from one drawing to another, the second image got corrupted in the process ([#672]https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/672)). +- When making a copy of an equation in a drawing and then without first closing/opening the file, immediately copying the new equation to another drawing, the equation did not get displayed until the file was closed and reopened. +- Copying a markdown embed from one drawing to another, in the destination the markdown embed appeared without the section/block reference and without the width & height (i.e. these settings had to be done again) +- Improved the parsing of section references in embeds. When you had ${String.fromCharCode(96)}&${String.fromCharCode(96)} in the section name in a markdown file, when embedding that markdown document into Excalidraw, the section reference did not work as expected ([#681 ](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/681)). +- Improved the logic for autosave to better detect changes to the document, and to reduce too frequent export of ${String.fromCharCode(96)}.png${String.fromCharCode(96)} and/or ${String.fromCharCode(96)}.svg${String.fromCharCode(96)} files, when auto export is enabled in plugin settings. +`, "1.7.5": ` # New - Deployed sidebar for libraries panel from excalidraw.com ([#5274](https://github.com/excalidraw/excalidraw/pull/5274)). You can dock the library to the right side depending on the screen real estate available (i.e. does not work on mobiles). diff --git a/versions.json b/versions.json index fe37e02..2d5dab6 100644 --- a/versions.json +++ b/versions.json @@ -1,5 +1,5 @@ { - "1.7.5": "0.15.3", + "1.7.6": "0.15.3", "1.7.2": "0.15.2", "1.6.34": "0.12.16", "1.4.2": "0.11.13" diff --git a/yarn.lock b/yarn.lock index f514ba7..f34fd6e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -978,7 +978,7 @@ "@babel/types" "^7.4.4" "esutils" "^2.0.2" -"@babel/preset-react@^7.12.5", "@babel/preset-react@^7.16.0", "@babel/preset-react@^7.18.6": +"@babel/preset-react@^7.12.5", "@babel/preset-react@^7.16.0", "@babel/preset-react@^7.16.7": "integrity" "sha512-zXr6atUmyYdiWRVLOZahakYmOBHtWc2WGCkP8PYTgZi0iJXDY2CN180TdrIW4OGOAdLc7TifzDIvtx6izaRIzg==" "resolved" "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.18.6.tgz" "version" "7.18.6" @@ -1861,14 +1861,14 @@ "resolved" "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz" "version" "1.2.4" -"@types/react-dom@^18.0.5": - "integrity" "sha512-OWPWTUrY/NIrjsAPkAk1wW9LZeIjSvkXRhclsFO8CZcZGCOg2G0YZy4ft+rOyYxy8B7ui5iZzi9OkDebZ7/QSA==" - "resolved" "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.5.tgz" - "version" "18.0.5" +"@types/react-dom@^17.0.2": + "integrity" "sha512-VjnqEmqGnasQKV0CWLevqMTXBYG9GbwuE6x3VetERLh0cq2LTptFE73MrQi2S7GkKXCf2GgwItB/melLnxfnsg==" + "resolved" "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.17.tgz" + "version" "17.0.17" dependencies: - "@types/react" "*" + "@types/react" "^17" -"@types/react@*": +"@types/react@^17": "integrity" "sha512-Xt40xQsrkdvjn1EyWe1Bc0dJLcil/9x2vAuW7ya+PuQip4UYUaXyhzWmAbwRsdMgwOFHpfp7/FFZebDU6Y8VHA==" "resolved" "https://registry.npmjs.org/@types/react/-/react-17.0.2.tgz" "version" "17.0.2" @@ -2216,10 +2216,10 @@ dependencies: "@zerollup/ts-helpers" "^1.7.18" -"@zsviczian/excalidraw@0.11.0-obsidian-24": - "integrity" "sha512-qcPbig8AtMP+NVBhdm1F+/tpqr3ByOD3GN9UX5euG3jESVJO6orx5bqXKhNNPQm/yFWwgeKV58ho3raONGjmgQ==" - "resolved" "https://registry.npmjs.org/@zsviczian/excalidraw/-/excalidraw-0.11.0-obsidian-24.tgz" - "version" "0.11.0-obsidian-24" +"@zsviczian/excalidraw@0.11.0-obsidian-25": + "integrity" "sha512-x9DCHsXPfG7px+peO2Z9z4hoHTROSA6cMtuzzvNeiFVgAtEjRBjIgHxJy8bP9axm720btGqgS6iDTWUZ2YS/FA==" + "resolved" "https://registry.npmjs.org/@zsviczian/excalidraw/-/excalidraw-0.11.0-obsidian-25.tgz" + "version" "0.11.0-obsidian-25" dependencies: "dotenv" "10.0.0" @@ -7432,13 +7432,14 @@ "strip-ansi" "^6.0.1" "text-table" "^0.2.0" -"react-dom@^17.0.2", "react-dom@^18.2.0": - "integrity" "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==" - "resolved" "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz" - "version" "18.2.0" +"react-dom@^17.0.2": + "integrity" "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==" + "resolved" "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz" + "version" "17.0.2" dependencies: "loose-envify" "^1.1.0" - "scheduler" "^0.23.0" + "object-assign" "^4.1.1" + "scheduler" "^0.20.2" "react-error-overlay@^6.0.11": "integrity" "sha512-/6UZ2qgEyH2aqzYZgQPxEnz33NJ2gNsnHA2o5+o4wW9bLM/JYQitNP9xPhsXwC08hMMovfGe/8retsdDsczPRg==" @@ -7515,12 +7516,13 @@ optionalDependencies: "fsevents" "^2.3.2" -"react@^17.0.2", "react@^18.2.0", "react@>= 16": - "integrity" "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==" - "resolved" "https://registry.npmjs.org/react/-/react-18.2.0.tgz" - "version" "18.2.0" +"react@^17.0.2", "react@>= 16", "react@17.0.2": + "integrity" "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==" + "resolved" "https://registry.npmjs.org/react/-/react-17.0.2.tgz" + "version" "17.0.2" dependencies: "loose-envify" "^1.1.0" + "object-assign" "^4.1.1" "readable-stream@^2.0.1": "integrity" "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==" @@ -7855,12 +7857,13 @@ dependencies: "xmlchars" "^2.2.0" -"scheduler@^0.23.0": - "integrity" "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==" - "resolved" "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz" - "version" "0.23.0" +"scheduler@^0.20.2": + "integrity" "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==" + "resolved" "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz" + "version" "0.20.2" dependencies: "loose-envify" "^1.1.0" + "object-assign" "^4.1.1" "schema-utils@^2.6.5": "integrity" "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg=="