Skip to content

v7.10.0

Choose a tag to compare

@sysid sysid released this 06 Nov 16:07
· 103 commits to main since this release

Breaking: exit codes changed

Scripts can now tell a usage error from a runtime failure. Check any script that tests for a specific bkmr exit code.

Code Meaning Before
0 Success
1 Valid command, but the operation failed 64
64 Usage error or invalid config file Argument parser errors exited 2
65 import-files found a duplicate name without --update Unchanged
130 Declined confirmation 0 or 64

Leaving the fuzzy finder with Esc still exits 0.

Fixes

  • import-files now fails on a missing path instead of logging a warning and exiting 0. With --delete-missing, a mistyped path could otherwise treat its bookmarks as deleted.
  • An unknown bookmark ID in add --clone is now reported as a runtime failure rather than invalid input.

Other changes

  • Declining clear-embeddings now prints Error: Command execution failed: Operation aborted by user instead of Aborted.
  • Developer docs were corrected against the code. See ERROR_HANDLING.md for the exit code rules.

Full Changelog: v7.9.1...v7.10.0