Needs review
Project:
PDFPreview
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2026 at 09:11 UTC
Updated:
2 Mar 2026 at 09:21 UTC
Jump to comment: Most recent
In January 2026 was released latest imagemagick v5.x
But pdfpreview is blocking imagemagick module update because of the compatibility dependency:
"drupal/imagemagick": "^3.7 || ^4.0"
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #6
mstrelan commentedHave not tested manually but the pipeline is green. Can someone please test?
Comment #7
bohus ulrychThanks for patch. But I was not able to upgrade module until I put in main composer.json this
"drupal/imagemagick": "5.0.1 as 4.9.9",
I think that composer was doing its checks before patch was applied. Don't know way how to solve it other way.
After that I was able to upgrade drupal/imagemagick 4.0.2 => 5.0.1
I used PDF preview as Field Format for my test PDF file field and image was correctly created.