Skip to content

Releases: unidoc/unipdf

v3.17.0

08 Jan 08:37
e9c91fb
Compare
Choose a tag to compare

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

07 Dec 11:11
5608326
Compare
Choose a tag to compare

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

24 Nov 11:06
898f496
Compare
Choose a tag to compare

UniPDF v3.15.0

New minor release of UniPDF contains new features.

New features:

v3.14.0

12 Nov 08:34
e189fab
Compare
Choose a tag to compare

UniPDF v3.14.0

New minor release of UniPDF contains multiple new features, enhancements and bug fixes.

New features:

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

19 Oct 16:58
ecf8fc0
Compare
Choose a tag to compare

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

13 Oct 09:42
83fe969
Compare
Choose a tag to compare

Patch version v3.12.3 of UniPDF contains the following:

Fixes and enhancements

  • Improved speed and memory usage of drawing creator blocks to pages. [USD-8]
  • Enhanced table extraction: More intelligent handling of rulings between cells. [UP-81]

v3.12.2

06 Oct 14:08
11f32c8
Compare
Choose a tag to compare

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

29 Sep 14:09
6ea4d72
Compare
Choose a tag to compare

UniPDF v3.12.1 is a patch version which contains few fixes.

Fixes

  • pdfutil.NormalizePage updated to normalize MediaBox and CropBox to give consistent results
  • Improvements in table processing and extraction in the extractor package

v3.12.0

22 Sep 00:43
9cbf29c
Compare
Choose a tag to compare

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 for creator AddPage function to recommend calling pdfutil.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.

v3.11.1

14 Sep 14:49
13c908a
Compare
Choose a tag to compare

UniPDF release v3.11.1 includes:

  • Table extraction quality and testing improvements, including fix for #38
  • Support for more SHA signature algorithms, fixes #401
  • Added pdfutil NormalizePage function to simplify normalization of page rotation