@OlegIlyenko OlegIlyenko released this Nov 3, 2016 · 3 commits to master since this release

Assets 2
  • Cross-compile for scala 2.11 and 2.12
  • Updated dependencies

@OlegIlyenko OlegIlyenko released this Dec 11, 2015 · 16 commits to master since this release

Assets 2
  • Introduced non-dynamic conditions. This will influence how non-lazy bindings are initialized. Non-dynamic conditions
    would be checked during the initialization phase of an Injector (with empty list of identifiers) and if
    condition returns false, then non-lazy binding would not be initialized.

@OlegIlyenko OlegIlyenko released this May 28, 2015 · 36 commits to master since this release

Assets 2

Extracted JSR 330 implementation in separate project: https://github.com/scaldi/scaldi-jsr330

@OlegIlyenko OlegIlyenko released this Apr 29, 2015 · 40 commits to master since this release

Assets 2

Minor bugfix release

@OlegIlyenko OlegIlyenko released this Feb 23, 2015 · 46 commits to master since this release

Assets 2

@OlegIlyenko OlegIlyenko released this Feb 2, 2015 · 51 commits to master since this release

Assets 2
  • Improved the unregister of a shutdown hook behavior

@OlegIlyenko OlegIlyenko released this Feb 2, 2015 · 54 commits to master since this release

Assets 2
  • #43 - Int properties are injected by TypesafeConfigInjector
  • #44 - JVM shutdown hook now unregister itself if destroy is called manually

@OlegIlyenko OlegIlyenko released this Feb 1, 2015 · 58 commits to master since this release

Assets 2

v0.5.1 (01.02.2015)

  • AnnotationBinding can now also inject already created instances
  • annotated binding syntax moved to jsr330 package

@OlegIlyenko OlegIlyenko released this Jan 31, 2015 · 65 commits to master since this release

Assets 2
  • JSR 330 support. Scaldi now fully implements (except optional static injection) JSR 330 (Dependency Injection for Java) spec.

    • New syntax added to bind JSR 330 annotated classes
    bind [Engine] to annotated [V8Engine]
    
    • OnDemandAnnotationInjector - New Injector that creates JSR 330 compliant bindings on-demand (when they are injected)
    • AnnotationIdentifier allows to bind classes with JSR 330 Qualifier annotation. You can now also use it in the bindings:
    import scaldi.jsr330._
    
    bind [Seat] identifiedBy qualifier [Drivers] to annotated [DriversSeat]
    
  • Required identifiers. Every identifier now defines, whether it is required during the lookup. The only required built-in identifier at the moment is AnnotationIdentifier. You can now also make an identifier (not) required in the binding with the new syntax:

    bind [Tire] identifiedBy required('spare) to annotated [SpareTire]
    bind [Seat] identifiedBy notRequired(qualifier [Drivers]) to annotated [DriversSeat]
    
  • ImmutableWrapper that was previously described in the documentation now is part of the scaldi codebase.

  • in binding syntax is now deprecated and will be removed in future versions of Scaldi.

  • Typesafe config is now naively supported via TypesafeConfigInjector

  • ReflectiveBinder and StaticModule are deprecated and will be removed in the next versions

    • Module does not support ReflectiveBinder anymore - only word bindings are supported

@OlegIlyenko OlegIlyenko released this Jun 22, 2014 · 100 commits to master since this release

Assets 2
  • Constrictor injection with injected macros. Here is an example if it's usage: bind [Users] to injected [UserService].

  • Only Scala version 2.11 is supported from now on (mostly because of the macros)

  • Conditions are now composed together with and if applied several times for the same binding with when block:

    when (inDevMode or inTestMode) {
      bind [Database] to new Riak
      bind [PaymentService] to new MockPaymentService
    }