Skip to content

Releases: krakphp/cargo

Version 0.2.4

26 Apr 19:33
Compare
Choose a tag to compare

Added

  • Delegate Containers #9
  • cachingBoxFactory which will by default cache lazy boxes
  • liteContainer for a lightweight container for testing

Version 0.2.3

28 Mar 18:20
Compare
Choose a tag to compare

Added

  • Ability to bind classes to entries to be auto resolved.

Version 0.2.2

28 Mar 06:59
Compare
Choose a tag to compare

Added

  • Better error messages for auto-wire resolution issues #3

Fixed

  • Ability to wrap aliased services #2
  • Bug in InteropWrapper which incorrectly would convert all exceptions into container exceptions.

Version 0.2.1

12 Mar 01:58
Compare
Choose a tag to compare

Added

  • Container\ContainerDecorator to help with creating container decorators.
  • Container\AuxillaryMethodsTrait to implement all of the auxillary methods
    in an object oriented manner.

Changed

  • Updated all of the container decorators to use the ContainerDecorator class

Version 0.2.0

27 Feb 17:47
Compare
Choose a tag to compare

Changed

  • Container interface to allow for greater extendability
  • Simplified the BoxContainer and split functionality into several Containers: AliasContainer, BoxFactoryContainer, FreezingContainer,
    SingletonContainer
  • Updated the interop wrapper to use the Psr Container

Fixed

  • Bug within container creation function
  • Bug for InteropWrapper

Added

  • alias for aliasing boxes
  • env for accessing values from the env
  • Added a new countable trait
  • Added more and more tests

Version 0.1.0

30 Jan 05:05
Compare
Choose a tag to compare

Added

  • Initial Implementation
  • Containers
  • Pimple Wrapper
  • Container Interop Wrapper
  • Initial Documentation