News
Weld Testing 6.0.0.Final
Weld Testing 6.0.0.Final is now available! This release brings support for testing your CDI applications with CDI 5.0 and Weld 7, using Weld 7.0.0.Final. With extensions for JUnit 4, JUnit Jupiter and Spock, you can test your beans in a real CDI container with minimal setup. Java 17 or newer is required. Breaking change and migration As announced in Beta1, the JUnit Jupiter extension artifact has been renamed...
Read more »Weld 7.0.0.Final
Weld Core 7.0.0.Final and Weld API 7.0.Final are now available! As planned, there are no changes from CR2 — this release finalizes the Weld 7 effort and our compatible implementation of CDI 5.0. For those joining us from Weld 6, CDI 5.0 brings @Eager initialization, @Reserve fallback beans, @AutoClose resource cleanup, asynchronous method invokers and improvements to build compatible extensions. Weld also implements the new client proxy unwrapping API...
Read more »Weld 7.0.0.CR2
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...
Read more »Weld 7.0.0.CR1
Weld Core 7.0.0.CR1 and Weld API 7.0.CR1 are now available in Maven Central. This is the first candidate release for Weld 7, implementing CDI 5.0 CR1. CDI 5.0 CR1 is considered feature complete — no further specification changes are expected before the Final release and the start of the release ballot. This means Weld 7.0.0.CR1 contains everything that CDI 5.0 has to offer and passes...
Read more »Issue tracking moves to GitHub
We are happy to announce that all Weld projects have migrated their issue tracking to GitHub Issues. Background Historically, the main Weld repositories — Weld Core, Weld API, and Weld Parent — used the WELD JIRA project to track bugs and feature requests. Other projects like Weld Testing already used GitHub Issues. This split meant that contributors had to know which tracker to use for which project, and filing a JIRA issue required a separate account. Over...
Read more »Weld Testing 6.0.0.Beta1
Weld Testing 6.0.0.Beta1 is now available in Maven Central. This is the first release supporting Weld 7.0.0.Beta2 and CDI 5.0, completing the toolkit needed to run and test your CDI applications with the latest versions. Breaking changes The JUnit 5 extension artifact has been renamed from weld-junit5 to weld-junit-jupiter and the org.jboss.weld.junit5 package has been renamed to org.jboss.weld.junit.jupiter...
Read more »Weld 7.0.0.Beta2
Weld Core 7.0.0.Beta2 and Weld API 7.0.Beta2 are now available in Maven Central. This is a small release adding support for Jakarta Persistence 4.0 integration. JPA 4.0 introduces EntityAgent, a stateless alternative to EntityManager. Containers can inject it using the new @PersistenceAgent annotation, similar to how @PersistenceContext works for EntityManager. This release updates the Weld SPI (weld/api#258) and adds the corresponding implementation in Core (weld/core...
Read more »Weld 7.0.0.Beta1
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...
Read more »Weld 5.1.7.Final
Weld 5.1.7.Final has landed in Central, let’s take a look at what’s been changed: Observable Startup and Shutdown events for web modules are now fired within a synchronized block, similarly to @Initialized events for application scope (WELD-2827) Weld SE annotated reflection discovery strategy was incorrectly recognizing classes with indirectly present bean defining annotations as valid beans (WELD-2826) For a class to be considered annotated with a...
Read more »Weld 6.0.4.Final
New minor bugfix version of Weld 6 has landed in Central - say hello to Weld 6.0.4.Final. There is only a handful on notable changes: Observable Startup and Shutdown events for web modules are now fired within a synchronized block, similarly to @Initialized events for application scope (WELD-2827) Weld SE annotated reflection discovery strategy was incorrectly recognizing classes with indirectly present bean defining annotations as valid beans (WELD-2826) For a class...
Read more »