News
Weld 6.0.2.Final
Here we are with yet another small update to Weld 6; say hello to Weld 6.0.2.Final. Changes in this version: Support for records in the CDI Lang Model (WELD-2809) Container lifecycle observers can now inject any subclass of BeanContainer into them (WELD-2811) Substantially improved exception messages for invokers (WELD-2812) As always, do report any bugs you encounter so that we can squash them as soon as possible! [ Download...
Read more »Red Hat Middleware Strategy
By now you might have heard that Red Hat announced significant changes to their middleware strategy last month. Let me start by saying that this has come as a surprise to us as we were not aware of it in advance. Nonetheless, here we are, and I wanted to provide Weld community with some context as well as talk about how this affects the project. If you want to read the official announcement, it can...
Read more »Weld 6.0.1.Final
First small update for Weld 6 has landed in Central. There are only two notable fixes here, so let us take a look at them: Fixed a bug that EJC (Eclipse Java Compiler) users can encounter in combination with interceptors and lambdas in their beans (WELD-2806) This could, in certain circumstances, yield a very hard to decipher bytecode generation error. Note that this does not manifest when using standard javac compiler. If you are...
Read more »Weld 5.1.5.Final
A tiny update for Weld 5 has just been released. We have identified a bug that EJC (Eclipse Java Compiler) users can encounter in combination with interceptors and lambdas in their beans and fixed it. This could, in certain circumstances, yield a very hard to decipher bytecode generation error. Note that never manifests when using standard javac compiler. For those interested, the details are in the WELD-2806 JIRA. [ Download ] [ Documentation ]...
Read more »Weld 5.1.4.Final
A small update for Weld 5.1 (5.1.4.Final) has been released. List of changes from 5.1.3.Final version: Fix resource injection into beans added via extensions (WELD-2798) Prevent file leak in Weld’s ServiceLoader (WELD-2800) Note that most environments were unaffected by this; the only reported issue was for testing setup of GlassFish on Windows machines Deprecate WeldCrossContextFilter, to be removed in Weld 6 (WELD-2803) Update...
Read more »Weld 6.0.0.Final
Since there have been no further bugs reported, Weld 6.0.0.CR2 has evolved into its Final form. Say hello to Weld API 6.0.Final as well as Weld Core 6.0.0.Final! Since there are no changes from the previous CR2 version, early adopters shouldn’t encounter any unwelcome surprises. Nonetheless, should you run into any bugs, do get in touch so that we can squash them as soon as...
Read more »Weld 6.0.0.CR2
Turns out we forgot to perform some code cleanup in the CR1 - so here goes 6.0.0.CR2 which removes deprecated code pieces. Note that Weld API is unchanged; the only deprecations there are changes coming in recent CDI versions so we’ve kept that code around for now. Resolved issues in this version: Revisit deprecated code in Weld Core (WELD-2804) Remove WeldCrossContextFilter (WELD-2803) As per usual, please report any issues...
Read more »Weld 6.0.0.CR1
First version of the Jakarta EE TCKs has finally landed in Central and with that, we have re-enabled all remaining TCK tests and are confident enough to issue a candidate release for Weld 6! Note that both, Weld API and Weld Core artifacts have been released. Here is the list of changes from last Beta: Implement validation for unproxyability of sealed types (WELD-2799) Correct injection into @Resource fields of beans registered through extensions...
Read more »Weld 5.1.3.Final
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...
Read more »Weld 6.0.0.Beta4
New versions of Weld artifacts are now available in Central - Weld Core 6.0.0.Beta4 accompanied by Weld API 6.0.Beta5. Where applicable, 6.0.0.Beta4 bumps up Jakarta dependencies to their Final variants as well as implements remaining features from CDI spec, adds new Weld-specific API and addresses multiple backlog issues that were scheduled for this major release. You might be wondering where did Betas 2 and 3 go. While...
Read more »