Skip to content

Releases: Hopding/pdf-lib

v1.17.1

06 Nov 22:31
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.17.0...v1.17.1

v1.17.0

16 Oct 21:23
Compare
Choose a tag to compare
  • Fix typo in docs (thanks @adrianjost!)
  • Make ImageAlignment publicly accessible (thanks @oktapodia!)
  • Create PDFDocument.copy() method (thanks @mohamedsalem401!)
  • Fix acrofield removal and flattening bug (thanks @Trapfether!)
  • Set P property on widgets created by pdf-lib (thanks @Trapfether!)
  • Create PDFPage.scale(), PDFPage.scaleContent(), and PDFPage.scaleAnnotations() methods (thanks @JNK90!)
  • Fix bug causing Helvetica font to be embedded unnecessarily (thanks @ssssota!)
  • Make random number generation deterministic across documents (thanks @ChingChang9!)

v1.16.0

27 Jan 01:11
Compare
Choose a tag to compare
  • Add getters/setters for all valid ViewerPreferences (thanks @mcshaz!):
  • Fix bug preventing PDFs with flattened forms from being printed (thanks @btecu!):
  • Add PDFTextField.setFontSize(...) method to PDFTextField and other field types (thanks @duffyd!):

v1.15.0

09 Jan 23:04
Compare
Choose a tag to compare
  • Add option to create hidden form fields (thanks @jbeuckm!):
  • Fix bug preventing some forms from being flattened (thanks @btecu!):
  • Fix bug causing rotated form fields to be flattened incorrectly (thanks @btecu!):
  • Update logic for updating PDFRadioGroup and PDFCheckBox appearance streams:

v1.14.1

30 Dec 00:07
Compare
Choose a tag to compare
  • Fix bug causing incorrect radio group appearance to be generated (thanks @btecu!):

v1.14.0

21 Dec 17:46
Compare
Choose a tag to compare

v1.13.0

06 Dec 20:09
Compare
Choose a tag to compare
  • Improve PDF-A3 and Factur-X support (thanks @DkDavid!):
  • Support forms with hex string default appearances (thanks @btecu!):
  • Fix issue with negative bounds when generating text field appearance streams (thanks @btecu!):

v1.12.0

15 Nov 15:49
Compare
Choose a tag to compare

v1.11.2

09 Oct 22:10
Compare
Choose a tag to compare
  • Fix handling of null PDFDict entries:
  • Fix bug causing errors to be thrown when filling forms with signature fields:

v1.11.1

15 Sep 23:54
Compare
Choose a tag to compare
  • Fix PDFField.acroField type bug
  • Set Print flag on new widget annotations so new fields are printed after being added to a page: