Skip to content

LearnKit 1.8.6

Latest

Choose a tag to compare

@ctrlaltwill ctrlaltwill released this 16 Oct 11:33
· 24 commits to main since this release

Release Date

2026-10-16

Summary

Version 1.8.6 fixes Anki import for exports made by Anki 2.1.62 and later, removes !important from the stylesheet in favour of a LearnKit-owned blur token, keeps preferences out of browser storage, and finishes the Sprout -> LearnKit rename across the UI, translations and payload markers. It also carries a large amount of internal work from the community-plugin review: the accessibility/API findings, the bundle size, and the build verification.


What's Changed

1.8.6 is 1.8.5 re-released under a fresh version number. 1.8.5's release was re-pointed while it was being set up, which left the community scan reading an inconsistent release; 1.8.6 gives it a clean target with the tag, manifest version and title all agreeing. No functional change.

Fixed

  • Anki import of a modern .apkg. An export from Anki 2.1.62+ carries the real collection in collection.anki21b (zstd-compressed SQLite) alongside a legacy collection.anki2 that contains only Anki's placeholder note ("Please update to the latest Anki version, then import the .colpkg/.apkg file again."). The importer read the first collection-like name in ZIP order, so that placeholder imported as one card. Databases are now ranked newest-first and the zstd container is inflated; a collection whose only note is Anki's placeholder is refused with an explanation instead of being imported.
  • Blur in translucent windows no longer needs !important. Every LearnKit surface reads var(--learnkit-blur, var(--blur-m, blur(14px))), and body.is-translucent switches --learnkit-blur to none. Identical result to 1.8.4, without an override flag that host themes would have to fight.
  • Nothing is written to browser storage. Preferences and caches moved fully into the plugin's own data file.
  • The custom-CSS hint in all seven languages pointed at .sprout-pretty-card.sprout-macro-custom, which no longer exists. It now names the real hooks: .learnkit-pretty-card.learnkit-macro-custom.

Changed

  • The last of the "Sprout" naming is gone from identifiers, UI text, CSS classes, translation keys and internal markers. Markers that match data written by older versions (sprout- card anchors, IO image filenames, legacy view types, pre-rebrand storage keys) are intentionally kept so existing vaults keep resolving.
  • npm ci installs cleanly again, and the release build verifies from the source archive exactly as the review builds it.

Notes

  • Full changelog: CHANGELOG.md.
  • 1.8.5 failed the Obsidian testing so this is a resubmission. 1.8.5 has subsequently been archived.