danfickle / openhtmltopdf

An HTML to PDF library for the JVM. Based on Flying Saucer and Apache PDF-BOX 2. With SVG image support. Now also with accessible PDF support (WCAG, Section 508, PDF/UA)!
https://danfickle.github.io/pdf-templates/index.html
Other
1.89k stars 355 forks source link

PDFBox 3.0.0 Port #687

Open rototor opened 3 years ago

rototor commented 3 years ago

There has just been a release of PDFBox 3.0.0-RC1 a few days ago. I've ported openhtmltopdf to it in

https://github.com/rototor/openhtmltopdf/tree/open-dev-v1-pdfbox-3.0.0

It is the same as current master, just with all needed changes for PDFBox 3.0.0-RC1.

685 contains the Charsets fixes, which can be merged into master now, as they don't depend on PDFBox 3.0.

Some changes where needed because of some additional form field validation done now in PDFBox 3.0.0 (see PDFBOX-5150).

This issue is just to inform you that there is already a 3.0.0 port and that we can discuss when openhtmltopdf will migrate to PDFBox 3.0. As the RC1 has just been released, it will likely take some time before the first official release is made. Till then PDFBox 3.0 would still be open for (breaking) API changes.

See also their migration guide.

rototor commented 2 years ago

FYI: I just update the 3.0.0 branch to PDFBox 3.0.0-alpha2

danfickle commented 2 years ago

Thanks again @rototor.

I've merged your work into the pdfbox_3 branch (mostly by accident!).

I can keep up-to-date with further changes with this link:

https://github.com/rototor/openhtmltopdf/compare/danfickle:pdfbox_3...open-dev-v1-pdfbox-3.0.0