Scaldi v0.5 Release Notes
Release Date: 2015-01-31 // about 9 years ago-
- ๐ 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
- NewInjector
that creates JSR 330 compliant bindings on-demand (when they are injected)AnnotationIdentifier
allows to bind classes with JSR 330Qualifier
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
andStaticModule
are deprecated and will be removed in the next versionsModule
does not supportReflectiveBinder
anymore - only word bindings are supported
- ๐ JSR 330 support. Scaldi now fully implements (except optional static injection) JSR 330 (Dependency Injection for Java) spec.