hero background ibexa-dark
hero background ibexa-dark

Spring Release: Discover eZ Platform v2.5

Spring Release: Discover eZ Platform v2.5
Spring Release: Discover eZ Platform v2.5

The first feature we are excited to introduce and that has been long requested by our users is the Content Tree. The Content Tree allows editors to quickly locate and access content while still having a full view of their content structure. This is extremely helpful when they want to easily locate a piece of content while still being able to visualize the entire tree at the same time. Developers can easily define different parameters (ex. number of sub-items under the container, maximum number of items that can load, the depth of the tree) in order to better optimize and configure the content tree for better performance depending on each project specific content structure. To learn more about this feature we recommend you read "[Sneak Peek] The Content Tree Strikes Back" blog post.

Until now, editors were restricted to hiding locations rather than hiding content items. This caused some confusion as the "hide action" was only applied at the location level. This meant that if the content item was used in multiple locations on the website, the editor needed to hide each one individually. This made the task quite tedious and difficult to manage. To resolve this issue, editors can now easily hide and reveal Content items at the "content level". Content items that are hidden will be unavailable on all the places they are placed. However, when an editor will reveal back a content item previously hidden, the system will recall the visibility set at each and will revive the content accordingly.

Online editor enhancements

In the upcoming release, we have put a lot of effort into enhancing the Online Editor with new features that will provide a better editorial experience. Developers will be happy to hear that they can now easily create custom tags that don't break the line, and they can insert the "custom tag" within a line of rich text. With this feature, editors have the ability to embed different type of content (ex. icons, abbreviations, YouTube videos or whatever your project might require) in a paragraph without breaking the flow of the sentence.

In v2.5, the online editor also includes an anchor link. Moving forward, editors can place an internal anchor in the online editor that lets a user go directly from a link to the anchor. This can dramatically improve the user experience for an end-user who wants to jump to a certain section of the page seamlessly.

v2.5 now fully supports the eZ Matrix field type. eZ Matrix is an old eZ Publish field type that was not introduced in eZ Platform initially. It is typically used to store "matrix of information" such as a table of options with different values, a list of variation of product specs and prices in an e-Commerce project. It has been requested by many, seeing it as a blocker for them to migrate from eZ Publish to eZ Platform. Well, it has arrived!

Users will be pleased to learn that v2.5 re-introduces icons for content types. Developers can now easily create custom icons for their content type. The icons will be displayed next to the content type name in most places in eZ Platform user interface. To learn more about how to configure icons, read about it in the eZ Developer documentation.

[image: IMPORT_ystQL1icon-list]

Content type icon list

There are few additional small improvements to the administrative interface. Editors now have the ability to customize the sub-items menu. The feature currently is not extensible, but does provide few field options that can help in filtering sub-items menu. Another small, but useful, enhancement for editors is the ability to collapse sections in the content view. We brought a few changes to the Details tab. In the previous versions, the section table only displayed the sections details. In v2.5, editors can directly assign a content item and its sub-items to a certain section. We decided also to simplify the object state table to include fewer fields and make it easier to read. Language management has also been improved. Admin users will be able to better manage language. Administrators can now define a new main language for the system and then be able to delete unnecessary languages under the translation tab.

We have a new way to manage and use web assets (css,js.icons…), adopting Webpack Encore. Previously, web assets were managed by a system called Assetic, part of the Symfony framework. While Assetic is still available in v2.5, in order to seriously support v2.5, we needed to allow the switch to Webpack Encore which is the way to go for the future. It is important for developers to be aware that in version 3, we will no longer support Assetic. As Webpack Encore supports more CSS & JS framework, it can be valuable to both core developers and integrators immediately and we recommend moving to it as soon as possible. In addition to maintaining your project or bundle assets, Webpack Encore makes it easy to replace existing assets with your own. It is commonly done to override the native behavior of the back office.

[image: IMPORT_x5lBgFWebpack-Encore]

Configuring Webpack encore

We are pleased to announce that eZ Platform v2.5 is now supporting PostgreSQL as part of the v2.5 release. This has been done in a way that will make it easier in the future to add other databases as options, fully embracing Doctrine Schema.

[image: IMPORT_rXQrpkPostgreSQL]

Managing databases with PostgreSQL

As you may recall in v2.4, we introduced an experimental package for GraphQL support. Graph QL is a better way to communicate with eZ Platform from a remote application, typically what you use in a Headless content management scenario or when trying to embed content on different channels and applications. In v2.5, that package is no longer experimental and is now stable and fully supported. We also introduced a few notable improvements:

  • Pagination support using Relay
  • Creating, updating and deleting content using Content mutations

There are few other features that are worth mentioning which could be beneficial for editors, developers and admin users. First, we have added on the top of the dashboard a label that indicates the eZ version that is being used. The version label also provides information on what type of license the customer has when it will stop being supported by eZ. Then all users will be happy to hear that they can now define their preferred date/time format in the user preferences (no more confusion whether Month or Days come first, just use your native formatting). The system now supports various international formats which the admin user can choose from according to organizations preferences. The format list can be further extended by developers.

Additionally, users can now define the language to be used for administration interface (instead of simply relying on the language of their browser).

eZ Platform v2.5 is available on ezplatform.com and via composer update. eZ Platform Enterprise Edition v2.5 is available for customers in their support portal. eZ platform Enterprise Edition v2.5 is available as a trial for partners in the partner portal. It is of course also available on eZ Platform Cloud. To see the full list of our new features, check out our release notes, as well as, the link to the list of changes on Github for open source and the enterprise edition.

If you have any questions, please feel free to drop us a comment on discuss.ezplatform.com or Feel free to reach out to us at productmanagement@ez.no.