Releases: avaje/avaje-inject
Releases · avaje/avaje-inject
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
10.3 | 10.3-javax
What's Changed
- Fix cases where test beans fail module validation by @SentryMan in #659
- Generate Value Classes When on Valhalla by @SentryMan in #660
Dependencies
- Bump io.avaje:avaje-spi-service from 2.2 to 2.3 by @dependabot in #656
- Bump io.avaje:avaje-prisms from 1.30 to 1.31 by @dependabot in #657
- [deps] Bump avaje-spi-service dependency to 2.4 by @rbygrave in #658
Full Changelog: 10.2...10.3
10.2 | 10.2-javax
What's Changed
- Fix partial compile regression introduced in 10.0-RC5 by @rbygrave in #653
- Fix partial compile regression introduced in 10.1 via #645 by @rbygrave in #654
- Fix Inject Plugin CSV Generation/Parsing by @SentryMan in #647
- Sonar Fixes by @SentryMan in #648
- Support Jspecify Annotations by @SentryMan in #650
- Fix NPE on module.name() by @rbygrave in #655
- Bump io.avaje:avaje-prisms from 1.28 to 1.30 by @dependabot in #651
- [deps] Bump avaje-spi-service dependency to 2.2 by @rbygrave in #652
Full Changelog: 10.1...10.2