Skip to main content
Version: 2025.4

Upgrade notes

2.5.8​

  • The cronjob command copilot:automation-action:scheduled-actions takes a lock now. When a run is still busy at the time the cron starts the next one, the additional run prints that the scheduled actions are already running in another process and exits with a success code instead of piling up. The lock uses Pimcore's lock factory (Symfony\Component\Lock\LockFactory), which stores it in the database by default, so it also works when the cronjob runs on several hosts. See the installation for details.

2.5.7​

  • [Security] SymfonyExpressionServiceInterface, used by ResponseMappingServiceInterface::mapResponse(), evaluates expressions with Pimcore's ReadOnlyExpressionLanguage (GHSA-93jv-p24f-gcpp). It passes read-only stand-ins of the variables to the expression and returns the original value. The response is decoded to arrays, so expressions such as response['content'] are unaffected. For objects, for example ones passed in $additionalVariables, field getters, element getters (getId(), getKey(), getFullPath(), ...), getters of field values and the read-only getters of security users and tokens are allowed, e.g. object.getKey(); any other method, property access, setters, save(), delete(), getDao() etc. are rejected with a SyntaxError, e.g. object.save(). The constant function is still not available.
  • Step conditions of automation actions are evaluated by the Generic Execution Engine of Pimcore, which uses ReadOnlyExpressionLanguage from Pimcore 12.3.28 on as well.
  • Requires pimcore/pimcore ^12.3.28, the release that ships ReadOnlyExpressionLanguage.

1.1.0 to 2.0.0​

  • The job execution engine was removed. You need to implement/adapt your actions to run with Generic Execution Engine.
    • To do so, please follow the migration guide here.

1.0.0 to 1.1.0​

  • The job execution engine has been extracted to the core framework as Generic Execution Engine and it is highly recommended to switch to it. Following things need to be considered:
    • The old way of implementing custom job steps is deprecated. If you already have custom job steps implemented, you can still use them for now, but it is recommended to migrate them to the new way. Please see the migration guide here.
    • Use the Generic Execution Engine as soon as possible. To do so, also follow the migration guide here.