Skip to content

Conversation

@umpire274
Copy link
Owner

✨ 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.

… workflow

- Replaced manual windres usage with winresource for reliable cross-platform builds.
- Added librius.ico to res/ and updated build.rs accordingly.
- Adjusted GitHub Actions Windows job to ensure MSVC toolchain compatibility.
- Added cross-platform build scripts (build_all.sh / build_all.bat).
- Added PowerShell and Bash scripts to verify submodule sync status.
- Improved developer workflow consistency across platforms.
…ersion

- Pulled latest developer utilities and shared scripts.
- Ensured compatibility with current Librius toolchain.
- Verified synchronization via check_submodule scripts.
…and write_log integration

- New `librius del <ID|ISBN>` command supports hybrid ID/ISBN detection.
- Added confirmation prompt before deletion and `--force` flag to bypass it.
- All deletions are recorded using the existing `write_log()` utility.
- Localized help and messages for English and Italian.
@umpire274 umpire274 self-assigned this Oct 21, 2025
@umpire274 umpire274 merged commit 00f891d into main Oct 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants