Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump weld-junit5 from 1.2.2.Final to 2.0.1.Final #4

Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps weld-junit5 from 1.2.2.Final to 2.0.1.Final.

Release notes

Sourced from weld-junit5's releases.

2.0.1.Final

This is a small release with sole purpose of bumping the Weld version in weld-junit to 3.1.2.Final. This hopefully solves the problems people were having when running on newer JDKs and remove the need to override some internal dependencies brought in by Weld.

2.0.0.Final

We have a new major version in which we are dropping support CDI 1.2 (Weld 2.4) and fully moving to CDI 2.0 (Weld 3). Apart from that, this release brings:

  • Removal of @OverrideBean, as it effectively duplicating what can be achieved by declaring an alternative
  • Introduction of @ExcludeBean and @ExcludeBeanClasses which allow to exclude some classes from automatic discovery and replace them with ad-hoc producers
  • Users can now define MockBean with priority, making it a globally enabled alternative
  • Synthetic bean archive now adds a dummy bean in case there is an alternative enabled to avoid a corner case where the archive would be considered empty if no other bean than alternative was present
  • Update to JUnit versions used internally

1.3.1.Final

  • Fixed a bug where annotations you used along with @EnableAutoWeld were not inherited
  • Bumped Weld versions to latest releases
    • 2.4.8.Final (CDI 1.2) and 3.0.5.Final (CDI 2.0)
  • @OverrideBean is no longer (incorrectly) applicable to Type
  • Expanded test coverage

1.3.0.Final

  • JUnit5 extension now offers annotation based configuration - see the example bellow (#44 and #42)
    • Thanks @kdubb for contribution!
  • Fire @Initialized and @Destroyed lifecycle events for activated contexts (#50)
    • Payload is java.lang.Object
    • We don't fire @BeforeDestroyed as we're still compatible with CDI 1.2

JUnit5 annotation based configuration example

@EnableAutoWeld
@AddPackages(Alpha.class) // Adds all bean classes from the package of Alpha
@ActivateScopes(RequestScoped.class) // Activates the request scope for the duration of the test
public class SimpleTest {
 // Injected automatically
 @Inject
 Foo foo;
@Test
public void testFoo() {
// Weld container is started automatically
assertEquals("baz", foo.getBaz());
}

}

For more examples see our test suite.

Commits
  • c1afbfd [maven-release-plugin] prepare release 2.0.1.Final
  • dbe1aca Upgrade Weld to 3.1.2.Final
  • df34366 Fix errors in junit4 README.
  • c5c47d1 Upgrade Weld version to 3.1.1.Final, update travis.yml to run on newer JDKs a...
  • cfe0d64 [maven-release-plugin] prepare for next development iteration
  • 6f4e29f [maven-release-plugin] prepare release 2.0.0.Final
  • e916693 Fix class scanning forcing classes as beans
  • 6098043 Swap master to CDI 2.0/Weld 3.1.
  • 7edc3d9 Fixed some dokumentation for #59, also fixed some broken markdown links
  • d8b41e1 Small adjustments to javadoc of ExludeBean[Classes].
  • Additional commits viewable in compare view

Dependabot compatibility score

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [weld-junit5](https://github.com/weld/weld-junit) from 1.2.2.Final to 2.0.1.Final.
- [Release notes](https://github.com/weld/weld-junit/releases)
- [Commits](weld/weld-testing@1.2.2.Final...2.0.1.Final)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label May 23, 2020
@MikeEdgar MikeEdgar merged commit b4494ac into master May 23, 2020
@MikeEdgar MikeEdgar deleted the dependabot/maven/org.jboss.weld-weld-junit5-2.0.1.Final branch May 23, 2020 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant