Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

All notable changes to this project will be documented in this file.

## [0.4.5] - 2025-11-11

### Added

- **πŸ” New `search` command**
- Allows searching books by title, author, editor, genre, or language.
- Usage:
```bash
librius search "dune"
librius search "frank herbert" --short
```
- Supports both full (`BookFull`) and compact (`BookShort`) table views.
- Integrated with i18n for localized output messages and help text.

### Changed

- Unified search output with `print_info`, `print_ok`, and `print_warn` for consistent message style.
- Renamed `commands/search.rs` β†’ `commands/search_book.rs` to avoid ambiguous glob re-exports.
- Refactored `search_books()` in `db/search.rs` to remove redundant closure for Clippy compliance.

---

## [0.4.1] - 2025-10-22

### Added
Expand Down
72 changes: 34 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 6 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "librius"
version = "0.4.1"
version = "0.4.5"
edition = "2024"
authors = ["Alessandro Maestri <umpire274@gmail.com>"]
description = "A personal library manager CLI written in Rust."
Expand All @@ -10,15 +10,6 @@ homepage = "https://github.com/umpire274/librius"
repository = "https://github.com/umpire274/librius"
keywords = ["books", "library", "cli", "sqlite", "manager"]
categories = ["command-line-utilities", "database", "data-structures", "rust-patterns"]
exclude = [
"target/*",
".idea/*",
".github/*",
".gitignore",
"config/*",
"*.sh",
"*.bat",
]
build = "build.rs"

[package.metadata.bundle]
Expand All @@ -27,20 +18,20 @@ identifier = "eu.umpire274.librius"
icon = ["res/librius.png"]

[dependencies]
clap = { version = "4.5.48", features = ["derive"] }
clap = { version = "4.5.51", features = ["derive"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
once_cell = "1.21.3"
chrono = { version = "0.4.42", features = ["serde"] }
serde_yaml = "0.9.33"
rusqlite = { version = "0.37.0", features = ["bundled"] }
rusqlite = { version = "0.37.0", features = ["bundled", "chrono"] }
colored = "3.0.0"
zip = { version = "6.0.0", optional = true }
flate2 = { version = "1.1.4", optional = true }
flate2 = { version = "1.1.5", optional = true }
tar = { version = "0.4.44", optional = true }
dirs = "6.0.0"
umya-spreadsheet = "2.3.3"
csv = "1.3.1"
csv = "1.4.0"
tabled = "0.20.0"
reqwest = { version = "0.12.24", features = ["blocking", "json"] }
isbn2 = "0.4.0"
Expand All @@ -53,7 +44,7 @@ flate2 = "1.1.4"
tar = "0.4.44"

[build-dependencies]
winresource = "0.1.23"
winresource = "0.1.27"

[profile.release]
opt-level = 3
Loading