Skip to content

Releases: caesarloo/render-api

Render API v0.1.21

28 Jun 15:38

Choose a tag to compare

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

28 Jun 15:01

Choose a tag to compare

v0.1.20 Release Notes

Chores

  • Release 产物精简为 Obsidian 三件套:main.jsmanifest.jsonstyles.css(参考 Vault SVN 方式)
  • versions.json 保留在仓库根目录,不包含在 Release 中

Render API v0.1.19

28 Jun 14:51

Choose a tag to compare

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

28 Jun 12:23

Choose a tag to compare

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

28 Jun 08:38

Choose a tag to compare

v0.1.17 Release Notes

Fixes

  • Fix community plugin review ERROR (RenderApiSettingTab.ts:48) — Added description to eslint-disable-next-line @typescript-eslint/ban-ts-comment directive explaining why @ts-ignore is required over @ts-expect-error (deprecation warnings are suppressed by @ts-ignore but not @ts-expect-error).

Render API v0.1.16

28 Jun 07:56

Choose a tag to compare

v0.1.16 Release Notes

Bug Fixes

  • Fix JSON.parse type safety (mcp-server.ts:93-94) — Added as { status?: string } type assertion to eliminate @typescript-eslint/no-unsafe-assignment and no-unsafe-member-access warnings.

  • Fix async event listener (RenderApiSettingTab.ts:21-42) — Wrapped addEventListener callback in void IIFE to avoid "Promise returned in function argument where a void return was expected" warning.

  • Suppress display() deprecation (RenderApiSettingTab.ts:65) — Added @ts-ignore with eslint-disable-next-line @typescript-eslint/ban-ts-comment to 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

28 Jun 07:04

Choose a tag to compare

v0.1.15 Release Notes

Chores

  • Convert require() to ESM imports in mcp-server.ts — Replaced require("node:fs") and require("node:child_process") with proper import * as fs / import * as cp, eliminating 4 @typescript-eslint/no-require-imports errors and all related no-unsafe-* warnings for the file.

  • Fix popout window compatibility in RenderApiSettingTab.ts — Changed setTimeout() to window.setTimeout() and document.createRange() to activeDocument.createRange() to satisfy Obsidian plugin ESLint rules.

  • Eliminated all ESLint errors0 errors, 15 warnings (all warnings are pre-existing test file warnings: no-explicit-any and no-unused-vars, both configured at warn level).

Render API v0.1.14

28 Jun 06:38

Choose a tag to compare

v0.1.14 Release Notes

Bug Fixes

  • Fix dataviewjs container.createEl is not a function — Expanded dv.* proxy to intercept span, el, paragraph, list, output methods, capturing their text output instead of attempting DOM creation in the headless HTTP rendering context. DataviewJS code using dv.span(), dv.el(), dv.paragraph(), dv.list(), or dv.output() now works correctly via the REST API.

Improvements

  • HTTP Server binds to 0.0.0.0 — Changed from 127.0.0.1 to 0.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 if 127.0.0.1 is unreachable.

Files Changed

  • src/services/renderService.ts — Expanded dv.* proxy handlers
  • src/services/apiService.ts — Changed bind address to 0.0.0.0
  • src/mcp-server.ts — Added WSL host auto-detection
  • eslint.config.mjs — Added mcp-server.ts to ignores
  • manifest.json, package.json, versions.json, README.md — Version bump

Render API v0.1.13

27 Jun 23:23

Choose a tag to compare

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 function runtime error — replaced getSettingDefinitions() with traditional display() method
  • Fixed all sentence-case and heading lint issues

Chores

  • Bump version to v0.1.13

Render API v0.1.12

27 Jun 17:19

Choose a tag to compare

v0.1.12

Fixes

  • Addressed Obsidian plugin review feedback:
    • Removed eslint-disable for sentence-case rule, using proper sentence case instead
    • Added description to eslint-disable comments
  • Updated release workflow to include mcp-server.js and versions.json

Chores

  • Bump version to v0.1.12