Releases: avaje/avaje-inject
Releases · avaje/avaje-inject
11.6
What's New
@Lazy
beans now generate a compile-time proxy for extra laziness@Priority
is integrated as an alternative to the@Primary
and@Secondary
annotations to determine wiring order
Changes
What's Changed
- Support Nested Wildcard Lists by @SentryMan in #817
- Graceful shutdown - defaults for io.ebean.Database to shutdown() last by @rbygrave in #820
- Fix TYPE_USE annotated dependencies by @SentryMan in #823
- fix: handle nested java types like Flow.Publisher in Util.shortName by @VincentPolfliet in #826
- Fix invalid
Provider
generation with AOP by @SentryMan in #833 - Support a main package called
avaje
by @SentryMan in #832 - Generate Compile Time Proxies for certain
@Lazy
beans by @SentryMan in #831 - Register Generic Supertype as an Injectable Type by @SentryMan in #836
- Support Generic Assist Factory Interfaces by @SentryMan in #837
- Support Lazy proxy generation for generic factory methods by @SentryMan in #838
- [events] Support Prototype Scope by @SentryMan in #840
- Fix external dependency error messages by @SentryMan in #843
- allow bulk external by @SentryMan in #842
- Fix Factory Method Empty Lists by @SentryMan in #844
- Add Compile Warnings to Use Lazy Correctly by @SentryMan in #845
- Determine Priority Annotations at Compile Time by @SentryMan in #852
- Read
@PluginProvides
Annotation with Maven Plugin by @SentryMan in #855 - Use strings for provides/requires by @SentryMan in #835
- Merge requires/provides with their auto variants by @SentryMan in #851
- ScopeInfo providesString & requiresString to use generic types only by @rbygrave in #857
- Fix raw generic messing up tests by @SentryMan in #861
- Tidy only - final methods on internal DBuilder by @rbygrave in #862
- [test] Add a switch to create a scope per test by @SentryMan in #859
- [test] better name for the refresh scope flag by @SentryMan in #863
New Contributors
- @VincentPolfliet made their first contribution in #826
Full Changelog: 11.5...11.6
11.5
What's Changed
- Fix Jex Request-Scoped Context by @SentryMan in #789
- [generator] Make aop/events
requires static
by @SentryMan in #791 - [test] remove hard dependency on events by @SentryMan in #792
- Fix duplicate short names in Module Generation by @SentryMan in #795
- Multi-Scope Wiring by @SentryMan in #800
- Add more detections to BeanReader#shouldDelay by @cbarlin in #805
- Support Inherited Lifecycle on Factory Methods by @SentryMan in #810
- #811 @InjectTest field Lookup, fix use field.getDeclaringClass(); by @rbygrave in #812
New Contributors
Full Changelog: 11.4...11.5
11.4
What's Changed
- Detect clash with multiple @bean methods returning same type by @rbygrave in #781
- Bug fix for @bean returning Optional not registering extended type by @rbygrave in #782
- Fix conditional factories by @SentryMan in #785
- add m2e hook to generated plugin by @SentryMan in #786
Dependencies
- Bump the dependencies group with 5 updates by @dependabot in #780
- Bump dependency for prisms and spi-service by @rbygrave in #787
Full Changelog: 11.3...11.4
11.3
What's Changed
- [inject-test] Generate Method Handle Lookups by @SentryMan in #775
- Validate only a single
@InjectModule
annotation by @SentryMan in #776 - Cancel Generation on errors by @SentryMan in #777
- Fix ExternalProvider on JDT by @SentryMan in #778
Dependencies
- Bump the dependencies group with 3 updates by @dependabot in #771
- Bump the dependencies group with 5 updates by @dependabot in #772
- Bump the dependencies group with 4 updates by @dependabot in #773
- Bump the dependencies group with 6 updates by @dependabot in #779
Full Changelog: 11.2...11.3
11.2
What's Changed
- [test] allow list injection for tests by @SentryMan in #761
- [test] Add test for @InjectTest Optional field injection by @rbygrave in #762
- Failing test for ModuleOrdering that skips the extra test module(s) by @rbygrave in #760
- Fix Avaje HttpClient interface generation error by @SentryMan in #763
- Fix injecting generic types extending generic types by @SentryMan in #765
- Fix
cutAnnotations
Edge Case by @SentryMan in #766 - Bump the dependencies group with 3 updates by @dependabot in #767
- Fix
@Requires
Retention by @SentryMan in #769 - Bump the dependencies group with 2 updates by @dependabot in #770
Full Changelog: 11.1...11.2
11.1
What's Changed
- Fix Module Validation by @SentryMan in #740
- Update Valhalla build, not compatible with maven reproducible build by @rbygrave in #741
- Update Valhalla build, sed use explicit current dir? by @rbygrave in #742
- Auto add the maven plugin by @SentryMan in #743
- Use runtime retention in Prototype annotation by @iajn in #747
- javadoc only - RequiresBean use code instead of link by @rbygrave in #748
- #749 Add support for chained methods in @bean(destroyMethod) by @rbygrave in #754
- Now can import
Prototype
/Lazy
Beans by @SentryMan in #751 PostConstruct
method Direct Injection by @SentryMan in #752- #749 Add support for a @predestroy method on a factory, alternative to @bean(destroyMethod) by @rbygrave in #756
- [Internals] Make generation easier to debug by @SentryMan in #753
Dependencies
- Bump the dependencies group with 3 updates by @dependabot in #744
- Bump the dependencies group with 4 updates by @dependabot in #745
- Bump the dependencies group with 3 updates by @dependabot in #755
New Contributors
Full Changelog: 11.0...11.1
11.0
What's Changed
- Fix Repeatable Annotation Name Collision by @SentryMan in #739
- Breaking change - Remove support for Deprecated Interfaces (please upgrade dependencies) by @SentryMan in #670
Full Changelog: 10.6.0...11.0
10.6
What's New
- Merging
META-INF/services/io.avaje.inject.spi.InjectExtension
entries via the shade/assembly maven plugin or theshadowJar
gradle tasks is no longer required for multi-module projects.
Changes
- Fix odd null pointer in module detection by @SentryMan in #732
- Merge Detected Services into
META-INF
by @SentryMan in #733 - Fix Lazy Checked Exceptions by @SentryMan in #737
- Mark Generated Avaje HttpClient implementations as Closeable by @SentryMan in #734
- Rename
isAddBeanFor
toisBeanAbsent
by @SentryMan in #727
Full Changelog: 10.5...10.6
10.5
What's New
- Projects having a module definition (a
module-info.java
) should no longer require the inject maven/gradle plugin to detect externalAvajeModule
instances at compile time. - New
@PluginProvides
annotation for registeringInjectPlugin
implementations. Plugins that use the new annotation to register will receive similarmodule-info.java
auto-detection benefits.
Changes
- Tidy Internals by @SentryMan in #697
- Generate Meta-INF/services entry for
inject-events
by @SentryMan in #704 - [events] Use runAsync by @SentryMan in #706
- Fix Inject-test such that it does NOT have a dependency on inject-events by @SentryMan in #708
- Cease reading supertypes for
java.lang
by @SentryMan in #712 - Fix Gradle Build Folder Detection by @SentryMan in #711
- Change MetaData to be Comparable and sort to deterministic order by @rbygrave in #714
- Mark maven plugin goal as thread safe by @SentryMan in #715
- Reproducible Build by @SentryMan in #709
- MetaData use isEmpty() instead of size() > 0 by @rob-bygrave in #717
- Use Module Path to Find External Modules by @SentryMan in #718
- Change generator logError to use format over string concatenation by @rob-bygrave in #719
- Remove
exports
limitation from Module Path Detection by @SentryMan in #720 - Fix Gradle Test Resource Detection by @SentryMan in #725
- Handle
EventPublishWriter
TypeElement
nulls by @SentryMan in #726 - Add annotation for module-path
InjectPlugin
auto-detection by @SentryMan in #722 - Rename
@PluginProvides
provides
member tovalue
by @SentryMan in #729
Full Changelog: 10.4...10.5
10.4
What's Changed
- Fix ExternalProvider warning message by @SentryMan in #669
- Make Jakarta Inject required in module-info by @SentryMan in #676
- Add avaje-http jstache plugin to autodetected Plugins by @SentryMan in #671
- Add
@BeanTypes
Annotation to Limit Injection Types by @SentryMan in #665 - Update parent pom, tidy use argLine in properties by @rbygrave in #683
- Add support for building against Valhalla EA by @rbygrave in #684
- Log Error on Empty Scope instead of Failing by @SentryMan in #687
Dependencies
- Bump io.avaje:avaje-jsonb from 2.0 to 2.1 by @dependabot in #661
- Bump jupiter.version from 5.10.3 to 5.11.0 by @dependabot in #662
- Bump net.bytebuddy:byte-buddy-agent from 1.14.18 to 1.14.19 by @dependabot in #663
- Bump net.bytebuddy:byte-buddy from 1.14.18 to 1.14.19 by @dependabot in #664
- Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.13.1 to 3.14.0 by @dependabot in #666
- Bump org.apache.maven.plugins:maven-plugin-plugin from 3.13.1 to 3.14.0 by @dependabot in #667
- Bump org.apache.maven:maven-core from 3.9.8 to 3.9.9 by @dependabot in #668
- Bump net.bytebuddy:byte-buddy from 1.14.19 to 1.15.0 by @dependabot in #673
- Bump net.bytebuddy:byte-buddy-agent from 1.14.19 to 1.15.0 by @dependabot in #674
- Bump io.avaje:avaje-spi-service from 2.4 to 2.6 by @dependabot in #675
- Update dependabot to actually group dependency updates by @SentryMan in #677
- [workflow]: Bump actions/setup-java from 3 to 4 by @dependabot in #678
- Bump the dependencies group with 6 updates by @dependabot in #686
Full Changelog: 10.3...10.4