Releases: MichaelRocks/lightsaber
Releases · MichaelRocks/lightsaber
v0.9.0-beta
This release introduces some breaking changes:
- A component cannot have more than one parent now
- Dependencies with
@Injectconstructor must be bound to at least a single module either by annotating the dependency class with@ProvidedByannotation and specifying modules that it's bound to, or by making one or more of your modules default by using@Module(isDefault = true) - A dependency must depend on dependencies from its own component or from ancestor components of its own component
Other changes:
- Significantly enhanced dependency graph validation
- Fixed dependency leaks from child components (by using explicit dependency binding to modules and strict dependency graph validation)
- A dependency cycle can be broken now by using
ProviderorLazy(may lead toStackOverflowExceptionif you callget()right in a constructor) - All tests are processed now and can have their own modules and components #6
- The Gradle plugin doesn't depend on ASM anymore and contains a repackaged version of the library instead
- Optimized initial instantiation of an injector by removing a lot of project-wide configuration
- Fixed a crash on initial injector creation when a class extends from a subclass (or implements an interface) that might not be available at runtime
- Fixed bytecode generation when a
privatemethod annotated with@Providescould be invoked manually
v0.8.4-beta
- Better diagnostic output for generic types
- Use
implementationconfiguration instead ofcompilewhen possible - Don't lose a content type and a scope when running an Android transform
v0.8.3-beta
- Support libraries for Android projects #2
v0.8.2-beta
- Don't crash when an input file is on classpath
v0.8.1-beta
- Properly handle multi-input projects
v0.8.0-beta
- Optimize allocation count
v0.7.2-beta
- Don't crash on Windows
v0.7.1-beta
- Injection of arrays of generic types
- Gradle 3 support
- Disabled injection in Android tests (which didn't work and broke tests)
v0.7.0-beta
- Injection of generic types
v0.6.1-alpha
- Bump Gradle version to 2.11
- Fix a runtime crash because of LazyAdapter being package private
- Fix a bug with improper generation of some trivial constructors
- Bump Android Gradle plugin version to 2.0.0-beta6