Skip to content

1.0.0

Compare
Choose a tag to compare
@filecage filecage released this 01 Jul 08:45
· 47 commits to master since this release

Changes in 1.0.0

  • Added license (#12)
  • Interfaces have been moved to own tholabs/creator-interfaces package
  • Unresolvable dependencies now throw UnresolvableDependency exceptions. Verbosity of all exception messages has been increased. (#4, #15)
  • ResourceRegistry::getPrimitiveResource() no longer throws Unresolvable exception for unknown values. As replacement, hasPrimitiveResource() has been introduced.
  • \Creator\Container has been added as PSR-11 compliant implementation of Creator (#10, #16)
  • Creator now collects nested dependency trees and checks them when creating injected instances. In previous versions, creations with injected sub-dependencies did not lead to a new instance because Creator only checked the direct dependencies. (#1, #17)
  • Functionality of implicit factory creation has been removed and will be added again in a more configurable and thus more predictable way in a future version (#18)