Skip to content

Fix minAppVersion: declared 1.0.0, but uses a 1.1.0 API - #53

Merged
Amato21 merged 1 commit into
masterfrom
fix-min-app-version
Aug 2, 2026
Merged

Fix minAppVersion: declared 1.0.0, but uses a 1.1.0 API#53
Amato21 merged 1 commit into
masterfrom
fix-min-app-version

Conversation

@Amato21

@Amato21 Amato21 commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes an obsidianmd/no-unsupported-api lint error: manifest.json declared minAppVersion: "1.0.0", but HistoryManagerModal's delete button uses ButtonComponent.setIcon()/.setTooltip() (src/modals/history-manager-modal.ts:73-75), both introduced in Obsidian 1.1.0. On Obsidian 1.0.x those calls would throw at runtime.

Verified it's the only such usage in the codebase (grep -rn "setIcon\|setTooltip" src/).

Changes

  • manifest.json: minAppVersion 1.0.01.1.0
  • versions.json: "0.9.8" entry 1.0.01.1.0 (0.9.8 hasn't been released yet, so amending in place rather than bumping to a new version)
  • CHANGELOG.md: added a Fixed entry under [0.9.8]

Verification

  • 723/723 tests passing, tsc, and npm run build all clean.

Generated by Claude Code

ButtonComponent.setIcon()/setTooltip() (history manager's delete
button, added in the 0.9.71 history-management feature) were both
introduced in Obsidian 1.1.0 -- manifest.json's minAppVersion still
said 1.0.0, which the obsidianmd/no-unsupported-api linter flagged.
Only usage in the codebase; no other API exceeds 1.0.0.

0.9.8 hasn't been released yet, so its versions.json entry is amended
in place rather than bumping to a new plugin version.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011AnUmNKkH1y4ZAEPKF1WwQ
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@Amato21
Amato21 merged commit 647fa6b into master Aug 2, 2026
2 checks passed
@Amato21 Amato21 mentioned this pull request Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants