All Versions
31
Latest Version
Avg Release Cycle
150 days
Latest Release
1575 days ago

Changelog History
Page 2

  • v5.0.1 Changes

    September 16, 2016

    ๐Ÿš€ This release is the same as 5.0.0 and only fixes CocoaPods speck pushed to trunk without macOS, tvOS and watchOS deployment targets. Please use this release instead of 5.0.0 if you integrate Dip via Cocoapods.

  • v5.0.0 Changes

    • Migrated to Swift 3.0
      #120, @patrick-lind, @mark-urbanthings, @ilyapuchka
    • ๐Ÿ”จ Renamed DefinitionOf to Definition 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 to Definition 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 to Resolvable protocol to handle inheritance when resolving.
      #116, @ilyapuchka
  • v4.6.1 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed sharing singletons between collaborating containers.
      #103, @ilyapuchka
    • ๐Ÿš€ Renamed some public API's (see release notes for more info).
      #105, @ilyapuchka
  • v4.6.0 Changes

    • Containers collaboration. Break your definitions in modules and link them together.
      #95, @ilyapuchka
    • โž• Added WeakSingleton scope.
      #96, @ilyapuchka
    • Properties Auto-injection now is performed before calling resolveDependencies block
      #97, @ilyapuchka
    • ๐Ÿ›  Fixed updating container's context when resolving properties with auto-injection.
      #98, @ilyapuchka
    • ๐Ÿ‘Œ Improved logging.
      #94, #99, @ilyapuchka
    • ๐Ÿ›  Fixed warning about using only extensions api.
      #92, @mwoollard
  • v4.5.0 Changes

    • โž• Added weakly-typed API to resolve components when exact type is unknown during compile time.
      #79, @ilyapuchka
    • โž• Added type forwarding feature. You can register the same factory to resolve different types.
      #89, @ilyapuchka
    • Container now can resolve optional types :tada:
      #84, @ilyapuchka
    • โž• Added container context that provides contextual information during graph resolution process.
      #83, @ilyapuchka
    • โž• Added method to validate container configuration.
      #87, @ilyapuchka
    • โž• Added method to manually set value wrapped by auto-injection wrappers.
      #81, @ilyapuchka
    • โž• Added separate error type for failures during auto-wiring.
      #85, @ilyapuchka
  • v4.4.0 Changes

    • โž• Added .EagerSingleton scope for objectes requiring early instantiation and bootstrap() method on DepenencyContainer.
      #65, @ilyapuchka
    • โช Reverted order of Resolvable callbacks.
      #67, @ilyapuchka
  • v4.3.1 Changes

    • ๐Ÿ›  Fix Swift 2.2 compile errors in tests.
      #62, @mwoollard
  • v4.3.0 Changes

    • โž• Added DependencyTagConvertible protocol for better typed tags.
      #50, @gavrix
    • Auto-wiring. DependencyContainer resolves constructor arguments automatically.
      #55, @ilyapuchka
    • โž• Added Resolvable protocol to get a callback when dependencies graph is complete.
      #57, @ilyapuchka
    • โœ‚ Removed DipError.ResolutionFailed error for better consistency.
      #58, @ilyapuchka
  • v4.2.0 Changes

    • โž• Added support for Swift Package Manager.
      #41, @ilyapuchka
    • โž• Added Linux support.
      #42, #46, @ilyapuchka
    • ๐Ÿ›  Fixed the issue that could cause singleton instances to be reused between different containers.
      #43, @ilyapuchka
    • โž• Added public AutoInjectedPropertyBox protocol for user-defined auto-injected property wrappers.
      #49, @ilyapuchka
  • v4.1.0 Changes

    ๐Ÿ†• New features

    • โž• Added auto-injection feature.
      #13, @ilyapuchka
    • Factories and resolveDependencies blocks of DefinitionOf are now allowed to throw. Improved errors handling.
      #32, @ilyapuchka
    • ๐Ÿ‘ Thread safety reimplemented with support for recursive methods calls.
      #31, @mwoollard