Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump com.itextpdf:html2pdf from 6.0.0 to 6.1.0 in /server #421

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 17, 2025

Bumps com.itextpdf:html2pdf from 6.0.0 to 6.1.0.

Release notes

Sourced from com.itextpdf:html2pdf's releases.

pdfHTML 6.1.0

pdfHTML is an iText Core add-on for creating PDF from HTML/XML (and associated CSS).

This release focuses on extending the existing support for GraalVM Native Image to pdfHTML, and major improvements to CSS. In addition, pdfHTML takes advantage of Core enhancements such as table performance, SVG, font handling, layout and PDF/UA.

GraalVM Native Image

Our built-in support for GraalVM Native Image compilation now includes pdfHTML. This means you can potentially build a complete template conversion executable to run anywhere, using only the Core and pdfHTML modules you need, while benefiting from the performance gains that GraalVM brings with its JIT compilation process.

SVG and CSS Improvements

As mentioned above, pdfHTML hugely benefits from the extended SVG and CSS coverage in this release. In particular, the text-decoration, marker-mid, and stroke-dash-array additions, along with support for different CSS origins in SVG.

There are improvements to SVG Text, which also benefit pdfCalligraph. Along with that are numerous refinements and bugfixes to aid utilizing SVG and CSS for templating. One thing to call out is the improved Flex container usage with tables. Speaking of which…

Table and Forms Improvements

We’ve already mentioned the massive performance increase for tables in Core, and HTML template conversions with tables will take great advantage of this. Using pdfHTML for PDF/A and PDF/UA conformance will also see especially large performance increases, due to the tagged table optimizations.

In addition, the conversion of HTML forms for PDF/UA conformance is improved.

New Features

  • GraalVM Native Image support
  • Extended SVG and CSS coverage

Improvements

  • Table performance improvements
  • Support relative values for width/height SVG element attributes
  • Different CSS origins support in SVG
  • Apply links alternate description according to UA standard
  • Support external CSS for HTML embedded SVG
  • Support CSS @​import url() rule to reference external resources

Bug Fixes

  • StringIndexOutOfBoundsException if url is without closing bracket
  • SVG: fix percent width&height resolving of top level SVG when it is used from html
  • Flex container with table splitup issue
  • HTML, SVG: properly handle svg images in html with set background-size and viewbox
  • Issue with applying justify align in condensed fonts (MS PGothic)
  • HTML: explicit background image size should respect element size
  • Renderer splitup issue
  • PNullReferenceException for missing image
Commits
  • cf3001b [RELEASE] iText pdfHtml 6.1.0
  • 533a616 [RELEASE] pdfHtml 6.1.0
  • f3d595e SVG: don't draw rect with negative or zero height or width
  • 19b68e3 Update test after visibility:hidden fix for svg
  • 8c272c2 Add Contents for link annotations
  • b68cd09 SVG: support vector-effect: non-scaling-stroke
  • f85c04c Add tests with not tagged content
  • 67c9cfa Improve <object> and <img> svg support
  • 194c365 Add alternative description conversion for input tags
  • f871ecf Add tests for PdfUA. PdfUa2 conversion
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.itextpdf:html2pdf](https://github.com/itext/i7j-pdfhtml) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/itext/i7j-pdfhtml/releases)
- [Commits](itext/itext-pdfhtml-java@6.0.0...6.1.0)

---
updated-dependencies:
- dependency-name: com.itextpdf:html2pdf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Feb 17, 2025
@dependabot dependabot bot changed the base branch from main to develop February 20, 2025 07:20
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 20, 2025

Looks like com.itextpdf:html2pdf is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Feb 20, 2025
@dependabot dependabot bot deleted the dependabot/gradle/server/com.itextpdf-html2pdf-6.1.0 branch February 20, 2025 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants