V0.4.0 #14
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
umpire274/librius!14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "v0.4.0"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
[0.4.0] - 2025-10-18
Added
New command
add book:New command
edit book:title,author,editor,year,language,pages,genre,summary,room,shelf,row,position), excluding ID and ISBN."en" → "English") usinglang_code_to_name().EDITABLE_FIELDSdefinition infields.rs.display_order()andnext_help_heading():✅ Field "year" updated successfully (2018 → 2020)."✅ Book 9788820382698 successfully updated (2 fields modified).""✅ Libro 9788820382698 aggiornato correttamente (2 campi modificati)."Integrated dynamic i18n support for all CLI help messages (
add,edit,book,isbn).Added automatic language name resolution (e.g.,
"it"→"Italian").New utility module
utils/lang.rsfor ISO 639-1 to language name conversion.New utility module
utils/isbn.rs:normalize_isbn()helper for validation and bidirectional formatting.Localized console messages for book lookup, edition, and insertion results.
Changed
add.rs,add_book.rs, andedit_book.rsundersrc/commands/.addandeditcommands.impl Defaultblocks with idiomatic#[derive(Default)].listcommand usingnormalize_isbn()for readable hyphenated output.cli.rs) with ordered, grouped, and localized help output for all commands."edit.book.updated.one"and"edit.book.updated.many"inen.json/it.json.Fixed
volumeInfo,publishedDate,pageCount)."Book already present in your library").