Saturday, January 22, 2022

OmniFaces 3.13 has been released!

OmniFaces 3.13 has been released!

duckatti

Nothing shocking. Just one new utility method, two small API changes and a bunch of improvements/fixes as compared to 3.12. One of the small API changes is related to the CombinedResourceHandler and the <o:deferredScript>: they will now by default automatically render an integrity attribute with the proper SHA-384 hash as SRI (Subresource Integrity) when the crossorigin attribute equals or defaults to anonymous. The other small API change is related to the <o:validateXxx> multi-field validators: its components attribute can now reference a single common parent containing UIInput components, which is very useful if you're generating them dynamically using a <c:forEach>.

You can find the complete list of additions, changes and fixes at What's new in OmniFaces 3.13? list in showcase.

Installation

Non-Maven users: download OmniFaces 3.13 JAR and drop it in /WEB-INF/lib the usual way, replacing the older version if any.

Maven users: use <version>3.13</version>.

<dependency>
    <groupId>org.omnifaces</groupId>
    <artifactId>omnifaces</artifactId>
    <version>3.13</version>
</dependency>

In case you're already on JSF 3.0 or Faces 4.0, then use 4.0-M13. It's the Jakartified version of 3.13.

How about OmniFaces 2.x and 1.1x?

The 2.x got the same bugfixes as 3.13 and has been released as 2.7.15. This version is for JSF 2.2 users with CDI. In case you've already migrated to JSF 2.3, use 3.x instead.

The 1.1x is basically already since 2.5 in maintenance mode. I.e. only critical bugfix versions will be released. It's currently still at 1.14.1 (May 2017), featuring the same features as OmniFaces 2.4, but without any JSF 2.2 and CDI things and therefore compatible with CDI-less JSF 2.0/2.1.