Release v0.4.1 – Add delete command with confirmation, --force flag, and logging #15

Merged
umpire274 merged 6 commits from v0.4.1 into main 2025-10-21 16:15:23 +02:00
umpire274 commented 2025-10-21 16:12:58 +02:00 (Migrated from github.com)

What's new in v0.4.1

🗑️ Delete Command

  • Introduced a new del <ID|ISBN> command to remove books from the database.
  • Supports hybrid detection for both numeric IDs and ISBN codes.
  • Added interactive confirmation prompt to prevent accidental deletions.
  • Implemented --force flag for non-interactive or scripted deletions.

🧾 Logging

  • All deletions are now recorded via the existing write_log() function for traceability.
  • Log entries specify whether the action was confirmed or forced.

🌍 Localization

  • Added English and Italian translations for all del command messages.
  • Updated CLI help strings accordingly.

🧰 Developer Notes

  • The new command fully integrates with the i18n system and existing database layer.
  • CI/CD workflow unchanged; Windows builds continue to embed icons correctly.
## ✨ What's new in v0.4.1 ### 🗑️ Delete Command - Introduced a new `del <ID|ISBN>` command to remove books from the database. - Supports hybrid detection for both numeric IDs and ISBN codes. - Added interactive confirmation prompt to prevent accidental deletions. - Implemented `--force` flag for non-interactive or scripted deletions. ### 🧾 Logging - All deletions are now recorded via the existing `write_log()` function for traceability. - Log entries specify whether the action was *confirmed* or *forced*. ### 🌍 Localization - Added English and Italian translations for all `del` command messages. - Updated CLI help strings accordingly. ### 🧰 Developer Notes - The new command fully integrates with the i18n system and existing database layer. - CI/CD workflow unchanged; Windows builds continue to embed icons correctly.
Sign in to join this conversation.
No description provided.