What's new in OmniFaces?
What's new in OmniFaces 5.2?
Release date: 25 March, 2026
Added in OmniFaces 5.2
-
#932 -
<o:scriptErrorHandler>which converts all JavaScript errors to CDI events -
#935 -
<o:sse>for Server-Sent Events based push which can be sent via CDI@Inject @Push(type=SSE) PushContext -
#508 -
<o:notification>for push notifications which can be sent via CDI@Inject @Push(type=NOTIFICATION) PushContext
Changed in OmniFaces 5.2
-
#934 -
<o:socket>endpoints are now auto-registered when@Inject @Push PushContextappears anywhere in source code, so theorg.omnifaces.SOCKET_ENDPOINT_ENABLEDcontext param is not anymore necessary -
#935 -
<o:socket>web socket endpoint URL pattern has changed from/omnifaces.push/*to/omnifaces.socket/*(so check and catch up web.xml security constraints or proxypass configurations if any!) -
#935 -
<o:socket>SocketPushContextProducerhas been deprecated and replaced byPushContextProducerbecause it now also serves<o:sse>and<o:notification> -
#933 -
omnifaces.taglib.xmlis now generated by Vdlgen instead of hand-maintained in XML, preventing drift between Javadoc and VDL docs
Fixed in OmniFaces 5.2
What's new in OmniFaces 5.1?
Release date: 9 March, 2026
Added in OmniFaces 5.1
-
#925 -
o:flagEmoji()which converts 2-letter ISO country code to flag emoji -
#923 -
<o:compositeConverter>which allows multiple converters to be chained together
Fixed in OmniFaces 5.1
-
#927 -
<o:validateMultiple>invalidateAllattribute was missing in the VDL documentation - Remaining fixes are same as in 4.7.2
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