eZ Platform v2.5¶
Version number: v2.5
Release date: March 29, 2019
Release type: Long Term Supported
You can now navigate through your website with a Content Tree. It will allow you to easily browse your content in the Back Office. Each Content item has a unique icon that helps you identify it without opening.
For more information on custom configuration, see Content Tree in the developer documentation.
For full description of the interface, see Content Tree in the user documentation.
Assetic is still in use, but it will be deprecated in a future version.
This release enables you to use PostgreSQL for database instead of the default MySQL.
Database schema is now created based on YAML configuration.
You can now take advantage of GraphQL to query and operate on content. It uses a domain schema based on your content model.
See GraphQL documentation for more information about GraphQL in general.
Matrix Field Type¶
The new Matrix Field Type enables you to store a table of data. Columns in the matrix are defined in the Field definition.
Migration of legacy XML format¶
You can now migrate your content from legacy XML format to a new
ezmatrix value with the following command:
The new ezplatform-user bundle now centralizes all features related to user management, such as user accounts, registering, changing passwords, etc.
You can now preview a diagram of the configured workflows in the Admin Panel.
After selecting configured workflow administrator, the user is now able to see all Content items under review for it.
Online editor improvements¶
Anchors in Rich Text Field¶
You can now link fragments of text by adding Anchors in Rich Text Fields.
Inline custom tags¶
You can now create inline custom tags in Rich Text Fields.
Custom CK Editor plugins¶
You can now easily use custom CK Editor plugins in AlloyEditor.
Hiding and revealing content¶
You can now hide and reveal Content items from the Back Office. Hidden content will be unavailable on the front page regardless of permissions or Location visibility.
Product version preview¶
The Dashboard now shows the version of eZ Platform you are running.
Expanded User Settings¶
The User Settings menu has been expanded with the following options:
- Preferred language of the Back Office
- Preferred date format
- Option to enable or disable a character counter for Rich Text Fields
Various Back Office improvements¶
This release introduced several Back Office improvements to facilitate editorial experience, including:
- Icons for Content Types and the ability to define them
- Ability to collapse and expand content preview to have easier access to the Sub-items list
- Responsive Sub-items table with selectable column layout
- Simpler assigning of Object States to content
Content/Create policy for Users¶
You can now define a 'Content/Create' policy for a User or a User group. It will enable or disable (if not set) the Create button in your dashboard.
Universal Discovery Widget¶
allowed_content_types can now limit selection in UDW search and browse sections to specified Content Types.
New API improvements include:
sudo()exposed officially in API to make it more clear how you can skip permission checks when needed
AssignSectionToSubtreeSignalto assign Sections to subtrees
loadLanguageListById()endpoints for bulk loading of languages
- new method
ContentService->loadContentInfoList()for bulk loading Content information
- it can be used with
ContentService->loadContentListByContentInfo()to bulk load Content
- v2.5 also takes advantage of it in e.g.
- it can be used with
- now Persistence cache layer also caches selected metadata objects in-memory
- indexation of related objects in the full text search
Due to using Webpack Encore, you now need Node.js and yarn to install or update eZ Platform.
This release also changes support for versions of the following third-party software:
- Solr 4 is no longer supported. Use Solr 6 instead (Solr 6.6LTS recommended).
- Apache 2.2 is no longer supported. Use Apache 2.4 instead.
- Varnish 4 is no longer supported. Use Varnish 5.1 or higher (6.0LTS recommended).
For full list of supported versions, see Requirements.
This version introduces stricter default password quality requirements.
Passwords must be at least 10 characters long, and must include upper and lower case letters, and digits. Existing passwords are not changed.
See backwards compatibility changes for detailed information.
eZ Platform v2.5.2¶
leafo/scssphp package had to be replaced by
scssphp/scssphp due to maintainability.
If you use classes from the
Leafo\ScssPhp namespace, change them to
You can now take advantage of SolrCloud in eZ Platform Solr search engine. It enables you to set up a cluster of Solr servers for highly available and fault tolerant environment.
It is now possible to add custom data attributes and CSS classes to elements in the Online Editor.
Translatable custom tag choice attributes¶
You can now translate labels of choice attributes in Custom tags using the
ezrichtext.custom_tags.<tag_name>.attributes.<attribute>.choices.<choice>.label configuration key.
URL wildcards enable you to set up global URL redirections.
eZ Platform v2.5.3¶
SectionService::loadSection has been improved to return a filtered list when user does not have access to a Section,
instead of throwing an exception.
eZ Platform v2.5.4¶
RoleService methods have been improved to return a filtered list when user does not have access to content,
instead of throwing an exception. The following methods are affected:
content/cleantrash Policy now allows the user to empty the trash
even if they would not have access to the trashed content.
BCMath PHP extension has been added to the Docker environments in order to enable the Allure reporting tool.
This section provides a list of deprecated features to be removed in eZ Platform v3.0.
\EzSystems\PlatformInstallerBundle\Installer\CleanInstallerclass and its Service Container definition (
ezplatform.installer.clean_installer) have been deprecated in favor of
EzSystems\PlatformInstallerBundle\Installer\CoreInstallerwhich requires the Doctrine Schema Bundle to be enabled.
ezplatform.installer.db_based_installerService Container definition has been deprecated in favor of its FQCN-named equivalent (
eZ Platform v2.5.6¶
In YAML configuration, you can now use
ezplatform as well as
ezpublish as the main configuration key.
The following PHP API methods have been added:
ContentService::countContentDraftsreturns the number of all drafts for the provided user
ContentService::loadContentDraftListreturns a list of all drafts for the provided user
ContentService::countReverseRelationsreturns the number of all reverse relations for a Content item
ContentService::loadReverseRelationListreturns a list of all reverse relations for a Content item
With v2.5.6 you can optionally use Solr 7.7. To enable it:
- Update the
ezplatform-solr-search-enginepackage version to ~2.0.
- Follow Solr upgrade documentation.
- Reindex your content.
- Clear cache.