Upgrade Information
Following steps are necessary during updating to newer versions.
Upgrade to 2026.1.0
PHP & Symfony Version Requirements
- Added support for
PHP8.5. - Removed support for
PHP8.3and Symfonyv6. Upgrade to PHP 8.4+ and Symfony 7 before updating to this version.
Removed Admin Classic (ExtJS) Support
PimcoreWebToPrintBundleno longer implementsPimcoreBundleAdminClassicInterfaceand no longer usesBundleAdminClassicTrait. All ExtJS-based Admin Classic UI assets have been removed.- The following ExtJS JavaScript files have been removed and are no longer served:
public/js/startup.jspublic/js/settings.jspublic/js/document/printabstract.jspublic/js/document/printcontainer.jspublic/js/document/printpage.jspublic/js/document/printpages/pdf_preview.js
- The CSS files
public/css/icons.cssandpublic/css/print/print-printermarks.csshave been removed. - The
getCssPaths()andgetJsPaths()methods have been removed fromPimcoreWebToPrintBundle.
Removed Admin Classic Controllers
- The following Admin Classic controllers have been removed entirely (they were
@internal):Pimcore\Bundle\WebToPrintBundle\Controller\Document\PrintcontainerControllerPimcore\Bundle\WebToPrintBundle\Controller\Document\PrintpageControllerPimcore\Bundle\WebToPrintBundle\Controller\Document\PrintpageControllerBasePimcore\Bundle\WebToPrintBundle\Controller\SettingsController
Pimcore\Bundle\WebToPrintBundle\Routing\StudioRouteLoaderhas been removed.
Removed EventListener
Pimcore\Bundle\WebToPrintBundle\EventListener\IndexSettingsListenerhas been removed.
Interface Changes
Pimcore\Bundle\WebToPrintBundle\Service\DownloadServiceInterface: The@throwsdeclarations onpdfDownload()andpdfStream()have been updated —NotFoundExceptionandUserNotFoundExceptionare no longer declared as thrown exceptions. Both methods now only declare@throws ForbiddenException. If you have custom implementations of this interface, remove the correspondingNotFoundExceptionandUserNotFoundExceptionimports and@throwsannotations.
Gotenberg Processor Improvements
Pimcore\Bundle\WebToPrintBundle\Processor\Gotenberg: Removed the BC compatibility layer forgotenberg-phpv1. The processor now requiresgotenberg-phpv2+ and always calls->pdf()on the Chromium builder.- The base URL for Gotenberg is now resolved from
pimcore.gotenberg.base_urlsystem config with a fallback to$processParams['hostUrl']. - The BC compatibility methods
userAgent(),pdfFormat()fromgotenberg-phpv1 are no longer conditionally called.
Studio Backend / Studio UI Services
PimcoreStudioBackendBundleandPimcoreStudioUiBundleare now required dependencies. The conditional loading of their service configurations has been removed — the studio backend and studio UI configurations are now always loaded unconditionally.
Studio Frontend — Gotenberg Settings
- Added Gotenberg configuration panel in the Pimcore Studio UI settings. The settings form now conditionally renders either the PDFreactor or Gotenberg panel based on the selected tool.
Upgrade to 2.0.0
- [Processor] Removed support for standalone chromium. Use Processor Gotenberg instead.