Skip to content

v0.21.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 21:34
· 3 commits to main since this release
412684e
  • The config file creates and maintains itself. A SessionStart hook (hooks/sync-config)
    runs once per plugin version, on the first Claude Code start after an install or update.
    Without ~/.config/youtrack-task/config.toml it creates the file from config.example.toml,
    so you start from one file with every option. With one, it appends the options the new version
    added (commented out, with their comment, placed before any [table] header so they still work when uncommented) and removes the ones it dropped, judged against a
    snapshot of the previous example. Your own values, keys and comments are never touched, a
    config.toml.bak is written before any change, and one line tells you what happened. An
    unchanged version exits at once; read-config stays read-only. The first update after
    adopting this removes nothing, because there is no earlier snapshot.
  • tests/sync-config.sh covers create, no-op, add, prune, idempotence, backup, the
    [type_prefix] block, the real example and the read-only case.