Weld 7.0.0.Beta1

By Matej Novotny | May 27, 2026

Weld Core 7.0.0.Beta1 and Weld API 7.0.Beta1 have landed in Maven Central.
This is a feature complete implementation of Jakarta CDI 5.0.Beta1!

Since the Alpha1 release, the remaining CDI 5.0 features have been implemented (WELD-2835, WELD-2836):

  • @Eager annotation for eager initialization of @ApplicationScoped beans — the CDI equivalent of EJB’s @Startup

  • @AutoClose annotation — beans implementing AutoCloseable are now automatically closed during destruction without the need for explicit @PreDestroy or @Disposes methods

  • Asynchronous method invokers via the new AsyncHandler API

  • Programmatic registration of BuildCompatibleExtension in CDI SE

  • SyntheticInjections for injection points in synthetic beans

  • Global scopes — application scope is now global

  • Support for parameterized types in @Registration

  • Removal of deprecated EL-related BeanManager methods (moved to ELAwareBeanManager in CDI 4.1)

  • Removal of SecurityManager references

Other enhancements and bug fixes in this release:

  • Trimming a non-explicit bean archive is now correctly treated as a deployment problem (WELD-2832)

  • Optimized how Weld keeps references to dependent instances within CreationalContext (WELD-2834)

  • Fixed ClassCastException when unwrapping proxied EntityManager (WELD-2245)

  • Fixed reflection discovery strategy incorrectly discovering beans with just inherited BDA in SE (WELD-2826)

  • Startup event is now fired in a synchronized block (WELD-2827)

  • Ensured proxy target JPMS modules can read Weld JPMS modules (WELD-2828)

  • ProcessSyntheticAnnotatedType now correctly fired for types added via configurators (WELD-2831)

  • Weld#addExtensions no longer swallows exceptions (WELD-2833)

For the full list of what’s new in CDI 5.0, see the Jakarta CDI 5.0 specification page.

As always, if you find any issues, don’t hesitate to reach out!