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 PushContext appears anywhere in source code, so the org.omnifaces.SOCKET_ENDPOINT_ENABLED context 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> SocketPushContextProducer has been deprecated and replaced by PushContextProducer because it now also serves <o:sse> and <o:notification>
  • #933 -omnifaces.taglib.xml is 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

Fixed in OmniFaces 5.1


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 @Deprecated have been physically removed.
  • The two XML namespaces xmlns:o="http://omnifaces.org/ui" and xmlns:of="http://omnifaces.org/functions" have been merged into a single new XML namespace represented by URN instead of URI: xmlns:o="omnifaces"
  • JsfLabelMessageInterpolator has been renamed toFacesLabelMessageInterpolator
  • CombinedResourceHandler won't anymore generate crossorigin/integrity attribute, this has been split intoCorsAwareResourceRenderer so it can also deal with non-combined resources

Added in OmniFaces 5.0