Weld 7.0.0.CR2

By Matej Novotny | September 24, 2026

Weld Core 7.0.0.CR2 and Weld API 7.0.CR2 are now available.
This is the last candidate release for Weld 7 and represents its intended final state, with no further changes planned before 7.0.0.Final beyond any fixes needed during CR2 testing.

The CDI 5.0 release ballot concluded successfully, and CR2 now uses the final CDI 5.0.0 API and TCK. As part of the specification release, our Compatibility Certification Request (CCR) was accepted, making Weld 7 officially a compatible implementation of CDI 5.0! The certification was performed with Weld 7.0.0.CR1 against the final CDI 5.0 TCK.

Here is a summary of notable changes since CR1:

  • Updated to the final CDI 5.0.0 API and TCK

  • Weld API cleanup (weld/api#335)

    • Removed the deprecated WeldInstance.Handler API and related methods; use the standard Instance.Handle, getHandle(), handles() and handlesStream() methods, and Weld’s getHandlePriorityComparator() for priority ordering

    • Removed WeldInvocationContext; interceptor bindings are available through the standard Jakarta Interceptors InvocationContext methods

    • Deprecated Weld’s @ActivateRequestContext, WeldBeanConfigurator and WeldAfterBeanDiscovery#addBean() in favor of their standard CDI equivalents

    • Fixed service registry iteration and equality, and ensured unmodifiable registry views prevent changes to registrations

  • Core adaptations and fixes (weld/core#3532)

    • Adapted Core to the API removals and stopped populating the legacy org.jboss.weld.interceptor.bindings context-data entry

    • Removed the deprecated WeldContainer.instance() method; use WeldContainer directly as an Instance instead

    • Removed the deprecated LiteExtensionTranslator(List, ClassLoader) constructor; use LiteExtensionTranslator(Collection, ClassLoader) instead

    • Fixed asynchronous invoker handler matching and invocation wrapper support, including cleanup of dependent instances

    • Added org.jboss.weld.invokable.asyncHandlers configuration to select a handler explicitly when multiple providers support the same async type

    • Updated unused-bean detection to retain beans annotated with Jakarta REST annotations by default

    • Updated the reference documentation, including Weld 7 migration guidance

  • Improved BOM publishing to wait for Maven Central validation

  • Various dependency updates

The full list of changes can be found in the Weld API release notes and Weld Core release notes.

As always, please report any issues you discover. Once CR2 testing is done, we expect to release Weld 7.0.0.Final later today or tomorrow!

[ Download ] [ Release ]