From 8071a2888b7fe3d87c43a8ef352bcda9b039d36d Mon Sep 17 00:00:00 2001 From: zsviczian Date: Sun, 2 Feb 2025 22:43:35 +0100 Subject: [PATCH] 2.8.2 --- manifest-beta.json | 2 +- manifest.json | 2 +- package-lock.json | 8 +++---- package.json | 5 ++--- src/core/managers/CommandManager.ts | 1 + src/shared/Dialogs/Messages.ts | 34 +++++++++++++---------------- 6 files changed, 24 insertions(+), 28 deletions(-) diff --git a/manifest-beta.json b/manifest-beta.json index ba76b84..5f19aee 100644 --- a/manifest-beta.json +++ b/manifest-beta.json @@ -1,7 +1,7 @@ { "id": "obsidian-excalidraw-plugin", "name": "Excalidraw", - "version": "2.8.2-beta-1", + "version": "2.8.2", "minAppVersion": "1.1.6", "description": "An Obsidian plugin to edit and view Excalidraw drawings", "author": "Zsolt Viczian", diff --git a/manifest.json b/manifest.json index 1aa1417..d657505 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-excalidraw-plugin", "name": "Excalidraw", - "version": "2.8.1", + "version": "2.8.2", "minAppVersion": "1.1.6", "description": "An Obsidian plugin to edit and view Excalidraw drawings", "author": "Zsolt Viczian", diff --git a/package-lock.json b/package-lock.json index 6e56a98..ec9c7fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@popperjs/core": "^2.11.8", "@zsviczian/colormaster": "^1.2.2", - "@zsviczian/excalidraw": "0.17.6-29", + "@zsviczian/excalidraw": "0.17.6-30", "chroma-js": "^2.4.2", "clsx": "^2.0.0", "es6-promise-pool": "2.5.0", @@ -3336,9 +3336,9 @@ "license": "MIT" }, "node_modules/@zsviczian/excalidraw": { - "version": "0.17.6-29", - "resolved": "https://registry.npmjs.org/@zsviczian/excalidraw/-/excalidraw-0.17.6-29.tgz", - "integrity": "sha512-4UpAk1JGlHacjr3pyIhBU6e5+tgSggSq0+FhHEYPbeahLUAhnLXnpSLZUpEXTaftO4xooXOOvObB6BG/cfjaRA==", + "version": "0.17.6-30", + "resolved": "https://registry.npmjs.org/@zsviczian/excalidraw/-/excalidraw-0.17.6-30.tgz", + "integrity": "sha512-yNbq3kj4Ya+m0Y9bJ08/YNmI49vxO4nxq1SS4uhD/Q3hny1ENR+S9+V+BQai20GRH67msB5RWApdwj60yN5IYQ==", "dependencies": { "@braintree/sanitize-url": "6.0.2", "@excalidraw/random-username": "1.1.0", diff --git a/package.json b/package.json index 04fc574..57c22d0 100644 --- a/package.json +++ b/package.json @@ -16,15 +16,14 @@ "build:mathjax": "cd MathjaxToSVG && npm run build", "build:all": "npm run build:mathjax && npm run build", "dev:mathjax": "cd MathjaxToSVG && npm run dev", - "dev:all": "npm run dev:mathjax && npm run dev", - "build:lang": "node ./scripts/compressLanguages.js" + "dev:all": "npm run dev:mathjax && npm run dev" }, "keywords": [], "author": "", "license": "MIT", "dependencies": { "@popperjs/core": "^2.11.8", - "@zsviczian/excalidraw": "0.17.6-30", + "@zsviczian/excalidraw": "0.17.6-31", "chroma-js": "^2.4.2", "clsx": "^2.0.0", "@zsviczian/colormaster": "^1.2.2", diff --git a/src/core/managers/CommandManager.ts b/src/core/managers/CommandManager.ts index 8e6d290..1f5fb4e 100644 --- a/src/core/managers/CommandManager.ts +++ b/src/core/managers/CommandManager.ts @@ -166,6 +166,7 @@ export class CommandManager { const fileMenuHandlerCreateNew = (menu: Menu, file: TFile) => { menu.addItem((item: MenuItem) => { item + .setSection('action-primary') .setTitle(t("CREATE_NEW")) .setIcon(ICON_NAME) .onClick((e) => {createNewAction(e, file)}); diff --git a/src/shared/Dialogs/Messages.ts b/src/shared/Dialogs/Messages.ts index 93fea4e..41f7c71 100644 --- a/src/shared/Dialogs/Messages.ts +++ b/src/shared/Dialogs/Messages.ts @@ -17,6 +17,21 @@ I develop this plugin as a hobby, spending my free time doing this. If you find
Buy Me a Coffee at ko-fi.com
`, +"2.8.2":` +## New +- Moved "Create new drawing" option up in the context menu [#2243](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/2243) + +## Fixed +- In rare cases drawing content gets overwritten with another drawing [#2152](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/2152) +- "Wrap selection in frame" sets dark mode to light mode [#2240](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/2240) +- Multiple bug fixes from Excalidraw.com + - Elbow arrows within boxes [#9077](https://github.com/excalidraw/excalidraw/issues/9077) + - Elbow arrow orthogonality [#9073](https://github.com/excalidraw/excalidraw/pull/9073) + - Improve library sidebar performance [#9060](https://github.com/excalidraw/excalidraw/pull/9060) + - Opacity slider now displays numerical value [#9009](https://github.com/excalidraw/excalidraw/pull/9009) + - Resize a frame and its children together when box selecting the frame and its children together [#9031](https://github.com/excalidraw/excalidraw/pull/9031) + - Excalidraw screen flickering in dark mode [#9057](https://github.com/excalidraw/excalidraw/pull/9057) +`, "2.8.1":` ## Fixed - Unable to open Excalidraw files after the 2.8.0 update. [#2235](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/2235) @@ -260,24 +275,5 @@ ${String.fromCharCode(96,96,96)} - Hover-Editor compatibility resolved [2041](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/2041) - ${String.fromCharCode(96)}ExcalidrawAutomate.create() ${String.fromCharCode(96)} will now correctly include the markdown text in templates above Excalidraw Data and below YAML front matter. This also fixes the same issue with the **Deconstruct Selected Element script**. -`, -"2.6.7":` -Hoping to finally move on to 2.7.0... but still have one last bug to fix in 2.6.x! - -## Fixed -I misread a line in the Excalidraw package code... ended up breaking image loading in 2.6.6. The icon library script didn't work right, and updating nested drawings caused all images in the scene to be dropped from memory. This led to image-placeholders in exports and broke copy-paste to Excalidraw.com and between drawings. I am surprised no one reported it! 😳 -`, -"2.6.6":` -## Fixed -- Images and LaTeX formulas did not update in the scene when the source was changed until the Excalidraw drawing was closed and reopened. [#2105](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/2105) -`, -"2.6.5":` -## Fixed -- Text sizing issue in the drawing that is first loaded after Obsidian restarts [#2086](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/2086) -- Excalidraw didn't load if there was a file in the Excalidraw folder with a name that starts the same way as the Scripts folder name. [#2095](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/2095) -- **OVERSIZED EXCALIDRAW TOOLBAR**: Added a new setting under "Excalidraw Appearance and Behavior > Theme and Styling" called "Limit Obsidian Font Size to Editor Text." This setting is off by default. When enabled, it restricts Obsidian's custom font size adjustments to editor text only, preventing unintended scaling of Excalidraw UI elements and other themes that rely on the default interface font size. Feel free to experiment with this setting to improve Excalidraw UI consistency. However, because this change affects the broader Obsidian UI, it's recommended to turn it off if any layout issues arise. [#2087](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/2087)`, -"2.6.4":` -## Fixed -- Error saving when cropping images embedded from a URL (not from a file in the Vault) [#2096](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/2096) `, };