Repository navigation
2.2.0 snapshot - #1
Merged
Merged
Conversation
- Upgrade document integrity hash from 64-bit SHAKE-256 to full 32-byte SHA-256. - Print full SHA-256 digest in the PDF header for human verification. - Add structured verification mode (verify_qr_pdf, /verify, and qrdm verify) reporting named check flags without writing files. - Add minimal-page mode (minimal_mode) showing only filename, hash, and page numbers. - Add standalone command-line interface (qrdm encode/decode/verify). - Add strict validation mode rejecting NUL bytes, size overages, and binary signatures. - Add support for detecting and optionally rejecting foreign/unexplained barcodes. - Add automated regression tests for degraded scans (rotation, blur, JPEG loss). - Add security threat model documentation (docs/source/threat_model.md). - Add offline bundle creation script (scripts/create_offline_bundle.sh). - Bump version to 2.2.0 in __init__.py, pyproject.toml, and CHANGELOG.md.
…ification - Add 'photo' and 'flatbed' presets in encode_qr_pdf, CLI, and REST endpoint. - 'flatbed' preset packs up to 12 codes/page (double capacity) for high-res scanners. - 'photo' preset produces larger codes with Quartile ECC for mobile phone cameras. - Drop Python 3.9 (past EOL) and require Python >= 3.10 in pyproject.toml. - Publish full QRDM format specification (docs/source/format_specification.md). - Add unit tests for preset encoding, capacity, and decoding.
…ntation - Update FastAPI pinning from hard-pinned 0.109 to >= 0.115.0 and modernize all dependency versions in pyproject.toml. - Format all source, tests, and ui code using black and ruff with 0 lint errors. - Exclude generated protobuf code from ruff and black. - Update Sphinx documentation for backend endpoints (/verify, presets, minimal_mode), frontend controls, and API references. - Verify full test suite passes (30/30 passed) and documentation builds cleanly.
…d PyPI publish - Add ci.yml: runs black formatting, ruff linting, and pytest matrix across Python 3.10, 3.11, and 3.12 with zbar. - Add release.yml: triggers on merge to main, parses clean release version from SNAPSHOT branch/commit (e.g. 2.2.0), tags v<version>, creates GitHub Release with CHANGELOG notes and distribution assets, builds and deploys latest docs to GitHub Pages (gh-pages), and publishes package to PyPI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
2.2.0 - 2026-11-05
Added
verify_qr_pdf//verify/qrdm verify): Non-destructive document verification reporting named check flags (payload_valid,hash_matches,code_count_correct,no_unexpected_codes,missing_codes).qrdm): Zero-dependency CLI entrypoint withencode,decode, andverifysubcommands.minimal_mode): Suppresses verbose captions, body text, and footers, rendering only filename, truncated SHA-256, and page numbers.0x00), payload size overages, and binary executable/archive signatures (ZIP, DOCX/XLSX/PPTX, OLE2, ELF, PE, PDF).reject_unexpected_codes).QRDecodeErrornow tracks and reports exact missing sequence indices viamissing_codes.include_timestamp=Falseto omit UTC timestamp and produce bit-identical deterministic PDFs.docs/source/threat_model.md.conf/nginx/generate_certs.shand removed committed sample private keys from repository.scripts/create_offline_bundle.shfor air-gapped environments.Changed
include_text=Falseby default).fitzimport topymupdfto silence deprecation warnings.libzbaron macOS (/opt/homebrew,/opt/miniconda3, etc.).Security
server-key.pem) and certificate from git history.