Skip to content

v0.4.1

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Apr 10:29
· 1 commit to main since this release

Patch release focused on vault-local config and better non-interactive behavior.

Highlights

  • Add .carddown/config.toml support for persistent defaults.
  • Merge config with precedence: CLI > config > built-in defaults.
  • Support [storage].state_dir to keep SQLite DB, WAL/SHM, and lock files outside the vault.
  • Preserve legacy JSON auto-migration from vault-local .carddown/ into the resolved state path.
  • Improve integration coverage for config merge, external state dir, and non-TTY paths.
  • Restore visible default values in CLI help for config-backed flags.
  • Make audit a clean no-op when there are no orphaned or leech cards, even in non-TTY runs.

Example config

[storage]
state_dir = "../carddown-state"

[scan]
file_types = ["md", "txt", "org"]

[revise]
maximum_cards_per_session = 30
maximum_duration_of_session = 20
leech_failure_threshold = 15
leech_method = "skip"
algorithm = "sm5"
reverse_probability = 0.0

Upgrade notes

  • No breaking changes.
  • Existing vaults continue to work without config.
  • If state_dir is set, new SQLite state is written there while config and legacy JSON migration source remain under .carddown/.