Skip to content

Releases: avaje/avaje-inject

6.5 | 5.5

03 Aug 02:53
Compare
Choose a tag to compare

Breaking changes

This release adds "custom scopes" as a replacement for "request scope". It also removes ApplicationScope with the replacement to just use BeanScope. This simplifies things and drops the conceptual weight of avaje-inject which should be a good thing. If you have any issues upgrading your apps to 6.5 please ask / create a ticket. Thanks.
Issues:

#139 - Support types implementing interfaces with parameter type T etc (currently produces compile error)
#138 - Support for generic interface types for registration and external dependencies
#137 - Improve warning logged when @singleton generated with no default module
#135 - With concrete superclass with interfaces, the interfaces are not registered
#134 - Refactor scopes - Removes ApplicationScope & RequestScope in favour of "custom scopes"
#128 - Unnecessary compiler warning on every build
#127 - listByAnnotation() does not work on request scope
#125 - No way to enumerate every object in the scope
#124 - list() doesn't seem to work for request scopes

These changes were all part of the 6.5.RC releases

6.5-RC3 | 5.5-RC3

28 Jul 04:31
Compare
Choose a tag to compare

#139 - Support types implementing interfaces with parameter type T etc (currently produces compile error)

6.5-RC2 | 5.5-RC2

26 Jul 09:40
Compare
Choose a tag to compare

Issues:

#138 - Support for generic interface types for registration and external dependencies
#137 - Improve warning logged when @singleton generated with no default module

6.5-RC1 | 5.5-RC1

22 Jul 11:36
Compare
Choose a tag to compare

#135 - With concrete superclass with interfaces, the interfaces are not registered

6.5-RC0 | 5.5-RC0

22 Jul 11:41
Compare
Choose a tag to compare

Breaking changes

This release adds "custom scopes" as a replacement for "request scope". It also removes ApplicationScope with the replacement to just use BeanScope. This simplifies things and drops the conceptual weight of avaje-inject which should be a good thing. If you have any issues upgrading your apps to 6.5 please ask / create a ticket. Thanks.

Issues:

#134 - Refactor scopes - Removes ApplicationScope & RequestScope in favour of "custom scopes"
#128 - Unnecessary compiler warning on every build
#127 - listByAnnotation() does not work on request scope
#125 - No way to enumerate every object in the scope
#124 - list() doesn't seem to work for request scopes

6.1 | 5.1

28 Jun 00:49
Compare
Choose a tag to compare

Issues:

#120 - Change such that missing dependency is compile error (rather than warning assuming external dependency)

6.0 | 5.0

16 Jun 02:51
Compare
Choose a tag to compare

Includes the changes in the 6.0.RC releases (those changes are listed in the RC releases below)

There are no changes since RC4. 6.0 is exactly the same as 6.0.RC4, 5.0 is exactly the same as 5.0.RC4.

6.0.RC4 | 5.0.RC4

31 May 01:25
Compare
Choose a tag to compare

#119 - Change generated code class name suffix from $factory to $Factory and $di to $DI

6.0.RC3 | 5.0.RC3

26 May 12:13
Compare
Choose a tag to compare

Issues:

#118 - Add compile error when @singleton has a @request scope dependency
#117 - java.lang.AutoClosable automatically gets a PreDestroy hook
#115 - Add JUnit 5 @ExtendWith(InjectExtension.class) enhancement
#114 - Add to Builder API support for withMock() and withSpy() taking name qualifier

6.0.RC2 | 5.0.RC2

19 May 05:01
Compare
Choose a tag to compare

#113 - Opps, use build_ prefix for reading meta data annotations from build methods