From 24332baba7f1827adba27bd788e2425cdbe52c25 Mon Sep 17 00:00:00 2001 From: Michael Naumov Date: Wed, 21 Aug 2024 23:47:52 -0600 Subject: [PATCH] 4.8.0 --- CHANGELOG.md | 104 ++++++++++++++++++++++++++++++++++++++++++++++ manifest.json | 4 +- package-lock.json | 4 +- package.json | 2 +- versions.json | 3 +- 5 files changed, 111 insertions(+), 6 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..3e0fc87 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,104 @@ +# CHANGELOG + +## 4.8.0 + +- Switch to obsidian-dev-utils +- Add obsidian/app + +## 4.7.0 + +- Use proper path for chmod + +## 4.6.0 + +- Make binary runnable in Linux + +## 4.5.0 + +- Fix absolute paths in Linux + +## 4.4.0 + +- Fix installing from scratch + +## 4.3.0 + +- Download esbuild binaries based on the platform +- Proper handle for circular dependencies in ESM + +## 4.2.0 + +- Better fix for circular dependency + +## 4.1.0 + +- Handle circular dependencies +- Fix relative path + +## 4.0.0 + +- Add vault-root based require +- Add currentScriptPath to dynamicImport +- Support code blocks with more than 3 backticks +- Fix resolve for non-relative paths +- Register dynamicImport +- Use babel to support top level await +- Fix esbuild binary suffix + +## 3.4.2 + +- Ensure settings are loaded before patching require + +## 3.4.1 + +- Register code-button block earlier during load + +## 3.4.0 + +- Fix require absolute paths + +## 3.3.0 + +- Proper check for `require(".script.ts")` + +## 3.2.1 + +- Show notice when settings saved + +## 3.2.0 + +- Update README + +## 3.1.0 + +- Download esbuild dependencies + +## 3.0.0 + +- Watch script folder changes +- Enable code highlighting +- Check for script existence +- Process all scripts from the config folder +- Ensure stacktrace is accurate +- Reload config on every invoke to ensure latest dependency +- Fix timestamp check +- Fix circular dependencies +- Register code block +- Allow both CommonJS and ESM configs +- Add hotkeys button +- Add save button +- Fix immutability +- Fix performance for missing module +- Make dependency check reliable +- Add support for evaled dv.view() +- Invalidate cache if script changed +- Properly manage nested require +- Add support for local cjs + +## 2.0.0 + +- Simplify to use Module.require, expose builtInModuleNames + +## 1.0.1 + +- Initial version diff --git a/manifest.json b/manifest.json index 3b16362..f7f322f 100644 --- a/manifest.json +++ b/manifest.json @@ -1,8 +1,8 @@ { "id": "fix-require-modules", "name": "Fix Require Modules", - "version": "4.7.0", - "minAppVersion": "0.15.0", + "version": "4.8.0", + "minAppVersion": "1.6.7", "description": "Fixes require() calls, supporting JavaScript and TypeScript modules, enabling easy invocation, and adding code buttons for enhanced scripting capabilities", "author": "mnaoumov", "authorUrl": "https://github.com/mnaoumov/", diff --git a/package-lock.json b/package-lock.json index 01e334d..89e481f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "fix-require-modules", - "version": "4.7.0", + "version": "4.8.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "fix-require-modules", - "version": "4.7.0", + "version": "4.8.0", "license": "MIT", "devDependencies": { "@babel/core": "^7.24.7", diff --git a/package.json b/package.json index 2d469e2..b015068 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fix-require-modules", - "version": "4.7.0", + "version": "4.8.0", "description": "Fixes require() calls, supporting JavaScript and TypeScript modules, enabling easy invocation, and adding code buttons for enhanced scripting capabilities", "scripts": { "build": "tsx scripts/build.ts", diff --git a/versions.json b/versions.json index 1bb5101..65454c1 100644 --- a/versions.json +++ b/versions.json @@ -17,5 +17,6 @@ "4.4.0": "0.15.0", "4.5.0": "0.15.0", "4.6.0": "0.15.0", - "4.7.0": "0.15.0" + "4.7.0": "0.15.0", + "4.8.0": "1.6.7" }