Repository navigation
1.1.0
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, theOutOfMemoryErrorof 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 anOutOfMemoryErrorwhile 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 onePanioloinstance and size the heap for the
profiles you use. - The UBL reader ignored the structured due date
PaymentTerms/PaymentDueDateof invoices and
credit notes: a valid document (the official ruleUBL-CR-463only warns) was imported with
dueDate() == nulland without any message. The date is now read in all read modes. Stated twice
with different dates (the headerDueDate, thePaymentDueDate, 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.