Johannes Wachter
Johannes Wachter
Core Developer – Sulu GmbH
Sulu Core Developer and Open-Source Enthusiast.

Sulu Release 1.5.11 & 1.6.15

Right before the end of February we are happy to announce the newest Sulu release. We have also added multiple enhancements and bugfixes for 1.5 and 1.6.

1.5.11

As many discussions in the community have shown the validation of the webspace XML is too strict and requires an ordered list of nodes. With this release we try to defuse this by removing the validation of sorting. Additionally we added a command to validate webspaces and template configuration you can call it via "bin/adminconsole sulu:content:validate:webspaces".

An important HOTFIX is also included in the 1.5 release. It changes the behavior of "doctrine:phpcr:workspace:import" so that it no longer regenerates the UUID of imported nodes. Without this, the route-bundle will break after importing data.

Other fixes and enhancements

  • Added check for Sulu-User for permission checks to avoid error for other Symfony user on the website
  • Removed unnecessary custom twig function "is_array"

1.6.15

Besides some important HOTFIXES this release brings one really big improvement when using varnish for caching.

Think of the following scenario:

  1. You have an overview page which uses smart-content to load other pages out of the page-tree
  2. The content-manager uses a tag/category for filtering
  3. When adding a new page which would match the smart-content filters it won't show up on the overview page
  4. This happens because varnish will cache the overview page for a long time and Sulu has no chance to purge this page

We came up with the great idea to add the category and tags which are used for smart-content to the X-CACHE-TAGS and invalidate these tags when saving a page with tags/categories inside of excerpt-tab. Additionally, we added the invalidation of pages when modifying a media, contact or account which is embedded in this page.

Other fixes and enhancements

  • Fixed empty preview after refresh button clicked
  • Fixed "token not found error" when rendering preview on start command
  • Fixed how the route provider strips format extensions from the path
  • Added blur, grayscale, gamma, negative and sharpen transformation to media
  • Increased priority of UpdateResponseSubscriber to avoid that symfony overwrite cache-control headers