What's new in OmniFaces?
What's new in OmniFaces 5.0?
Release date: 28 December, 2025
Major in OmniFaces 5.0
- Alignment with Jakarta EE 11, so minimum dependencies have changed from Java 11, Faces 3.0, EL 4.0, Servlet 5.0, CDI 3.0, WS 2.0 and BV 3.0 to Java 17, Faces 4.1, EL 6.0, Servlet 6.1, CDI 4.1, WS 2.2, BV 3.1 and SEC 4.0
- All things which were during 4.x
@Deprecatedhave been physically removed. - The two XML namespaces
xmlns:o="http://omnifaces.org/ui"andxmlns:of="http://omnifaces.org/functions"have been merged into a single new XML namespace represented by URN instead of URI:xmlns:o="omnifaces" JsfLabelMessageInterpolatorhas been renamed toFacesLabelMessageInterpolatorCombinedResourceHandlerwon't anymore generate crossorigin/integrity attribute, this has been split intoCorsAwareResourceRendererso it can also deal with non-combined resources
Added in OmniFaces 5.0
-
#825 -
Faces/FacesLocal#isOutputHtml5Doctype()to determine whether the rendered output of the current view is using HTML5 doctype -
69aac7b -
Faces/FacesLocal/Servlets#resetResponse()to reset the HTTP response while retaining the original content type and character encoding -
#876 -
CorsAwareResourceRendererwhich automatically addscrossoriginandintegrityattributes to all Faces-managed CSS/JS resources -
#876 -
Faces/FacesLocal#createResource(UIComponent)to create aResourcebased onnameand/orlibraryattributs of the givenUIComponent -
#903 -
<o:formatXyzForLocale>to format using a specificjava.util.Locale -
#907 -
@RateLimitto rate limit method invocations in CDI managed beans -
#908 -
Faces/FacesLocal#getResponseHeaders()which returns all headers with given name from the HTTP response -
#919 -
<sec:authorize>,<sec:isAuthenticated>and<sec:isAnonymous>tags for Jakarta Security