Skip to content

Remove wkhtmltopdf-binary gem and wicked configuration#13616

Merged
alecslupu merged 4 commits intodevelopfrom
fix/wkhtmltopdf-binary-removal
Nov 7, 2024
Merged

Remove wkhtmltopdf-binary gem and wicked configuration#13616
alecslupu merged 4 commits intodevelopfrom
fix/wkhtmltopdf-binary-removal

Conversation

@andreslucena
Copy link
Copy Markdown
Member

@andreslucena andreslucena commented Nov 6, 2024

🎩 What? Why?

As mentioned in #13553, we're having problems with latest versions of wkhtmltopdf-binary. As wkhtmltopdf itself doesn't have any maintenance, we'll migrate from it in another PR.

This PR removes the wkhtmltopdf-binary from our dependencies, as the current version that we have (0.12.6.6) is not compatible with latest Ubuntu LTS (24.04). We can't update to latest version as there are too many binaries and make the gem size too big for certain environments (such as Heroku).

As mentioned, we're planning to drop the wkhtmltopdf dependency, but that will not be backported (as it'll be a type: change).

📌 Related Issues

Testing

  1. Install the wkhtmltopdf package from your distribution
  2. Go to something that generates a PDF (for instance, answer a survey)
  3. See that the generation works correctly

📷 Screenshots

Generated PDF of surveys

♥️ Thank you!

@andreslucena andreslucena added the type: fix PRs that implement a fix for a bug label Nov 6, 2024
github-actions[bot]
github-actions bot previously approved these changes Nov 6, 2024
@alecslupu alecslupu added release: v0.28 Issues or PRs that need to be tackled for v0.28 release: v0.29 Issues or PRs that need to be tackled for v0.29 labels Nov 6, 2024
Copy link
Copy Markdown
Contributor

@alecslupu alecslupu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have removed the initializers, but since we plan to have them replaced with HexaPDF, i’ll let it slide.

@alecslupu alecslupu merged commit f57ea66 into develop Nov 7, 2024
@alecslupu alecslupu deleted the fix/wkhtmltopdf-binary-removal branch November 7, 2024 08:23
@alecslupu alecslupu added release: v0.29 Issues or PRs that need to be tackled for v0.29 and removed release: v0.28 Issues or PRs that need to be tackled for v0.28 release: v0.29 Issues or PRs that need to be tackled for v0.29 labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: v0.29 Issues or PRs that need to be tackled for v0.29 type: fix PRs that implement a fix for a bug

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

Consider removing wkhtmltopdf-binary from dependencies

2 participants