Skip to content

Releases: Hopding/pdf-lib

v1.11.0

13 Sep 20:29
Compare
Choose a tag to compare

v1.10.0

08 Aug 16:26
Compare
Choose a tag to compare
  • Add rotate option to PDFPage.drawEllipse and PDFPage.drawSvgPath (thanks @soadzoor!)
  • Add customName option to PDFDocument.embedFont and PDFDocument.embedStandardFont to allow deterministic output from PDFDocument.save (thanks @ztoben and @trevtrich!)

v1.9.0

26 Jun 23:26
Compare
Choose a tag to compare
  • Fix transparent PNG embedding bug (thanks @soadzoor!):
  • Add blendMode option to all PDFPage drawing methods (thanks @bockoblur!):
  • Add dashArray, dashPhase, borderDashArray, and borderDashPhase options to PDFPage drawing methods to allow control of dashes borders and lines (thanks @soadzoor!):
  • Add borderLineCap option to PDFPage drawing methods (thanks @soadzoor!):

v1.8.0

20 Jun 18:26
Compare
Choose a tag to compare
  • Add opacity and borderOpacity options to all page drawing methods (thanks @soadzoor!):
  • Handle indirect objects with objectNumber=0 when parsing:

v1.7.0

30 May 16:20
Compare
Choose a tag to compare

v1.6.1

25 May 15:57
Compare
Choose a tag to compare
  • Build and publish ESM bundle; Document Deno support:
  • Add capNumbers: boolean option to PDFDocument.load(...) to allow capping parsed numbers to Number.MAX_SAFE_INTEGER:
  • Fix PDFPage.drawLine(...) API to remove breaking change introduced in #437:

v1.6.0

16 May 15:55
Compare
Choose a tag to compare

v1.5.0

26 Apr 20:26
Compare
Choose a tag to compare

v1.4.1

07 Mar 16:59
Compare
Choose a tag to compare
  • Fix bug causing parser to fail when parsing empty dictionaries:
  • Fix bug causing index out of bounds error to be thrown when removing certain pages in certain documents:

v1.4.0

29 Feb 16:39
Compare
Choose a tag to compare