Releases: unidoc/unipdf
v3.17.0
UniPDF v3.17.0
UniPDF v3.17.0 is a new minor version release with multiple fixes and improvements.
- Metered license support has been added for users with SaaS metered API key licenses.
- Fixes in loading certain LZW encoded objects
- Added a timestamping client and improved reliability of testcases relying on timestamping servers.
- Text extraction improvements. Fixes a crash and improves extraction quality for certain cases.
- Fix regression where output images would appear as black boxes in certain cases
- Minor fix preventing overwriting AcroForm object
- Fix rendering regressions and add test coverage to avoid happening in the future
- Fix margins when adding images in series to Creator (creator package)
v3.16.0
UniPDF v3.16.0
New minor release of UniPDF contains new features.
New features:
- Improves the creator package, adding enhanced wrapping support for cells with long content so that they can wrap across pages. To enable this support, one calls the function:
func (table *Table) EnableRowWrap(enable bool) {
The row wrapping feature if off by default for backward compatibility but is enabled by setting the row wrap to true.
v3.15.0
UniPDF v3.15.0
New minor release of UniPDF contains new features.
New features:
- Support for custom document properties and metadata [USD-35, UP-111]
AddCustomInfo function for PdfInfo to set own custom properties.
New example for setting custom metadata: https://github.com/unidoc/unipdf-examples/blob/master/metadata/pdf_metadata_set_docinfo.go
Updated and simplified example for getting metadata: https://github.com/unidoc/unipdf-examples/blob/master/metadata/pdf_metadata_get_docinfo.go
v3.14.0
UniPDF v3.14.0
New minor release of UniPDF contains multiple new features, enhancements and bug fixes.
New features:
- Long-term validation LTV signature support [UP-13]
New examples: https://github.com/unidoc/unipdf-examples/tree/master/signatures/ltv
Enhancements:
- Allow customization of invoice address email and phone labels (creator) [UP-113]
- Export text orientation info in TextMark (extractor) [UP-98, USD-30]
- Add options for the AdobeX509RSASHA1 signature handler to enable disabling extra sign call [UP-82, USD-21]
- Improved functionality for getting and setting document information [UP-106, USD-35]
Added DocInfo, GetPdfInfo on reader, and SetDocInfo on writer
Fixes:
- Address issue where Info fields where not decrypted [UP-105, USD-35]
- Text encoding fixes in text/table extraction [UP-101, USD-33]
- Fixed bug in document metadata where setting modified date updated created date [UP-106, USD-34]
- Fix crashes and recursion loops found by fuzzing and test corpus [UP-83, UP-87, UP-110, UP-112]
- Various minor fixes found by linters [UP-100]
v3.13.0
Minor version v3.13.0 of UniPDF contains the following:
New features
- Support for adding digital signature appearance with an image, or a combination of image and text, with
a watermark option. [UP-61]
Example: pdf_image_sign_appearance.go
Fixes and enhancements
-
Fixed form field and annotation appearance generation to match handling by Acrobat Reader [USD-27].
NOTE: Output appearance of borders could change for some customers, but should match that of most common viewers. Recommend testing before going in production. -
Improved support for unicode emojis by supporting the relevant truetype font tables [UP-84]
-
Fix word wrap when filling form fields with multi line text [UP-85 USD-19]
-
Further improvements in table extractions [UP-86]
Addresses feedback in: #38 (comment) -
Creator
AddPage
handling updated to work better when applying creator content on top of rotated pages etc. [USD-20]
Makes it much more powerful to use the creator to apply content on top of arbitrary PDF files. The user can rely on the upper left corner always being in upper-left corner and consistent orientation with a PDF viewer.
NOTE: Could lead to strange results for users already manually accounting for page rotations with own code. Recommend testing before going into production.
v3.12.3
v3.12.2
This patch version 3.12.2 release of UniPDF contains the following fixes:
Fixes
- Fix in form field loading, better logic for differentiating non-terminal and terminal fields. Now properly handles linked fields.
- Further improvements in table processing and extraction in the extractor package
NOTE: The form field handling has been updated quite fundamentally but we have taken care to avoid regressions and done quite extensive testing. We recommend testing your code well while upgrading, especially if it works with fields.
v3.12.1
v3.12.0
UniPDF 3.12.0 contains both new features/enhancements (additions to export surface) as well as fixes.
New features and enhancements
- Added document timestamp signature handler option, which enables setting a fixed signature size instead of estimating it through the handler. This can save an extra call to the signature handler (and an extra API call if using an external handler).
Example:
sigLen := 6000 // Reserve 6000 bytes for signature.
handler, err := sighandler.NewDocTimeStampWithOpts(
testTimestampServerURL,
crypto.SHA512,
&sighandler.DocTimeStampOpts{SignatureSize: sigLen},
)
Fixes
- Improved page normalization function:
pdfutil.NormalizePage
. Now takes MediaBox and CropBox into account.
Updated documentation forcreator
AddPage
function to recommend callingpdfutil.NormalizePage
prior to adding a page to avoid any surprising offsets or rotations due to some non-default settings. - Fixes in image handling, particularly regarding transparency. There was a regression in transparency handling from updated image handling in v3.10.0, which this corrects, as well as we have much expanded our test coverage to better cover different kinds of images.