This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/UPGRADE-3.3.md
Christian Flothmann 184f7ff125 replace DefinitionDecorator with ChildDefinition
The DefinitionDecorator class does not deal with decorated services. It
reflects a parent-child-relationship between definitions instead. To
avoid confusion, this commit deprecates the existing DefinitionDecorator
class and introduces a new ChildDefinition class as replacement.
2016-12-13 12:26:14 +01:00

1002 B

UPGRADE FROM 3.2 to 3.3

ClassLoader

  • The ApcClassLoader, WinCacheClassLoader and XcacheClassLoader classes have been deprecated in favor of the --apcu-autoloader option introduced in composer 1.3

DependencyInjection

  • The DefinitionDecorator class is deprecated and will be removed in 4.0, use the ChildDefinition class instead.

Finder

  • The ExceptionInterface has been deprecated and will be removed in 4.0.

Security

  • The RoleInterface has been deprecated. Extend the Symfony\Component\Security\Core\Role\Role class in your custom role implementations instead.

SecurityBundle

  • The FirewallContext::getContext() method has been deprecated and will be removed in 4.0. Use the getListeners() method instead.

HttpKernel

  • The Psr6CacheClearer::addPool() method has been deprecated. Pass an array of pools indexed by name to the constructor instead.