Version 4.0.0.Final of this library is now available in Maven Central.
There are a few smaller tweaks but generally the bulk of changes for this major version is adaptation to Weld 5/ CDI 4.
The good news is that your tests should stay mostly unaffected.
One notable addition is that there is now a dedicated module for Spock testing framework offering similar functionalities as our JUnit extensions.
You can read more about that here and if you browse the module, there are plenty of tests showcasing how it works.
In case you encounter any issues testing your CDI 4 apps with this new framework, do let us know via GH issues.
3.1.0.Final
Version 3 of this library keeps supporting Weld 4, Jakarta EE 9.
While there are no significant changes to JUnit extensions, the minor version bump is due to the addition of Spock support.
If you want to learn more, the README file captures it nicely.
Note that unless there are severe bugs, we are not planning any further releases for 3.x branch due to the fact that the Weld version is it designed for has entered maintenance mode as well.
We of course keep supporting newer versions and have already released 4.0.0.Final of this library which is tailored for Weld 5 (Jakarta EE 10).
3.0.0.Final - Jakarta EE 9 variant of weld-junit
This new major version switches to EE 9 meaning it supports and uses Weld 4/CDI 3.0 and with it the jakarta namespace.
Otherwise it brings no functional changes over the latest 2.x release.
Note that this also means that anyone who needs to still run on top of older versions/namespaces will have to keep using version 2.x which we now have a branch for and which will keep getting updated as well.
If you find any issues, please report them via GH issues and we'll into them as soon as possible.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps weld-junit5 from 2.0.2.Final to 4.0.0.Final.
Release notes
Sourced from weld-junit5's releases.
Commits
cf5420a
[maven-release-plugin] prepare release 4.0.0.Final3d4912c
Update Weld version as well as some EE 10 APIsaa537cb
Throw an exception of we fail bean resolution during parameter resolution wit...8baaf1a
Changes to primary README8d11b78
Add a Spock module55250b3
Add some explanatory comment to AutoConfigWithWeldSetupTest.88caa36
Improve various details in the JUnit Jupiter module27ccf8d
Fix broken AbstractWeldInitiator#isRunning if container is not yet initializeded229cd
Introduce recursive search for WeldInitiator in nested test classes7fed5d8
[maven-release-plugin] prepare for next development iterationDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)