Skip to content

v0.24.0

Choose a tag to compare

@github-actions github-actions released this 30 Jun 07:09

What's New

Preview bulk edits with dry_run on update_notes

update_notes gains a dry_run=true option that runs the full per-entry validation pass (field names, note existence, ID validity) and reports which notes would be updated — without writing anything. Returns would_update/would_fail counts plus per-note status: "would_update" entries, mirroring the dry run delete_notes already had. Handy for safely previewing a large bulk edit before committing it.

delete_notes respects max_notes_per_batch

delete_notes no longer caps at a hardcoded 100 notes — it now honors the max_notes_per_batch config option like update_notes, add_notes, and notes_info. Raising that limit in your add-on config now applies to deletes too, and the error hint points at the config option.

(both above: #59 — thanks @klfk for your first contribution!)

Fix: startup crash when another add-on bundles an old packaging

On Anki 26.05+ (Python 3.13), if another add-on (for example AMBOSS) had already loaded an older packaging (≤ 20.9) into Anki's shared Python process, AnkiMCP's first-run pydantic_core download failed with No module named 'distutils' — even though AnkiMCP's own bundled packaging was perfectly fine and just never got used.

AnkiMCP now forces its own vendored packaging when selecting the download wheel, regardless of what other add-ons have loaded, and restores the other add-on's copy afterward (so nothing else breaks). Already-affected installs self-heal on the next launch. (#61)

Docs: connecting via Opencode

Added setup instructions for the Opencode terminal AI agent. (#60 — thanks @Marley-Mulvin-Broome!)

Install

  • AnkiWeb: Tools → Add-ons → Get Add-ons… → code 124672614
  • From this release: download the .ankiaddon below and double-click (or Tools → Add-ons → Install from file).

New Contributors

Full Changelog: v0.23.0...v0.24.0