Skip to content

Releases: veraPDF/veraPDF-library

veraPDF v1.26.2

29 May 22:22
79cf1dc
Compare
Choose a tag to compare

Version 1.26 (May 16, 2024)

Validation

  • (PDF/UA-2) added support for PDF/UA-2 (draft)
  • (PDF/UA-1) detect and report structure elements with missing parent
  • (PDF/UA-1) fixed checks related to role maps between standard and non-standard tags
  • (PDF/UA-1) fixed rules related to annotations in structure tree
  • (PDF/UA-1) added checks for XMP prefixes in the identification metadata
  • (PDF/A-1,2,3,4) added check for valid values of BitsPerComponent
  • (PDF/A-2,3,4) apply the rule on identical tint transform also to /All and /None
  • (PDF/A-1) added check that the document does not use xref stream
  • (PDF/A-1) Fix syncing XMP with Info dictionary in case of multiple creators
  • (PDF/UA-2) supported named structured destinations in goto actions
  • (PDF/UA-1) fixed rules about annotations
  • (PDF/UA-2) include ISO 32005 rules to PDF/UA-2 profile
  • (PDF/UA-2) added rule about Ref entry of Note structure element
  • (PDF/UA-2) supported validation of Open Action destination
  • (PDF/UA-2) disabled ActualText and Alt validation for non-real content
  • (PDF/UA-2) fixed checking of role mapping structure types to the same namespace

Applications

  • set secure parameter for xslt transformation (CVE-2024-28109)
  • improved multithreading performance of JavaScript evaluation
  • Improved REST API: more logical endpoints, documentation, web demo page, automatic deployment of the docker image to DockerHub.com
  • Redesigned main GUI window
  • Improved CLI output (help, debug logs, text report, JSON report formatting)
  • Improved XML report schema in case of exceptions
  • Fixed GUI check for the availability of a newer version

Core library

  • added support for Java 21

PDF Model

  • Cleanup of the unused properties and links

PDF Parser

  • fixed MathML parsing exception
  • added warning for duplicated MCID in content stream
  • fixed CIDFontType2 font program parsing for OpenType fonts
  • fixed ROS operator finding for CFF fonts
  • Updated predefined CMaps
  • Added support for structure attributes defined via ClassMap
  • Fixed parsing of inline images of undefined length
  • Detect and generate a warning when dictionary contains duplicated keys
  • Detect and generate a warning when the embedded font has duplicated glyph names
  • Detect and generate a warning in case of loops in document structure tree
  • Fixed decryption of string objects
  • Fix default whitepoint for CIELab in JPEG2000
  • Optimized use of temporary files

v1.26.0-RC2

05 Apr 13:24
Compare
Choose a tag to compare
v1.26.0-RC2 Pre-release
Pre-release

What's Changed

Applications

  • set secure parameter for xslt transformation (CVE-2024-28109)
  • improved multithreading performance of JavaScript evaluation

Core library

  • added support for Java 21

PDF Parser

  • fixed MathML parsing exception
  • added warning for duplicated MCID in content stream
  • fixed CIDFontType2 font program parsing for OpenType fonts
  • fixed ROS operator finding for CFF fonts

Validation

  • (PDF/UA-2) include ISO 32005 rules to PDF/UA-2 profile
  • (PDF/UA-2) added rule about Ref entry of Note structure element
  • (PDF/UA-2) supported validation of Open Action destination
  • (PDF/UA-2) disabled ActualText and Alt validation for non-real content
  • (PDF/UA-2) fixed checking of role mapping structure types to the same namespace

veraPDF v1.24.2

02 Apr 07:51
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.24.1...v1.24.2

v1.26.0 RC

15 Feb 12:15
611a171
Compare
Choose a tag to compare
v1.26.0 RC Pre-release
Pre-release

CHANGES

Applications

  • Improved REST API: more logical endpoints, documentation, web demo page, automatic deployment of the docker image to DockerHub.com
  • Redesigned main GUI window
  • Improved CLI output (help, debug logs, text report, JSON report formatting)
  • Improved XML report schema in case of exceptions
  • Fixed GUI check for the availability of a newer version

PDF Model

  • Cleanup of the unused properties and links

