Dip v5.0.0 Release Notes
-
- Migrated to Swift 3.0
#120, @patrick-lind, @mark-urbanthings, @ilyapuchka - ๐จ Renamed
DefinitionOf
toDefinition
and some other source-breaking refactoring.
#113, @ilyapuchka - โ Added
invalidType
error when resolved instance does not implement requested type.
#118, @ilyapuchka - โ Added optional
type
parameter in register methods to be able to specify type when registering using method literal instead of closure. #115, @ilyapuchka - โ Added
implements
family of methods in toDefinition
to register type-forwarding definitions.
#114, @ilyapuchka - 0๏ธโฃ Shared scope is now the default scope.
#112, @ilyapuchka - Single target project setup.
#121, @ilyapuchka - Simplified implementation of auto-wiring.
#117, @ilyapuchka
๐ Fixed
- Auto-injected properties inherited from super class are now properly injected when resolving subclass.
โ Added
resolveDependencies(_:DependencyContainer)
method toResolvable
protocol to handle inheritance when resolving.
#116, @ilyapuchka
- Migrated to Swift 3.0