Releases: vbuch/node-signpdf
Releases Β· vbuch/node-signpdf
v3.2.4
v3.2.3
@signpdf/signer-p12 3.2.1
Fix the JSDoc on P12Signer.sign (#224)
Full Changelog: v3.2.0...v3.2.1
@signpdf/* 3.2.0
[utils]
- Introduced
convertBuffer()
to allow inputs asBuffer
,Uint8Array
orstring
; - The
Signer
abstract class accepts an optionalsigningTime
; removeTrailingNewLine
would works for files with\r
,\n
or\r\n
;
[signpdf]
- Accepts
Buffer
,Uint8Array
orstring
as input;
[signer-p12]
- Accepts
Buffer
,Uint8Array
orstring
as input; - Respects
signingTime
as abstracted inSigner
;
[placeholder-pdf-lib]
- Accepts either a
PDFDoc
or aPDFPage
to allow adding the placeholder to a specific page rather than always the first one; - Accepts
signingTime
; - Includes an
AP
appearance stream for PDF/A compliance; - Accepts
appName
and includes it inProp_Build
to allow describing the signing application; - Does not require
{useObjectStreams: false}
;
[placeholder-pdfkit]
- Accepts
signingTime
; - Accepts
appName
and includes it inProp_Build
to allow describing the signing application;
[placeholder-pdfkit010]
- Accepts
signingTime
; - Accepts
appName
and includes it inProp_Build
to allow describing the signing application;
[placeholder-plain]
- Accepts
signingTime
; - Accepts
appName
and includes it inProp_Build
to allow describing the signing application;
Dependencies
- Bumped version of follow-redirects;
Merged PRs
- Web and pdflib enhancements by @dcbr in #219
- Bump follow-redirects from 1.15.3 to 1.15.4 by @dependabot in #221
- Pre 3.2.0 by @vbuch in #222
- EOF Error by @AviramBaranes in #217
New Contributors
- @dcbr made their first contribution in #219
- @AviramBaranes made their first contribution in #217
Full Changelog: placeholder-pdfkit-3.1.0...v3.2.0
@signpdf/placeholder-pdfkit 3.1.0
Introduce the package that uses PDFKit > 0.10 for adding a placeholder: https://www.npmjs.com/package/@signpdf/placeholder-pdfkit
@signpdf/* 3.1.0
- [utils] Added
SIG_FLAGS
andANNOTATION_FLAGS
to improve readability; - [utils] Reworked
findByteRange
to match in more cases where it was incompatible so far (it didn't allow optional spaces in the array). - [placeholder-pdfkit010] Uses
SIG_FLAGS
andANNOTATION_FLAGS
instead of magic numbers; - [placeholder-pdfkit010] Allow passing in
widgetRect
to override the default[0, 0, 0, 0]
one; - [placeholder-plain] Allow passing in
widgetRect
to override the default[0, 0, 0, 0]
one; - [placeholder-pdf-lib] Introduce the package that uses PDF-LIB for adding a placeholder;
- [signpdf] Use the BR position
findByteRange
provides to spare a search for it; - [signpdf] Reexports the
Signer
base (abstract) class andSignPdfError
; - [examples] Introduce an example that provides a visible widget (implemented with pdfkit);
- [examples] Introduce a
placeholder-pdf-lib
example; - Bumped version of axios;
@signpdf/* 3.0.0
- Deprecating
node-signpdf
to be replaced by the@signpdf
scoped packages; - Split the helpers into separate packages
@signpdf/placeholder-pdfkit010
and@signpdf/placeholder-plain
; - Decoupled the signing algorythm and the PDF signing process. Now
@signpdf/signpdf
understands PDFs and@signpdf/signer-p12
understands P12 andnode-forge
; - sign() is now async to allow for hooking different signers;
- placeholder helpers now require
contactInfo
,location
andname
which used to be optional; - Introduced examples in
packages/examples
; - Introduced more types declarations through TS and JSDoc;