PDF Parser

  • Updated predefined CMaps
  • Added support for structure attributes defined via ClassMap
  • Fixed parsing of inline images of undefined length
  • Detect and generate a warning when dictionary contains duplicated keys
  • Detect and generate a warning when the embedded font has duplicated glyph names
  • Detect and generate a warning in case of loops in document structure tree
  • Fixed decryption of string objects
  • Fix default whitepoint for CIELab in JPEG2000
  • Optimized use of temporary files

Validation

  • (PDF/UA-2) added partial support for PDF/UA-2 (draft) by implementing the checks that can be performed by software according to the Matterhorn Protocol
  • (PDF/UA-1) detect and report structure elements with missing parent
  • (PDF/UA-1) fixed checks related to role maps between standard and non-standard tags
  • (PDF/UA-1) fixed rules related to annotations in structure tree
  • (PDF/UA-1) added checks for XMP prefixes in the identification metadata
  • (PDF/A-1,2,3,4) added check for valid values of BitsPerComponent
  • (PDF/A-2,3,4) apply the rule on identical tint transform also to /All and /None
  • (PDF/A-1) added check that the document does not use xref stream
  • (PDF/A-1) Fix syncing XMP with Info dictionary in case of multiple creators

veraPDF v1.24.1

28 Jun 14:19
772abdc
Compare
Choose a tag to compare

Version 1.24 (June 28, 2023)

Applications

  • added support for recursive processing of PDF files in ZIP archives
  • revised and upgraded plug-ins included into the installation bundle
  • added Cancel button in GUI to cancel the job
  • added new --progress parameter in CLI to report progress info
  • added new --config parameter in CLI to support config file as a new CLI argument
  • renamed xml report format option to raw in CLI (xml is now reserved for the default report format)
  • enchanced validation error messages and their variable data
  • support feature report in json format
  • added warnings on incompatible CLI arguments
  • fixed saving GUI application settings
  • fixed getting log level from the config file
  • fixed handling of malformed config files

PDF model

  • added new property nestingLevel to Hn structure element
  • added new properties firstPageIDValue and lastIDValue to COSDocument
  • refactored the properties of XMP and Info dictionary metadata
  • refactored the properties for Table structure elements
  • added a new property XMPCreatorSize for the number of creators

PDF Parser

  • added method to check for an ascii-string
  • updated predefined CMaps
  • fixed parsing hybrid PDFs
  • fixed decoding Flate filters with invalid checksum
  • fixed issue with duplicated short and long keys in inline image dictionaries
  • added warning for Page objects with missing resources dictionary
  • added support for PDF 2.0 namespace and PDF 2.0 standard structure elements
  • fixes of unhandled exceptions in malicious PDFs
  • fix of the CIDSet parsing for embedded OpenType fonts
  • updated regex for PDF Date to support border cases
  • added warning in case of invalid Version entry in the catalog
  • fixed an issue of accepting String value types where Name type is required and vice versa

Validation

  • (PDF/UA-1) fixed validating TU entry in form fields with multiple Widget annotations
  • (PDF/UA-1) refactored Table validation rules
  • (PDF/UA-1) added a new rule to check for presence of StructTreeRoot entry in the document catalog
  • (PDF/A-2,3,4) fixed issue with false negative for CMYK-based JPEG2000 images in presence of DefaultCMYK color space
  • (PDF/A-1,2,3,4) refactored and enchanced metadata fixer functionality
  • (PDF/A-2,3,4) permit empty Name for the optional content configuration dictionary
  • (PDF/A-2,3,4) fixed validation of circular role mapping
  • (PDF/A-1,2,3) updated rules ids to match the exact location of the corresponding "shall" clause in the specification
  • (PDF/A-1) fixed comparison of Info dictionary Author and XMP dc:creator in case of multiple authors/creators
  • (PDF/A-2,3,4) fixed handling of Default color spaces for DeviceN colorants
  • (PDF/UA-1) reverted Table Scope determination algorithm from PDF 2.0 to PDF 1.7

Core library

  • added support for jakarta and Spring Boot 3 (Java 11+ only)
  • fixed output encoding of all logs and reports to be UTF8 (independently of locale)

Full Changelog: v1.22.3...v1.24.1

v1.24.0-RC3

05 Jun 09:00
Compare
Choose a tag to compare
v1.24.0-RC3 Pre-release
Pre-release

Version 1.24 RC2 (June 2, 2023)

PDF model

  • added a new property XMPCreatorSize for the number of creators

PDF Parser

  • fixes of unhandled exceptions in malicious PDFs
  • fix of the CIDSet parsing for embedded OpenType fonts
  • updated regex for PDF Date to support border cases
  • added warning in case of invalid Version entry in the catalog
  • fixed an issue of accepting String value types where Name type is required and vice versa

Validation

  • (PDF/A-1) fixed comparison of Info dictionary Author and XMP dc:creator in case of multiple authors/creators
  • (PDF/A-2,3,4) fixed handling of Default color spaces for DeviceN colorants
  • (PDF/UA-1) reverted Table Scope determination algorithm from PDF 2.0 to PDF 1.7

veraPDF v1.24.0-RC

03 May 13:33
171beab
Compare
Choose a tag to compare
veraPDF v1.24.0-RC Pre-release
Pre-release

Version 1.24 RC (April 27, 2023)

Applications

  • added support for recursive processing of PDF files in ZIP archives
  • revised and upgraded plug-ins included into the installation bundle
  • added Cancel button in GUI to cancel the job
  • added new --progress parameter in CLI to report progress info
  • added new --config parameter in CLI to support config file as a new CLI argument
  • renamed xml report format option to raw in CLI (xml is now reserved for the default report format)
  • enchanced validation error messages and their variable data
  • support feature report in json format
  • added warnings on incompatible CLI arguments
  • fixed saving GUI application settings
  • fixed getting log level from the config file
  • fixed handling of malformed config files

PDF model

  • added new property nestingLevel to Hn structure element
  • added new properties firstPageIDValue and lastIDValue to COSDocument
  • refactored the properties of XMP and Info dictionary metadata
  • refactored the properties for Table structure elements

PDF Parser

  • added method to check for an ascii-string
  • updated predefined CMaps
  • fixed parsing hybrid PDFs
  • fixed decoding Flate filters with invalid checksum
  • fixed issue with duplicated short and long keys in inline image dictionaries
  • added warning for Page objects with missing resources dictionary
  • added support for PDF 2.0 namespace and PDF 2.0 standard structure elements

Validation

  • (PDF/UA-1) fixed validating TU entry in form fields with multiple Widget annotations
  • (PDF/UA-1) refactored Table validation rules
  • (PDF/UA-1) added a new rule to check for presence of StructTreeRoot entry in the document catalog
  • (PDF/A-2,3,4) fixed issue with false negative for CMYK-based JPEG2000 images in presence of DefaultCMYK color space
  • (PDF/A-1,2,3,4) refactored and enchanced metadata fixer functionality
  • (PDF/A-2,3,4) permit empty Name for the optional content configuration dictionary
  • (PDF/A-2,3,4) fixed validation of circular role mapping
  • (PDF/A-1,2,3) updated rules ids to match the exact location of the corresponding "shall" clause in the specification

Core library

  • added support for jakarta and Spring Boot 3 (Java 11+ only)
  • fixed output encoding of all logs and reports to be UTF8 (independently of locale)

veraPDF v1.22.2

15 Sep 10:12
2eb8d16
Compare
Choose a tag to compare

Version 1.22.2 (September 15, 2022)

Applications

  • added HTML and JSON report formats in the CLI app
  • fixed CLI scripts for Windows to support arbitrary characters in the veraPDF installation folder
  • fixed file drag&drop functionality for the GUI app on macOS
  • force MRR report format if policy checks are enabled
  • added support for user-specific config directory
  • added option to include all warnings into the validation report (both GUI and CLI)
  • added verbosity level to CLI app to control the level of visible warnings
  • exit after displaying a help message if CLI is invoked without parameters
  • fixed check for veraPDF updates from the GUI app

PDF Model

  • added support for evaluating PDF functions
  • added support for PDF 2.0 namespace mechanism
  • added support for standard structure types in PDF 2.0 namespace

PDF Parser

  • improved CFF font parsing: trim the CharSet range by the number of glyphs specified in the other font data
  • implemented greenfield parser for PKCS #7 files
  • added support for custom font matrices in CFF fonts
  • implemented more tolerant Flate decode with broken checksum
  • added warning for UTF16-LE encoded text string

Validation

  • (PDF/UA-1) added a new rule that the Form structure element without a Role attribute shall have only one child: an object
    reference identifying the widget (ISO 32000-1, Table 348)
  • (PDF/A-4) updated supplement numbers for predefined character collections and CMaps
  • (PDF/A-2,3,4) added a check if a character in a symbolic TrueType font cannot be mapped to a font glyph via the specified algorithms
  • (PDF/A-2,3,4) do not require the presence of a CIDtoGID map for CIDType2 fonts without an embedded font program, which are used solely in rendering mode 3
  • revised error messages with additional context parameters

Corpus

  • automated regression tests

Core library

  • added support for Java 17
  • added support for Java Platform Module System (JPMS)

CAUTION: the JPMS support required moving several classes into different packages:

  • org.verapdf.pdfa.PdfBoxFoundry -> org.verapdf.pdfbox.foundry.PdfBoxFoundry
  • org.verapdf.pdfa.PdfBoxFoundryProvider -> org.verapdf.pdfbox.foundry.PdfBoxFoundryProvider
  • org.verapdf.pdfa.VeraFoundry -> org.verapdf.gf.foundry.VeraFoundry
  • org.verapdf.pdfa.VeraGreenfieldFoundryProvider -> org.verapdf.gf.foundry/VeraGreenfieldFoundryProvider

These changes need to be applied to any Java source code that integrates veraPDF API as a Java library.

veraPDF v1.22.0-RC

09 Aug 08:10
Compare
Choose a tag to compare
veraPDF v1.22.0-RC Pre-release
Pre-release

Version 1.22 RC (August 9, 2022)

Applications

  • added HTML and JSON report formats in the CLI app
  • fixed CLI scripts for Windows to support arbitrary characters in the veraPDF installation folder
  • fixed file drag&drop functionality for the GUI app on macOS
  • force MRR report format if policy checks are enabled
  • added support for user-specific config directory
  • added option to include all warnings into the validation report (both GUI and CLI)
  • added verbosity level to CLI app to control the level of visible warnings
  • exit after displaying a help message if CLI is invoked without parameters
  • fixed check for veraPDF updates from the GUI app

PDF Model

  • added support for evaluating PDF functions
  • added support for PDF 2.0 namespace mechanism
  • added support for standard structure types in PDF 2.0 namespace

PDF Parser

  • improved CFF font parsing: trim the CharSet range by the number of glyphs specified in the other font data
  • implemented greenfield parser for PKCS #7 files
  • added support for custom font matrices in CFF fonts
  • implemented more tolerant Flate decode with broken checksum
  • added warning for UTF16-LE encoded text string

Validation

  • (PDF/UA-1) added a new rule that the Form structure element without a Role attribute shall have only one child: an object
    reference identifying the widget (ISO 32000-1, Table 348)
  • (PDF/A-4) updated supplement numbers for predefined character collections and CMaps
  • (PDF/A-2,3,4) added a check if a character in a symbolic TrueType font cannot be mapped to a font glyph via the specified algorithms
  • (PDF/A-2,3,4) do not require the presence of a CIDtoGID map for CIDType2 fonts without an embedded font program, which are used solely in rendering mode 3
  • revised error messages with additional context parameters

Corpus

  • automated regression tests

Core library

  • added support for Java 17
  • added support for Java Platform Module System (JPMS)

CAUTION: the JPMS support required moving several classes into different packages:

  • org.verapdf.pdfa.PdfBoxFoundry -> org.verapdf.pdfbox.foundry.PdfBoxFoundry
  • org.verapdf.pdfa.PdfBoxFoundryProvider -> org.verapdf.pdfbox.foundry.PdfBoxFoundryProvider
  • org.verapdf.pdfa.VeraFoundry -> org.verapdf.gf.foundry.VeraFoundry
  • org.verapdf.pdfa.VeraGreenfieldFoundryProvider -> org.verapdf.gf.foundry/VeraGreenfieldFoundryProvider

These changes need to be applied to any Java source code that integrates veraPDF API as a Java library.

veraPDF v1.20.3

08 Jul 09:52
8386bf5
Compare
Choose a tag to compare

Version 1.20.3 (May 31, 2022)

Applications & Core library

  • improved the handling of Out Of Memory errors [1223]