News

Weld 6.0.1.Final

2025-2-18   release   Matej Novotny

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 interested in more gory details, they are in the issue and/or pull requests linked to it.

  • Make ElAwareBeanManager injectable as a bean type

    • Inability to perform this was an oversight as it is a requirement in Jakarta EE WebProfile specification.

As always, do report any bugs you encounter so that we can squash them as soon as possible!


Weld 5.1.5.Final

2025-1-21   release   Matej Novotny

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.


Weld 6.0.0.Final

2024-12-16   release   Matej Novotny

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 possible!

And speaking of getting in touch, we recognize that JIRA can be a little daunting, so we are trying to make that easier by enabling GitHub discussions. You can now ask your question in:

And don’t you worry, the weld-dev mailing list is still kicking plus, for the time being, we are still using JIRA for per-release issue tracking.


Weld 5.1.4.Final

2024-12-16   release   Matej Novotny

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 custom TCK exclusion list used for relaxed mode testing (WELD-2806)


Weld 6.0.0.CR2

2024-11-28   release   Matej Novotny

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 you discover with this release so that we can squash those bugs.