Skip to content

Releases: simply-framework/container

Version 0.3.1

17 Oct 08:56
Compare
Choose a tag to compare

Fixed

  • The container can now be modified on runtime without losing benefits of static array opcache optimization

Version 0.3.0

17 Oct 07:21
Compare
Choose a tag to compare

Added

  • The Container::getCacheFile() now accepts an optional callable parameter for encoding values.

Changed

  • The container now stores cached information only in a single property
  • Improved tests and some failure conditions with mutation testing

Version 0.2.1

18 Jul 09:54
Compare
Choose a tag to compare

Added

  • Added new entry type WiredEntry for instantiating objects with container values as constructor parameters.
  • Added ContainerBuilder::registerAutowiredClasses, which creates WiredEntry container entries based on
    inspected constructor parameters for the given classes.

Version 0.2.0

16 Jul 11:05
Compare
Choose a tag to compare

Changed

  • Moved the logic of detecting provider methods to new interface method EntryProvider::getMethods().
  • Prefer constructors in cache loading, when possible

Fixed

  • ProviderEntry will now ensure the value returned by container is actually an object

Version 0.1.0

06 Jul 11:12
Compare
Choose a tag to compare

Added

  • Initial development release