Upgrade Notes
Pimcore 11.3.0
General
[System Settings]
- Unused setting
general.language
has been deprecated.
[Listing]
- The methods
setOrder()
andsetOrderKey()
throw anInvalidArgumentException
if the parameters are invalid now.
Pimcore 11.2.4
Assets Thumbnails
- Thumbnail generation for Assets, Documents and Videos now only support the following formats out of the box:
'avif', 'eps', 'gif', 'jpeg', 'jpg', 'pjpeg', 'png', 'svg', 'tiff', 'webm', 'webp'
. - You can extend this list by adding your formats on the bottom:
pimcore:
assets:
thumbnails:
allowed_formats:
- 'avif'
- 'eps'
- 'gif'
- 'jpeg'
- 'jpg'
- 'pjpeg'
- 'png'
- 'svg'
- 'tiff'
- 'webm'
- 'webp'
- 'pdf' # Add your desired format here
- High resolution scaling factor for image thumbnails has now been limited to a maximum of
5.0
. If you need to scale an image more than that, you can use themax_scaling_factor
option in the configuration.
pimcore:
assets:
thumbnails:
max_scaling_factor: 6.0
Pimcore 11.2.0
Elements
[Documents]:
- Using
outputFormat
config forPimcore\Model\Document\Editable\Date
editable is deprecated, useoutputIsoFormat
config instead. - Service
Pimcore\Document\Renderer\DocumentRenderer
is deprecated, usePimcore\Document\Renderer\DocumentRendererInterface
instead. - Page previews and version comparisons can now be rendered using Gotenberg v8.
To replace Headless Chrome, upgrade to Gotenberg v8 and upgrade the client library:
composer require gotenberg/gotenberg-php:^2
[Data Objects]:
- Methods
getAsIntegerCast()
andgetAsFloatCast()
of thePimcore\Model\DataObject\Data
class are deprecated now. - All algorithms other than
password_hash
used in Password Data Type are now deprecated, please usepassword_hash
instead. MultiSelectOptionsProviderInterface
is deprecated, please useSelectOptionsProviderInterface
instead.
General
[Localization]
- Services
Pimcore\Localization\LocaleService
andpimcore.locale
are deprecated, usePimcore\Localization\LocaleServiceInterface
instead.
[Navigation]
- Add rootCallback option to
Pimcore\Navigation\Builder::getNavigation()
[Symfony]
- Bumped Symfony packages to "^6.4".
[Value Objects]
- Added new self validating Value Objects:
Pimcore\ValueObject\BooleanArray
Pimcore\ValueObject\IntegerArray
Pimcore\ValueObject\Path
Pimcore\ValueObject\PositiveInteger
Pimcore\ValueObject\PositiveIntegerArray
Pimcore\ValueObject\StringArray
[!WARNING]
For environment variable consistency purposes in boostrap, please fixpublic/index.php
in project root by movingBootstrap::bootstrap();
just above$kernel = Bootstrap::kernel()
line instead of outside the closure. Alternatively can be fixed by appling this patchYou may also need to adjust your
bin/console
to the latest version of the skeleton: https://github.com/pimcore/skeleton/blob/11.x/bin/console
Pimcore 11.1.0
Elements
[All]:
- Properties are now only updated in the database with dirty state (when calling
setProperties
orsetProperty
). - Added hint for second parameter
array $params = []
toElement/ElementInterface::getById
Pimcore\Helper\CsvFormulaFormatter
has been deprecated. UseLeague\Csv\EscapeFormula
instead.