OpenPDF 2.4.0
OpenPDF 2.4.0 Release Notes
Highlights
- Java package name change: All classes have been moved from
com.lowagietoorg.openpdfin the openpdf-core-modern module. - Module split: The
openpdfsubmodule has been split (duplicated) into:openpdf-core-legacy– all classes here are deprecated.openpdf-core-modern– actively maintained and used by all submodules.
See 2.4.0 migration guide for details.
What's Changed
Major Changes
-
Module restructuring:
- Split
openpdfintoopenpdf-core-legacyandopenpdf-core-modern.
#1393 – @andreasrosdal - Deprecated all classes in
openpdf-core-legacy.
#1395 – @andreasrosdal - Updated all submodules to use
openpdf-core-modern.
#1396 – @andreasrosdal
- Split
-
New features:
- Added flag in
ColumnTextto control whether words are chopped, or to throw an exception instead of arbitrarily chopping long words.
#1379 – @csimoes1 - Added TU and ALT fields to signature object.
#1386 – @MaSchmidt1999
- Added flag in
-
Performance improvements:
- Register fonts only once in a static block instead of on every constructor call.
#1373 – @giangianoulas
- Register fonts only once in a static block instead of on every constructor call.
-
Code cleanup:
- Removed commented-out code and unnecessary
System.out.printlncalls.
#1364 – @andreasrosdal
- Removed commented-out code and unnecessary
Dependency Updates
org.sonatype.central:central-publishing-maven-plugin0.7.0 → 0.8.0com.puppycrawl.tools:checkstyle10.25.0 → 11.0.0 (multiple incremental updates)org.jetbrains.kotlin:kotlin-stdlib2.1.21 → 2.2.0org.jetbrains.kotlin:kotlin-maven-plugin2.1.21 → 2.2.0junit.version5.13.1 → 5.13.4com.google.errorprone:error_prone_annotations2.38.0 → 2.41.0org.dom4j:dom4j2.1.4 → 2.2.0org.apache.maven.plugins:maven-gpg-plugin3.2.7 → 3.2.8org.verapdf:validation-model1.28.1 → 1.28.2commons-io:commons-io2.19.0 → 2.20.0org.htmlunit:neko-htmlunit4.13.0 → 4.14.0
New Contributors
- @giangianoulas – Font registration optimization #1373
- @csimoes1 –
ColumnTextlong word handling #1379 - @MaSchmidt1999 – TU and ALT signature fields #1386
We will soon begin on the OpenPDF 3.0 version which uses only the org.openpdf package name.
Full Changelog: 2.2.4 → 2.4.0