All Versions
106
Latest Version
Avg Release Cycle
19 days
Latest Release
917 days ago
Changelog History
Page 8
Changelog History
Page 8
-
v4.2.10
June 26, 2019 -
v4.2.9
May 28, 2019 -
v4.2.0 Changes
- added
ContainerBuilder::registerAliasForArgument()
to support autowiring by type+name - added support for binding by type+name
- added
ServiceSubscriberTrait
to ease implementingServiceSubscriberInterface
using methods' return types - added
ServiceLocatorArgument
and!service_locator
config tag for creating optimized service-locators - added support for autoconfiguring bindings
- added
%env(key:...)%
processor to fetch a specific key from an array - deprecated
ServiceSubscriberInterface
, use the same interface from theSymfony\Contracts\Service
namespace instead - deprecated
ResettableContainerInterface
, useSymfony\Contracts\Service\ResetInterface
instead
- added
-
v4.1.0 Changes
- added support for variadics in named arguments
- added PSR-11
ContainerBagInterface
and itsContainerBag
implementation to access parameters as-a-service - added support for service's decorators autowiring
- deprecated the
TypedReference::canBeAutoregistered()
andTypedReference::getRequiringClass()
methods - environment variables are validated when used in extension configuration
- deprecated support for auto-discovered extension configuration class which does not implement
ConfigurationInterface
-
v4.0.0 Changes
- Relying on service auto-registration while autowiring is not supported anymore. Explicitly inject your dependencies or create services whose ids are their fully-qualified class name.
Before:
namespace App\Controller; use App\Mailer; class DefaultController { public function __construct(Mailer $mailer) { // ... } // ... }
services: App\Controller\DefaultController: autowire: true
After:
// same PHP code
services: App\Controller\DefaultController: autowire: true # or # App\Controller\DefaultController: # arguments: { $mailer: "@App\Mailer" } App\Mailer: autowire: true ``` * removed autowiring services based on the types they implement * added a third `$methodName` argument to the `getProxyFactoryCode()` method of the `DumperInterface` * removed support for autowiring types * removed `Container::isFrozen` * removed support for dumping an ucompiled container in `PhpDumper` * removed support for generating a dumped `Container` without populating the method map * removed support for case insensitive service identifiers * removed the `DefinitionDecorator` class, replaced by `ChildDefinition` * removed the `AutowireServiceResource` class and related `AutowirePass::createResourceForClass()` method * removed `LoggingFormatter`, `Compiler::getLoggingFormatter()` and `addLogMessage()` class and methods, use the `ContainerBuilder::log()` method instead * removed `FactoryReturnTypePass` * removed `ContainerBuilder::addClassResource()`, use the `addObjectResource()` or the `getReflectionClass()` method instead. * removed support for top-level anonymous services * removed silent behavior for unused attributes and elements * removed support for setting and accessing private services in `Container` * removed support for setting pre-defined services in `Container` * removed support for case insensitivity of parameter names * removed `AutowireExceptionPass` and `AutowirePass::getAutowiringExceptions()`, use `Definition::addError()` and the `DefinitionErrorExceptionPass` instead
-
v3.4.47 Changes
November 27, 2020Changelog (v3.4.46...v3.4.47)
- no changes
-
v3.4.46 Changes
October 28, 2020Changelog (v3.4.45...v3.4.46)
- ๐ bug #38582 Fix Reflection file name with eval()'d code (maxime-aknin)
-
v3.4.45 Changes
September 27, 2020Changelog (v3.4.44...v3.4.45)
- ๐ bug #38091 fix ContainerBuilder on PHP8 (nicolas-grekas)
-
v3.4.44 Changes
August 31, 2020Changelog (v3.4.43...v3.4.44)
- bug #37763 Fix deprecated libxml_disable_entity_loader (jderusse)
-
v3.4.43 Changes
July 24, 2020Changelog (v3.4.42...v3.4.43)
- ๐ bug #37340 Fix support for PHP8 union types (nicolas-grekas)
- ๐ bug #37275 tighten detection of local dirs to prevent false positives (nicolas-grekas)