UNPKG

node-signpdf

Version:
78 lines (49 loc) 2.09 kB
# CHANGELOG ## [1.4.1] * Added support for overriding signature SubFilter value allowing the creation of PAdES compliant signatures; * Added linting to CI; * Bump dependencies; * Removed Travis integration in favor of GitHub Actions; ## [1.3.3] * plainAddPlaceholder: Fixed loss of PDF metadata when adding placeholder; * Export helpers from root; * Bumped dependencies; ## [1.3.2] * Fixed detection of ByteRange (including when it is a placeholder); * Bumped node-forge version; ## [1.3.0] * Allow pdfkitAddPlaceholder to receive custom location, contactInfo, name; * Fixed duplicate startxref in some PDFs; * Fixed AcroForm ID extraction; * Updated dependencies; ## [1.2.3] * Fixed the opposite of 1.2.2's fix: adding placeholder failed when there were no previous /Annots. ## [1.2.2] * Fixed an issue in plainAddPlaceholder that used to fail when the source PDF already contained /Annots. ## [1.2.1] * Fixed the logo for display in npmjs.com. ## [1.2.0] * `removeTrailingNewLine` removes both `\r` and `\n`. * Simplified regex that finds page dictionary ref. * Introduced the logo. ## [1.1.0] * `plainAddPlaceholder` creates an incremental change to allow signing a document multiple times. ## [1.0.1, 1.0.2] * Republish to fix messed up `latest` tag ## [1.0.0] * Removed signature verification as it is an incomplete implementation * Split helpers as they became a huge piece of code * Renamed `addSignaturePlaceholder` to `pdfkitAddPlaceholder` * Implemented `plainAddPlaceholder` that works without pdfkit but with string/Buffer operations instead * Started this CHNAGELOG * Switched from npm to yarn * Upgraded dependencies due to vulnerabilities ## [0.3.2] * Fixed the ByteRange-matching regex ## [0.3.1] * Fixed ByteRange logic in extractSignature * Updated the way the page dictionary is refernced to make it work with both pdfkit 0.8 and 0.9 * Upgraded dependencies due to vulnerabilities ## [0.3.0] * Added signature verification * Extracted helpers out to make them reusable