Skip to content

OpenPDF 2.0.0

Compare
Choose a tag to compare
@andreasrosdal andreasrosdal released this 18 Feb 21:58
· 137 commits to master since this release
c6027b5

What's Changed In 2.0.0

  • Java 17 or later is required for OpenPDF 2.0.0. This will allow using modern Java 17+ compatible syntax and libraries. Futhermore, it will ease maintenance effort because we don't support older Java versions.
  • Removal of 108 deprecated old methods and fields. This will allow a cleaner API with less technical debt. Most likely no changes will be needed in code using OpenPDF. See JavaDoc for the methods marked as deprecated in 1.3.40 and the new methods to use instead: https://javadoc.io/doc/com.github.librepdf/openpdf/latest/index.html
  • Lift TrueTypeFontUnicode.includeCidSet flag up to BaseFont to make it publicly accessible (#1041) by @zyro23 in #1046
  • Modified PdfPTable add cell method to return cell by @jaybob007 in #844 #837
  • Fix for issues with form flattening #1047 by @Lonzak in #1050

Warning

The journey of OpenPDF maintenance continues: The idea is to try maintaining this PDF library, because it is useful to have a Java library which can create and read PDF files, with a LGPL and MPL open source license, despite the fact that it is impossible to get funding for the hard work, it's all voluntary work, no-one fully understands this PDF library fully, and it is a very complex piece of software. So here is 2.0.0, you have been warned, good luck. On the positive side, at least there can be frequent releases, we use automatic code-scanning tools, there are unit-tests, and we listen to bugreports on GitHub.

New Contributors

Full Changelog: 1.3.40...2.0.0