Weld 5.1.3.Final

2024-8-27   release   Matej Novotny

A new version of Weld 5.1 has landed in Maven Central.

This is a bug squashing round which backports several notable fixes and changes from Weld 6 into Weld 5:

  • Change BeanManager resolution process for BuildCompatibleExtension not belonging to any bean archive (WELD-2794)

  • LazySessionBeanStore no longer swallows exceptions happening when attempting to initiate HTTP session (WELD-2762)

  • Correct how we determine proxy package for beans with unassignable types in their bean type set (WELD-2763)

    • This was only problematic in environments using WeldDefaultProxyServices to define their proxies (such as Weld SE)

  • Correct CommonLogger to mention correct GAV for Jandex (WELD-2770)

  • Added the ability to register Build Compatible Extension in Weld SE without discovery (WELD-2772)

  • Correct inheritance of producer fields if there is an extension present (WELD-2773)

  • Make sure @Default qualifier is added to events fired via BeanManager#getEvent() where appropriate (WELD-2775)

  • Observer method confiurator now correctly allows to override Reception settings without changing its notify() method (WELD-2786)

  • Clean up legacy Jetty integration parts (WELD-2787)

  • Use Lock instead of synchronized within ContextualInstanceStrategy to be more virtual thread-friendly (WELD-2788)

  • Skip superclass declarations of final methods when creating proxies (WELD-2785)

  • Ensure OSGi bundle has access to all dependencies needed for built-in beans (WELD-2796)