pimcore 2.2 released
We're happy to announce the release of version 2.2.0.
We hope you'll enjoy this new version and are looking forward to your feedback.
We recommend the immediate update to version 2.2.0 especially if you're using the newsletter module with the public registration tool (Pimcore_Tool_Newsletter) - if you're not able to update for several reasons please apply the patch manually to your installation.
Please have a look into the upgrade notes before you perform the update.
What's New?
The following is just a short overview and not the entire list of new features.
To see the full list or changes (fixes, improvements, ...), please have a look at the commit log.
Custom Object Layouts
Custom object layouts allow you to create different editing layouts for your objects. It can also be used to restrict users from viewing or editing fields in a specific workspace as this feature fully integrates with the workspace-based permission system in pimcore. So with this it is possible to provide special layouts containing only subsets of the main layout and fields for dedicated usergroups (sales, product management, IT, ..) and workspaces.
Event API (EventManager)
Events can be used to hook into many functionalities such as saving an object, asset or document and can be used to change or extend the default behavior of pimcore. The most common use-case for events is using them in a plugin, but of course you can use them also anywhere in your code or when hooking into the startup process. The event API is the successor of the old plugin hook architecture, which shouldn't be used anymore although it is still supported.
Please visit the docs to get more informations about this.
Responsive & HighRes Images
Pimcore now automatically adds the srcset attribute to every thumbnail that is displayed either using $this->image() or $asset->getThumbnail("myThumb")->getHTML(). The 2x images are generated on demand so this has no negative effect to the overall performance of a page.
It's also possible to create individual configurations based on the viewport size for each thumbnail definition. This allows you to create different thumbnails for different screen sizes such as mobile, tablet, ... In this case pimcore automatically uses the <picture> HTML element to display your thumbnails. As <picture> isn't supported yet by many browsers, pimcore automatically adds a hassle-free polyfill to the source code.