Releases: caesarloo/render-api
Render API v0.1.21
v0.1.21 Release Notes
Changes
- minAppVersion 降回 1.7.2 — 所有版本的最低 Obsidian 版本统一为 1.7.2(与 v0.1.3 和 Vault SVN 一致)。
SettingDefinitionItem改为import type消除运行时依赖,getSettingDefinitions()在 <1.13.0 版本中不会被调用(回退到display())。
Render API v0.1.20
v0.1.20 Release Notes
Chores
- Release 产物精简为 Obsidian 三件套:
main.js、manifest.json、styles.css(参考 Vault SVN 方式) versions.json保留在仓库根目录,不包含在 Release 中
Render API v0.1.19
v0.1.19 Release Notes
Fixes
- Restored
versions.json— Required by the Obsidian community plugin marketplace to determine version compatibility. Without it, users see "No appropriate version found." when installing.
Render API v0.1.18
v0.1.18 Release Notes
Chores
- Removed
versions.json— Deleted from repo, removed from Release artifacts. Release now only contains Obsidian's required three files:main.js,manifest.json,styles.css.
Render API v0.1.17
v0.1.17 Release Notes
Fixes
- Fix community plugin review ERROR (
RenderApiSettingTab.ts:48) — Added description toeslint-disable-next-line @typescript-eslint/ban-ts-commentdirective explaining why@ts-ignoreis required over@ts-expect-error(deprecation warnings are suppressed by@ts-ignorebut not@ts-expect-error).
Render API v0.1.16
v0.1.16 Release Notes
Bug Fixes
-
Fix
JSON.parsetype safety (mcp-server.ts:93-94) — Addedas { status?: string }type assertion to eliminate@typescript-eslint/no-unsafe-assignmentandno-unsafe-member-accesswarnings. -
Fix async event listener (
RenderApiSettingTab.ts:21-42) — WrappedaddEventListenercallback invoidIIFE to avoid "Promise returned in function argument where a void return was expected" warning. -
Suppress
display()deprecation (RenderApiSettingTab.ts:65) — Added@ts-ignorewitheslint-disable-next-line @typescript-eslint/ban-ts-commentto suppress the TypeScript deprecation warning while maintaining backward compatibility with Obsidian <1.13.0.
Chores
- All ESLint warnings/errors resolved: 0 errors, 15 warnings (all pre-existing test file warnings)
Render API v0.1.15
v0.1.15 Release Notes
Chores
-
Convert
require()to ESM imports inmcp-server.ts— Replacedrequire("node:fs")andrequire("node:child_process")with properimport * as fs/import * as cp, eliminating 4@typescript-eslint/no-require-importserrors and all relatedno-unsafe-*warnings for the file. -
Fix popout window compatibility in
RenderApiSettingTab.ts— ChangedsetTimeout()towindow.setTimeout()anddocument.createRange()toactiveDocument.createRange()to satisfy Obsidian plugin ESLint rules. -
Eliminated all ESLint errors —
0 errors, 15 warnings(all warnings are pre-existing test file warnings:no-explicit-anyandno-unused-vars, both configured atwarnlevel).
Render API v0.1.14
v0.1.14 Release Notes
Bug Fixes
- Fix dataviewjs
container.createEl is not a function— Expanded dv.* proxy to interceptspan,el,paragraph,list,outputmethods, capturing their text output instead of attempting DOM creation in the headless HTTP rendering context. DataviewJS code usingdv.span(),dv.el(),dv.paragraph(),dv.list(), ordv.output()now works correctly via the REST API.
Improvements
-
HTTP Server binds to
0.0.0.0— Changed from127.0.0.1to0.0.0.0, allowing WSL/Linux environments running alongside Obsidian on Windows to access the REST API via the Windows host IP or WSL vEthernet gateway. -
MCP Server WSL auto-detection — The MCP stdio server (
mcp-server.js) now automatically detects WSL environments and tries the Windows host IP (via default gateway, DNS nameserver, or PowerShell LAN IP query) as a fallback if127.0.0.1is unreachable.
Files Changed
src/services/renderService.ts— Expanded dv.* proxy handlerssrc/services/apiService.ts— Changed bind address to0.0.0.0src/mcp-server.ts— Added WSL host auto-detectioneslint.config.mjs— Added mcp-server.ts to ignoresmanifest.json,package.json,versions.json,README.md— Version bump
Render API v0.1.13
v0.1.13
New
- Copy button on MCP configuration code blocks in settings page (one-click copy for Hermes Agent and Claude Desktop config)
Fixes
- Fixed
e.display is not a functionruntime error — replacedgetSettingDefinitions()with traditionaldisplay()method - Fixed all sentence-case and heading lint issues
Chores
- Bump version to v0.1.13
Render API v0.1.12
v0.1.12
Fixes
- Addressed Obsidian plugin review feedback:
- Removed eslint-disable for
sentence-caserule, using proper sentence case instead - Added description to eslint-disable comments
- Removed eslint-disable for
- Updated release workflow to include mcp-server.js and versions.json
Chores
- Bump version to v0.1.12