Skip to content

2.0.0.Final

Compare
Choose a tag to compare
@manovotn manovotn released this 17 Apr 09:00
· 103 commits to master since this release

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