Skip to content

1.1.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 20:28
2134f3c

Reads the structured due date of UBL documents, holds compiled validators softly to avoid
OutOfMemoryError at small heaps, and adds a performance comparison and a heap sizing guide. See the
API reference for 1.1.0.

Added

  • Measured performance comparison of Paniolo 1.0.1 and Mustangproject
    2.26.0 with raw data, linked from the README and the feature comparison; it is also part of the
    web-site.
  • README section memory and heap sizing: what the compiled rules
    cost, the OutOfMemoryError of 1.0.1 and earlier at small heaps, and a recommended configuration.

Fixed

  • Compiled validators are held softly. Each validation profile (for example ZUGFeRD 1, the XRechnung
    scenarios or a Factur-X level) is compiled on first use and occupies 15 to 140 MiB; an instance
    that had validated documents of many different profiles kept all of them and could run out of a
    512 MiB heap with an OutOfMemoryError while compiling the next one. Under heap pressure the JVM now
    reclaims validators that are not in use, and they are compiled again on their next use, which takes
    0.4 to 4 seconds. Results do not change. Reuse one Paniolo instance and size the heap for the
    profiles you use.
  • The UBL reader ignored the structured due date PaymentTerms/PaymentDueDate of invoices and
    credit notes: a valid document (the official rule UBL-CR-463 only warns) was imported with
    dueDate() == null and without any message. The date is now read in all read modes. Stated twice
    with different dates (the header DueDate, the PaymentDueDate, or the date in the payment terms
    text that the writer uses for credit notes), strict reading rejects the document and lenient
    reading keeps the first of them in this order and reports the other one with the new warning code
    READ-DUE-DATE. The writer and the validation rules are unchanged.

Verification

The JARs are published to Maven Central with GPG signatures. This release carries for every
module the SBOM (*-cyclonedx.json), the SHA-256 checksums of all files (SHA256SUMS), the
OWASP Dependency-Check report of the release build, the test evidence of the release run
(*-test-evidence.tar.gz, *-test-evidence.json, SHA256SUMS-test-evidence), and a build
provenance attestation of GitHub. The build is reproducible; see Verifying a release.