Changelog¶
Project changelog and release notes. Entries before the April 2026 rename refer
to the project by its old name, ebk, and use the command names of that time;
many of those commands have since been renamed or removed (see the
CLI Reference for the current surface).
Unreleased: book-memex (2026-04 onward)¶
Rename¶
ebkwas renamed to book-memex: packagebook_memex, console scriptbook-memex, GitHub repositoryqueelius/book-memex. Theebkcommand remains as a deprecation shim until after v1. The config file stays at~/.config/ebk/config.json.
memex ecosystem integration¶
- URI-addressable records (
book-memex://book/...,.../marginalia/...,.../reading/...) with position fragments. - Soft delete (
archived_at) across record tables;book deletearchives by default,--hardopts into physical deletion. - Marginalia (highlights, book notes, cross-book notes, collection notes) and reading sessions over REST and MCP.
- Per-segment content extraction (
book_content,book_content_fts), content search endpoints and MCP tools,extract,reindex-content, andreindex-metadatacommands. - Browser EPUB/PDF reader at
/read/{book_id}with vendored reader libraries. - arkiv export/import (
export arkiv,import arkiv) using thearkivpackage's bundle I/O, and the single-fileexport html-app. - MCP
get_recordandget_record_kinds(record-resolution contract), plus marginalia, reading, and content-search tools. servebinds loopback by default and requires--allow-remoteotherwise.
v0.5.1 (2026-03-13)¶
- Code quality fixes for the MCP module.
v0.5.0 (2026-03-13)¶
- Added the MCP server (
ebk mcp-serve) withget_schema,execute_sql, andupdate_books. - Removed the AI/LLM layer (including
ebk enrich), the interactive REPL shell, the VFS module, and the skills system, all superseded by MCP and the REST API.
v0.4.5 (2026-03-10)¶
Security Fixes¶
- SQL injection fix in Views DSL: Replaced bypassable keyword blocklist with defense-in-depth: read-only SQLite connections, authorizer callback whitelist (SELECT/READ/FUNCTION only), and multi-statement rejection
- CORS restriction: Server CORS policy restricted from wildcard (
*) to localhost origins only, preventing cross-origin attacks on the local library API - Gemini API key protection: Moved API key from URL query parameter (visible in logs/proxies) to
x-goog-api-keyheader; addedLLMConfig.__repr__with key redaction
Bug Fixes¶
Tag.full_pathAttributeError: Added missingfull_pathproperty to Tag model, fixing export failures for tagged books- Circular view references: Added cycle detection to Views DSL evaluator, preventing infinite recursion when views reference each other
- Missing migration: Added migration v7 for
viewsandview_overridestables, fixing upgrade path for existing databases
Improvements¶
- Gemini provider now uses native
system_instructionAPI field instead of fake user/model exchange - Extracted
_build_payload()in Gemini provider, eliminating duplicated payload construction - Hoisted SQLite authorizer constants to class level for better performance
- Removed tracked backup files (
cli.py.backup,cli.py.grouped-backup)
v0.4.4 (2025-10-13)¶
New Features¶
- Anthropic provider: Claude model support via
ebk/ai/llm_providers/anthropic.py - Gemini provider: Google Gemini model support via
ebk/ai/llm_providers/gemini.py - Open Library integration: Metadata lookup via Open Library API
- Echo export: New export format in
ebk/exports/echo_export.py - CITATION.cff: Added citation metadata file
Improvements¶
- Code simplification and cleanup across CLI, decorators, and config modules
- LLM provider deduplication and shared base class improvements
- Simplified decorators module
- Documentation cleanup: removed obsolete development docs
v0.4.3 (2025-01-03)¶
New Features¶
- Book Merge: Combine duplicate book entries into one
ebk book merge <primary_id> <secondary_ids>- Merge multiple books- Preserves all metadata, files, covers, tags, and annotations
-
--dry-runto preview changes,--delete-duplicatesto remove duplicate files -
Bulk Edit: Edit multiple books at once
ebk book bulk-edit --ids 1,2,3 --language en --add-tag Work- Select books via
--ids,--search, or--view -
Edit language, publisher, series, tags, subjects, rating, status, favorite
-
Goodreads Export: Export library for Goodreads import
ebk export goodreads ~/library ~/goodreads.csv- Includes ratings, reading status, bookshelves (tags)
-
Import at goodreads.com/review/import
-
Calibre Export: Export library for Calibre import
ebk export calibre ~/library ~/calibre.csv- Includes author_sort, identifiers, series info
Documentation¶
- Complete documentation overhaul
- Removed intermediate/internal docs (phase summaries, design docs)
- Updated index.md with current features and motivation
- Rewrote quickstart guide with current CLI commands
- Comprehensive import/export guide with all formats
- Updated Python API documentation
Improvements¶
- Views now support
--viewflag in all export commands - OPDS export supports file and cover copying
v0.3.1 (2025-01-14)¶
New Features¶
- 🔍 Advanced Search: Field-specific queries with boolean logic
- Field searches:
title:,author:,tag:,description:,text: - Filter fields:
language:,format:,rating:,favorite:,status: - Boolean operators:
AND(implicit),OR,NOT/-prefix - Rating comparisons:
rating:>=4,rating:3-5 - Phrase searches:
"exact phrase" - 📄 HTML Export Pagination: 50 books per page with navigation controls
- URL state tracking for bookmarkable pages
- Page numbers in URL query parameters
- Previous/Next buttons with page number links
- 📋 Cover Copying:
--copyflag now copies both files AND covers
Improvements¶
- Search parser with FTS5 column-specific queries (
title:term) - Author and subject filtering via SQL JOINs (not in FTS table)
- HTML export with URL-based state management (filters, search, page)
- Fixed
ExtractedText.contentattribute name (was incorrectly usingfull_text) - Added missing
Library.add_subject()method for metadata enrichment
Bug Fixes¶
- Fixed
ebk enrichcommand attribute error with extracted text - Fixed HTML export
--copynot copying cover images - Fixed field searches not working (FTS5 column prefixes)
Documentation¶
- Comprehensive search guide with all syntax and examples
- Updated README with advanced search features
- Import/export guide with pagination documentation
- Clear notes about HTML export limitations (client-side filtering only)
v0.3.0 (2025-01-XX)¶
New Features¶
- ✨ Configuration system at
~/.config/ebk/config.json - 🤖 LLM provider abstraction with Ollama support (local and remote)
- 🏷️ AI-powered metadata enrichment (tags, categories, descriptions, difficulty assessment)
- 🌐 Enhanced web server with config defaults and auto-open browser
- 📚 Complete documentation overhaul with mkdocs
Configuration System¶
- Centralized configuration management with
ebk configcommand - Four configuration sections:
llm,server,cli,library - Support for default library path
- Server host, port, and auto-open browser settings
- CLI defaults for verbosity and color output
LLM Integration¶
- Abstract
BaseLLMProviderinterface inebk/ai/llm_providers/ OllamaProviderwith local and remote supportMetadataEnrichmentServicefor intelligent metadata generationebk enrichcommand with selective enrichment options- Support for multiple models and temperature control
Server Updates¶
ebk servenow uses config defaults for library path, host, and port- Optional library path argument (uses config if not specified)
- Auto-open browser feature
- REST API improvements
Documentation¶
- New user guides: Configuration, LLM Features, Web Server, CLI Reference
- Updated README with quickstart and modern examples
- Deployed to GitHub Pages
Breaking Changes¶
ebk servelibrary path is now optional (uses config default)- Some CLI options renamed for consistency (e.g.,
--llm-*prefix)
Earlier Versions¶
See GitHub Releases for information about earlier versions.