Skip to content

Releases: MichaelRocks/lightsaber

v0.9.0-beta

04 Aug 21:02

Choose a tag to compare

v0.9.0-beta Pre-release
Pre-release

This release introduces some breaking changes:

  • A component cannot have more than one parent now
  • Dependencies with @Inject constructor must be bound to at least a single module either by annotating the dependency class with @ProvidedBy annotation 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 Provider or Lazy (may lead to StackOverflowException if you call get() 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 private method annotated with @Provides could be invoked manually

v0.8.4-beta

04 Aug 20:38

Choose a tag to compare

v0.8.4-beta Pre-release
Pre-release
  • Better diagnostic output for generic types
  • Use implementation configuration instead of compile when possible
  • Don't lose a content type and a scope when running an Android transform

v0.8.3-beta

18 Sep 22:52

Choose a tag to compare

v0.8.3-beta Pre-release
Pre-release
  • Support libraries for Android projects #2

v0.8.2-beta

18 Sep 22:54

Choose a tag to compare

v0.8.2-beta Pre-release
Pre-release
  • Don't crash when an input file is on classpath

v0.8.1-beta

18 Sep 22:56

Choose a tag to compare

v0.8.1-beta Pre-release
Pre-release
  • Properly handle multi-input projects

v0.8.0-beta

18 Sep 23:00

Choose a tag to compare

v0.8.0-beta Pre-release
Pre-release
  • Optimize allocation count

v0.7.2-beta

18 Sep 23:00

Choose a tag to compare

v0.7.2-beta Pre-release
Pre-release
  • Don't crash on Windows

v0.7.1-beta

19 Oct 22:09

Choose a tag to compare

v0.7.1-beta Pre-release
Pre-release
  • 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

19 Oct 22:06

Choose a tag to compare

v0.7.0-beta Pre-release
Pre-release
  • Injection of generic types

v0.6.1-alpha

06 Mar 16:54

Choose a tag to compare

v0.6.1-alpha Pre-release
Pre-release
  • 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