|
| 1 | +Changelog |
| 2 | +========= |
| 3 | + |
| 4 | +All notable changes to PDF-Helper will be documented in this file. |
| 5 | + |
| 6 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), |
| 7 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 8 | + |
| 9 | +[0.3.0] |
| 10 | +------- |
| 11 | + |
| 12 | +### Added |
| 13 | + |
| 14 | +- Recipe system: run multi-step PDF workflows from YAML files |
| 15 | + - 8 supported operations: `bundle`, `remove_pages`, `split_pdf`, `pdf_to_image`, |
| 16 | + `extract_text`, `watermark`, `encrypt`, `metadata` |
| 17 | + - Step referencing with `input: { step: step_id }` to pipe outputs |
| 18 | + - Template resolution (`{temp_dir}`) in file paths |
| 19 | + - Input resolution from environment variables or interactive prompts |
| 20 | + - Cleanup of temporary files via `cleanup_temp` setting |
| 21 | +- New CLI subcommand: `pdf-helper run-recipe <recipe.yaml> [--force] [--verbose]` |
| 22 | +- `encrypt_pdf()` and `set_metadata()` API functions (raise `NotImplementedError`, |
| 23 | + graceful pipeline fallback) |
| 24 | +- Example recipes in `examples/recipes/`: |
| 25 | + - `remove-pages.yaml` — remove pages from a PDF |
| 26 | + - `bundle-with-pages.yaml` — bundle files with per-file page selection |
| 27 | + - `split-convert-extract.yaml` — split, convert to images, and extract text |
| 28 | + - `secure-report-workflow.yaml` — full multi-step pipeline with encryption and metadata |
| 29 | +- Recipe JSON Schema at `schemas/recipe-schema.json` for YAML LSP support |
| 30 | + |
| 31 | +### Fixed |
| 32 | + |
| 33 | +- Windows file-lock issues: explicit `PdfDocument` reader/writer close in `bundle()`, |
| 34 | + `remove_pages()`, and `split_pdf()` |
| 35 | +- README: corrected `merge` CLI example to `bundle` |
0 commit comments