News
Weld 6.0.0.Beta1
Weld Core 6.0.0.Beta1 along with Weld API 6.0.Beta2 are the latest two artifacts you’re going to need if you’re looking for an implementation of the CDI API 4.1.0.Beta1. Changes based on CDI specification since last 6.x version: The method invoker API in CDI has been simplified and the transformer functionality removed from the specification (WELD-2765) Weld API introduced WeldInvokerBuilder which retains...
Read more »Weld 6.0.0.Alpha1
Looking for a CDI 4.1 implementation? We’ve got you covered! Weld Core 6.0.0.Alpha1 is now available and comes along with CDI API 4.1.0.Alpha1. Note that this version also uses latest version (2.2.0-RC1) of the Jakarta Interceptors specification. CDI/CDI TCK related additions: Create first implementation of CDI method invokers using MethodHandles (WELD-2764) If you want to read up more about the original...
Read more »Weld 5.1.2.Final
Weld 5.1.2.Final has landed in Central and with it some new bufgixes. Here is a summary of the changes: Avoid creation of duplicated thread groups on application re-deploy (WELD-2755) This could lead to a very tiny memory leak on repeated app re-deploy while on app servers (such as WildFly) WeldInitialListener can no longer throw NullPointerException if the application failed to start properly (WELD-2752) WeldManager#getContexts not properly returns...
Read more »Weld 5.1.1.SP2
Another bug-smashing release has landed in Maven Central and this time it’s Weld 5.1.1.SP2. This is a very small but important change which addresses possible memory leak scenario (WELD-2750). There are multiple conditions for this leak to occur and while most applications are unlikely to be affected, it is still recommended to upgrade to this latest version. As always, if you find further issues with Weld 5, do...
Read more »Weld 5.1.1.SP1
A new SP release of Weld 5 is now avaiable. Latest release, Weld 5.1.1.Final, has shown that one of the changes (WELD-2743) had unforseen and, sadly, untested consequences. Some of the integrators and some of community were using BeanManager#getReference in scenarios which were broken by this change. While the use cases aren’t explicitly backed by the specification or its TCKs, we decided we don’t want to...
Read more »Weld 5.1.1.Final
It’s time for some minor updates and fixes, Weld 5.1.1.Final is now available! Main highlights are as follows: Fix bean type assignability for beans with recursive generic types (WELD-2738) Failing validation for pasivation capability, Weld should throw DeploymentException instead of DefinitionException (WELD-2741) Avoid firing ProcessInjectionTarget multiple times if a specialized bean was vetoed (WELD-2742) BeanManager#getReference should not create a child CreationalContext instance (WELD-2743) This should...
Read more »Weld 5.1.0.Final
Weld Core 5.1.0.Final and Weld API 5.0.SP3 are now availabe in Maven Central. Most notable change, which is also the cause of a minor version bump, is the removal of Weld Probe from our codebase. Details are in this JIRA issue and were also communicated via weld-dev email. In short, Probe hasn’t been maintained for a long time and its UI part is using outdated libraries and...
Read more »Weld 5.0.1.Final
Weld Core 5.0.1.Final is now available and comes with Weld API 5.0.SP2. Main highlights are as follows: Updated all CDI related versions (API and TCKs) to their latest released variants and made sure we are passing Updated many other EE 10 APIs to their latest releases We are once again fully continuously testing against an EE container (nightly WildFly builds) which helped us polish more bumps in tests and code...
Read more »Weld 5.0.0.SP2
Another quick turnaround as more integrators adopt Weld 5 and help us squash bugs. Weld 5.0.0.SP2 is headed into Central as we speak. The main reason for this service release is WELD-2721 which was a spec violation in how AfterBeanDiscovery methods were treated outside of lifecycle observer method invocations. Apart from that, there was also a corner case NPE during Weld Servlet and SE cooperation bootstrap (WELD-2720). As always, if...
Read more »Weld 5.0.0.SP1
A new version of Weld core is now in Maven Central - 5.0.0.SP1. There have been reports of a bytecode verification error in certain scenarios reported by GlassFish and WildFly trying to integrate Weld 5.0.0.Final. We have investigated the cause and identified the problematic change, you can read more about it in WELD-2719. Weld 5.0.0.SP1 release reverts the offending change (WELD-2712) and otherwise keeps Weld...
Read more »