- Set JvmVersion to 1.8
- Update Dagger version
- Update XProcessing version
- Upgrade JavaPoet, KotlinPoet, & XProcessing
- Initial support for KSP
- Throw CannotResolveType error when compiler cannot resolve it.
- Fix edge case of compiler unable to find dependency methods with inner classes types.
- Fix edge case causing generating wrong method names.
- Update to Kotlin 1.5.10.
- IntelliJ scope navigation line marker now supports Kotlin files.
- Generated Kotlin code no longer results in compiler errors.
- Removed UnusedDependencyError. It's now valid to declare a dependency that is not consumed.
- Throw a compiler error when a Scope extends another Scope
- No changes
- Replace
@motif.Dependencies
API withScopeFactory.create
. See #125 for details. - Do not use computeIfAbsent in ScopeFactory in order to avoid ConcurrentModificationException in the IntelliJ plugin
- Allow graph processing to continue even when a ParsingError is encountered. A malformed Scope will simply not be included in the ResolvedGraph.
- New
ResolvedGraph.getParentEdges(Scope)
andResolvedGraph.getScope(IrType)
APIs
- Improve error message when generate name for ErrorTypes
- Improve invalid Scope method error messages
- Remove option to generate a Dagger-based implementation
- Fix motif allowing multiple parameters of same type for a child method
- Only allow memberless qualifiers or qualifiers with a single String
value
member
-Amotif.mode=[dagger|java|kotlin]
for different code generation modes- -Anodagger no longer has any effect
- Add Javadocs mentioning original consumers of generated Dependencies methods
- Enable Daggerless code generation with
-Anodagger=true
- Disallow @Nullable child method parameters