Skip to content

1.1.0

Latest

Choose a tag to compare

@Firehed Firehed released this 10 Jun 00:13
· 2 commits to main since this release
Immutable release. Only release title and notes can be modified.
7d170d8

Summary

  • Resolved an issue where autowired classes with optional constructor parameters (__construct(?Foo $foo = null)) would never have the optional parameters resolved, even if available in the container
  • Major groundwork for external extensibility with DefinitionInterface. This is still considered internal for now, but the goal is to enable use-cases like fetching secrets from vaults, etc.
  • Bumped numerous internal tools and updated to requiring a currently-supported PHP version (8.2+)

What's Changed

  • Add DefinitionInterface for extensible container definitions by @Firehed in #75
  • Extract Autowire utility for shared eligibility checks by @Firehed in #79
  • Check container for optional params before using default by @Firehed in #82
  • Update to PHPUnit 11-13, require PHP 8.2+ by @Firehed in #83
  • Add Dependabot configuration by @Firehed in #84
  • Bump actions/checkout from 4 to 6 by @dependabot[bot] in #87
  • Bump actions/cache from 4 to 5 by @dependabot[bot] in #88
  • Bump codecov/codecov-action from 4 to 6 by @dependabot[bot] in #85
  • Update phpcs to ^4.0 by @Firehed in #90
  • Update PHPUnit config and make it stricter by @Firehed in #91
  • Update envvar reader to leverage new DefinitionInterface by @Firehed in #76
  • Extract Autowire::instantiate() for reuse by @Firehed in #98
  • Convert FactoryInterface to DefinitionInterface by @Firehed in #99
  • Convert AutowireInterface to DefinitionInterface by @Firehed in #97
  • Unify finalization pattern with ShorthandDefinitionInterface by @Firehed in #101
  • Convert Closure handling to DefinitionInterface by @Firehed in #102
  • Convert scalar definitions to DefinitionInterface wrappers by @Firehed in #103
  • Unify config file parsing by @Firehed in #104

New Contributors

Full Changelog: 1.0.0...1.1.0