All Versions
13
Latest Version
Avg Release Cycle
81 days
Latest Release
1076 days ago

Changelog History
Page 1

  • v0.5.8

    November 03, 2016
    • Cross-compile for scala 2.11 and 2.12
    • ⚡️ Updated dependencies
  • v0.5.7

    December 11, 2015
    • 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.
  • v0.5.6

    May 28, 2015

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

  • v0.5.5

    April 29, 2015

    🛠 Minor bugfix release

  • v0.5.4

    February 23, 2015
  • v0.5.3

    February 02, 2015
    • 👌 Improved the unregister of a shutdown hook behavior
  • v0.5.2

    February 02, 2015
    • #43 - Int properties are injected by TypesafeConfigInjector
    • #44 - JVM shutdown hook now unregister itself if destroy is called manually
  • v0.5.1

    February 01, 2015

    v0.5.1 (01.02.2015)

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

    January 31, 2015
      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 natively 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
  • v0.4

    June 22, 2014

    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
    }