Skip to content

7.0.0

Choose a tag to compare

@ghostwriter ghostwriter released this 20 Apr 15:16
· 320 commits to 7.0.x since this release
1931a11

Removed

  • Definition-based registration: Removed DefinitionInterface and all related Composer extra definition classes.
  • Deprecated APIs: Removed the define() method from Container and all definition-based registration logic.
  • Reflection/parameter caches: Removed all internal reflection and parameter caches from the container.

Changed

  • Composer Provider Renaming:
    • Renamed ComposerDefinitionProviderInterface to ComposerServiceProviderInterface.
    • Renamed ComposerDefinitionProvider to ComposerServiceProvider.
  • Container internals:
    • Simplified callable and service normalization logic.
    • Improved circular dependency detection and service-not-found exception handling.
    • Updated container to use only service/provider-based registration.
  • Composer provider:
    • Refactored internals for installed package discovery.
    • Added missingComposerFiles helper for improved Composer integration.
  • Updated all tests to reflect the new API and the removal of definition-based behavior.

Full Changelog: 6.1.1...7.0.0