All notable changes to PDF-Helper will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Make sure
pdf_to_image()closes the PDF file it opens, preventing file-lock issues on Windows - Improve error handling for recipe cleanup and improve reporting
- Recipe system: run multi-step PDF workflows from YAML files
- 8 supported operations:
bundle,remove_pages,split_pdf,pdf_to_image,extract_text,watermark,encrypt,metadata - Step referencing with
input: { step: step_id }to pipe outputs - Template resolution (
{temp_dir}) in file paths - Input resolution from environment variables or interactive prompts
- Cleanup of temporary files via
cleanup_tempsetting
- 8 supported operations:
- New CLI subcommand:
pdf-helper run-recipe <recipe.yaml> [--force] [--verbose] encrypt_pdf()andset_metadata()API functions (raiseNotImplementedError, graceful pipeline fallback)- Example recipes in
examples/recipes/:remove-pages.yaml— remove pages from a PDFbundle-with-pages.yaml— bundle files with per-file page selectionsplit-convert-extract.yaml— split, convert to images, and extract textsecure-report-workflow.yaml— full multi-step pipeline with encryption and metadata
- Recipe JSON Schema at
schemas/recipe-schema.jsonfor YAML LSP support
- Windows file-lock issues: explicit
PdfDocumentreader/writer close inbundle(),remove_pages(), andsplit_pdf() - README: corrected
mergeCLI example tobundle