Skip to content

Releases: addozhang/obsidian-image-upload-toolkit

1.6.4

Choose a tag to compare

@github-actions github-actions released this 21 May 02:06

What's Changed

  • fix: surface upload failures and harden AWS-family credentials (#58) by @addozhang in #81

Full Changelog: 1.6.3...1.6.4

1.6.3

Choose a tag to compare

@addozhang addozhang released this 19 May 00:43

Changes

Codebase lint cleanup — no functional changes. Verified via E2E (multi-store upload + mermaid round-trip + 13 supplemental scenarios).

Refactors

  • Replace dynamic require() with static ESM imports in uploader builder (#76) — bundle 659 KB → 596 KB
  • Add type annotations to UploaderUtils (#77)
  • Type the ImageKit upload response (#78)
  • Centralize error.message extraction in errorUtils (#79)
  • Clear remaining lint warnings (#80)

Quality

  • ESLint: 137 errors → 0
  • All 71 unit tests pass
  • Real-world E2E: Aliyun OSS, AWS S3, ImageKit, Tencent COS, mermaid conversion all verified

1.6.2

Choose a tag to compare

@github-actions github-actions released this 18 May 23:31
f0778ae

What's Changed

  • Compliance batch 1: minAppVersion, release attestation, ESLint setup by @addozhang in #59
  • Compliance batch 2: DOM correctness (multi-window APIs, innerHTML removal) by @addozhang in #60
  • Compliance batch 3: 行内样式迁移到 styles.css by @addozhang in #61
  • Compliance batch 5: Promise 卫生 by @addozhang in #62
  • Compliance batch 4: migrate aws-sdk v2 to v3 modular client by @addozhang in #63
  • Compliance batch 4b: replace ali-oss with requestUrl + inline V1 signing by @addozhang in #64
  • perf: replace qiniu SDK with requestUrl + inline Kodo signing by @addozhang in #71
  • Compliance batch 4d: replace cos-nodejs-sdk-v5 with requestUrl + inline signing by @addozhang in #66
  • chore: remove unused imagekit dependency by @addozhang in #67
  • refactor: apply sentence case to UI text by @addozhang in #68
  • docs: add Network use and privacy disclosure by @addozhang in #69
  • fix: send Imgur uploads as base64 form body by @addozhang in #70
  • fix(cos): do not set Host header in requestUrl by @addozhang in #72
  • docs: document CDP-based E2E testing workflow by @addozhang in #73
  • docs: check CDP E2E scripts into scripts/e2e/ by @addozhang in #74

Full Changelog: 1.6.1...1.6.2

1.6.1

Choose a tag to compare

@github-actions github-actions released this 08 May 05:26

What's Changed

New Contributors

Full Changelog: 1.6.0...1.6.1

1.6.0

Choose a tag to compare

@github-actions github-actions released this 23 Mar 02:17

What's Changed

New Contributors

Full Changelog: 1.5.1...1.6.0

1.5.1

Choose a tag to compare

@github-actions github-actions released this 21 Mar 13:46

Full Changelog: 1.5.0...1.5.1

1.5.0

Choose a tag to compare

@github-actions github-actions released this 20 Mar 02:51

⚡ Performance Optimization

Lazy-load uploader modules for faster startup

Previously, all 9 storage provider SDKs (Imgur, GitHub, AWS S3, Aliyun OSS, TencentCloud COS, Qiniu Kodo, ImageKit, Cloudflare R2, Backblaze B2) were loaded at Obsidian startup — even though only one provider is used at a time. This release defers SDK loading until the user actually triggers a publish, significantly reducing plugin startup time.

Changes

  • Lazy-load all uploader modules — converted 9 static imports to dynamic require() inside each provider's switch case, so only the configured provider's SDK is loaded on publish (imageUploaderBuilder.ts)
  • Type-only imports — converted 8 setting type imports in publish.ts to import type, preventing unnecessary module loading at startup
  • Added unit testing infrastructure — 64 tests with vitest covering image tag processing, mermaid processing, web image downloading, uploader utils, and more
  • 🔧 Fixed release workflow — corrected multi-line YAML syntax in the Build step

Full Changelog: 1.4.0...1.5.0

1.4.0

Choose a tag to compare

@addozhang addozhang released this 19 Mar 15:07

What's New in 1.4.0

✨ Features

  • Mermaid diagram conversion — Automatically convert mermaid code blocks to PNG images during publish
    • Configurable scale factor (1-4x, default 2) for image quality
    • Configurable theme (default/dark/forest/neutral/base)
    • Mermaid source blocks preserved in original document
  • Backblaze B2 storage support — New cost-effective storage provider

🐛 Fixes

  • Fixed double-upload of mermaid-generated images when "Upload web images" is enabled
  • Fixed B2 MIME type detection and URL derivation
  • Added ImageKit URL validation guard

🔧 Improvements

  • Migrated ImageKit from SDK to Obsidian's built-in requestUrl API
  • Reorganized settings UI into logical sections (General, Mermaid, Storage, Advanced)
  • State-based double-upload prevention using Set<string> tracking

1.3.0

Choose a tag to compare

@github-actions github-actions released this 31 Jan 09:09
Release 1.3.0 - Add Backblaze B2 support

1.2.1

Choose a tag to compare

@github-actions github-actions released this 18 Jan 05:00
Release 1.2.1 - Fix relative attachment path resolution