Releases: Hopding/pdf-lib
Releases · Hopding/pdf-lib
v1.3.2
23 Feb 01:25
Compare
Sorry, something went wrong.
No results found
Switch PNG decoding library from png-ts to @pdf-lib/upng to support all PNG formats:
Update parser to handle PDFs with missing newline after binary comment:
v1.3.1
01 Jan 17:35
Compare
Sorry, something went wrong.
No results found
Fix bug causing jumbled text when copying to clipboard in certain PDF readers:
Export decodePDFRawStream:
Fix bug preventing document from being saved when it has no pages and addDefaultPage is set to true:
v1.3.0
23 Dec 00:52
Compare
Sorry, something went wrong.
No results found
Add option to throw error when invalid objects are parsed (thanks @jwoodrow ):
Add PDFDocument.setLanguage method to set the document's language metadata (thanks @Mogztter):
Remove const enum to support TypeScript projects using the --isolatedModules flag:
v1.2.1
19 Oct 14:20
Compare
Sorry, something went wrong.
No results found
Prevent naming conflicts when embedding large numbers of images (Thanks @thebenlamm !):
Include parent Resources when normalizing pages:
v1.2.0
09 Oct 02:32
Compare
Sorry, something went wrong.
No results found
Add document metadata methods and UTF-16 helpers (thanks @PlushBeaver !):
Add PDFPage.drawSvgPath(...) method (thanks @jlmessenger !):
v1.1.1
25 Sep 23:20
Compare
Sorry, something went wrong.
No results found
Add PDFPage.drawLine(...) method (Thanks @samezyane !):
Support automatic text wrapping for PDFPage.drawText(...) with maxWidth and wordBreaks options (Thanks @multiplegeorges , @GerardSmit , and @vicary !):
Handle undefined refs when copying PDF objects (Thanks @mlecoq !):
Handle parsing updated PDFs missing EOL after EOF marker:
v1.0.1
04 Aug 17:56
Compare
Sorry, something went wrong.
No results found
Fix bug causing PDFDocument.getPageCount() to return undefined:
v1.0.0
28 Jul 00:47
Compare
Sorry, something went wrong.
No results found
This release is a complete rewrite of pdf-lib.
This rewrite was extensive, touching every part of the library. Here is a high-level overview of the changes and improvements:
A new high level API
Much faster parser
More robust parser
Smaller bundle size (you must now opt-in to using fontkit if you use custom fonts)
Better handling of encrypted documents
Improved automated test coverage
Improved manual test coverage
New project site (https://pdf-lib.js.org )
Improved documentation
Improved examples
Cleaner build system
Async APIs to avoid blocking the event loop (especially important for client-side usage)
Cleaner project/code structure
v0.6.4
21 Jul 00:05
Compare
Sorry, something went wrong.
No results found
Support copying pages with missing Parent entries.
Fix name decoding bug.
Handle parsing streams with invalid stream keyword EOLs.
v0.6.3
02 Jun 14:23
Compare
Sorry, something went wrong.
No results found
Fix serialization of numbers with large fractional parts. Thanks @mlecoq !
Remove dictionary key validation. Thanks @mlecoq !