Skip to content

Released version 3.2.9

Latest

Choose a tag to compare

@dg dg released this 03 Dec 04:37
· 75 commits to master since this release

✨ New Features

  • Replacing operator ! – now works with any value, not just arrays: languages!: %env% replaces the list with a parameter, version!: 2 with a scalar, and foo!: ArrayIterator replaces a whole service definition, setup and tags included
  • ContainerLoader::load() – the generator callback may be declared void; when it returns no code, the loader compiles the container itself
  • Reference::isType() and isSelf() – narrow the type of getValue() for PHPStan (#332)

🐛 Bug Fixes

  • Under PHP-FPM, the container is no longer recompiled by opcache on every request in auto-rebuild mode (#333)
  • The DI panel in Tracy now hides sensitive keys (keysToHide) in the dumps of services and parameters (#327)

Thanks to @mabar for #332.