Repository navigation
v1.4.0
Openshelf v1.4.0
This release is centered on a ground-up rework of book search: structured multi-field queries, work/edition browsing, progressive results, and a much sturdier metadata pipeline across all three providers. It also adds Russian and German, and swaps out the stats grid.
Book search, rebuilt
Search is no longer a single text box. You can now query by title, author, publisher and ISBN at once; ISBN and publisher fields are toggled on demand, with clear buttons and barcode-scanner integration. When a valid ISBN is entered, the title and author inputs are visually dimmed, since the ISBN takes precedence. Results go through a two-phase pipeline (eligibility filtering, then ranking) which noticeably improves precision, and publisher constraints now prune candidates that don't match.
Results stream in progressively as each source answers, with a linear progress indicator while the rest load, instead of waiting for the slowest server. Searches can be cancelled mid-flight.
Work and edition browsing
Works with multiple editions now open into a dedicated editions view, so you can pick the specific edition you own rather than the first one a provider returns. Editions are sorted by your preferred language, cover availability and year. This is wired up for Open Library, Google Books and Inventaire, with fallbacks to alternate work keys when a provider's primary results are thin. The book form also prefills more from a selected result: description, translation toggles and physical format (#27).
Provider improvements
- Google Books: progressive fallback strategies and retry logic for transient API errors; ISBN-13 preferred and ISBN inputs sanitized; four-digit publish-year extraction;
edge=curlstripped from cover URLs. - Open Library: automatic edition resolution, better language parsing that favors your locale, cleaner work-key handling, and language mappings for some languages.
- Inventaire: work-edition and edition-count resolution, Wikidata title claims and publishers in metadata extraction, better language detection and sorting, and shared HTTP clients across requests.
- Fixed branching logic when fetching work editions.
Translations
Added Russian and German, both selectable in Appearance settings. French, Italian, Catalan and Portuguese (pt_BR / pt_PT) receive substantial updates, and Estonian, Japanese, Romanian and Turkish are underway on Weblate. Missing keys were filled across the ARB files, and invalid placeholder translations were cleaned out. Thanks to everyone contributing on Weblate!
Stats
The reorderable stats grid now uses span_grid in place of reorderable_staggered_grid_view, laying the groundwork for smoother drag-and-drop, animated reflow and live preview. This is a custom library created for Openshelf use case, but it can fit other projects too, check it out if you want! The average-completion tile's parameter type was also corrected.
Removed
The experimental Anna's Archive integration and the annas_archive_client dependency have been removed from search, cover search and settings. The anti bot features of Cloudflare made the provider almost useless.
Housekeeping
Updated roadmap screenshot, minor dependency updates (file_selector_macos, shared_preferences_android), and new unit tests covering search eligibility and ranking, Open Library edition fetching, Google Books, and the search controller.
The founder of XERJ has also reached out to me and asked for the commit Enhance Google Books search, work edition fetching, and API resilience to be indexed in their hub. I am glad this project is turning out to be something people in the FOSS community can use ㋡
Full Changelog: v1.3.1...v1.4.0