Upgrade Notes
Pimcore 2026.4.0
[Assets]
- [WebDAV][Security] A WebDAV MOVE that restores a just-deleted destination from the delete log (the delete + create + move flow of clients such as Photoshop) is now authorized against the destination's own workspace rules as they were before the deletion. Those rules are removed with the asset by the
ON DELETE CASCADEonusers_workspaces_asset.cid, so the overwrite was previously authorized against the inherited rules alone: a non-admin holding an explicitpublish = 0on the destination together with an inheritedpublishgrant on the folder could replace it that way, although an in-place overwrite denies them. The captured rules decide the overwrite in both directions, so a destination grant also overrides an inherited deny, as it does for an in-place overwrite. Users whose effective permissions did not rely on an explicit rule on the destination are unaffected. The restored asset also keeps those workspace rules and its tag assignments (both were lost by the restore before), written in one database transaction together with the asset itself, so it never becomes visible with inherited permissions only. - [WebDAV][Security] A delete-log entry now drives exactly one restore and is consumed by it, and an entry whose asset id is in use again is ignored (the MOVE is then a plain rename of the source). Previously the entry stayed in the log for its 30-second lifetime, so a later MOVE onto the same path re-used the id against whatever asset held it by then: that asset's row was updated in place wherever it was, bypassing its own permissions. The id is also re-checked with a locking read inside the restore transaction, so a writer that occupies it concurrently makes the restore fail with
409 Conflictinstead of overwriting that asset. - [WebDAV][Security] The Sabre HTML browser plugin on
/asset/webdavis no longer registered by default. The endpoint keeps serving WebDAV clients as before, but opening it in a regular web browser no longer shows the HTML directory listing, and its POST-based file/folder creation form is no longer exposed. That form is the reason for the change: the endpoint authenticates with HTTP Basic, which browsers replay on cross-site requests, and the form'ssabreAction=put/mkcolposts carry no CSRF protection and need no CORS preflight (unlike the WebDAVPUT/MKCOLmethods), so a third-party page could upload files or create folders as a user whose browser holds WebDAV credentials. No action is needed for WebDAV clients; if you rely on browsing assets that way, re-enable the plugin withpimcore.assets.webdav.browser_plugin: true. - [Thumbnails] New method
Asset\Video::getFrontendThumbnail()returns the same structure asgetThumbnail(), but always with frontend paths (prefixed withpimcore.assets.frontend_prefixes.thumbnailand URL-encoded), also outside of a frontend request (CLI, cron, Messenger worker).getThumbnail()is unchanged. - [Thumbnails] New opt-in config option
pimcore.assets.image.thumbnails.pre_generate.definitions(default[], i.e. no behavior change): the listed named image thumbnail configurations are generated asynchronously whenever the binary of an image is uploaded or replaced, so that they exist before the first request. One@internalPimcore\Messenger\GenerateImageThumbnailsMessageper image and configuration is dispatched when the image is saved, routed topimcore_coreby default;pre_generate.max_variants_per_config(default25) limits the files generated per message. See Pre-Generating Thumbnails after an Upload. - [Thumbnails]
bin/console pimcore:thumbnails:imagenow generates the DPI factors1topimcore.assets.image.thumbnails.max_srcset_dpi_factor, the same ones thesrcsetattribute ofgetHtml()contains, instead of always1and2. With the default factor2nothing changes. A project with a factor of3or more gets the additional@3x, ... files generated by the command (they were generated on request before), a project with factor1no longer gets@2xfiles nobody links to.--skip-high-resstill limits the command to factor1. - [Embedded Meta Info] The embedded meta data of an asset (
getEmbeddedMetaData(), also exposed asembeddedMetaInfoby the GraphQL and portal APIs) no longer contains tags that describe the local file that was read instead of the asset:FileName,Directory,SourceFile,ExifToolVersionand the file system attributesFileAccessDate,FileAttributes,FileCreateDate,FileInodeChangeDate,FileModifyDate,FilePermissions(exiftool), as well asFileNameandFileDateTime(PHPexif_read_data()fallback).FileSize,FileTypeandMIMETypeare kept. Assets keep the previously extracted values until their embedded meta data is extracted again (e.g. after the asset data changed).
[Console]
- [Parallelized commands] A run of a command using
Pimcore\Console\Traits\Parallelizationthat finds the command already running (the lock is held by another process) no longer ends the PHP process withexit(1): it prints "ERROR: The command is already running." and ends normally, soconsole.terminateis dispatched. The exit code of that run changes from 1 to 0, like in Symfony'sLockableTraitexample; scripts or monitoring that treated exit code 1 as "already running" have to check for it differently.Parallelization::runBeforeFirstCommand()now throwsPimcore\Console\Exception\CommandAlreadyRunningExceptioninstead, whichParallelizationBase::execute()catches. The exception extends\RuntimeException, so if a command overridesrunBeforeFirstCommand()and calls the trait's version (through ause Parallelization { runBeforeFirstCommand as ... }alias) inside acatch (\Throwable),catch (\Exception)orcatch (\RuntimeException), that catch now swallows it and the command processes its items without holding the lock: rethrowCommandAlreadyRunningExceptionor catch only the exceptions you need. A command that overridesexecute()and callsparentExecute()itself bypasses the catch inParallelizationBase::execute(): the exception then reaches the console application and the run fails with the message "The command is already running." and exit code 1; catchCommandAlreadyRunningExceptionthere and returnCommand::SUCCESS.
[Core]
- [Properties] New method
Pimcore\Model\Element\Service::useInheritedProperties(bool $inheritProperties, callable $fn, array $fnArgs = []): mixedruns a callable with the inheritance of properties switched on or off and restores the previous setting afterwards (the counterpart ofDataObject\Service::useInheritedValues()for the flag added withAbstractElement::setGetInheritedProperties()). With the inheritance off,Document\Hardlink::getProperties()now also leaves out the properties it takes over from its source document (it ignored the setting before), andsetProperty()/removeProperty()no longer drop the inherited properties of the element for the rest of the request. Subclasses ofElement\Service(or of the asset, document and data object services) that already declare a method nameduseInheritedProperties()must rename it or make it compatible. - [Users] New user type
serviceuserfor service users: machine identities for integrations, agents and pipelines. A service user is authorized like any user (permissions, roles, workspaces, class and document type restrictions, MCP server access) but never logs in interactively. It is a row of theuserstable withtype = 'serviceuser', a new member of theusers.typeenum. Runbin/console doctrine:migrations:migrateto add it: migrationVersion20261105090000appends the member to the current definition and keeps the members a project has added. On a fresh installinstall.sqlalready contains it. The migration'sdown()aborts while service users exist. - [Users] A service user is a
Pimcore\Model\UserwhoseisServiceUser()is true (getType()=serviceuser); there is no separate class, andUserstaysfinal. Create one withUser::newServiceUser()(unsaved) orUser::createServiceUser($values), look one up withUser::getServiceUserByName(), list them withPimcore\Model\User\ServiceUser\Listing(getServiceUsers()).User::getById()is unchanged: a user id returns theUser, a role or folder id returns null, and a service user id returns theUserwithisServiceUser()true, so id-based code (version authors, edit locks, notes,userModification) keeps working without changes. Only code that must address a person, for example to send a password mail, checksisServiceUser(); a service user has no usable password and is never an administrator, so the setters refuse such attempts anyway. - [Users]
User::getByName(),User\Listingand every query that filters ontype = 'user'return humans only. This is the intended default: a service user does not show up in code that lists people (notifications, user pickers, user counts). Code that manages permissions, roles, workspaces or MCP server access and must cover service users too has to include them explicitly, withServiceUser\Listing,User::getServiceUserByName()orUser::getById(). Maintenance code that walks all users needs the same change. - [Users] A service user never logs in with a password, is never an administrator and has no two-factor authentication.
User::save()of a service user stores a new unusable random value as its password every time, aspimcore/openid-connectdoes for the users it creates, soAuthentication::isValidUser()is unchanged and treats an active, saved service user exactly like any other user, whileAuthentication::verifyPassword()never matches.setPassword()with a non-null value,setAdmin(true)and two-factor data that enables two-factor authentication or holds a secret throwPimcore\Model\User\Exception\InvalidServiceUserException,isAdmin()returns false andgetTwoFactorAuthentication()returns the disabled defaults.save()also refuses a service user that has administrator rights or two-factor data, and refuses to change the type of a saved user in either direction. - [Users]
Pimcore\Tool\Authentication::authenticateToken()returns null for a service user, so a login token never authenticates a service user.Authentication::generateToken($username)finds the user withUser::getByName(), so it never creates a password recovery token for a service user.Authentication::generateTokenByUser()is@internaland still writes a token when it is given a service user;authenticateToken()refuses that token. - [Users] Names are unique across users and service users:
User::save()throwsPimcore\Model\User\Exception\DuplicateUserNameExceptionwhen a user of the other type already has the name. A role may still share a name with a service user. Two users of the same type behave as before, and the unique key(type, uniqueName)is unchanged. The check runs inUser::save(), like the name checks of persons; two saves of the same name by a person and a service user in the very same moment are not guarded by the database. - [Users] A service user can have responsible users and roles, the people who answer for it (
User::setResponsibleUsers(),setResponsibleRoles()and their getters,User::getResponsibleForServiceUserIds(),resolveResponsibleUsers()). They are stored in the new tableusers_responsibles; runbin/console doctrine:migrations:migrateto create it (migrationVersion20261113090000, guarded;install.sqlalready contains it). Saving a person with responsible users or roles throwsInvalidServiceUserException. Nothing changes for users, roles or existing service users. - [Composer] The constraint for
guzzlehttp/guzzlehas been widened from^7.8to^7.8 || ^8.0, so acomposer updatemay now resolve to Guzzle 8 (withguzzlehttp/psr73.x andguzzlehttp/promises3.x), unless another package of your project restricts it to 7.x. Pimcore's own usage of Guzzle works with both major versions. The requirement onhttp-interop/http-factory-guzzlehas been removed: it only allowsguzzlehttp/psr7^1.7 || ^2.0 and was the single blocker for Guzzle 8, Pimcore never referenced its classes, andguzzlehttp/psr72.x and 3.x ship their own PSR-17GuzzleHttp\Psr7\HttpFactory, whichphp-http/discoveryalready prefers.- If your project or bundle uses
Http\Factory\Guzzle\*classes directly and relied on Pimcore to install the package, requirehttp-interop/http-factory-guzzleyourself (this keepsguzzlehttp/psr7on 2.x and therefore Guzzle on 7.x) or switch toGuzzleHttp\Psr7\HttpFactory. - If your project or bundle uses Guzzle directly and you move to Guzzle 8, read the Guzzle 8 upgrade guide. Notable changes:
ClientInterface::getConfig()andClient::__call()are removed (userequest()for verbs without a typed method, e.g.$client->request('OPTIONS', $uri)), more request options and proxy URLs are validated, and the PSR-7 3.x behavior changes apply (header values, URIs, streams).
- If your project or bundle uses
[SEO]
- [Redirects] A redirect target can now be a data object or an asset, not only a document. The
redirectstable gained atargetTypecolumn (document/asset/object, migrationVersion20250414100351plusinstall.sql), and a redirect whosetargetis an element ID resolves in that element's tree: documents and assets redirect to their full path, data objects to the URL built by the link generator of their class (a class without one cannot be a redirect target). A numeric target without a type keeps resolving as a document, so redirects written before this change are unaffected, and the migration backfills them. Runbin/console doctrine:migrations:migratewhen upgrading: until it has run, the new column is missing and deleting a page fails when the bundle tries to clean up that page's redirects. - [Redirects] The redirect CSV export gained a trailing
targetTypecolumn, appended afterexpiry, so the positions of the existing columns are unchanged. The column is optional on import, so files written before it existed still import - a target path in such a file is resolved as a document, as before. A row that names atargetTypewhose path matches no element of that type is now reported as an error for that line instead of being imported as a plain URL. Elements Pimcore does not serve under a URL of their own - folders, snippets, emails, and data objects whose class has no link generator - are rejected as targets on import and through the Studio API, rather than being stored and then failing on every request. - [Redirects] New
Pimcore\Bundle\SeoBundle\Redirect\TargetResolverInterface(@internal) translates between an element path and the ID a redirect stores;Pimcore\Bundle\SeoBundle\Redirect\Csvand the@internalRedirectHandlertake it as a constructor argument, sonew Csv()no longer works - fetch the service from the container instead.Redirect::getTargetType()returns the newPimcore\Model\Element\ElementTypeenum, andsetTargetType()accepts the enum or its string value and rejects anything else.
[Elements]
- New enum
Pimcore\Model\Element\ElementType(document/asset/object) names the element types thatPimcore\Model\Element\Serviceaccepts as its string$typeargument.Service::getElementType()is derived from it and keeps returning?string, so nothing changes for existing callers.
[Database]
- [Migrations] A new migration makes
idx_users_workspaces_list_permissiononusers_workspaces_asset,users_workspaces_documentandusers_workspaces_objectunique, asinstall.sqlhas always created it. Upgraded installations got it as a plain index fromVersion20241114142759. The change cannot fail on existing data: the unique keycpath_userIdalready makes (userId,cpath,list) unique. It rebuilds the index of each table once. - [Doctrine]
doctrine/doctrine-bundle3 anddoctrine/persistence4 are now supported (^2.13.2 || ^3.0and^3.0.3 || ^4.0), so acomposer updatemay install them. DoctrineBundle 3 removed several configuration options, and a project config that still sets one of them fails to compile the container:use_savepointson a connection,report_fields_where_declaredon an entity manager,doctrine.orm.enable_lazy_ghost_objects,doctrine.orm.auto_generate_proxy_classes,doctrine.orm.proxy_dir,doctrine.orm.proxy_namespace,doctrine.dbal.override_urland thecollatedefault table option (usecollation). Some of them are still in aconfig/packages/doctrine.yamlfrom an older Symfony Flex recipe. Settinghost,port,dbname,userorpasswordon a connection that also definesurlis no longer allowed either, even when the values are~. Remove these keys, or keep DoctrineBundle 2 for now by requiringdoctrine/doctrine-bundle: ^2.19in your project. DoctrineBundle 3 always uses native PHP lazy objects for Doctrine proxies. See the DoctrineBundle 3.0 upgrade guide for all changes. Pimcore 2027.1 (Symfony 8) will require DoctrineBundle 3. - [Doctrine]
doctrine/doctrine-migrations-bundle4 is now supported (^3.2.2 || ^4.0). It requires DoctrineBundle 3, so acomposer updateonly installs it together with DoctrineBundle 3. Version 4 made its classesfinaland@internaland added native type declarations, so code that extends or references the bundle's own classes has to be adjusted. Pimcore's migration configuration and commands are unchanged. See the DoctrineMigrationsBundle upgrade guide for all changes. Pimcore 2027.1 will require DoctrineMigrationsBundle 4. - [Doctrine] The minimum version of
doctrine/dbalis raised to^4.6(was^4.4). A project that is locked to an older version only needscomposer update doctrine/dbal; no other package has to change. DBAL 4.5.1 and later map MariaDB's error 1020 ("Record has changed since last read", raised withinnodb_snapshot_isolation, which is enabled by default since MariaDB 11.6.2) toDoctrine\DBAL\Exception\DeadlockException, which Pimcore treats as retryable when it saves or deletes an element in a transaction it opened itself. The bump alone does not make these errors go away: when the save or delete runs inside a transaction opened by your own code, the server has already rolled that whole transaction back, Pimcore does not retry, and the originalDeadlockExceptionreaches your code, which has to roll back and retry its own transaction (see the [Transactions] note below). - [Transactions]
Pimcore\Model\Element\AbstractElement::retryableFunction(), whichsave()anddelete()of assets, documents and data objects used to retry on deadlocks, is deprecated and will be removed in Pimcore 2027.1. Core now uses the new@internalmethodretryableTransaction();retryableFunction()keeps its signature and its behaviour, but triggers a deprecation. The difference: when such a call runs inside a transaction opened by your own code and the database server rolls that transaction back by itself (deadlock victim, or MariaDB >= 11.6.2 withinnodb_snapshot_isolation, error 1020),retryableFunction()retries the operation outside of any transaction: the writes of the retry cannot be rolled back, the earlier writes of your transaction are lost, and the error that reaches your code is a confusingSAVEPOINT ... does not exist.retryableTransaction()does not retry then, restores DBAL's transaction nesting level and throws the original exception (e.g.Doctrine\DBAL\Exception\DeadlockException), so that your code can roll back and retry its own transaction. If a class extends an element class and overrides or callsretryableFunction(), migrate it toretryableTransaction(); note thatsave()anddelete()of core no longer callretryableFunction(), so an override of it is not invoked by them anymore. Code which catches the exception and then commits anyway still loses the earlier writes of its transaction without an error, because the server has already rolled them back: roll back and retry the whole transaction instead.
[Documents]
- [Links]
Document::getFullPath()returns the site domain for site documents outside of sites. In a frontend request outside of any site (the main domain),getFullPath()of a document that belongs to a site with a main domain now returns an absolute URL (https://site.example.com/page) instead of the real path (/site/page), which does not resolve on the main domain. Links, link generators and the navigation render the site domain with it. If your own code prefixes the scheme and host togetFullPath()(for example for canonical or sitemap URLs), handle a result that starts withhttp://orhttps://, or usegetRealFullPath()where you need the path itself. This also applies to headless and API consumers: a frontend request on the main domain (for example a GraphQL or REST endpoint that returnsgetFullPath()) now delivers absolute URLs for site documents. A client that passes such a value back as a path (for example to look a document up by path) has to use the path part of the URL, or the endpoint has to returngetRealFullPath(). Requests inside the admin or Studio are not affected. Known limit: ID links inside a hardlink on the main domain that point into the hardlink's source site render the site domain; before the change they rendered the real path, which does not resolve on the main domain either. - [Editables] The scheduled block editable (
Pimcore\Model\Document\Editable\Scheduledblock, Twig functionpimcore_scheduledblock, also known as the time slider editable) is deprecated and will be removed in Pimcore 2027.1. Using it in a template now triggers a deprecation notice. Its behaviour is unchanged until then. - [Editables] The
<a>tag rendered by the Link editable no longer contains the attributespath,linktype,text,parameters,anchor,internal,internalId,internalType,fullPathanddirect; they are not valid HTML attributes.AttributeSanitizernow omits them by default (constructor argumentomitInternalDataAttributes, before only true forAttributeSanitizer::strict()). If a frontend still depends on them, install a policy withomitInternalDataAttributes: falseviaAttributeSanitizer::setInstance(). Note that an installed policy replaces the one built frompimcore.documents.editables.link_sanitizer: a site running withstrict: truehas to pass the strict flags as well (e.g.new AttributeSanitizer(blockedUrlSchemes: AttributeSanitizer::DEFAULT_BLOCKED_URL_SCHEMES, blockUnsafeDataUrls: true, blockEditorSuppliedEventHandlerAttributes: true, requireConventionalAttributeNameShape: true, omitInternalDataAttributes: false)), otherwise the XSS protection is off.
[Versioning]
- [Versions] The
@internalPimcore\Messenger\VersionDeleteMessagedispatched when an asset, document or data object is deleted now carries the element's highest version id at deletion time, and the@internalhandler only deletes versions up to that bound. Versions created after an element id is re-used (e.g. by the WebDAV delete-log restore) therefore survive the deferred cleanup. An element without versions at deletion time dispatches the explicit empty bound0; messages queued by previous releases carry no bound and keep the previous unbounded behavior. Note that the bound is not effective during a mixed-version deployment window in either direction (legacy messages carry none, and workers from the previous release ignore it on new messages) - drain the messenger queue across the deployment if you rely on the bound for ids re-used in that window; the exposure is limited to version history, never to the element itself.
[DataObjects]
- [Classification Store] A key assigned to several groups now gets its own field definition per group in the object editor, as the group editor's per-group settings always implied. Until now all groups shared one definition instance cached by key id, so whatever the first group's assignment set on it - in particular its mandatory flag - was applied to the key in every other group as well. After the upgrade the key is mandatory only in the groups whose assignment says so. The tooltip is unaffected: it falls back to the key's own name and description, which the key carries once and shares across its groups. An editor that previously showed the key as mandatory everywhere therefore stops doing so, and saving an object can now succeed where validation used to fail (or fail where it used to pass, if the mandatory assignment is on a group other than the first one).
Pimcore\Model\DataObject\Classificationstore\Service::getFieldDefinitionFromKeyConfig()keeps its signature, and for a savedKeyConfigits cache is unchanged - still one entry per key id; handed aKeyGroupRelationit now memoizes per (groupId, keyId) instead of by key id alone, which nothing observable depends on because no core path hands it a relation. The per-group definitions come from the new@internalPimcore\Model\DataObject\Classificationstore\KeyGroupRelationCacheservice. - [Classification Store] Saving a classification store field now writes only the rows that differ from the stored ones, in multi-row statements, instead of deleting every row for the field and re-inserting it. The resulting table contents are unchanged. Database triggers or replication filters that relied on seeing a
DELETEplus anINSERTfor every key on every save now see only the actual changes. - [Classification Store] The storage of classification store values moved behind an engine abstraction. A new nullable column
engineonclassificationstore_stores(migrationVersion20261028120000, also in the installer dump) names the engine of a store;NULL— the value every existing store keeps — and the literaleavboth mean the previous two-table storage, so there is no behavior change for an installation that does not set the column. NewPimcore\Model\DataObject\Classificationstore\StoreConfig::getEngine()/setEngine();StoreConfig\Dao::update()only writes the column when it was explicitly set or loaded, so aStoreConfigbuilt withnewand given just an id no longer resets it. The documented model API is unchanged:Classificationstore::createUpdateTable(),save(),load()anddelete()keep their names and signatures and now delegate to the resolved engine. Everything inPimcore\Model\DataObject\Classificationstore\Engineis@internalwhile the remaining engines are built. - [Classification Store] An
enginevalue that matches no registered engine now fails loudly instead of falling back to the previous storage — a partially migrated store would otherwise read back empty values and write EAV rows on the next save. The failure surfaces on object load/save, on saving a class definition carrying such a field (one combined message naming every affected field, raised before any table or class row is written), and in the new deployment checkbin/console pimcore:classificationstore:check-engines, which lists the stores that do not resolve and exits non-zero. The valuedocumentgets its own message saying the engine is not shipped yet. Run the check command after upgrading if you ever wrote to the column. - [Classification Store]
pimcore:classificationstore:delete-store <id>now deletes the values through every registered engine instead of its ownDELETEstatements. The rows removed for a store on the default engine are the same as before, but the output changed: the echoedDELETE FROM object_classificationstore_*statements are replaced by oneDeleting values for store <id> via engine <name>line per engine (the four lines for the configuration tables are unchanged), and the command now fails with a non-zero exit code when an engine throws instead of always returning0.Pimcore\Maintenance\Tasks\CleanupClassificationstoreTablesTasktakes anEngineResolverinstead of aLoggerInterfaceas its constructor argument (@internal); its observable result for an installation with only the default engine is unchanged. - [Classification Store] Disabling a key still deletes its group assignments, but now only on the transition to disabled rather than on every later save, so re-adding a disabled key to a group is no longer undone by the next unrelated edit to that key.
- [Classification Store] A
multiValuekey can no longer be defined on a store that is on the EAV engine (engineempty oreav): the key addresses its value under qualifiers that storage has no column for, so only its unqualified slot ever worked.KeyConfig::save()refuses a configuration that introduces the need, with the newPimcore\Model\DataObject\Exception\UndeclarableEngineFeatureException(a subclass ofUnsupportedEngineFeatureException, so code catching engine refusals is unchanged). Keys already stored that way keep loading, keep showing what they hold and stay saveable, so renaming, disabling and deleting them still works; what is refused is adding such a key, turning another key into one, and giving a stored one its first variant. Move the store to the document engine withpimcore:classificationstore:flip(thendrain,verify,cleanup) to define them. NewPimcore\Model\DataObject\Classificationstore\KeyTypeSupport::requiredEngineFeatures()answers which capabilities a key's declaration needs;isHeldInValueColumns()is unchanged. - [Classification Store]
Pimcore\Model\DataObject\Classificationstore\StoreConfig::create()now puts the store it creates on thedocumentengine instead of leaving theenginecolumn empty, because a store being created holds nothing yet and can start on the engine that can hold everything; an empty column keeps meaning EAV for every store an installation upgraded with, and a configuration built withnewand saved still writes no engine. The engine name comes from the newPimcore\Model\DataObject\Classificationstore\Engine\EngineResolver::getPreferredEngine()(@internal, like the rest of that namespace), and nothing is written on an installation where that engine is not registered. - [PreGetValueHook]
PreGetValueHookInterface::preGetValue()can now make a getter returnnull: return the new sentinelPimcore\Model\DataObject\PreGetValueHookResult::ReturnNull(a native enum). Returningnullfrom the hook still means "no override, use the stored value", so existing hooks behave as before. The generated getters only check for the sentinel when their return type allowsnull; non-nullable getters (e.g. thearraygetters of relation and table fields) ignore it.pregetvaluehookresultis now a reserved data object class name. - [Versioning] New opt-in config option
pimcore.objects.versions.calculated_value_snapshot(defaultfalse, i.e. no behavior change): when enabled, the values of calculated fields (object level and localized fields) are computed when a version of a data object is created and stored as part of the version. Version previews/comparisons and objects restored from a version then return the value as of the snapshot instead of recomputing it at view time; the edit view keeps showing freshly computed values. Versions created while the option was disabled, auto-save versions and calculated fields inside field collections, object bricks and classification stores still compute live. With the option enabled, calculators are additionally invoked on every version creation except auto-saves (manual drafts included) — relevant if your calculators have side effects, read inherited or related data, or are performance-sensitive.Pimcore\Model\DataObject\Concrete::__getCalculatedValueSnapshot()/__setCalculatedValueSnapshot()(double underscore prefix like__getDataVersionTimestamp(), so that the members cannot collide with the generated members of a data object class; the snapshot is part of version dumps but excluded from the cache) andPimcore\Model\DataObject\Service::getCalculatedValueSnapshotKey()are@internal. - [Classification Store] Stores, collections, groups, sub groups and keys gained an
identifiercolumn (VARCHAR(190), migrationVersion20261028100000), unique per table for stores and unique per(storeId, identifier)for collections, groups, sub groups and keys. Any number of rows may keep aNULLidentifier, which is what every row that existed before the upgrade does. The column is nullable in this release and will be tightened toNOT NULLin a later one.getIdentifier(),setIdentifier()and the staticgetByIdentifier()are new on all five models; no existing signature changed. Saving a new entity now assigns a generated, opaque identifier that does not derive from the name - saving an existing row whose identifier isNULLleaves itNULL.setIdentifier()throwsPimcore\Model\Exception\InvalidConfigExceptionfor a value that does not match/^[A-Za-z0-9][A-Za-z0-9_-]*$/or is longer than 190 characters, and for any attempt to change an identifier the entity already holds; a save whose identifier is already in use within its scope is refused with the same exception and writes nothing, so code that creates configurations with explicit identifiers can now fail where it previously succeeded. The new migrationVersion20261112100000assigns a generated, opaque identifier to every existing row of stores, collections, groups, sub groups and keys, so no row is left without one after the upgrade; the same backfill is available as the idempotent commandpimcore:classificationstore:backfill-identifiers, which writes theidentifiercolumn and nothing else. - [Classification Store] A key/group assignment can now carry data of its own:
classificationstore_relationsgained the nullable columnsmetadata(JSON) anddefinitionOverride(JSON) — migrationVersion20261029100000, also in the installer dump. Every existing row keepsNULLin both, andsorterandmandatoryare untouched. New onPimcore\Model\DataObject\Classificationstore\KeyGroupRelation:getMetadata()/setMetadata()andgetDefinitionOverride()/setDefinitionOverride()(both take and return decoded arrays — the two columns hold JSON text, never aPimcore\Tool\Serializepayload), andgetEffectiveDefinition(). No existing signature changed andgetDefinition()is unchanged. LikeStoreConfig'sengine, all three per assignment columns — these two and thesubGroupof the entry below — are written only when they were loaded or explicitly set, so the documented way of assigning a key to a group — anew KeyGroupRelation()carrying just a group id, a key id and a sorter — does not clear a stored value.getEffectiveDefinition()returns the key's definition with the override merged over it, as the same JSON stringgetDefinition()returns, and exactly that definition when no override is stored; its base isgetDefinition()as the instance carries it, which on aKeyGroupRelation\Listing-loaded relation already includes the relation'smandatoryflag and on agetByGroupAndKeyId()-loaded one does not. The closed list of what an override may carry isoptions,defaultUnitandvalidUnits— the per group option subset and the unit, which is what the measured ETIM evidence asks for. Any other property is refused bysetDefinitionOverride()withPimcore\Model\Exception\InvalidConfigException(the same exception and the same boundary assetIdentifier()), and nothing is written; that includestypeandfieldtype, because an assignment never changes what a key stores, andtitle,tooltipanddefaultValue, which are deliberately not override territory. The list can be widened in a later release without breaking stored data — narrowing it could not — so a property that is genuinely needed should be requested rather than worked around.optionsfilters rather than replaces: the merged definition keeps the key's own label/value pairs whose value is in the override's list, in the key's order, withnullmeaning every option and an empty list meaning none — including for a key whose ownoptionsarenull, where an empty subset still leaves no option at all.definitionOverrideis read: the object editor and object validation build the key's definition from it, see the next bullet.metadatais carried, not interpreted —indexed,externalCodeandcustomare stored and returned verbatim and no core path reads them. Note that disabling a key still deletes its relation rows, which from now on discards metadata, overrides and sub groups along with the sorter and the mandatory flag. - [Classification Store] A key assignment's
definitionOverrideis now read: the object editor and object validation use the group's option subset, and the editor and the default value use its unit (the unit list is not validated, and an emptyvalidUnitsis refused). On amultiValueorencryptedFieldkey the override applies to the inner type. Narrowing a group's option subset can make an object holding an excluded value fail its next save, for keys withenforceValidationenabled. - [Classification Store] A store can now carry a sub group vocabulary, and a key assignment can be tagged with one of its entries. The new table
classificationstore_subgroups(id,storeId,name,description,identifier,creationDate,modificationDate, unique per(storeId, identifier)) and the new nullable columnclassificationstore_relations.subGroup(VARCHAR(190), indexed) ship in migrationVersion20261029120000and in the installer dump. The new modelPimcore\Model\DataObject\Classificationstore\SubGroupConfig(with itsDao,ListingandListing\Dao) handles the vocabulary the same wayGroupConfigdoes, generated identifier included, and deleting an entry clears the tag from every key assignment of its store in the same transaction.Pimcore\Model\DataObject\Classificationstore\KeyGroupRelationgainedgetSubGroup()/setSubGroup()and a concretesave()of the same signature as the magic one it replaces; no existing property or signature changed, and the new property carries a default, so an older serialized payload still unserializes. A save whosesubGroupnames no entry in the store of the relation's group is now refused withPimcore\Model\Exception\InvalidConfigExceptionand writes nothing, where the same save succeeded before - only code that calls the new setter can meet that refusal, because neither the column nor the setter existed previously - while a save that never touched the sub group leaves the stored tag alone (setSubGroup(null)is what clears it). What a save stores is theidentifierof the entry it resolved to, not the spelling that was passed: the column collation is case insensitive, sosetSubGroup('Dimensions')andsetSubGroup('dimensions')name one entry and are stored, and reported by the getter afterwards, as the one the entry carries.SubGroupConfig::save()refuses with the same exception asetStoreId()that would move an already stored entry to another store, because the key assignments naming it would stay behind in the old one.pimcore:classificationstore:delete-storedeletes the vocabulary of the store it deletes, alongside its keys, groups and collections. The tag is inert everywhere else: group resolution, the key order of a group, the enriched layout and the mandatory checks produce exactly the results they did before. - [Advanced relations] Advanced many-to-many (object/element) relations no longer store a row in the
object_metadata_*table for a metadata column whose value isnull; a loaded relation still returnsnullfor such a column, andgetData()keeps the key. Custom SQL that joins these tables and relies on rows withdata IS NULLmust treat a missing row the same way. Rows stored by earlier versions stay until the field is saved again, as saving the field deletes its previous rows first. Saving a column asnull, also throughObjectMetadata::save()/ElementMetadata::save()directly, still removes its previously stored value. - [Select] The filter condition that
Select::getFilterCondition()/getFilterConditionExt()build for an empty value (=with'', e.g. the admin grid filter) is now(<column> IS NULL OR <column> = '')instead of<column> = '', so it also matches objects whose select has no value. Code that builds such a condition for''now also gets the objects without a value. Generated listing filters (filterBy<Field>(''), which useaddListingFilter()) are not affected and still compare with= ''. - [Classification Store] A Classification Store key of type
imagenow stores the referenced asset. The type could always be assigned to a key through the PHP API, but there was no Classification Store marshaller for it, so the save wrote the normalized array into the value column and the load silently yieldednull. The key now stores the asset id invalue, leavesvalue2empty and returns theAsset\Imageagain. Existing rows written before the upgrade are not migrated - no asset id is recoverable from what was stored - and keep reading back asnullinstead of failing; re-save the key to store the asset. There is no schema change and no configuration switch. Making the type selectable in the Classification Store configuration UI is a separate change. - [Classification Store] Elements referenced from a Classification Store value now register a dependency and a cache tag on the owning object, as they already did for a value of a regular or localized field. A wysiwyg key that embeds an asset, for instance, makes the owning object show up in that asset's "used by" list and in the warning shown when it is deleted, and saving the asset now invalidates the owning object's cache entry. The change ships unflagged; dependencies of an installation can still be switched off entirely with the existing
pimcore.dependency.enabledconfiguration. There is no backfill: an existing object registers its dependencies on its next save, and picks up the new cache tags on its next cache write. Only the object's own stored values of its active groups are walked — inherited values belong to the parent object, which carries their dependencies and tags itself. - [Classification Store] A Classification Store identifier collision on a store move now raises
Pimcore\Model\Exception\InvalidConfigException, as every other identifier collision already did, instead of the DoctrineUniqueConstraintViolationException. - [Classification Store] The
documentstorage engine ships and is selectable. It is opt-in per store: a store keeps the EAV storage untilPimcore\Model\DataObject\Classificationstore\StoreConfig::setEngine('document')is saved on it, and the setter alone moves no existing value —EngineResolverrefuseddocumentuntil now, so no installation can already hold data for it. The values a store already holds are moved bypimcore:classificationstore:flip/drain/verify/cleanup, which ship in this same release (see the migration entry below). The per-class tableobject_classificationstore_doc_<CLASS>is created by the class save, like both EAV tables, the moment a classification store field of that class points at such a store. It holds one row per (object, field, group) whosevaluescolumn carries the group's values as one canonical JSON document; the presence of the row is what makes the group active, so there is noobject_classificationstore_groups_<CLASS>counterpart, and a group activated without a value stores the document{}. The two EAV tables of a class are neither created nor dropped for such a field, andPimcore\Model\DataObject\Classificationstore\Enginestays@internal. - [Classification Store] Deleting a group configuration destroys the stored values of that group on a document store, exactly as it does on an EAV store: the document table declares
groupIdasINT(11) UNSIGNEDwith a foreign key toclassificationstore_groups(id)ON DELETE CASCADE, which is the cascadeobject_classificationstore_groups_<CLASS>already declares. Deleting an object removes its documents through the same kind of cascade onobjects(id). - [Classification Store] Be aware of what the document engine trades. A save still writes nothing when nothing changed, and a save that touches one group leaves the documents of the other groups byte for byte as they were — that is the part of the diff-based save's gain that survives the shape change. What does not survive is the row-level diff within a group: the document is the group, and
valuesisLONGTEXTrather thanJSON, so changing one value of a group rewrites that group's whole document in one statement. Against the EAV engine's "1534 statements to 6", that is a different trade and not a strictly better one: fewer statements, more bytes per statement. A group holding many large values is the case to measure before switching a store over. - [Classification Store] The document engine offers three capabilities the EAV engine does not:
supports()answerstrueon it forMultiValue,VariantsandRelations, andfalsefor all three on the EAV engine, whose value table has room for the language and nothing else.PerKeyLocalizationis answeredtrueby both — it is a property of the key configuration rather than of the storage. No Studio field selects the engine; the command that does ispimcore:classificationstore:flip, which is the whole required action —drain,verifyandcleanupare optional housekeeping, and a store left mixed indefinitely is correct because a read falls through to the EAV rows on a miss. Values are stored as the field definition'snormalize()output, with one named exception: anencryptedFieldkey keeps its classification store marshaller, because that marshaller encrypts rather than packs and skipping it would store the secret in cleartext. That marshaller encrypts with a fresh salt per call, so a value whose cleartext did not change keeps the ciphertext its document already holds and the group is not rewritten for it; a changed value is encrypted anew. The per-typeclassificationstore_<type>marshallers are therefore EAV-only by design. - [Classification Store]
EngineResolverno longer holds any engine name back as "known but not shipped", soPimcore\Model\DataObject\Exception\ClassificationStoreEngineNotAvailableExceptionis no longer raised from the default configuration. The class is kept — it carries no@internal, so catching it stays legal — and anenginevalue that matches no registered engine still fails loudly withUnknownClassificationStoreEngineException.bin/console pimcore:classificationstore:check-enginesnow reports a store ondocumentas healthy, andpimcore:classificationstore:delete-store <id>echoes avia engine documentline beside thevia engine eavone. - [Classification Store] One observable difference between the two engines, accepted deliberately:
Classificationstore::getGroupCollectionMappings()lists, on an EAV store, every group that holds a stored value — mapped tonullwhen the group has no collection — while on a document store it lists only the groups that actually have a collection.getGroupCollectionMapping($groupId)answersnulleither way, so only the shape of the full array differs, and only for a group with no collection. The document engine cannot record thenullentry: the mappings of an object and of its inheritable parent are merged as an array union, so anullentry on the child would shadow the collection the parent maps. Code that iterates the array and treats a key's presence as "this group holds values" should readgetActiveGroups()instead. - [Classification Store] The maintenance cleanup no longer deletes the stored values of a classification store field that its class carries only inside an allowed object brick or field collection. The value tables key their rows by the field's own name, and the sweep decided a name was gone by asking the class definition for a top-level field - which neither container is - so every maintenance run deleted those rows. This affects the EAV storage as it exists today, not only the new document one: the fix resolves the live field names with the same recursive, container-aware discovery the engine routing already uses, and both engines share it. Values deleted by an earlier release are not recoverable from the value tables; rows under a field name that genuinely no longer exists are still removed as before.
- [Classification Store]
Pimcore\Model\DataObject\Classificationstore\Dao::getDataTableName()andgetGroupsTableName()are deprecated and will be removed in Pimcore 2027.1. They keep their name, their arity and their result, and they always name the EAV tables — on a store using the document engine those tables do not exist. Read the store's engine instead of asking the DAO for a table name. - [Classification Store] Stores, collections, groups and keys can carry a translated title and description, stored in the new table
classificationstore_labels(migrationVersion20261029130000, also in the installer dump) and addressed by(entityType, entityId, language). This release ships the table, the publicPimcore\Model\DataObject\Classificationstore\Labelmodel with its DAO and listing, and the@internalPimcore\Model\DataObject\Classificationstore\LabelResolverservice — nothing else: no Studio response payload carries a label and nothing the object editor renders changes, so an installation that writes no label sees no difference. Labels are data rather than a translation workflow: thelanguagecolumn is stored verbatim and is not validated against the configured languages, so an import for a locale the installation has not enabled yet is kept and simply not reached until it is. The column isVARCHAR(16), wide enough for the realistic BCP 47 forms such asen_US_POSIXandzh_Hant_TW, andLabel::setLanguage()throwsPimcore\Model\Exception\InvalidConfigExceptionfor anything longer instead of letting the database truncate it — strict SQL mode is off in the default connection, so a truncated key would be written silently and never found again under the real locale. The resolver walks the requested language, then the languages configured as its fallbacks — transitively, since a fallback language may configure fallbacks of its own, and a cycle among them ends at the languages it contains — then the installation's default language (the configured one, or the first valid language when none is configured), then — for a key only — the key's owntitlewhen that is not empty, and finally the entity'sname. The default-language rung is what answers the ordinary installation, whosefallback_languagesis empty until an operator fills it in. A description runs the same languages, then stops at the entity's owndescriptionand never falls through to the name. A stored title or description that isNULLor empty counts as absent.entityIdis a signedBIGINT(20)because it addresses four tables with two different id types:classificationstore_stores.idis a signedINT(11)while groups, keys and collections areINT UNSIGNED, so a signedBIGINTis the only type that covers both the signed range and the unsigned range above2147483647— with strict SQL mode off in the default connection, an id outside the column would be clamped rather than refused, and the label would attach to the wrong entity or collide under the primary key.entityTypealso carries the membersubgroup, which has no entity yet. No existing signature onStoreConfig,CollectionConfig,GroupConfigorKeyConfigchanged. - [Classification Store] The label resolver is reachable through the new interface
Pimcore\Model\DataObject\Classificationstore\LabelResolverInterface, which is public API and autowirable (service idPimcore\Model\DataObject\Classificationstore\LabelResolverInterface, aliased to the implementation). It carriespreload()and the two title lookups and nothing else; the implementingLabelResolverstays@internal, so a package outside core should type-hint the interface rather than the class. The second title lookup is new:getStoredTitle()walks exactly the same chain asgetTitle()- requested language, transitive fallbacks, default language, then a key's owntitle- but ends atnullinstead of falling through to the entity'sname, for a caller that has to leave a field empty when nothing is stored rather than publish the technical name.getTitle()is unchanged and still never returnsnullfor an entity whosenameis set.getDescription()needs no such twin, as its chain already ends atnull. - [Classification Store] A deleted classification store entity now takes its labels with it. The two deletion paths remove different sets, because they delete different things.
StoreConfig::delete(),CollectionConfig::delete(),GroupConfig::delete()andKeyConfig::delete()remove that entity's own label rows, in every language, in the same database transaction as its row; they do not become recursive, so deleting a store still leaves its collections, groups and keys in place and therefore leaves their labels in place too.pimcore:classificationstore:delete-store <id>does delete those children — with its own statements, never constructing a model, so no modeldelete()runs on that path — and therefore removes their labels along with the store's own, before the configuration rows the labels are scoped by are gone; otherwise they would be left behind with nothing pointing at them. The command prints one additionalDeleting labels for store <id>line. - [Classification Store] The values a store already holds can now be migrated to the
documentengine, which shipped without a migration route in this same release. Four new@internalcommands drive it:pimcore:classificationstore:flip <store>(aliasclassificationstore:flip) puts one store on the engine and creates the document table of every class carrying a field on it,pimcore:classificationstore:drain [--class=] [--max-divergences=] [--dry-run]converts the EAV rows one (object, field) pair at a time,pimcore:classificationstore:verify [--class=]recomputes each document's checksum and asserts that no EAV row survived, andpimcore:classificationstore:cleanup [--class=] [--dry-run]drops the two EAV tables of a class once every store it uses is converted. There is no reverse migration: the flip takes no engine argument, there is no un-flip command, and setting a flipped store back toeavdoes not bring back the values written since the flip — it hides them behind whatever EAV rows are left. The work lives in the new@internalservicePimcore\Bundle\CoreBundle\DataObject\Classificationstore\DocumentEngineMigrationService; core gains no dependency on the Generic Execution Engine bundle, and there is no schema change — theenginecolumn and the document table'schecksumandmigratedAtcolumns already shipped. The documented statement that there is no migration between engines is replaced indoc/03_Objects/01_Object_Classes/01_Data_Types/15_Classification_Store.md. - [Classification Store] A store on the
documentengine now reads through to the EAV tables for any (object, field) pair that holds no document row, so a flipped store keeps answering its stored values until the drain reaches them and an installation can run the conversion while it serves requests. The two sources are never merged — a pair holding at least one document is read from the document alone — the fallback is derived at read time and no column records it, and an absent document table (a hand-editedenginecolumn, say) now reads as an empty store instead of raising table-not-found. An absent EAV table reads as an empty store as well. An ordinary save on the document engine now also deletes that (object, field) pair's rows from both EAV tables, in the same transaction as the document write, with no comparison beforehand. That is new behaviour for a store that was already ondocumentbefore this release: a save that used to leave the EAV rows of the same object and field name alone now removes them. Only the saved pair is affected — the rows of the object's other classification store field names are untouched — and an absent EAV table makes the delete a no-op. An unchanged save still writes nothing at all, the delete included: a pair whose documents are already in the state the save wants has no EAV rows left to remove. Database triggers or replication filters watching the EAV tables will see those deletes. - [Classification Store] Every writer of a document row now stamps
checksumwith thesha1of that row'svaluescolumn — the ordinary save as well as the drain.migratedAtis stamped by the drain alone, so a document carrying none was created by a user save, and a user save that rewrites a drained document leaves itsmigratedAtas it was. Rows written before this release carry neither stamp;pimcore:classificationstore:verifyreports those as unproven rather than as corrupt and still exits zero for them. The document table itself is unchanged: no marker row, no nullablegroupIdand no dropped foreign key, so theON DELETE CASCADEfromclassificationstore_groupsthat makes deleting a group destroy its values is intact.Pimcore\Model\DataObject\Classificationstore\StoreConfig::setEngine()gained no guard and behaves exactly as before. - [Classification Store]
Pimcore\Model\DataObject\Classificationstore\KeyConfig::setTitle()now takes effect. Until now every save overwroteclassificationstore_keys.titlewith thetitleof the key's definition blob (orNULLwhen that blob carried none), so an explicitly set title was discarded and a definition edit silently rewrote the column. The definition'stitlenow only seeds the column, and only on a key whose title was neither loaded nor explicitly set — the documented creation path (new KeyConfig()plussetDefinition(json_encode($definition))) still populates it, and does so again on every later save until a title is set or loaded. Three consequences: an explicitsetTitle()wins over the blob; changing the definition of a loaded key no longer updates its title, which has to be changed withsetTitle(); and a save from a key built withnewthat carries neither a title nor a definition title leaves the stored title alone instead of clearing it. Clearing a title issetTitle(''), which stores the empty string the column defaults to —LabelResolveralready treats that as absent and falls through to the key's technical name. No schema change, andsetTitle(string): void/getTitle(): ?stringare unchanged. - [Classification Store] A key can now be defined with any registered data type, except the five container types,
reverseObjectRelation,urlSlugandcalculatedValue. Which of the accepted types a store can actually hold is a property of its storage engine: the structured types are storable on adocumentstore and refused on aneavone — see Available Data Types. Every type aneavstore accepts today still saves and reads back unchanged, and acalculatedValuekey keeps working exactly as it did: it is excluded from the newly unlocked set, not from the store. - [Classification Store] Behaviour change to act on: on an
eavstore, defining a key of a type that engine cannot hold — a structured or a relation type — now throws the newPimcore\Model\DataObject\Exception\UnsupportedEngineFeatureExceptionand writes nothing, and saving an object carrying a value of such a key throws the same instead of writing the row, where it previously stored a value that could not be read back. No working data is affected, but code that defines such a key, and an object that still holds one, now fail where they previously did not: move the store to thedocumentengine withpimcore:classificationstore:flip/drain/verify/cleanup, or give the key a type whose value is a scalar. AnencryptedFieldkey is judged by its delegate, so one delegating to a structured type is refused on aneavstore and works on adocumentone, while one delegating to an excluded type —urlSlugor a container type — is refused withPimcore\Model\Exception\InvalidConfigExceptionwhen the key is defined, on either engine. - [Classification Store] Added: relation keys on a store using the
documentengine.manyToOneRelation,manyToManyRelation,manyToManyObjectRelation,advancedManyToManyRelationandadvancedManyToManyObjectRelationcan now be used as key types there; on the EAV engine such a key is refused with the newPimcore\Model\DataObject\Exception\UnsupportedEngineFeatureException, andreverseObjectRelationis refused on both engines. - [Classification Store] Localization can now be chosen per key, with the new
Pimcore\Model\DataObject\Classificationstore\KeyConfig::getLocalized()/setLocalized(). A key that does not decide — every existing and every newly created one — inherits thelocalizedflag of the class definition field, which is deprecated in favour of the key flag and keeps its meaning as that default, so nothing changes for an existing store: the migration adds the nullable column and backfills nothing, and no key of yours decides until you flag it. - [Classification Store] A messenger worker now drops the key configs and field definitions it has memoized at the start of every message, alongside the runtime cache it already cleared there, so a key edited while the worker runs is read again on its next message instead of staying stale for the life of the process. Each message therefore re-reads the key configs it touches.
- [Classification Store] A
Pimcore\Model\DataObject\Classificationstore\KeyConfigthat was never saved is no longer memoized byService::getFieldDefinitionFromKeyConfig(): its id isNULL, so every unsaved key config shared one entry and the second one was answered with the first one's field definition. - [Classification Store] Added:
multiValue, a key type that holds one value per declared variant of one key — read and written through the newgetKeyValues(),getKeyValue()andsetKeyValues()onClassificationstore. It needs a store on thedocumentengine; on the defaulteavengine an unqualified value still works and anything its value table cannot address is refused, and a key that declares no qualifier behaves exactly as before on either. A key can also decline the unqualified value, which leaves it writable under its declared variants alone and hides a value already stored under none of them without deleting it. - [Classification Store] Added:
customMetadata, a free-form map of pairs on collections, groups, sub groups and keys (getCustomMetadata()/setCustomMetadata()), stored in a new nullable JSON column on each of the four tables. Nothing in core reads it and nothing changes for an existing installation. - [Classification Store] Added:
pimcore:classificationstore:translate-identifiersrewrites the grid configuration column token~classificationstore~<field>~<groupId>-<keyId>to the new five segment identifier form~classificationstore~<field>~<groupIdentifier>~<keyIdentifier>; both forms are accepted. - [Classification Store] Behaviour change to act on: a draft (unpublished) save of an object now validates Classification Store values against the key's options and the field's group limit, as a published save does; only the mandatory check and the checks core gates on it stay skipped. A draft holding a value that breaks one of these cannot be saved until the value is corrected.
- [Classification Store] Behaviour change to act on:
consent,permissionManyToManyRelationandpermissionManyToOneRelationcan no longer be used as a key type, nor as the delegate of anencryptedFieldormultiValuekey.KeyConfig::save()refuses such a configuration with anInvalidConfigException, and the Studio key-type pickers no longer offer them. Keys that already carry one of these types are untouched: they keep their stored values, stay readable and editable, and stay saveable (renaming, disabling and editing titles still work); only turning another key into one of them is refused. Their field type is no longer shown with its translated label in the key grid, because the picker no longer lists it.
[Workflow]
Pimcore\Workflow\Manager::getDeniedActionsInWorkflow()returns, for a list of permission types, whether the element's workflows deny each of them, resolving the element's workflow permissions only once.isDeniedInWorkflow()now delegates to it with unchanged results; callers that check several permission types for the same element should switch to the new method.- [Notifications] A new event
Pimcore\Event\WorkflowEvents::PRE_NOTIFICATION_SENDING(Pimcore\Event\Workflow\WorkflowNotificationEvent) is dispatched once per notification setting on a transition, before every channel that setting configures - so a listener's changes apply to the Pimcore notification as well as to the mail. Listeners can rewrite the user and role lists, e.g. to notify the subject's owner, and the behaviour is unchanged when no listener is registered. The@internalPimcore\Workflow\EventSubscriber\NotificationSubscribertakes an additionalEventDispatcherInterfaceconstructor argument.
[Tags]
Pimcore\Model\Element\Tag::setTagsForElement()now dispatchesPimcore\Event\TagEvents::POST_BATCH_ASSIGN_TAGS_TO_ELEMENT(a single id inelementIds;tagIdsis the full new set, empty when all tags were removed), likebatchAssignTagsToElement()does. A listener on this event therefore also runs when tags are replaced through other core paths: copying an element with its tags, deleting an asset (withtagIdsempty, the element is already gone), restoring an asset through WebDAV, and direct calls ofsetTagsForElement(). The event does not tell whether tags were added or replaced. If your code dispatches the event manually after callingsetTagsForElement(), remove that dispatch to avoid handling it twice.- [Tags]
Tag::setTagsForElement()andTag::batchAssignTagsToElement()now also dispatch the per-element tag eventsTagEvents::PRE_ADD_TO_ELEMENT,POST_ADD_TO_ELEMENT,PRE_REMOVE_FROM_ELEMENTandPOST_REMOVE_FROM_ELEMENT, likeaddTagToElement()andremoveTagFromElement()do. They fire only for assignments that change: a tag that is already assigned, or stays assigned, raises no event. Listeners on these events now also run when tags are copied with an element, removed with an asset, set through WebDAV or applied to many elements at once. The batch variant dispatches one event pair per changed element and tag, so a listener doing expensive work per event should keep that cost in mind for large batches; this includes subscribers that reindex on every event, such as the one in the Generic Data Index bundle (a batch can queue an element once per changed tag). When an asset is deleted, its remove events fire in the commit callback of the delete: a listener that throws there makesAsset::delete()fail (and dispatchPOST_DELETE_FAILURE) although the asset is already deleted, so listeners on the remove events should not throw. Repeated tags or element ids in the input are ignored.
[Security]
- [2FA] When
pimcore.general.domainis configured, it is now used as the defaultscheb_two_factor.google.server_name, so new Google Authenticator enrolments show the account as<username>@<domain>instead of just the username. The issuer is not changed. Existing enrolments keep working, as the shared secret is unchanged and only the label of new QR codes is affected. An explicitly configuredscheb_two_factor.google.server_namestill takes precedence. Without a configured domain nothing changes.
Pimcore 2026.3.9
[Data Objects]
- WYSIWYG links and images to elements the current backend user may not view are shown without their path.
[Documents]
- [Security] With
pimcore.documents.editables.link_sanitizer.strict: true, the URL policy now also applies toPimcore\Model\Document\Link::getHref()andgetLink(), and thus to navigations built from Link documents. A direct link with a rejected URL (e.g.javascript:) returns an empty href.getRawHref()andgetDirect()still return the stored value. Nothing changes under the default (permissive) policy.
Pimcore 2026.3.8
[Assets]
-
[Security] [Thumbnails] The file paths of the image thumbnail transformations
setBackgroundImage,addOverlay,addOverlayFitandapplyMaskare now confined. Before, the adapters (Pimcore\Image\Adapter\GD,Pimcore\Image\Adapter\Imagick) read any file that the joined path pointed at, so a thumbnail configuration could draw a file from anywhere on the file system into the (publicly served) thumbnail. Now the file has to be located in the public web root (PIMCORE_WEB_ROOT, by defaultpublic/); anything else is ignored without an error, the transformation is skipped and the thumbnail is generated without it:Transformation Path is relative to Before Now setBackgroundImage(GD, Imagick)the web root any file, also outside of the web root via ..only files in the web root addOverlay(GD),addOverlayandaddOverlayFitwith a relative file path (Imagick),applyMask(Imagick)the project root any file, also outside of the project via ..only files in the web root ( public/...keeps working)addOverlayandaddOverlayFitwith an asset path or asset id (Imagick)the asset tree works unchanged What stays the same: the notation of the paths, files below a symlinked directory in the web root (e.g. the bundle assets in
public/bundles/*installed withassets:install --symlink), and a..that stays inside the web root (/static/../img/a.pngis read as/img/a.png). The path is normalized before it is used; it is not resolved through symlinks. Details of the change:- Files outside of the web root, e.g. an overlay or mask in
templates/,assets/or on a file system mounted outside of the project, are no longer applied. Move them into the web root, make them reachable through a symlink in the web root, or - for overlays on Imagick - reference them as assets. GD overlays and masks have no asset alternative. - A path that climbs above its root is rejected, a
\is treated like a/, and a..is collapsed before the path is used, so/bundles/foo/../x.pngalways means/bundles/x.png, also ifbundles/foois a symlink (the file system would have resolved the..against the symlink's target). Imagick::addOverlay()andImagick::addOverlayFit()used to throw anImagickExceptionfor a relative file path that could not be opened. For a path outside of the web root the overlay is now skipped silently instead.- A project with a
PIMCORE_WEB_ROOToutside of the project root can no longer use overlays and masks given as relative file paths. Pimcore\Image\Adapterhas two new protected methods,resolveConfinedPath()andresolvePublicFilePath(); both are marked@internal, but an own adapter subclass that already declares methods with these names has to rename them.
Before upgrading, review the thumbnail configurations of your project (Studio: Asset Management > Image Thumbnails; stored in
var/config/image_thumbnails/or the settings store) for overlays, masks and background images that point outside of the web root. - Files outside of the web root, e.g. an overlay or mask in
[WebDAV]
- [Security] Requests to
/asset/webdavby a user whose active flag is false are now rejected. The WebDAV server answers401with an HTTP Basic challenge, node lookups and moves fail with403. Before, only requests without any authenticated user were rejected, so deactivating a user did not revoke its WebDAV access. - [Security] Add Pimcore's user checker to the
pimcore_webdavfirewall in yourconfig/packages/security.yaml, so the active flag is also enforced during the HTTP Basic authentication itself (as the Studio firewall already does). With the user checker, WebDAV logins also update the user's last login date.pimcore_webdav:pattern: ^/asset/webdavprovider: pimcore_adminuser_checker: Pimcore\Security\User\UserCheckerhttp_basic: ~
[Documents]
- [Security] [Static Page Generator] Static pages of documents with a pretty URL are now stored per site. Pretty URLs are relative to the site, so two sites can use the same one, and their static pages used to share one path: generating or removing the page of one site overwrote or deleted the page of the other.
StaticPageGenerator::getStoragePath()now returns/%site_<site id>/<pretty URL>.htmlfor a document with a pretty URL that belongs to a site, or/<main domain of the site>/<pretty URL>.htmlwithstatic_page_generator.use_main_domain: true(before: the system main domain for every site). Documents without a pretty URL and documents outside of any site keep their path, so only installations with several sites, pretty URLs and static pages are affected. After the update, delete the old static pages (public/var/tmp/pages, or the configureddocument_staticstorage) and regenerate them (bin/console pimcore:documents:generate-static-pages): Pimcore no longer touches the old files, so a web server that delivers static pages directly keeps serving them. The web server rules do not find the new paths until the site prefix is added, Pimcore serves those pages meanwhile, see Static Page Generator. - [Security] [Multiselect editable] Printing the editable directly (
{{ pimcore_multiselect("name") }},Multiselect::frontend()) now HTML-escapes every selected value before joining the values with a comma; before, the stored values were output as raw HTML. Values containing&,<,>,"or'therefore render as text, and code that splits or compares this string (e.g.pimcore_multiselect("name")|split(',')) receives the encoded form (R&Dinstead ofR&D) - read the values withgetData()there, which still returns them unchanged. Templates that follow the documentedgetData()loop are unaffected. To get the previous raw output for trusted values, set the editable optionhtmlspecialcharstofalse(the same option the Input and Textarea editables have), see Multiselect.
[Data Objects]
- [Security] Password fields inside a Block field (also inside localized fields within a Block) and Password keys of a classification store are now stored as a hash on save, like top-level Password fields. Before, these values were stored as plain text. After the save, the field holds the hash, so code that read the plain value back from such a field gets the hash now; use
password_verify()to check a value. Values stored before the update stay in plain text until the object is saved again: save the affected objects again (or run a script that loads and saves them). Older versions of these objects keep the plain value; consider deleting those versions. - [Security] [WYSIWYG data type] The data object
Wysiwygfield now passes its value through thepimcore.wysiwyg_sanitizerHTML sanitizer when it is read, not only when it is saved to the database. Before, a draft version (saved as version or auto-save, which does not callgetDataForResource()) kept its raw HTML and returned it unsanitized from the getter, e.g. in the Studio preview. This applies to the getters (also of Wysiwyg fields in localized fields, field collections, object bricks, blocks and the classification store), to the data sent to the editor (getDataForEditmode()) and to the diff preview in the versions view. What to check after the update:- Content that was sanitized by a regular save is returned as before. Content that never went through the current sanitizer configuration - values stored before the sanitizer existed, written directly to the database, set via setters or imports without a save, or saved under a more permissive sanitizer configuration - is now cleaned on output without being re-saved (for example
<script>, event handler attributes such asonerror, and elements or attributes that are not in the allow list disappear). Extendframework.html_sanitizer.sanitizers.pimcore.wysiwyg_sanitizerif such markup is intended. - A project that replaces or decorates the sanitizer service (
html_sanitizer.sanitizer.pimcore.wysiwyg_sanitizer) has to make sure it is idempotent (sanitizing already sanitized HTML returns it unchanged), because a saved value is sanitized again on every read. - The sanitizer now runs on every getter call of a Wysiwyg field.
- Content that was sanitized by a regular save is returned as before. Content that never went through the current sanitizer configuration - values stored before the sanitizer existed, written directly to the database, set via setters or imports without a save, or saved under a more permissive sanitizer configuration - is now cleaned on output without being re-saved (for example
[Supported databases]
- [Supported databases] The minimum supported database server versions are raised to MariaDB 10.11 (previously 10.3) and MySQL 8.4 (previously 8.0), because MySQL 8.0 and MariaDB 10.6 and older have reached end of life. Pimcore is now tested against the LTS series MariaDB 10.11, 11.4, 11.8 and 12.3 and MySQL 8.4 and 9.7 (new). MySQL Innovation releases (9.0 - 9.6, 26.x) and MariaDB rolling releases are not tested and not supported. Update the database server before or together with the Pimcore update; see the System Requirements in the platform documentation.
- [Supported databases]
bin/console pimcore:system:requirements:checknow reports a warning (never an error, and the exit code stays0) when the database server is older than the minimum supported version. Pimcore does not block such installations, but they are no longer tested. - [Supported databases] Doctrine DBAL resolves MySQL 9.x to its MySQL 8.4 platform and MariaDB 11.8 / 12.3 to their own platform classes. If the connection sets
serverVersion(e.g. inDATABASE_URL), DBAL does not ask the server and uses that value instead, so keep it in sync with the actual server version after a database upgrade.
[Transactions]
- [Transactions]
Pimcore\Model\Element\AbstractElement::retryableFunction(), whichsave()anddelete()of assets, documents and data objects used to retry on deadlocks, is deprecated and will be removed in Pimcore 2027.1. Core now uses the new@internalmethodretryableTransaction();retryableFunction()keeps its signature and its behaviour, but triggers a deprecation. The difference: when such a call runs inside a transaction opened by your own code and the database server rolls that transaction back by itself (deadlock victim, or MariaDB >= 11.6.2 withinnodb_snapshot_isolation, error 1020),retryableFunction()retries the operation outside of any transaction: the writes of the retry cannot be rolled back, the earlier writes of your transaction are lost, and the error that reaches your code is a confusingSAVEPOINT ... does not exist.retryableTransaction()does not retry then, restores DBAL's transaction nesting level and throws the original exception (e.g.Doctrine\DBAL\Exception\DeadlockException), so that your code can roll back and retry its own transaction. If a class extends an element class and overrides or callsretryableFunction(), migrate it toretryableTransaction(); note thatsave()anddelete()of core no longer callretryableFunction(), so an override of it is not invoked by them anymore. Code which catches the exception and then commits anyway still loses the earlier writes of its transaction without an error, because the server has already rolled them back: roll back and retry the whole transaction instead.
[Twig sandbox]
- [Security] Sandboxed renders can now be nested: when a sandboxed render (Dynamic Text layout, email subject or body) runs inside another one, the Twig sandbox stays enabled until the outermost render has finished. Before, the inner render disabled the sandbox for the rest of the outer template.
- [Security]
Pimcore\Model\DataObject\ClassDefinition\Layoutis now on the defaulthard_blocked_method_patternsof the Twig sandbox: sandboxed templates can no longer call methods starting withset,enrich,render,add,remove,clear,delete,save,dump,update,create,trigger,rename,generate,rewrite,enable,disable,batch,import,lock,restoreorflushon layout elements (e.g.layout.setHtml()orlayout.enrichLayoutDefinition()in a Dynamic Text template). Read-only getters such aslayout.getName()keep working. Code that buildsPimcore\Twig\Sandbox\SecurityPolicywith an explicithardBlockedMethodPatternslist should add this entry. See Twig Sandbox Object & Function Access.
[Generic Execution Engine]
-
Faster and exact last job run lookup, new migration.
JobRunRepositoryInterface::getLastJobRunByName()read every job run with a pattern match on the serialized job, which became slow on tables with several hundred thousand job runs. It now uses a new columngeneric_execution_engine_job_run.jobNameand an index on it. The column is not mapped in Doctrine; the new getterJobRun::getJobName()returns the name of the job.Migration
Pimcore\Bundle\GenericExecutionEngineBundle\Migrations\Version20261201000000adds the column, fills it for existing job runs and adds the indexesidx_gee_jobrun_jobname_moddateandidx_gee_jobrun_moddate. Adding the column is instant, the indexes are created online and the fill runs in batches of 10 000 job runs. Measured on MariaDB 10.11, it takes about two minutes per 500 000 job runs. Fresh installations get the column and the indexes from the installer.Any DDL on this table waits for the lookups that are running and holds back writes of the Generic Execution Engine behind it (metadata lock). On large tables, pause the Copilot scheduler cron (
copilot:automation-action:scheduled-actions) while the migration runs.Code that is deployed before the migration has run keeps working: the lookup falls back to the previous, slower query on the serialized job. Job runs created before the migration are filled by it; job names longer than 255 characters are not stored and are always found through the slower query. The same applies to job runs written by code that was not yet updated while the migration ran.
Behavior change: the lookup now matches the job's own name only. It no longer matches step names or the wildcards
%and_, and names containing characters that are escaped in the stored job (for exampleFeed/SyncorÄpfel) are now found. For job runs with a storedjobName, the comparison is byte for byte, so names that differ in case, accents or trailing spaces are different names. Before the migration, and for job runs without a stored name, the lookup matches the serialized job with the table collation, which ignores case, accents and trailing spaces. Calling code that relied on a pattern or step name match gets different results. -
Opt-in cleanup of old job runs. Job runs can now be deleted automatically. The cleanup is off by default and changes nothing until you enable it:
pimcore_generic_execution_engine:cleanup:enabled: trueolder_than_days: 90 # integer >= 0 or null, 0 or null = no limitmax_entries: 100000 # integer >= 0 or null, 0 or null = no limitIt runs as the maintenance task
generic_execution_engine_cleanup(manually:bin/console pimcore:maintenance -j generic_execution_engine_cleanup) and deletes only job runs in a final state (finished,finished_with_errors,failed,cancelled). The newest job run of every job name is always kept, as are job runs without a stored job name. Deleting a job run also deletes its error log entries and Studio's hidden job markers. The cleanup needs the migration above and skips until it has run.The task holds a lock (stored in the database by default), so overlapping maintenance runs, also on several hosts, do not run the cleanup twice at the same time. See the configuration for details.
Pimcore 2026.3.7
[Documents]
- [Security] [WYSIWYG editable]
Document\Editable\Wysiwyg::frontend()andgetDataEditmode()now pass the value through thepimcore.wysiwyg_sanitizerHTML sanitizer every time it is rendered. Before, the sanitizer only ran insave(), so a draft version (saved as version or auto-save, which does not callsave()) kept its raw HTML and was rendered unsanitized in the preview and via?pimcore_version=. What to check after the update:- Content that was sanitized by a regular save is displayed as before. The rendered HTML is identical to the stored value except for three cases that do not change what a browser displays: fallback text inside
<iframe>...</iframe>is escaped once more, an attribute value that contains a backtick gets one more trailing space, and a text that consists only of whitespace is rendered as an empty string. Content that never went through the current sanitizer configuration - texts stored before the sanitizer existed, written directly to the database, or saved under a more permissive sanitizer configuration - is now cleaned on output without being re-saved (for example<script>, event handler attributes such asonerror, and elements or attributes that are not in the allow list disappear from the rendered page). An element that is not in the allow list is removed together with its content, so the text inside for example<pre>,<code>,<small>,<figure>or<video>is no longer rendered. Extendframework.html_sanitizer.sanitizers.pimcore.wysiwyg_sanitizerif such markup is intended. - A project that replaces or decorates the sanitizer service (
html_sanitizer.sanitizer.pimcore.wysiwyg_sanitizer) has to make sure it is idempotent (sanitizing already sanitized HTML returns it unchanged), because a saved value is sanitized again on every render. getData()andgetText()still return the stored value as it is. A template that prints them with|rawinstead of rendering the editable has to sanitize the value itself.- The sanitizer now runs on every uncached render of the editable; with the full page cache enabled this only affects the request that fills the cache.
- Content that was sanitized by a regular save is displayed as before. The rendered HTML is identical to the stored value except for three cases that do not change what a browser displays: fallback text inside
[Assets]
- [Security] [Thumbnails]
Asset\Service::getStreamedResponseForThumbnail()(and with it the public helperAsset\Service::getStreamedResponseByUri()) now rejects a thumbnail URI whose decoded storage path contains a NUL byte or a./..segment. It returnsnullwithout reading the thumbnail storage and without generating a thumbnail, so the delivery ends in the usual 404/placeholder path. Custom thumbnail delivery integrations that call these methods with such URIs therefore receivenullinstead of a response; regular thumbnail URIs are unaffected. - [Security] [Thumbnails] Thumbnail responses created by
Asset\Service(the public thumbnail route,Asset\Service::getStreamedResponseByUri()andAsset\Service::getStreamedResponseFromImageThumbnail()) now sendX-Content-Type-Options: nosniff. Responses for SVG content (also XML/HTML content types and.svg/.svgzfiles) additionally sendContent-Security-Policy: default-src 'none'; img-src data:; style-src 'unsafe-inline'; font-src data:; sandbox. Embedding these thumbnails via<img>or CSS is unaffected; an SVG thumbnail opened directly in the browser can no longer run scripts or load external resources. If your web server delivers SVG files from/var/assetsor the thumbnail directory directly, configure the same header there.
[Documents]
- [Security] The Ghostscript document adapter (and the LibreOffice and Gotenberg adapters, which inherit from it) now passes
-dSAFERto every Ghostscript call that interprets a document: thumbnail rendering, page counting and the text extraction fallback. Ghostscript 9.50 and later already enable SAFER by default, so nothing changes there. On Ghostscript versions older than 9.50, PDFs that relied on unrestricted file or device access no longer render; normal PDFs are unaffected. Upgrade to Ghostscript 9.50 or later if documents stop rendering. - [Security] [Embed editable] The Embed editable passes the value an editor enters to Embera, which replaces only the URLs an oEmbed provider recognizes and returns everything else unchanged. A value that is not a URL, or text following a URL, was therefore rendered as-is into the page. New option
pimcore.documents.editables.embed_sanitizer.strict(defaultfalse, the rendering is unchanged): whentrue, only a well-formedhttp(s)URL with a host is handed to Embera and any other value renders nothing. Leading and trailing spaces and line breaks around the URL are ignored. Not accepted in strict mode: characters with a meaning in HTML (<,>,",',`), whitespace or control characters inside the value, URLs without a scheme or starting with//, several URLs in one value, and non-ASCII characters (percent-encode the path and use the punycode form of an internationalized host name). See Embed. - [Deprecation] [Embed editable] The permissive default of the Embed editable is deprecated since 2026.3 and will be replaced by the strict policy in 2027.1. While the permissive default is active, rendering a value the strict policy would reject triggers a deprecation (
pimcore/pimcore2026.3). Setpimcore.documents.editables.embed_sanitizer.strict: trueto adopt the strict policy now. A fully custom policy can be installed withPimcore\Model\Document\Editable\Embed\UrlSanitizer::setInstance()from a bundle'sboot()method. - [Security] [Select and Numeric editables]
Select::frontend()andNumeric::frontend()- and with them{{ pimcore_select(...) }},{{ pimcore_numeric(...) }}and every string cast of these editables - now HTML-escape the value by default (htmlspecialchars()), like the Input and Textarea editables. A value without&,<,>,"or'renders as before, which includes every numeric value. A Select value that contains such characters, for example a store value holding an HTML entity or markup, is now output escaped (an entity such as€is shown literally), and a comparison of the editable with a string sees the escaped text. An unset editable still returnsnull.getData(),getText(),getNumber()and the stored value are unchanged. To keep the previous raw output for an editable whose value is trusted, set the optionhtmlspecialcharstofalse, e.g.{{ pimcore_select('mySelect', {htmlspecialchars: false, store: [...]}) }}. A custom editable that extendsSelectorNumericand escapes the result ofparent::frontend()itself must drop that escaping or set the option tofalse. See Select and Numeric.
[Twig sandbox]
- [Security]
pimcore_website_configis now on the defaultblocked_functionslist of the Twig sandbox (pimcore.templating_engine.twig.sandbox_security_policy). Templates rendered in the sandbox - the subject and the body of emails and the Dynamic Text layout component of data objects - can no longer call it, with or without a key: rendering such an email fails withFunction "pimcore_website_config" is not allowed, and the text layout shows the corresponding error message instead of its content. Regular templates are not affected. Pass the needed values as email parameters instead ($mail->setParam()), or, if the authors of these templates may read every website setting, allow the function again by addingpimcore_website_configtopimcore.templating_engine.twig.sandbox_security_policy.functions. See Twig Sandbox Object & Function Access.
Pimcore 2026.3.5
[Documents]
- [Security]
Document\Editable::getUnserializedData()no longer unserializes an editable's stored data with every PHP class allowed. Only the classes the core editables store are reconstructed (MarkerHotspotItem, found in image hotspot/marker data); any other object in the stored data comes back as__PHP_Incomplete_Class. This affects custom editables whosegetDataForResource()stores objects and that read them back throughgetUnserializedData()(the core editables'setDataFromResource()does): register those classes in the newpimcore.documents.editables.unserialize_allowed_classesconfiguration (merged with the built-in list, see Adding Document Editables), or store scalars/arrays instead; otherwise that data is lost on the next load and save. - [Security] The image editable now stores its hotspot and marker metadata as plain arrays with a referenced asset/document/object reduced to its id - the format the editmode and Studio already write. A
MarkerHotspotItembuilt through the PHP API with the element object as value is therefore stored by id as well; after reloading,$item['value'](array access) still resolves to the element, whilegetValue()returns the id, exactly as for metadata saved through the editmode. Element objects that older versions serialized into existing image data are reduced to their id on load, so nothing needs re-saving. - [Image editable] Elements referenced by id in hotspot/marker metadata - which includes all metadata saved through the editmode or Studio - are now included in
Image::resolveDependencies()andImage::getCacheTags()(bugfix). Before, only metadata that held the element object itself contributed a dependency and a cache tag.
[Assets]
- [Security] [WebDAV] The delete-log entry
Asset\WebDAV\File::delete()writes (used to keep an asset's id when a client saves by deleting and then moving a file onto the same path, e.g. Photoshop) is now signed with a key derived from the application secret (kernel.secret), and only a correctly signed entry is unserialized. Entries written before the update - they live for 30 seconds - and entries written without an application secret configured are ignored; the move then falls back to a plain rename, as it does when no entry exists. - [Videos] Reading the metadata of a video no longer saves the asset (bugfix). When
Video::getDuration(),Video::getDimensions(),Video::getWidth()orVideo::getHeight()had to read a value with the video adapter because it was not cached yet, they called a fullsave(). Every read - in a template, a grid, a listing or the search index - therefore fired the asset update events, advancedmodificationDate, re-queued the asset and its dependents for indexing, and wrote any other unsaved change of the object. The values are now cached the wayImage::getDimensions()caches image dimensions: only the custom settings are written, without events and without changingmodificationDate. Nothing is written for an asset that is not saved yet, or whose data was replaced but not saved yet - the values are read again from the stored file after the next save. Code that relied on these getters dispatchingAssetEvents::PRE_UPDATE/POST_UPDATEhas to save the asset itself. - [Videos] A video is no longer marked as failed (
pimcore-asset-processing-failed) when no video adapter is available - e.g. ffmpeg not installed in the container that reads the metadata or processes the asset update task. This is an environment problem, not a broken file, and the marker kept duration and dimensions atnulleven after ffmpeg became available. A warning is logged instead; a file the adapter cannot read is still marked as failed. Videos that were marked for this reason can be processed again withbin/console pimcore:assets:add-to-update-task-queue --retry-failed.
[Versions]
- [Publishing a version] Publishing a prepared version - a version newer than the element's persisted state, e.g. a saved draft - through the scheduled
publish-versiontask now writes the published state into that version instead of creating a new one (bugfix, pimcore/service-operations#1628). Previously the prepared version stayed an unpublished entry and a copy of its content became the live version, so the version history did not show which version went live. The published version takes the element's new version count and modification date, it keeps its id, its author, its note and its position in the history (ordered by id). Scheduling an older version (a rollback) or an auto-save version still publishes it as a new version, the history keeps the older version as it was. The step-based versions cleanup (steps) ranks the versions by their version count (the order their states were saved in) instead of their id and always keeps the version of the element's current state. - [Publishing a version] Internally, this uses the
existingVersionsave parameter ($element->save(['existingVersion' => $version])), which Pimcore Studio uses for "Publish" on a version as well. It is not part of the public API yet: the version must belong to the element and must not be an auto-save version (InvalidArgumentExceptionotherwise), and for an asset its binary data must be the one of the version.Document\PageSnippet::saveVersion()accepts it, likeAsset::saveVersion(), as an additional optionalarray $parametersargument (read viafunc_get_arg(), a regular parameter in the next major version).
[Expressions]
-
[Security] Expressions that are stored as configuration or data are now evaluated against read-only stand-ins of their variables (GHSA-93jv-p24f-gcpp). Symfony's ExpressionLanguage is not a sandbox: an expression could call every public method of the objects it got, e.g. reach the database connection through
object.getDao(), save or delete elements, or change the current user. This applies to calculated values of type Expression (object,data), to the workflow expression languageworkflow.security.expression_language(transition and global-action guards, place permissions, notification conditions, also used by bundles) and toExpressionServiceInterface(Generic Execution Engine step conditions). What an expression can still do:Expression part Example Now Field getters, also of related elements, object bricks, field collections, localized fields ( getName("de"),getLocalizedfields().getLocalizedValue(...)) and classification stores (getLocalizedKeyValue(...))object.getMybricks().getMyBrick().getPrice()allowed (unchanged) Element getters: getId(),getKey(),getFullPath(),getParent(),getType(), dates,isPublished(),getProperty(), assetgetFilename()/getMimeType()/getMetadata(), …object.getParent().getKey()allowed (unchanged) Getters of field values: the data the field type stores (e.g. getValue()andgetUnit()of a quantity value,getHref()/getText()of a link,getLatitude()of a geopoint, relation metadata columns,getRow__col()of a structured table), array access andinon listsobject.getPrice().getUnit().getAbbreviation()allowed (unchanged) Dates object.getDate().format("Y")allowed; the expression gets a DateTimeImmutablecopy, so Carbon-only methods are not availableWorkflow userandtokenuser.getUser().isAdmin(),token.getRoleNames()read-only getters only; is_granted()and the other functions are unchangedAny other method, property access, setters, save(),delete(),getDao(),getClass(),getChildren(), static methods,getThumbnail()object.getChildren()rejected ( SyntaxError)A rejected call makes a calculated value show the error message, as a syntax error always did; in a workflow guard it is an exception. Expression functions (
pimcore.calculated_value.expression_language_provider, Security'sis_granted()etc.) get the original objects, and the result of an expression is the original value. These expression languages no longer supportcompile()(LogicException): compiled code would call methods on the original objects. Review the expression calculators and workflow expressions of your project before upgrading; an expression that needs more should move to a calculator class or a custom expression function. -
[Expressions] New public API for bundles and projects that evaluate stored expressions: the service
Pimcore\Helper\SymfonyExpression\ReadOnlyExpressionLanguage(ornew ReadOnlyExpressionLanguage($providers)) evaluates with read-only stand-ins and withoutconstant(). ImplementPimcore\Helper\SymfonyExpression\ReadOnlyValueAdapterInterface(autoconfigured) to make getters of your own value types available to expressions.
[Messenger]
- [Sanity check] The
SanityCheckHandler(pimcore_coretransport) no longer saves an element whose row, or whose parent's row, was deleted after theSanityCheckMessagewas queued.save()re-inserted such an element (Helper::updateOrInsert()), so a bulk deletion with a running worker could leave orphaned objects with a broken path behind, followed by "ParentID not found" retries. The message is acknowledged and the element is skipped instead.
Pimcore 2026.3.4
[Assets]
-
[Thumbnails] Images with an embedded Photoshop clipping path are now clipped by that clipping path (bugfix). An image can carry any number of saved paths; the one designated as clipping path is named by the 'Name of clipping path' resource (8BIM 2999). The automatic clipping (
pimcore.assets.image.thumbnails.clip_auto_support, enabled by default) always used the first saved path instead, so images whose clipping path is not the first path were cut along the wrong outline - e.g. a product photo whose first path outlines only part of the product lost the rest of it in every thumbnail. When the named clipping path cannot be found in the image, the first path is still used, as before, and a warning is logged. Thumbnails only change for images whose clipping path is not their first path:Image Before Now No clipping path not clipped not clipped (unchanged) Clipping path is the only or the first saved path clipped by the first path clipped by the same path (unchanged) Clipping path name that matches none of the saved paths clipped by the first path clipped by the first path (unchanged), warning logged Clipping path is not the first saved path clipped by the first path clipped by the clipping path Existing thumbnails are not regenerated automatically. To apply the fix to affected images, clear their thumbnails - per asset with
Asset::clearThumbnails(true), or per thumbnail configuration withbin/console pimcore:thumbnails:clear --type=image --name=<thumbnail config>.
[DataObjects]
- [Security]
Block::getDataFromResource()no longer unserializes the block's stored data with every PHP class allowed (GHSA-6324-x2cv-h975). Only the value objects a block legitimately stores are reconstructed:Consent,ExternalImage,StructuredTable,MarkerHotspotItemandCarbon/CarbonImmutable. Any other object in the stored data comes back as__PHP_Incomplete_Class. This affects custom field definitions used inside a block whosenormalize()output - or whose registeredblock_<fieldtype>marshaller - stores other objects: register those classes in the newpimcore.objects.block.unserialize_allowed_classesconfiguration (merged with the built-in list, see Blocks), or switch them to scalars/arrays as the core marshallers do; otherwise that data is lost on the next load and save. - [Security] Hotspot images and image galleries inside a block now have block marshallers, so hotspot/marker metadata is stored as plain arrays with a referenced asset/document/object reduced to its id - the format the editmode and Studio already write. A
MarkerHotspotItembuilt through the PHP API with the element object as value is therefore stored by id as well; after reloading,$item['value'](array access) still resolves to the element, whilegetValue()returns the id, exactly as for metadata saved through the admin UI. Element objects that older versions serialized into existing block data are reduced to their id on load, so nothing needs re-saving.
[Documents]
- [Page previews]
documents.preview_url_prefixis now honoured for the page previews shown in the document tree, as it already was for version previews.Document\Page::save()andpimcore:documents:generate-page-previews(without--urlPrefix) used the host of the current request / the main domain for the URL Gotenberg's Chromium loads, so the setting - made for setups where Chromium cannot reach the admin hostname - had no effect there. Precedence is now: explicit--urlPrefix(CLI), thendocuments.preview_url_prefix, then the request host / main domain.
Pimcore 2026.3.3
[Assets]
- [Thumbnails]
Asset\Service::getStreamedResponseByUri()no longer lets aLeague\Flysystem\FilesystemExceptionescape when the thumbnail resolves but the thumbnail storage cannot serve it - a permission or I/O problem, a briefly unavailable remote adapter, or the file disappearing between two storage calls. The helper is public API for custom asset delivery (see Restricting Public Asset Access) and is typed?StreamedResponse; it now returnsnullfor that case as well, the same way it already does when the thumbnail cannot be resolved at all, so a project delivery controller renders its own 404 or placeholder instead of failing with a 500. The failure is logged at error level, because a plain cache miss is already absorbed insidegetStreamedResponseForThumbnail()and everything reaching this point is a real storage fault. Two things are deliberately unchanged: the@internalAsset\Service::getStreamedResponseForThumbnail()still lets the exception through (its@throws \League\Flysystem\FilesystemExceptioncovers it), and with it the public thumbnail route, which calls that method directly.
[Generic Execution Engine]
- [Job runs] The processed elements of a job step are now counted with an atomic database update (new
@internalserviceJobRunElementCounterInterface) instead of a read-modify-write on theJobRunentity, and the error bookkeeping of a failed element is persisted before the element is counted. With more than onemessenger:consumeworker on thepimcore_generic_execution_enginetransport, concurrent increments were lost, so a job run with several selected elements (e.g. a Studio batch edit) never reached its element count, stayedrunningforever and never published its finished state, although every element had been processed.JobRunRepositoryInterfaceis unchanged.
Pimcore 2026.3.2
[Assets]
- [Storage operation queue] New config option
pimcore.assets.storage_operation_queue.resolve_frontend_paths(defaulttrue, i.e. no behavior change). With the queue enabled andpimcore.assets.frontend_prefixes.sourceconfigured,Asset::getFrontendFullPath()(andAsset::getFullPath()in a frontend context) builds URLs of assets under a pending folder move from the pre-move physical path, which is correct for a prefix pointing straight at the storage (CDN, bucket) but wrong for a prefix served through Pimcore (e.g. a route resolving the asset viaAsset::getByPath()), where such URLs returned a 404 and stayed broken once the queue was processed. Set the option tofalsein that case so URLs always carry the current logical path. See Frontend URLs. Asset::getFrontendFullPath()is no longer marked@internal: it is the supported way to obtain the prefixed,FrontendEvents::ASSET_PATH-aware frontend path of an asset from any context (CLI, workers, admin), wheregetFullPath()returns the plain path.
[Security]
- [Documents] Controllers used by documents, snippets,
pimcore_inc, therenderleteditable and the action ofurlslugdata object fields must now be registered controllers. The controller reference is document, template or class definition data, so Pimcore asks Symfony's controller resolver to only accept registered controllers there (the_check_controller_is_allowedrequest attribute). Previously any publicClass::methodwas resolved, including static methods that run shell commands (pimcore/pimcore#19477, follow-up to GHSA-hf99-42jw-j5hp). Registered means: a service taggedcontroller.service_arguments(the default forApp\Controller\in the Symfony skeleton), a subclass ofSymfony\Bundle\FrameworkBundle\Controller\AbstractController(which includesPimcore\Controller\FrontendController), or a class with the#[AsController]attribute. Any other class now fails with a400 Bad Request; tag the service, add#[AsController], or register the type viaControllerResolver::allowControllers(). Sub-requests rendered inline from a document page inherit the check, sorender(controller(...))calls in document templates that point to such a class are affected as well. This is a compatibility note, not a protection for template code: templates are still trusted, and acontroller()reference in a template can set the attribute itself.
[Users]
- [Users] User and role folder names are now unique per parent folder instead of globally, consistent with folder behavior for assets, documents and data objects. User and role names themselves remain globally unique (they are login/security identifiers) — this is still enforced on database level. Technically, the
UNIQUE KEY type_nameon theuserstable is replaced by a unique index over a new stored generated columnuniqueName(migrationVersion20261008090000). The migration cannot fail on existing data, as the new constraint is identical for users/roles and strictly weaker for folders. Note:\Pimcore\Model\User\Folder::getByName()/\Pimcore\Model\User\Role\Folder::getByName()return the oldest match (lowest id) if multiple folders with the same name exist under different parents.
[DataObjects]
- [Object Bricks] Localized relations, relation metadata and URL slugs inside object bricks are read, written and deleted per brick, and
_in brick keys and field names no longer acts as a wildcard. Two bricks in the same container whose localized fields share a field name no longer show or overwrite each other's values (#9701). On an affected installation, a brick that showed the relations of another brick before the upgrade shows only its own relations after it. The stored relations are not changed, but relations that a brick lost by being overwritten cannot be restored automatically. - [Object Bricks] Removing a brick also removes the relation metadata and URL slugs of its localized fields. Such slugs no longer keep routing to the object and no longer come back when the brick is added again. URL slugs of localized fields in bricks resolve their action from their own brick, so resolving such a slug no longer deletes it when the first allowed brick has no field of that name.
- [Object Bricks] Removing a brick only removes the metadata of the advanced many-to-many relations placed directly in that brick. Before, it removed the metadata of all advanced many-to-many relations with the same field name on the object, also in other bricks and on the object itself.
- [Object Bricks] The migration
Version20261007120000adds the brick type to URL slugs of localized fields in bricks that were stored without it (before Pimcore 11). A slug is left unchanged, and reported by the migration, when more than one brick of the object has a localized URL slug field with that name, or when the brick already has a current slug for that field. - [Select] An empty default value of a select field is now stored as
nullinstead of an empty string. This also applies to an empty default returned by a dynamic options provider.Select::getDefaultValue()and exported class definitions therefore shownullfor such fields, and code that compares the default strictly against''needs adjusting. Definitions that already contain an empty default are normalized when they are loaded.
Pimcore 2026.3.1
[Assets]
- [Versions] New opt-in config option
pimcore.assets.versions.skip_initial_version(defaultfalse): when enabled, no version is created when an asset is added (uploaded). Instead, the persisted state of the asset is versioned lazily right before its first modification is applied, followed by the regular version of the modification, so the upload state of edited assets remains restorable while assets that are never modified don't occupy any version storage. Assets added while the option is enabled carry the custom settingpimcore-asset-initial-version-skippeduntil they have a version, so disabling the option later doesn't lose their upload state. Folders are not affected (they are never versioned),Asset::saveVersion()called directly still always creates a version (preceded by the version of the persisted state for an asset without versions). The persisted state is also versioned when the binary data is replaced with versioning disabled (Version::disable()), and the save is aborted if the persisted binary data cannot be read. The@internalhelpersAsset::isInitialVersionSkipped(),Asset::isVersionCreationEnabledByConfig(),Asset::saveVersionOfPersistedState()andAsset\Dao::hasVersionsForUpdate()were added. See Versioning. - [Thumbnails] A
covertransformation now applies the asset's focal point even when the transformation has nopositioningargument configured at all. Previously the focal point was only injected while iterating the configured arguments, so it was silently dropped for thumbnail definitions that omitpositioning(common in hand-written config files) and the image was cropped centered instead. Both focal point coordinates are now required and0is treated as a valid coordinate (left/top edge) rather than as "no focal point"; the newPimcore\Model\Asset\Image::getFocalPoint()is the single source of truth for that rule and is used by both the thumbnail processor and the CDN URL listener. Operational note: the name of a generated rendition is derived from the thumbnail configuration and the asset checksum only, so renditions that were generated before this fix stay valid cache hits and keep their centered crop. Installations with focal points on already-thumbnailed assets have to clear the affected renditions once after the upgrade, e.g. withbin/console pimcore:thumbnails:clear.
[Versioning]
- New
Pimcore\Model\Version\Adapter\ElementDelegateVersionStorageAdapterto store version data in a different storage per element type (asset, document, object), e.g. asset versions on S3 and document and object versions on the local filesystem.FileSystemVersionStorageAdapteraccepts an optional Flysystem storage as constructor argument (default:pimcore.version.storage) and is no longer marked@internal, and adapters can implement the new optionalElementTypeAwareStorageTypeInterface, whichVersion::save()uses to determine the storage type. Nothing changes unless the new adapter is configured. See Versioning.
Pimcore 2026.3.0
[General]
-
[DataObject] Class definition files are now cached in-process by
Pimcore\Model\DataObject\ClassDefinition\DefinitionFileCache(@internal), so clearing the runtime cache in long-running scripts no longer re-includes the definition file on everyClassDefinition::getById()call (previously very slow and eventually failing with "Too many open files"). The cache is validated against the definition file's modification time and is invalidated whenever Pimcore writes or deletes a definition file. Behavioral note: afterRuntimeCache::clear()(orPimcore::collectGarbage()),getById()/getByName()may now return the sameClassDefinitioninstance as before the clear (instead of a freshly included copy) as long as the definition file is unchanged — unsaved in-memory modifications of a class definition are therefore no longer discarded by a runtime cache clear. UseClassDefinition::getById($id, force: true)to force a fresh include from disk. -
[Legacy Admin UI] The legacy admin controllers of the bundled
ApplicationLogger,CustomReportsandSEObundles have been removed, together with their/admin/bundle/*routes, those bundles'config/pimcore/routing.yamlfiles and thecontroller.service_argumentsservice registrations. They were only ever called bypimcore/admin-ui-classic-bundle, which is archived and requirespimcore/pimcore: ^12.3, so it cannot be installed on the 2026 line at all. All of their functionality is available through the Studio backend API (pimcore/studio-backend-bundle). This continues the removal of legacy admin controllers started in 2026.1.0.Pimcore\Bundle\ApplicationLoggerBundle\Controller\LogController(/admin/bundle/applicationlogger/log/{show,priority-json,component-json,show-file-object}) — replaced byPimcore\Bundle\StudioBackendBundle\Bundle\ApplicationLogger\Controller\{Collection,ListPriorities,ListComponents,FileObject}Controller.Pimcore\Bundle\CustomReportsBundle\Controller\Reports\CustomReportController(/admin/bundle/customreports/custom-report/*) — replaced byPimcore\Bundle\StudioBackendBundle\Bundle\CustomReport\Controller\*.Pimcore\Bundle\SeoBundle\Controller\RedirectsController(/admin/bundle/seo/redirects/*) — replaced byPimcore\Bundle\StudioBackendBundle\Bundle\Seo\Controller\Redirect\*.Pimcore\Bundle\SeoBundle\Controller\SettingsController(/admin/bundle/seo/robots-txt) — replaced byPimcore\Bundle\StudioBackendBundle\Bundle\Seo\Controller\RobotsTxt\{Get,Update}Controller.
Also removed:
Pimcore\Bundle\ApplicationLoggerBundle\Service\TranslationService/TranslationServiceInterfaceand their service definition. They existed only to giveLogControllerits log-level labels and translated into the legacyadmintranslation domain; Studio resolves those labels itself. If a project injectedTranslationServiceInterfacesomewhere, drop the dependency — withLogControllergone there is nothing left for it to serve.With this, no bundled Pimcore controller is mounted under
/adminany more, and none extendsPimcore\Controller\UserAwareControlleror usesPimcore\Controller\Traits\JsonHelperTrait. Both, along with the services the removed controllers used (Pimcore\Bundle\SeoBundle\Redirect\Csv,Pimcore\Bundle\SeoBundle\Redirect\RedirectHandler,Pimcore\Bundle\ApplicationLoggerBundle\Handler\ApplicationLoggerDb, …), are kept and remain available for custom controllers. -
[Composer] Bumped minimum requirements of
scheb/2fa-bundleandscheb/2fa-google-authenticatorto8.6.1and ofphpdocumentor/reflection-docblockto5.6.7(5.x line) /6.0.3(6.x line). These are floor raises within the majors already required since 2026.1.0 and carry no BC impact of their own (see the 2026.1.0 notes below for the major-version upgrade guidance).
[Console]
- [Commands]
pimcore:bundle:installandpimcore:bundle:uninstallnow provide shell completion for thebundleargument, suggesting the names of the active Pimcore bundles (bundles loaded by the kernel; registered-but-disabled bundles are not included). Completion requires a one-time setup for your shell — see Console Completion. - [Commands] The
pimcore:bundle:*commands were refactored to the#[AsCommand]attribute. The@internalAbstractBundleCommandchanged accordingly:buildName()was removed andconfigureDescriptionAndHelp()was replaced byconfigureBundleHelp(), which derives the help text from the attribute description;completeBundleArgument()was added. The@internalhelperPimcore\Bundle\CoreBundle\Command\Bundle\Helper\PostStateChangeis now areadonlyclass; a subclass must itself be declaredreadonly. - [Commands] The table output of
pimcore:bundle:listuses the narrowI?/UI?column headers (with an explaining legend) again instead ofInstallable/Uninstallable. The--jsonoutput keeps the full key names. With--details, the description is now truncated to 30 characters including the...ellipsis (previously 30 bytes plus...), in both the table and the JSON output.
[Maintenance]
- [DataObjects] The
cleanupBrickTablesandcleanupFieldcollectionTablesmaintenance tasks now drop orphanedobject_brick_*/object_collection_*tables (including their data) when no existing brick/fieldcollection definition owns them - previously such tables were only reported as an error on every maintenance run. This affects installations where definitions were removed on the filesystem (e.g. by deletingvar/classes/*.phpfiles during a deployment) instead of through the regular delete path. A table is only dropped when no candidate parse of its name resolves to a live definition, and the tasks do nothing when the class definition directory itself is unavailable; still, make sure the definitions invar/classes/are in sync with your database before running maintenance. See Cleanup Data Storage. - The
@internalPimcore\Maintenance\Tasks\DataObject\DataObjectTaskHelperInterfacechanged:getCollectionNames(string $dir)was replaced bygetObjectBrickCollectionNames()/getFieldcollectionCollectionNames(), andmatchCollectionKeys(),dropOrphanedTable()were added;cleanupTable()now returnsbool.
[GenericExecutionEngine]
- [JobRun] Log entries stored in the
generic_execution_engine_job_run.logcolumn are now delimited by a short versioned frame (a version token wrapped in ASCII record separators,0x1E) instead of a newline, so a newline that belongs to a single (multi-line) log message is no longer mistaken for an entry boundary. The version token is framed rather than using a bare0x1Eso that legacy payloads, which were stored verbatim and may already contain a stray0x1E, are never split on such a byte. Logs written in the previous newline-delimited format are still read on a best-effort basis, so no migration is required. The parsing of the column has moved fromJobRun::getLogs()into the new@internalPimcore\Bundle\GenericExecutionEngineBundle\Utils\LogParser, and the@internalvalue objectLogLinenow takes the timestamp and message as separate constructor arguments and no longer exposesappendLogLine().
[Assets]
- [Thumbnails] The cache lifetime used for the
Cache-ControlandExpiresHTTP headers when a thumbnail is delivered on-the-fly through the thumbnail service is now configurable viapimcore.assets.thumbnails.cache_lifetime(in seconds). It defaults to604800(one week), which preserves the previous hard-coded behavior. - Added a new optional
$parametersargument toAsset::saveVersion()to allow passing custom arguments to thePRE_UPDATE/POST_UPDATE/POST_UPDATE_FAILUREversioning events, analogous toConcrete::saveVersion(). To stay backwards-compatible for classes overridingsaveVersion(), the argument is documented in the docblock but not yet part of the method signature (it is read viafunc_get_arg()); it will become a regular signature parameter in the next major version. - [Security]
Asset::correctPath()now also renames an asset filename ending in.html,.htm,.xhtml,.xht,.shtml,.jsor.mjsby appending a.txtsuffix whenever that filename itself is newly set or changed (creation or rename), the same way it has always done for PHP-family extensions and.htaccess- these extensions would otherwise be served with an executable/active content-type (text/html,application/xhtml+xml,application/javascript, ...) and could be used for stored XSS, e.g. via a WebDAV upload/rename from a user with only create/rename permission on an asset folder (GHSA-4xrp-5ggg-fg5p). An existing asset already stored under one of these extensions keeps its filename on a save that doesn't change it, including moving it to a different folder (which changes only its path, not its filename), so no existing installation loses access to already-referenced.html/.jsassets..svgis intentionally not covered by this change - see the PR description of the fix for GHSA-4xrp-5ggg-fg5p for why. - [Security] [Thumbnails]
Asset\Service::getStreamedResponseFromImageThumbnail()only mirrors a thumbnail under the extension requested in the URL (e.g. an auto-optimizedjpegthumbnail requested asfoo.png) when that extension is one of the configuredpimcore.assets.thumbnails.allowed_formatsand the path reference is a generated thumbnail. A path reference that passes the original asset through unchanged (typeisasset, e.g. an SVG asset with a scale-only thumbnail configuration) and a requested extension outsideallowed_formatsare now streamed as before, but no copy is written to the thumbnail storage under the requested extension anymore, so a request can no longer create files with an arbitrary extension in the public thumbnail directory. The extension used to derive the mirrored file name is lowercased and escaped before it is used in the replacement. No code or configuration changes are required unless a project relied on thumbnail files being created under an extension that is not inallowed_formats; add the format there if it is meant to be supported.- Action required after upgrading: the fix only prevents new files from being written. Files created under an arbitrary extension before the upgrade stay in the thumbnail storage, which by default is the public web root directory
public/var/tmp/thumbnails(pimcore.thumbnail.storage), and a file with an executable extension (e.g..php) is served and executed by the web server. Because the extension was freely chosen by the requester, a list of known-dangerous extensions is not sufficient; list every file whose extension is not an expected thumbnail format instead, e.g.find public/var/tmp/thumbnails -type f -regextype posix-extended \( -not -iregex '.*\.(avif|eps|gif|jpe?g|pjpeg|png|svg|tiff?|webm|webp|mp4|print)$' -o -iname '*.php*' -o -iname '*.pht*' \)(the second and third conditions also catch double extensions such asfoo.php.png; adapt the path if you configured a different directory or a non-local adapter forpimcore.thumbnail.storage, and the extensions if you configured additionalallowed_formatsor video formats). Review the list, then delete every file you did not create deliberately (add-deleteto the command only after reviewing it); real thumbnails are regenerated on demand, so removing a file is safe. Also review your web server access logs for requests to such files, and treat a hit as a possible compromise.
- Action required after upgrading: the fix only prevents new files from being written. Files created under an arbitrary extension before the upgrade stay in the thumbnail storage, which by default is the public web root directory
[Documents]
- [Renderlets] Custom renderlet configuration parameters are now passed to renderlet controllers as query parameters. Accessing these custom parameters via request attributes is deprecated and will be removed in Pimcore 2027. Update custom renderlet controllers from
$request->attributes->get('myParam')to$request->query->get('myParam').
[DataObject]
- [Deployment]
pimcore:deployment:classes-rebuildnow regenerates missing or outdated node-local PHP class files (var/classes/DataObject/<Class>.phpand the correspondingListing.php) even when the database is already up-to-date, so secondary nodes in a shared-database cluster no longer require--force. Affected classes are reported assavedinstead ofskippedin verbose output.Pimcore\Model\DataObject\ClassDefinition\ClassDefinitionManagergained the public methodhasStalePhpClassFiles(). - [Relations] The
ownernamecolumn has been widened fromVARCHAR(70)toVARCHAR(190)in the per-class relation tables (object_relations_*), the advanced-relation metadata tables (object_metadata_*) andobject_url_slugs. The generatedownernamefor a localized field nested inside an object brick or field collection (e.g./objectbrick~<field>/<brickKey>/localizedfield~localizedfield) can exceed 70 characters, which caused "Data too long for column 'ownername'" on save under strict SQL mode. Existing installations are updated automatically by the migrationVersion20260721000000; no code or configuration changes are required.
[Database]
- Added
Pimcore\Db\Helper::updateOrInsert()next toHelper::upsert(), which itself is unchanged. It addresses exactly the rowsupsert()does (anUPDATE ... WHERE $keys, no other row is ever touched, no trigger runs on a row the criteria do not match) and has the same return value (last insert id on insert,nullon update), but runs theUPDATEfirst. ThatUPDATEalso records whether it matched a row (throughLAST_INSERT_ID(<random token>)in one of its assignments, read back only when no row changed), so a row that matched but did not change - it already holds the values, or aBEFORE UPDATEtrigger reset them - is done after that one statement and its triggers run once; only a missing row goes throughupsert(), whose duplicate handling also covers a row inserted concurrently. After such anUPDATEthe connection's last insert id holds that token. The core DAOs use it wherever the row exists at save time:objects,assets,documents,tags, and the class store, query, localized and brick tables on an update; every other core write is a plain insert or a cold path and stays onupsert(). Two differences toupsert()are observable, both only by custom triggers: on the update of a row whose values change,upsert()'sINSERTfailed on the duplicate and ran the table'sBEFORE INSERTtriggers first (rolled back with the failed statement), whileupdateOrInsert()runs them only when it actually tries to insert; and theUPDATEsetsLAST_INSERT_ID()to the match token before the row'sBEFORE UPDATEandAFTER UPDATEtriggers run, so a trigger readingLAST_INSERT_ID()sees the token rather than the id of an earlier insert (a trigger's own inserts do not disturb the match detection, the server restores the value when a trigger ends). No upgrade changes are needed unless custom triggers rely onBEFORE INSERTbeing invoked for existing rows or onLAST_INSERT_ID()inside an update trigger. - Several columns using the deprecated, ambiguous
utf8/utf8_bin/utf8_general_cicharset/collation names have been modernized ininstall.sql:lock_keys,assets_image_thumbnail_cache.filename,search_backend_data.key,tags.name,properties.cpathandusers_workspaces_asset/document/object.cpathnow use realutf8mb4.assets.filename/pathanddocuments.key/pathmove to the explicitutf8mb3name instead (their compositefullpathindex already uses the full 3072-byte InnoDB index-prefix budget at 3 bytes/char and would overflow it at 4 bytes/char) - note MySQL has deprecatedutf8mb3itself too, so this remains a known limitation pending a future index/schema redesign, not a fully modernized state. Existing installations are updated automatically by the migrationVersion20260729120000; no code or configuration changes are required.- This migration only touches a column when its current collation and length still match the stock legacy definition; a column a project has already widened or otherwise customized is left untouched (a notice is logged) instead of being silently reset.
- The migration is irreversible (
down()throws) — revertingutf8mb4columns back toutf8/utf8mb3could silently replace stored 4-byte characters (e.g. emoji) with?given this application's intentionally permissivesql_mode=''. Restore from a backup if you need to roll back. - The
ALTER TABLE/CONVERT TO CHARACTER SETstatements rewrite the affected columns' storage and typically run as full table rebuilds, which can take time and hold locks onassets,documents,objectsandpropertieson large installations — plan to run this migration during a maintenance window on such installs.
Pimcore 2026.2.14
[Assets]
- [Thumbnails]
ImageThumbnailTrait::getStream()(used byAsset\Image\Thumbnail,Asset\Video\ImageThumbnailandAsset\Document\ImageThumbnail) now returnsnullas documented instead of lettingLeague\Flysystem\UnableToReadFileescape when the thumbnail file no longer exists on the thumbnail storage, e.g. because of a stale entry in the thumbnail status cache. The stale status cache entry is invalidated in that case, so the thumbnail is regenerated on the next request instead of failing again. A read failure for a file that still exists on the storage (or whose existence cannot be determined) is still thrown as before.Asset\Service::getStreamedResponseFromImageThumbnail()accordingly returnsnullfor a missing stream and for a failed generation (previously aTypeErrorfrom writing anullstream to the storage) instead of throwing.
[Database]
- [Doctrine] The shipped
doctrine.dbal.connections.default.default_table_optionsused the keycollate, which Doctrine DBAL 4 (in use since Pimcore 12.0) silently ignores in favour ofcollation. As a result, every table created through the Doctrine schema API - bundle installers and migrations working on theSchemaobject, the ORM schema tool - was created withDEFAULT CHARSET=utf8mb4but without aCOLLATEclause, so MySQL/MariaDB applied the charset's built-in default collation (utf8mb4_general_cion MariaDB / MySQL 5.7,utf8mb4_0900_ai_cion MySQL 8) instead of the configuredutf8mb4_unicode_520_ci. The key is nowcollation, so newly created tables get the configured collation again. Thewebdav_lockstable ininstall.sqlalso received the missingCOLLATEclause. Existing tables are not changed automatically. Known affected tables on installations set up or upgraded since Pimcore 12.0 are the ones created by bundle installers, e.g.bundle_studio_*andtranslations_studio(Studio backend),generic_execution_engine_*, the Generic Data Index, Backend Power Tools and Portal Engine tables, as well aswebdav_locks. A mismatch only matters when string columns of differently collated tables are compared directly (Illegal mix of collations) or when consistent sorting across tables is required; adapting existing tables is therefore optional. Use the detection queries from the 2026.1.0 "Tasks to Do Prior the Update" section to list tables and columns still using the charset default collation, and the queries below to generate theALTER TABLEstatements. Do not convert columns that intentionally use a different collation (e.g.utf8mb4_binfor case-sensitive keys and JSON data - the Studio grid and saved-search configuration tables contain such columns); the generators below exclude them by only matching the default collations and by handling mixed tables column by column. Review the generated statements before running them in a maintenance window;CONVERT TOandMODIFYrewrite the table.-- 1) Table default collation (metadata only, affects columns added later)SELECT CONCAT('ALTER TABLE `', TABLE_NAME, '` DEFAULT COLLATE utf8mb4_unicode_520_ci;')FROM INFORMATION_SCHEMA.TABLESWHERE TABLE_SCHEMA = 'your_database_name' AND TABLE_TYPE = 'BASE TABLE'AND TABLE_COLLATION IN ('utf8mb4_general_ci', 'utf8mb4_0900_ai_ci')ORDER BY TABLE_NAME;-- 2) Whole-table conversion, only for tables where every string column uses a default collationSELECT CONCAT('ALTER TABLE `', t.TABLE_NAME, '` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;')FROM INFORMATION_SCHEMA.TABLES tWHERE t.TABLE_SCHEMA = 'your_database_name' AND t.TABLE_TYPE = 'BASE TABLE'AND t.TABLE_COLLATION IN ('utf8mb4_general_ci', 'utf8mb4_0900_ai_ci')AND NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS cWHERE c.TABLE_SCHEMA = t.TABLE_SCHEMA AND c.TABLE_NAME = t.TABLE_NAMEAND c.COLLATION_NAME IS NOT NULLAND c.COLLATION_NAME NOT IN ('utf8mb4_general_ci', 'utf8mb4_0900_ai_ci'))ORDER BY t.TABLE_NAME;-- 3) Column-level statements for the remaining tables that also contain intentionally different collations.-- DEFAULT / ON UPDATE / COMMENT clauses are not reproduced: check COLUMN_DEFAULT and EXTRA and add them manually.SELECT CONCAT('ALTER TABLE `', c.TABLE_NAME, '` MODIFY `', c.COLUMN_NAME, '` ', c.COLUMN_TYPE,' CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci',IF(c.IS_NULLABLE = 'NO', ' NOT NULL', ' NULL'), ';') AS statement,c.COLUMN_DEFAULT, c.EXTRAFROM INFORMATION_SCHEMA.COLUMNS cJOIN INFORMATION_SCHEMA.TABLES t ON t.TABLE_SCHEMA = c.TABLE_SCHEMA AND t.TABLE_NAME = c.TABLE_NAME AND t.TABLE_TYPE = 'BASE TABLE'WHERE c.TABLE_SCHEMA = 'your_database_name'AND c.COLLATION_NAME IN ('utf8mb4_general_ci', 'utf8mb4_0900_ai_ci')AND EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS oWHERE o.TABLE_SCHEMA = c.TABLE_SCHEMA AND o.TABLE_NAME = c.TABLE_NAMEAND o.COLLATION_NAME IS NOT NULLAND o.COLLATION_NAME NOT IN ('utf8mb4_general_ci', 'utf8mb4_0900_ai_ci'))ORDER BY c.TABLE_NAME, c.ORDINAL_POSITION;
Pimcore 2026.2.12
[Documents]
- [Areabricks] In editmode, areabrick names and descriptions are now translated via the
studiotranslation domain whenever that domain is registered (i.e. Pimcore Studio is installed), so these UI labels show up in Studio's translations instead of the website'smessagesdomain. Labels that were already translated in themessagesdomain keep working as a read-only fallback, but missing keys are no longer auto-created there - they are created in thestudiodomain instead. Installations without thestudiodomain keep translating them viamessagesas before.
[Routing]
- [Pimcore Context] The
routematcher is no longer accepted underpimcore.context.<name>.routes(e.g.{ route: my_api }); config using it now fails withUnrecognized option "route" under "pimcore.context.<name>.routes.0". Available options are "host", "methods", "path".Matching a Pimcore context by route name never actually worked: the context is resolved (and cached on the request) by severalkernel.requestlisteners -CustomAdminEntryPointCheckListener,RoutingListener,FullPageCacheListener- that all run before Symfony's ownRouterListenerpopulates the request's_routeattribute, so aroute:entry could never match and the request silently fell back to thedefaultcontext. If you have such a config, switch to apath:(optionally combined withhost:/methods:) matcher instead:This does not affectpimcore:context:api:routes:- { path: ^/my/api/ }pimcore.web_profiler.toolbar.excluded_routes, which still supportsroute:.
Pimcore 2026.2.5
[Custom Reports]
- Added a
pimcore_custom_reports.enabled_adaptersconfig option to enable/disable individual Custom Report data-source adapters (e.g. the built-insqladapter) per project. Adapters not listed default to enabled; a disabled adapter is removed from the sharedpimcore.custom_report.adapter.factoriesservice locator, so it becomes unavailable to every consumer (the classic admin controller and the Studio backend bundle alike).We recommend disabling the built-inpimcore_custom_reports:enabled_adapters:sql: falsesqladapter unless specifically needed: any user with thereports_configpermission can otherwise define arbitrarySELECTstatements against the application's database, including tables never intended to be exposed. See Custom Reports for details.
[Assets]
- [Assets] New opt-in asset storage operation queue (
pimcore.assets.storage_operation_queue.enabled, defaultfalse): when enabled, moving or deleting asset folders no longer performs the physical per-object storage operations synchronously. Instead the operation is recorded and the storage adapter transparently resolves reads until the newpimcore:assets:storage-queue:processcommand (which must be scheduled, e.g. as a nightly cron) applies it. Backends with native directory rename (local filesystem, SFTP) keep renaming natively — including their thumbnails and asset_cache renditions, for free; object storages (S3, Azure, GCS) get O(1) folder moves for originals, while their derived content (thumbnails, asset_cache) is instead cleaned up and regenerated on demand rather than moved.pimcore:assets:storage-queue:statusreports pending operations and warns about stale rows. See Asset Storage Operation Queue for semantics and caveats. Disabled by default — no behavior change unless enabled. - [Thumbnails] Automatic clipping (
pimcore.assets.image.thumbnails.clip_auto_support) is only applied again when the image actually carries a clipping path, i.e. the Photoshop image resource8BIM 2999('Name of clipping path'). Images that only contain saved Photoshop paths (8BIM 2000-2998) are no longer clipped, since clipping them by an arbitrary path removed their whole content and resulted in empty thumbnails. Existing thumbnails of such images have to be cleared to be re-generated.
Pimcore 2026.2.0
[General]
-
[Assets][Thumbnails][CDN] New core events for thumbnail-config lifecycle were introduced to support CDN purge integration:
Pimcore\Event\ImageThumbnailConfigEvents::POST_UPDATEandPOST_DELETEPimcore\Event\VideoThumbnailConfigEvents::POST_UPDATEandPOST_DELETE- Payload classes:
Pimcore\Event\Model\Asset\Image\Thumbnail\ConfigEventandPimcore\Event\Model\Asset\Video\Thumbnail\ConfigEvent(both exposegetConfig(): Config). - The events are dispatched from
Asset\Image\Thumbnail\Config\Dao::save()/delete()andAsset\Video\Thumbnail\Config\Dao::save()/delete()after the underlying settings store and cache writes succeed. They fire on every save/delete path, including admin UI, API and programmatic changes (the magic__calldelegation also routes through the Dao). Subscribers can use them to react to thumbnail-pipeline changes — Pimcore's bundledCdnPurgeListeneruses them to dispatchthumb-{configName}CDN purges.
-
[Composer] Bumped minimum requirement of
friendsofsymfony/jsrouting-bundleto3.6.0.
[Maintenance Mode]
-
The legacy file-based maintenance mode backward-compatibility layer has been fully removed. The following deprecated static methods have been deleted from
Pimcore\Tool\Admin:getMaintenanceModeFile()getMaintenanceModeScheduleLoginFile()activateMaintenanceMode()deactivateMaintenanceMode()isInMaintenanceMode()isMaintenanceModeScheduledForLogin()scheduleMaintenanceModeOnLogin()unscheduleMaintenanceModeOnLogin()
If you are still using any of these methods, replace them with the
Pimcore\Maintenance\Mode\MaintenanceModeHelperInterfaceservice. Inject it via the service container and useactivate(),deactivate(), andisActive()instead. -
The BC fallback that read the legacy
maintenance.phpconfiguration file has also been removed fromMaintenanceModeCommand,MaintenancePageListener,Bootstrap, andConsole\Application. Any existingvar/config/maintenance.phpfile will be ignored. Ensure maintenance mode is managed exclusively throughMaintenanceModeHelperInterface. -
Admin::getMinimizedScriptPath()has been removed fromPimcore\Tool\Admin.
[Translations]
Translation::DOMAIN_ADMINconstant is deprecated since 2026.2 and will be removed in a future release. Avoid referencing theadmintranslation domain directly.Translator::$adminPathandTranslator::$adminTranslationMappingproperties are deprecated since 2026.2.
Pimcore 2026.1.0
Tasks to Do Prior the Update
Symfony 7.3+ Required
Pimcore 13 requires Symfony 7.3 or higher. All Symfony 6.x components are no longer supported.
- Update all Symfony components to version 7.3 or higher
- Test your application thoroughly with Symfony 7.x
- Remove any explicit Symfony 6.x version constraints from your
composer.json
Migrate Folder structure for email logs
The folder structure for email logs has changed to YYYY/MM/DD/<log filename>.
Please execute the command pimcore:migrate:mail-logs-folder-structure to move the files into the new folder structure or move the files manually.
Database Collation: utf8mb4_unicode_520_ci
Pimcore 2026.1 now explicitly uses utf8mb4_unicode_520_ci as the collation for all utf8mb4 tables and columns. Previous versions specified DEFAULT CHARSET=utf8mb4 without an explicit COLLATE clause in install.sql and Dao CREATE TABLE statements. Due to MySQL/MariaDB behavior, this caused the charset's built-in default collation (for example utf8mb4_general_ci on MySQL 5.7 / MariaDB or utf8mb4_0900_ai_ci on MySQL 8) to be used instead of the database-level default (utf8mb4_unicode_520_ci).
This mismatch can cause issues with foreign key constraints between tables that have different collations and may lead to unexpected sorting behavior.
Important: Some columns intentionally use a different collation (e.g. utf8mb4_bin for case-sensitive keys and JSON data). These columns must not be changed. The queries below only target columns that use the typical default, non-binary utf8mb4 collations (utf8mb4_general_ci and utf8mb4_0900_ai_ci); adjust this list if your server uses a different default.
Use the following SQL to identify all affected tables and columns in your database:
-- List all tables with default non-binary utf8mb4 table collations
SELECT TABLE_NAME, TABLE_COLLATION
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 'your_database_name'
AND TABLE_TYPE = 'BASE TABLE'
AND TABLE_COLLATION IN ('utf8mb4_general_ci', 'utf8mb4_0900_ai_ci')
ORDER BY TABLE_NAME;
-- List all columns with default non-binary utf8mb4 collations
SELECT TABLE_NAME, COLUMN_NAME, COLUMN_TYPE, COLLATION_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = 'your_database_name'
AND COLLATION_NAME IN ('utf8mb4_general_ci', 'utf8mb4_0900_ai_ci')
ORDER BY TABLE_NAME, COLUMN_NAME;
[General]
- Thumbnail generation adapters now implement
Video\AdapterInterfaceandDocument\AdapterInterfaceand improved adapters' initialization. - The abstract class
Pimcore\Video\Adapterhas been removed.Pimcore\Video\Adapter\Ffmpegnow directly implementsPimcore\Video\AdapterInterface. If you extendedPimcore\Video\Adapter, update your class to implementPimcore\Video\AdapterInterfacedirectly. - The hard-coded space between quantity value and unit has been removed for class definition quantity fields (e.g.
AbstractQuantityValue,QuantityValueRange). Spacing and formatting between value and unit is now controlled by locale- and translation-based formatting instead of being fixed in the code. - The
reset_passwordrate limiter configuration has been moved to the studio-backend bundle and is no longer part of Pimcore's core configuration. - Removed legacy Admin UI (Classic UI)
EditmodeListener. - Added support for PHP
8.5and bumped minimum requirement of Symfony to7.4. - Dropped support for PHP
8.3and Symfony6. - [QuantityValue] Introduced foreign key constraints on
__unitcolumns in object store, query, localized, objectbrick and fieldcollection tables forQuantityValue,InputQuantityValueandQuantityValueRangefields. These constraints referencequantityvalue_units(id)withON DELETE SET NULLandON UPDATE CASCADE, ensuring referential integrity. The migration automatically cleans up orphaned unit references (setting them toNULL) and changes the__unitcolumn type fromvarchar(64)tovarchar(50)to match the referencedquantityvalue_units.idcolumn. If you have custom unit IDs longer than 50 characters, they will be truncated.
Composer Dependency Majors: scheb/2fa 8.x and phpdocumentor/reflection-docblock 6.x
- [Composer] The constraint for
scheb/2fa-bundleandscheb/2fa-google-authenticatorhas been raised from^6.0 || ^7.5to^8.4. Projects still on scheb/2fa 6.x/7.x are forced onto 8.x when upgrading. Pimcore's own integration (Pimcore\Security\User\User, thescheb_two_factor.security.google_authenticatorservice and the admin 2FA flow) is fully compatible — no action is needed for standard setups. Review the following if your project extends 2FA (see also the official upgrade guide):- The priority of the two-factor authenticator has changed from
0to-100. If you register custom security authenticators on a 2FA-protected firewall and rely on their order relative to the two-factor authenticator, re-check and adjust their priority. - With Symfony 7.4, passing an associative options array to the
UserTotpCodeandUserGoogleTotpCodevalidator constraints is deprecated; Symfony 8 no longer accepts it. Pass named constructor arguments instead (e.g.new UserTotpCode(message: '...')). getGoogleAuthenticatorUsername()andgetTotpAuthenticationUsername()on the scheb model interfaces may now returnnull; code consuming these values should handle it.- scheb/2fa 8.x requires PHP >= 8.4, which matches Pimcore's platform requirement, and pulls in
spomky-labs/otphp11.x transitively.
- The priority of the two-factor authenticator has changed from
- [Composer] The constraint for
phpdocumentor/reflection-docblockhas been widened from^5.2to^5.6 || ^6.0, so acomposer updatemay resolve to 6.x. Pimcore does not use this library directly (it is a transitive dependency of the Symfony PropertyInfo/Serializer components, which support 6.x), so no action is needed unless your own code parses docblocks with it. In that case, note for 6.x (see the upgrade guide):- The static
::create()factory methods on tag classes (e.g.Param::create(),Method::create()) have been removed; create tags throughStandardTagFactory::createInstance()instead.StandardTagFactorycan no longer be instantiated directly withnew. Method::getArguments()has been removed.phpdocumentor/type-resolveris bumped to 2.0, which replaces the legacyCollectiontype handling with real generics support (e.g.Collection<MyClass>).- If your project is not ready for 6.x, you can keep the 5.x line by requiring
"phpdocumentor/reflection-docblock": "^5.6"in your project'scomposer.json.
- The static
Removed deprecated and discontinued bundles
The following bundles have been removed:
- GlossaryBundle
- SimpleBackendSearchBundle
- SeoBundle: dropped
http_error_logfeature and DB Table, and removed Document SEO Editor - StaticRouteBundle
- WordExportBundle
- XliffBundle
[DataObjects]
- Add a new optional
$parametersargument toConcrete::saveVersion()to allow passing of arguments to events. - Removed the following methods from
Pimcore\Model\DataObject\Serviceas part of the Admin UI removal:calculateCellValue()mapFieldname()getDataForEditmode()inManyToManyObjectRelationandAdvancedManyToManyObjectRelationnow usesElement\Service::gridElementData()instead of the removedService::gridObjectData(). As a result, the returned data for each related object no longer includes computed grid columns (e.g. brick fields, localized fields, classification store values, or helper columns). Only the base element data (id, type, path, etc.) is returned. If you rely on additional field data being present in the editmode payload of these relations, you need to fetch it separately.
[Database]
- All
utf8mb4tables now useutf8mb4_unicode_520_cias their default collation to match Doctrine'sdefault_table_optionsconfiguration. Columns inherit this collation unless a different one is explicitly defined (for exampleutf8mb4_binfor case-sensitive keys). Previously,install.sqland DaoCREATE TABLEstatements specifiedDEFAULT CHARSET=utf8mb4without an explicitCOLLATEclause, which caused MySQL/MariaDB to assign the charset's built-in default collation (utf8mb4_general_ci) instead of the intendedutf8mb4_unicode_520_ci. Existing installations need to update the collation of their tables and columns manually, details see 'Tasks to Do Prior the Update' chapter above.
[Models]
- Added a new optional
$parametersargument toAbstractUser::save()andAbstractUser::delete(), as well as their interface methods, to allow passing of arguments toUserRoleEvent.
[Generic Execution Engine]
- Added an
$offsetparameter to support paging ingetRunningJobsByUserId()inJobRunRepositoryInterface. - Added the possibility to pass an optional
$criteriaarray togetTotalCount(),getJobRunById(),getJobRunsByUserId()andgetRunningJobsByUserId()inJobRunRepositoryInterface. - Added the possibility to pass optional
$ownerIdand$executionContextparameters togetTotalCount().
[Installer]
The installer has been completely redesigned with a profile-based architecture. The old individual CLI options for pimcore:install have been removed, and the command now uses a profile-driven setup via --install-profile.
New Command Invocation
The installer is now invoked with:
vendor/bin/pimcore-install --install-profile=App\\Install\\MyProfile
If you have scripts or CI pipelines that invoke pimcore:install with the old options, update them to use --install-profile with a profile class. Create an install profile implementing InstallProfileInterface for your project.
Please see the documentation for further information: https://docs.pimcore.com/platform/
Removed CLI Options
The following CLI options have been removed:
| Old Option | Replacement |
|---|---|
--mysql-host-socket | Use DATABASE_URL env var (Doctrine DSN format) |
--mysql-username | Use DATABASE_URL env var |
--mysql-password | Use DATABASE_URL env var |
--mysql-database | Use DATABASE_URL env var |
--mysql-port | Use DATABASE_URL env var |
--mysql-ssl-cert-path | Use DATABASE_URL env var |
--encryption-secret | Use PIMCORE_ENCRYPTION_SECRET env var directly |
--instance-identifier | Use PIMCORE_INSTANCE_IDENTIFIER env var directly |
--product-key | Use PIMCORE_PRODUCT_KEY env var directly |
--install-bundles | Bundles are now defined by the install profile's getBundles() method |
--skip-database-structure | Use InstallStepFilterInterface in your profile to skip steps |
--skip-database-data | Use InstallStepFilterInterface in your profile to skip steps |
--skip-database-data-dump | Use InstallStepFilterInterface in your profile to skip steps |
--skip-database-config | Configuration is now written to .env.local; to avoid writing installer-generated config, use InstallStepFilterInterface to skip WriteEnv and, if needed, WriteDoctrineConfig |
--skip-product-registration-config | Configuration is now written to .env.local; to avoid writing installer-generated config, use InstallStepFilterInterface to skip WriteEnv |
--only-steps | Use InstallStepFilterInterface to control which InstallStep enum values are skipped |
The options --admin-username and --admin-password are retained but now also accept the env vars PIMCORE_ADMIN_USER and PIMCORE_ADMIN_PASSWORD respectively.
New CLI Options
| New Option | Description |
|---|---|
--install-profile | (Required) FQCN of the install profile class implementing InstallProfileInterface |
--env-definition | FQCN(s) of additional EnvVarDefinitionInterface implementations (repeatable) |
--post-install-commands | FQCN(s) of PostInstallCommandsProviderInterface implementations (repeatable) |
--skip-validation | Skip env var validation (no value = skip all; with value = skip by key/class/FQCN) |
Removed Environment Variables (PIMCORE_INSTALL_* Prefix)
All PIMCORE_INSTALL_* environment variables have been removed. The old installer derived env vars by prepending PIMCORE_INSTALL_ to the uppercased option name. These are replaced by standard env var names:
DATABASE_URL uses Doctrine DSN syntax and can describe either a TCP connection (for example mysql://user:pass@host:3306/dbname) or a unix socket connection.
| Old Env Var | New Env Var |
|---|---|
PIMCORE_INSTALL_ADMIN_USERNAME | PIMCORE_ADMIN_USER |
PIMCORE_INSTALL_ADMIN_PASSWORD | PIMCORE_ADMIN_PASSWORD |
PIMCORE_INSTALL_MYSQL_HOST_SOCKET | DATABASE_URL (Doctrine DSN format, e.g. mysql://user:pass@localhost/dbname?unix_socket=/var/run/mysqld/mysqld.sock) |
PIMCORE_INSTALL_MYSQL_USERNAME | DATABASE_URL |
PIMCORE_INSTALL_MYSQL_PASSWORD | DATABASE_URL |
PIMCORE_INSTALL_MYSQL_DATABASE | DATABASE_URL |
PIMCORE_INSTALL_MYSQL_PORT | DATABASE_URL |
PIMCORE_INSTALL_MYSQL_SSL_CERT_PATH | DATABASE_URL |
PIMCORE_INSTALL_ENCRYPTION_SECRET | PIMCORE_ENCRYPTION_SECRET |
PIMCORE_INSTALL_INSTANCE_IDENTIFIER | PIMCORE_INSTANCE_IDENTIFIER |
PIMCORE_INSTALL_PRODUCT_KEY | PIMCORE_PRODUCT_KEY |
PIMCORE_INSTALL_INSTALL_BUNDLES | Removed — bundles are defined by the profile |
Configuration Output Changes
The installer no longer writes the former local/user configuration YAML files for database and product registration settings. These values are now written to .env.local using Symfony Flex-style section markers (###> section-name ### / ###< section-name ###). The installer still generates config/packages/doctrine_mapping_types.yaml for Doctrine mapping types.
| Old Config File | New Location |
|---|---|
config/local/database.yaml | .env.local (DATABASE_URL) |
config/local/product_registration.yaml | .env.local (PIMCORE_ENCRYPTION_SECRET, PIMCORE_INSTANCE_IDENTIFIER, PIMCORE_PRODUCT_KEY) |
system.yml / system.template.yml | Legacy system config files are no longer written by the installer |
Removed Classes and Events
Pimcore\Bundle\InstallBundle\SystemConfig\ConfigWriter— removed (no more YAML config writing)Pimcore\Bundle\InstallBundle\Event\BundleSetupEvent— removed (bundles are now defined by the profile)Pimcore\Bundle\InstallBundle\DependencyInjection\Configuration— removed (no morepimcore_install.parameters.database_credentialsconfig tree)- The
config/installer.yamloptionpimcore_install.parameters.database_credentialsis no longer supported. UseDATABASE_URLenv var or the interactive installer prompts instead.
Two-Phase Architecture
The installer now runs in two phases:
- Phase 1 (lightweight
InstallerKernel): Collects and validates all env vars from the profile'sEnvVarDefinitionInterfaceimplementations, writes.env.local, writes Doctrine config. - Phase 2 (real
App\Kernel): Sets up the database, imports data sources, creates admin user, registers and installs bundles, runs post-install commands.
Profile Extensibility
Install profiles can implement additional interfaces for advanced control:
InstallStepFilterInterface— skip specific install steps (useful for PaaS environments)PostInstallHookInterface— run custom PHP code near the end of phase 2, before finalization steps such as cache clearing and install marker cleanupDataSourceInterface— import SQL dumps or other data during installation
Doctrine enum Mapping Type Removed
The enum: string Doctrine mapping type is no longer registered; only the bit: boolean mapping remains. The minimum doctrine/dbal requirement was raised to ^4.4, where the explicit enum mapping is no longer needed.
Action required for existing installations: Please check your Doctrine configuration for any registered mapping types and remove the enum: string mapping if it is present.
[OpenSearch / Elasticsearch DSN Configuration]
Search engine configuration now uses DSN-based env vars instead of separate host/port/authentication parameters:
- OpenSearch:
PIMCORE_OPENSEARCH_DSN=opensearch://admin:admin@localhost:9200?ssl=true - Elasticsearch:
PIMCORE_ELASTICSEARCH_DSN=elasticsearch://elastic:changeme@localhost:9200
The DSN is parsed at runtime in the client factory.
The old configuration approach with separate hosts arrays in YAML is replaced by a single dsn config option.
[Messenger Transport DSN Changes]
This is a breaking change for existing installations.
The PIMCORE_MESSENGER_TRANSPORT_DSN_PREFIX env var (previously named PIMCORE_MESSENGER_TRANSPORT_DSN) format has changed.
It must now include a trailing separator for queue name concatenation, because Pimcore bundle configs append queue names directly to this value.
Before (old format):
PIMCORE_MESSENGER_TRANSPORT_DSN=doctrine://default
After (new format):
# Doctrine
PIMCORE_MESSENGER_TRANSPORT_DSN_PREFIX=doctrine://default?queue_name=
# AMQP
PIMCORE_MESSENGER_TRANSPORT_DSN_PREFIX=amqp://guest:guest@rabbit:5672/%2f/
# Redis
PIMCORE_MESSENGER_TRANSPORT_DSN_PREFIX=redis://localhost:6379/
All Pimcore bundle transport configs now use the container parameter %pimcore.messenger.transport_dsn_prefix% with direct concatenation:
framework:
messenger:
transports:
pimcore_core: '%pimcore.messenger.transport_dsn_prefix%pimcore_core'
pimcore_maintenance: '%pimcore.messenger.transport_dsn_prefix%pimcore_maintenance'
A container-level default is provided in bundles/CoreBundle/config/pimcore/default.yaml:
parameters:
env(PIMCORE_MESSENGER_TRANSPORT_DSN_PREFIX): 'doctrine://default?queue_name='
If you have PIMCORE_MESSENGER_TRANSPORT_DSN_PREFIX (or the old PIMCORE_MESSENGER_TRANSPORT_DSN) explicitly set in your .env or environment, update its value to include the trailing separator and use the new name. For Doctrine, change doctrine://default to doctrine://default?queue_name=. Failure to do this will result in invalid transport DSNs like doctrine://defaultpimcore_core.
If you have custom transport definitions in your bundle or project YAML that hardcode doctrine://default?queue_name=, replace them with '%pimcore.messenger.transport_dsn_prefix%' concatenation to support backend-agnostic transport switching.
Symfony Templating Component Removed
The Symfony\Component\Templating\EngineInterface and related services have been completely removed.
What's Removed:
pimcore.templating.engine.delegatingserviceSymfony\Component\Templating\EngineInterfacesupportPimcore\Templating\TwigDefaultDelegatingEngineclass
Action Required:
Update your code to use Twig\Environment directly instead of EngineInterface.
QuantityValue Formatting Changes
- The space between QuantityValue value and unit is going to be removed. Please make sure any custom code that relies on the space is updated accordingly.
Deprecated Kernel Extension Hooks
Overriding Pimcore\Kernel::configureContainer() and Pimcore\Kernel::configureRoutes() is now deprecated and will be removed in Pimcore 2027.1.
These methods were exposed as protected on Pimcore\Kernel via trait aliases of Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait's private methods. Symfony does not consider them part of its public API and has changed their signatures between minor versions, which can break Pimcore subclasses on Symfony upgrades.
Migration:
Replace overrides of configureContainer() with one of the following stable, public extension points:
- Move container configuration to
config/packages/*.yaml(orconfig/packages/<env>/*.yaml). - Add a compiler pass for programmatic container manipulation.
- Override the public
Pimcore\Kernel::registerContainerConfiguration(LoaderInterface $loader)method directly. Callparent::registerContainerConfiguration($loader)first, then load additional configuration via$loader->load(...).
Replace overrides of configureRoutes() with one of the following:
- Move routes to
config/routes/*.yaml. - Register a custom routing loader as a service tagged
routing.loader.