Skip to content

4.0.0

Latest
Compare
Choose a tag to compare
@s2b s2b released this 11 Sep 08:50
· 1 commit to main since this release
a5d7bd3

Nearly eight years after the launch of Fluid v2, we are happy to release Fluid v4. For this major version we had one key goal in mind: no breaking changes to user-facing APIs, such as ViewHelpers or View classes. We are confident that we have achieved this goal.

In this release, we focused on improving code quality by introducing stricter type checks across most of the codebase. In addition, we have deprecated several outdated or suboptimal APIs – most notably, the renderStatic() method for ViewHelpers and the related traits. While these deprecated APIs remain functional in Fluid v4, they will be removed in the upcoming Fluid v5 release. We strongly encourage users to consult the deprecation log and update their code to ensure compatibility with future versions.

To make the upgrade process as seamless as possible, we've backported many of the new features to Fluid v2, ensuring that the migration path is largely backward-compatible.

Noteworthy features in v4 that could not be backported:

  • faad81a <f:comment> now ignores Fluid syntax errors
  • ba2c48b {true}, {false} and {null} are part of the language now and can be used in all templates
  • 4d5b0c9 AbstractTagBasedViewHelper now supports boolean tag arguments according to the HTML5 standard

A full list of breaking changes is available in the documentation.

New Contributors

Full Changelog: 2.15.0...4.0.0