Changelog for Processor

RSS

2023.11.1 09 Apr 2024

  • Changed
    Updates various dependencies.

2023.11.0 21 Nov 2023

See the announcement post.

  • Changed
    Updates GdPicture to v14.2.49.
  • Changed
    Updates HarfBuzz to 8.2.2. (J#CORE-275)
  • Fixed
    Fixes an issue where loading link annotations may incorrectly log an error. (J#CORE-281)
  • Fixed
    Fixes an issue where opening a PDF failed due to failure_parsing_content_tree. (J#CORE-278)
  • Fixed
    Fixes an issue where text annotations imported from XFDF may not render correctly. (J#CORE-279)
  • Fixed
    Fixes an issue where the wrong rich text was rendered. (J#CORE-315)
  • Fixed
    Fixes border style selection for shape annotations in Instant JSON when strokeDashArray is not present. (J#CORE-270)

2023.10.0 25 Oct 2023

  • Changed
    Updates GdPicture to v14.2.47. (#0)
  • Changed
    Updates the default signature watermark for signed documents. (J#WEB-308)
  • Fixed
    Fixes XFDF export of dashed borders when cloudy borders were previously set. (J#CORE-185)
  • Fixed
    Fixes an error 'Assertion failed: Annotation ID is already known' which may happen when opening a document. (J#WEB-233)
  • Fixed
    Fixes an issue where image conversion in trial mode might have failed with missing image conversion license. (#42106)
  • Fixed
    Fixes an issue where measurement properties weren't correctly applied when importing XFDF. (J#CORE-225)
  • Fixed
    Fixes an issue with the util.scand and util.printd functions of the Adobe PDF JavaScript API, which in some cases returned the wrong result. (J#CORE-271)

2023.9.1 5 Oct 2023

  • Changed
    Updates Chromium to 117.0.5938.62 to fix CVE-2023-4863. (#42122)
  • Changed
    Updates Chromium to 117.0.5938.132.
  • Changed
    Updates GdPicture to v14.2.44.

2023.9.0 27 Sep 2023

  • Added
    Adds configuration for specifying font substitutions. (J#SERVER-159)
  • Changed
    Improves memory usage on pages with a lot of vector graphics. (J#CORE-210)
  • Fixed
    Fixes an issue where embedded files were not transferred when using certain operations in the Build API. (J#CORE-205)
  • Fixed
    Fixes an issue where some color was lost when redacting documents. (J#CORE-201)
  • Fixed
    Fixes the unsetting of annotation flags via Instant JSON. (J#CORE-183)
  • Changed
    Updates GdPicture to v14.2.43. (#42095)
  • Changed
    Updates libwebp to 1.3.2. (J#CORE-230)
  • Changed
    Updates the HarfBuzz library to 8.2.1. (J#CORE-229)

2023.8.0 28 Aug 2023

  • Added
    Adds support for changing the overlay text or fill color in the createRedactions action. (J#CORE-54)
  • Changed
    Improves HTML to PDF Rendering Performance. (J#SERVER-202)
  • Fixed
    Fixes an issue when redacting images with a mask referencing a color. (#41558)
  • Fixed
    Fixes an issue where certain PDF documents couldn't be opened in Adobe Acrobat after flattening some form annotations. (J#CORE-79)
  • Fixed
    Fixes an issue where rich text was converted to plain text incorrectly, missing content after new lines. (J#CORE-136)
  • Fixed
    Fixes an issue where the font name was incorrectly inherited in certain form hierarchies. (J#CORE-69)
  • Changed
    Updates GdPicture to v14.2.39.1. (#41757)
  • Changed
    Updates HarfBuzz to 8.1.1. (J#CORE-169)

2023.7.0 26 Jul 2023

  • Added
    Adds additional flags invisible, readOnly, locked, toggleNoView and lockedContents to the flags property of annotations in InstantJSON. (#41335)
  • Added
    Adds support for GIF, WebP, SVG, TGA and EPS image conversion. (J#SERVER-47)
  • Added
    Adds support for HEIC image conversion. (J#SERVER-41)
  • Added
    Adds support for ODT documents conversion. (J#SERVER-46)
  • Added
    Adds support for OpenType collection fonts (.otc). (J#CORE-91)
  • Added
    Adds support for RTF documents conversion. (J#SERVER-43)
  • Changed
    Improves AP stream generation to generate more optimal text rendering commands. (J#CORE-101)
  • Changed
    Enables headers and footers when converting from Microsoft Excel format. (J#SERVER-44)
  • Changed
    Supports greyscale options in Microsoft Office conversions. (J#SERVER-45)
  • Changed
    Updates GdPicture to v14.2.36. (#0)
  • Changed
    Updates HarfBuzz to 8.0.1. (J#CORE-129)
  • Fixed
    Fixes an issue in Build API where input password was checked before converting document to a PDF. (#41164)
  • Fixed
    Fixes an issue where exporting custom stamp annotations to XFDF and then importing them cause them to show blurry. (J#CORE-113)
  • Fixed
    Fixes warning watermark upon Microsoft Office conversion that rarely appeared under high load in the output PDF documents. (Z#37183)

2023.6.0 22 Jun 2023

  • Added
    Adds healthcheck endpoint for liveness and startup probes. (J#SERVER-38)
  • Changed
    Improves embedding of OpenType CFF fonts. (#40481)
  • Changed
    Improves handling of password-protected PDFs. (#38942)
  • Changed
    Apply patch to libtiff to fix CVE-2023-2731. (#40657)
  • Fixed
    Fixes an issue where borderColor wasn't serialized for pspdfkit/text annotations. (#40905)
  • Fixed
    Fixes an issue where the Document Editor license was incorrectly required when converting Office files with the build endpoint. (#40896)
  • Fixed
    Fixes an issue where the cloudy border effect was set when importing InstantJSON annotations. (#40472)
  • Fixed
    Fixes an issue where validating some digital signatures created by DocuSign may incorrectly report additional changes. (#39972)
  • Fixed
    Fixes placement of values on measurement annotations. (#40885)

2023.5.0 25 May 2023

  • Added
    Adds support for compressing and linearizing PDF. (#39301)
  • Added
    Adds support for converting documents to PDF/A. (#39299)
  • Added
    Adds support for validating the conformance of a PDF/A file. (#39300)
  • Added
    Adds timeout configuration for some core PDF operations. (#39750)
  • Fixed
    Fixes a potential crash when parsing the reading order in an invalidly tagged PDF. (#40419)
  • Fixed
    Fixes an issue where images could be inverted when redacting JBIG2 images. (#40341)
  • Fixed
    Fixes an issue where processing results in an endless loop on malformed PDFs. (#40388)
  • Fixed
    Fixes an issue where text in multiline form fields was cut off after two new lines. (#40504)
  • Fixed
    Fixes an issue where the 'updatedAt' field in annotations wasn't preserved correctly when importing JSON. (#37490)

2023.4.0 27 Apr 2023

  • Changed
    Improves text rendering, particularly for languages that do not use the Latin alphabet. (#39812)
  • Fixed
    Fixes a rare crash that can happen when importing Instant JSON if an annotation has a non-default blend mode. (#39457)
  • Fixed
    Fixes an issue where link annotations were lost when using headers/footers while generating a PDF from HTML. (#39384)
  • Fixed
    Fixes an issue where redaction annotations weren't applied on image documents. (#38776)
  • Fixed
    Fixes an issue where some annotations added to a document are not correctly exported to Instant Document JSON. (#39014)

2023.3.0 23 Mar 2023

  • Added
    Adds support for a fontSize property for redaction annotations in Instant JSON, which sets the size of the redaction overlay text. (#39017)
  • Changed
    Improves the appearance of the overlay text in redacted documents, adjusting their font size much better to fill the available space. (#3017)
  • Changed
    Alters directory for tmp files. (#38563)
  • Changed
    Updates the HarfBuzz library to version 7.0.1. (#36924)
  • Fixed
    Fixes a potential crash in low memory situations. (#39373)
  • Fixed
    Fixes an issue where a background image was accidentially reverted when redacting on certain PDF pages. (#39342)
  • Fixed
    Fixes an issue where link annotations are not preserved when generating a PDF from HTML with headers and footers. (#38686)
  • Fixed
    Fixes an issue where radio buttons and checkboxes weren't able to be selected if the on state key was encoded as UTF-16. (#38844)
  • Fixed
    Fixes an issue where saving a PDF file with a indirect null object could cause a crash. (#39127)

2023.2.0 23 Feb 2023

  • Fixed
    Fixes tab order for forms in HTML to PDF generation. (#38049)
  • Fixed
    Fixes an issue where temporary files were not released properly when remote documents download failed. (#38956)
  • Fixed
    Fixes an issue where certain documents with signature fields may not load correctly. (#38301)
  • Fixed
    Fixes an issue where the file size increased too much after adding emojis. (#38393)
  • Fixed
    Fixes an issue where the redaction tool may incorrectly displace text in some situations. (#38642)
  • Fixed
    Fixes an issue where applying a redaction annotation may incorrectly invert the colors of certain documents. (#38722)
  • Fixed
    Fixes some issues where the redaction tool may incorrectly remove more vector graphics than strictly necessary. (#38295)

2023.1.0 25 Jan 2022

  • Changed
    Updates OCR and Office conversion engines to GdPicture.NET. To enable new engines, update your license key from the PSPDFKit Portal. (#36523)
  • Added
    Adds more detailed logging for signature verification errors during the development of custom signing implementations. (Z#28856)
  • Added
    Adds support for converting multi-image TIFF files to multipage PDFs. (#36108)
  • Added
    Adds support for the non-standard imagedata XFDF element in stamp annotations. (#36518)
  • Changed
    Improves XFDF serialization of ink annotations by including their variant. (#34354)
  • Changed
    Improves calculation of line height when a line is wrapped in a multi-line text form. (#36385)
  • Changed
    Improves compatibility with other PDF software when rendering multi-line form field text. (#37072)
  • Changed
    Allow to customize certificate used for verifying Remote URL server. (#36276)
  • Changed
    Updates boost to 1.79.0. (#34723)
  • Changed
    Updates libexpat to version 2.5.0. (#37257)
  • Changed
    Updated WebP dependency to version 1.2.2. (#34735)
  • Changed
    Updates Harfbuzz to 6.0.0. (#38024)
  • Changed
    Updates SQLite to version 3.39.3. (#36337)
  • Changed
    Updates XMP toolkit to version 2022.02. (#32824)
  • Changed
    Updates libtiff to version 4.3.0. (#33050)
  • Changed
    Updates the Freetype library to version 2.12.1. (#34326)
  • Changed
    Updates the Zlib library to version 1.2.12. (#34305)
  • Fixed
    Fixes Chromium freezes when rendering large HTML files (#38512)
  • Fixed
    Fixes a crash while redacting documents containing the ' PDF operator. (#36778)
  • Fixed
    Fixes a rare crash that happened when loading fonts. (#33110)
  • Fixed
    Fixes an error "The timestamp token couldn't be parsed" that may appear with some digital signature timestamps. (#35394)
  • Fixed
    Fixes an issue running OCR on a page that contains an image with no text. (#31709)
  • Fixed
    Fixes an issue when importing a InstantDocument JSON where both a form field and a form annotation were modified at the same time. (#35454)
  • Fixed
    Fixes an issue when trying to run OCR on a blank page. (#33771)
  • Fixed
    Fixes an issue where AP streams weren't reliably generated for form text fields. That resulted in other readers potentially not showing the text. (#36236)
  • Fixed
    Fixes an issue where JPEG2000 images were rendered blurry. (#37829)
  • Fixed
    Fixes an issue where adding a digital signature may invalidate previous ones because of some spurious rounding-related changes to the page boxes. (#32952)
  • Fixed
    Fixes an issue where an old trailer was loaded in PDFs with hybrid cross-reference tables causing old information to be shown. (#32243)
  • Fixed
    Fixes an issue where certain documents could cause a crash when opening them. (#36272)
  • Fixed
    Fixes an issue where dates weren't parsed correctly due to the parser being too strict. (#34079)
  • Fixed
    Fixes an issue where font styles weren't always discovered correctly. (#35955)
  • Fixed
    Fixes an issue where form field flags weren't preserved correctly when repairing form fields. (#33878)
  • Fixed
    Fixes an issue where paths in content may not be rendered. (#35988)
  • Fixed
    Fixes an issue where redacting certain documents may render some document pages blank. (#35776)
  • Fixed
    Fixes an issue where redaction draws invalid black boxes on the page. (#37863)
  • Fixed
    Fixes an issue where removing bookmarks failed. (#33250)
  • Fixed
    Fixes an issue where temporary files could have been written into /. (#36239)
  • Fixed
    Fixes an issue where the font information for annotations wasn't loaded correctly. (#36933)
  • Fixed
    Fixes an issue where the time preset in the redaction API may miss valid matches. (#36484)
  • Fixed
    Fixes an issue where the Unicode checkmark character wasn't rendered correctly. (#36785)
  • Fixed
    Fixes crashes related to font loading in specific documents. (#36284)
  • Fixed
    Fixes issues surrounding rendering Devanagari script. (#33753)
  • Fixed
    Fixes parsing of page labels with indirect objects in the number tree. (#33657)

2022.1.4 15 Dec 2022

  • Added
    Adds timeout configuration for processing requests. (#36384)
  • Changed
    Disallows usage of asset names longer than 255 bytes in PDF Generation to prevent possible crashes. (#32515)
  • Fixed
    Fix rendering form fields with inline CSS style. (#36235)
  • Fixed
    Fixes an issue generating PDFs from HTML when checkboxes are defined and customer stylesheets are referenced in the HTML head. (#34453)
  • Fixed
    Fixes an issue where duplicated assets in PDF generation caused an error. (#33776)
  • Fixed
    Fixes an issue where input elements with duplicated IDs caused error in HTML generation. (#30462)
  • Fixed
    Fixes an issue where multipart parts without the filename in their Content-Disposition were not accepted. (#33785)

2022.1.3 4 Apr 2022

  • Fixed
    Fixes a security vulnerability where contents of files on the container file system could be embedded in the result of PDF Generation. (#33746)

2022.1.2 5 Mar 2022

  • Changed
    Updates libexpat to 2.4.6. (#33300)

2022.1.1 21 Feb 2022

  • Fixed
    Fixes an issue where select inputs with empty option elements would cause the PDF Generation to fail. (#33035)
  • Fixed
    Fixes compatibility with Google Cloud Run. (#33097)
  • Fixed
    Fixes a crash when deserialising image annotations from JSON that references an incompatible existing annotation from the PDF. (Z#28946, #32861)
  • Fixed
    Fixes an issue where some documents cannot be uploaded or opened due to media box reading. (#32764)
  • Fixed
    Fixes an issue where the redaction tool may leave some old PDF object references if the page contents are an array of content streams. (#32926)
  • Changed
    Updates STB dependency to 2.27. (#32326)

2022.1.0 2 Feb 2022

See the announcement post.

  • Added
    Adds a PDF_GENERATION_TIMEOUT configuration option to set the timeout of PDF generation. (#32338)
  • Added
    Adds support for Word template file (dotx) conversion. (#32342)
  • Changed
    Updates Expat to 2.4.4. (#32841, #32790)
  • Changed
    Improves MIME type detection of non-conforming OOXML documents. (#32051)
  • Changed
    Improves PDF generation stability. (#32061)
  • Changed
    Improves performance of temporary file handling. (#32076)
  • Added
    Add support for rendering pages to TIFF format. (#32195)
  • Changed
    Changes the [warn] label in logs to [warning].. (#32362)
  • Fixed
    Fixes a stability issue accessing the file system that can happen in rare situations. (#32467)
  • Fixed
    Fixes an issue where page numbers in headers and footers for PDF Generation would appear in reverse order. (#32517)
  • Fixed
    Fixes an issue where rendered images did not include form field values. (#31666)

2021.3.0 08 Dec 2021

See the announcement post.

  • Added
    Adds support for declaring headers and footers as part of the HTML when using the PDF Generation API. (#30975)
  • Added
    Adds the ALLOW_REMOTE_ASSETS_IN_GENERATION configuration option which controls whether external resources can be used in PDF Generation. (#31183)
  • Changed
    Improves rendering non-latin text (like Arabic) when selecting specific fonts. (#30517)
  • Changed
    Improves the reliability of downloading files from URLs. (#31163)
  • Fixed
    Fix watermarking with an image from annotations attachment. (#31887)
  • Changed
    Ignores pdfId field when an Instant JSON is added as an attachment. (#30066)
  • Changed
    Reduces memory consumption when encoding JPEG images. (#31205)
  • Changed
    Updated FreeType to version 2.11.0. (#30900)
  • Changed
    Updated libjpeg-turbo to 2.2.1. (#30900)
  • Changed
    Updates HarfBuzz to 3.0.0. (#31113)
  • Changed
    Updates the HarfBuzz library to 3.1.0. (#31771)
  • Changed
    Updates the HarfBuzz library to version 2.9.1. (#30624)
  • Fixed
    Fixes a very occasional crash when parsing stamp annotations that contained images references to invalid indirect objects. (#31093)
  • Fixed
    Fixes an assertion if the rotation property was removed from an annotation. (#31173)
  • Fixed
    Fixes an issue where annotations weren't always rendered in the correct z-order. (#31671)
  • Fixed
    Fixes an issue where input elements with duplicated IDs caused error in HTML generation. (#30462)
  • Fixed
    Fixes an issue where invisible form fields caused an error in HTML generation. (#30944)
  • Fixed
    Fixes an issue where setting event.value inside a validation script might not work as expected. (#31286)
  • Fixed
    Fixes an issue where the appearance stream of unsigned signature fields wasn't rendered. (#31015)
  • Fixed
    Fixes possible undefined behavior validating digital signature data. (#31179)

2021.2.2 19 Aug 2021

  • Fixed
    Fixes a problem where a PDF table of contents (outline) may link to the wrong page. (#30070)
  • Fixed
    Fixes a rare crash that may happen when rendering a PDF. (#29843)
  • Fixed
    Fixes an issue where XFDF annotations like lines without an explicit width attribute were not rendered. In these cases, we now imply a line width of 1 pt. (#30291)
  • Fixed
    Fixes an issue where fonts were not correctly included in the PDF resulting in wrongly rendered free text annotations. (#30115)
  • Fixed
    Fixes an issue where highlight annotations used the wrong blend mode after importing with Instant JSON. (#30537)
  • Fixed
    Fixes an issue where redactions of paths could fail with Coordinate outside allowed range if the path coordinates were very large. (#29791)

2021.2.1 8 Jul 2021

  • Added
    Adds support for blend mode in all annotations when using Instant JSON. If blendMode is not specified, it defaults to normal. (#29582)
  • Added
    Adds the ability to control the color and opacity of flattened note annotations. (#29694)
  • Fixed
    Fixes a problem where errors in applying Instant JSON were not correctly logged. (#29725)
  • Fixed
    Fixes an issue where OCR would fail if no text is on the page. Now the call returns successfully. (#29527)
  • Fixed
    Fixes an issue where importing a 'goToRemote' without a page index would fail. (#29616)
  • Fixed
    Fixes an issue where importing unknown actions using Instant JSON failed. (#29814)
  • Fixed
    Fixes an issue with OCR where no text is found if the text on the page is relatively large. (#29512)

2021.2.0 10 May 2021

See the announcement post.

  • Added
    Adds the /render endpoint that provides support for rendering document pages and converting whole documents to images. (#29190)
  • Added
    Adds the ability to process TIFF images. (#28758)
  • Added
    Adds support for toggling the case sensitiveness of search queries when creating redactions. (#28814)
  • Added
    Adds support for specifying blend mode for shape annotations in Instant JSON. (#29081)
  • Fixed
    Fixes an issue where some saved documents contained a xref table with more than one subsection. This may have caused problems if the document was signed multiple times, for example. (#28755)
  • Fixed
    Fixes an issue where the framework may write unnecessary entries to the PDF trailer dictionary. (#28755)

2021.1.1 1 Apr 2021

  • Added
    Adds support for running PSPDFKit Processor on ARM processors. (#28366)
  • Fixed
    Fixes an issue where text extracted from an image using OCR was not selectable on the macOS Preview.app. (#28329)

2021.1.0 11 Mar 2021

See the announcement post.

  • Added
    Adds new updateMetadata operation that updates the title and author of the processed PDF. (#26262)
  • Added
    Adds request ID to log messages that can be supplied using X-Request-Id request header. (#27975)
  • Added
    Adds support for PDF generation. (#26791)
  • Added
    Adds support for running Processor with no authentication, or with API token authentication. (#27830)
  • Changed
    Changes the /process endpoint to make operations parameter optional. (#28178)
  • Fixed
    Fixes an issue where stuck libreoffice processes were not killed after the configured timeout. (#27104)

2020.2.0 03 Nov 2020

  • Added
    Adds support for redacting documents. (#26507)
    • Added
      Adds new applyRedactions document operation that will apply all existing redaction annotations in the affected document.
    • Added
      Adds new createRedactions document operation that will automatically create redaction annotations in the document based on specified search options.
  • Fixed
    Fixes an issue that would trigger a 415, unsupported_media_type error with specific PDF files. (#26539)

2020.1.2 28 Oct 2020

  • Fixed
    Fixes CVE-2020-15999 in upstream dependency Freetype. (#26610)

2020.1.1 13 Oct 2020

  • Added
    Adds support for limiting the maximum uploaded file size using the MAX_UPLOAD_SIZE_BYTES environment variable. (#25798)
  • Added
    Adds support for importing a subset of document's pages with importDocument operation using the importedPageIndexes attribute. (#26002)
  • Changed
    Improves libreoffice based document conversion by ensuring that failed conversion operations do not lead to zombie soffice processes. (#25925)
    • Added
      Adds LIBREOFFICE_CONVERSION_TIMEOUT environment variable to configure the timeout of conversion operations.
  • Fixed
    Fixes an issue where a log message was emitted about incompatible file and libmagic versions. (#26284)
  • Changed
    Improves the quality of office conversion. (#26387)

2020.1.0 10 Sep 2020

See the announcement post.

  • Changed
    Initial Release