removed support for Symfony\Component\Templating\EngineInterface in HIncludeFragmentRenderer, use a Twig\Environment only
removed TranslatorListener in favor of LocaleAwareListener
removed getRootDir() and getName() from Kernel and KernelInterface
removed FilterControllerArgumentsEvent, use ControllerArgumentsEvent instead
removed FilterControllerEvent, use ControllerEvent instead
removed FilterResponseEvent, use ResponseEvent instead
removed GetResponseEvent, use RequestEvent instead
removed GetResponseForControllerResultEvent, use ViewEvent instead
removed GetResponseForExceptionEvent, use ExceptionEvent instead
removed PostResponseEvent, use TerminateEvent instead
removed SaveSessionListener in favor of AbstractSessionListener
removed Client, use HttpKernelBrowser instead
added method getProjectDir() to KernelInterface
removed methods serialize and unserialize from DataCollector, store the serialized state in the data property instead
made ProfilerStorageInterface internal
removed the second and third argument of KernelInterface::locateResource
removed the second and third argument of FileLocator::__construct
removed loading resources from %kernel.root_dir%/Resources and %kernel.root_dir% as
fallback directories.
removed class ExceptionListener, use ErrorListener instead
4.4.0
The DebugHandlersListener class has been marked as final
Added new Bundle directory convention consistent with standard skeletons
Deprecated the second and third argument of KernelInterface::locateResource
Deprecated the second and third argument of FileLocator::__construct
Deprecated loading resources from %kernel.root_dir%/Resources and %kernel.root_dir% as
fallback directories. Resources like service definitions are usually loaded relative to the
current directory or with a glob pattern. The fallback directories have never been advocated
so you likely do not use those in any app based on the SF Standard or Flex edition.
Marked all dispatched event classes as @final
Added ErrorController to enable the preview and error rendering mechanism
Getting the container from a non-booted kernel is deprecated.
Marked the AjaxDataCollector, ConfigDataCollector, EventDataCollector,
ExceptionDataCollector, LoggerDataCollector, MemoryDataCollector,
RequestDataCollector and TimeDataCollector classes as @final.
Marked the RouterDataCollector::collect() method as @final.
The DataCollectorInterface::collect() and Profiler::collect() methods third parameter signature
will be \Throwable $exception = null instead of \Exception $exception = null in Symfony 5.0.
Deprecated methods ExceptionEvent::get/setException(), use get/setThrowable() instead
Deprecated class ExceptionListener, use ErrorListener instead
added orphaned events support to EventDataCollector
ExceptionListener now logs exceptions at priority 0 (previously logged at -128)
Added support for using service::method to reference controllers, making it consistent with other cases. It is recommended over the service:action syntax with a single colon, which will be deprecated in the future.
Added the ability to profile individual argument value resolvers via the
Symfony\Component\HttpKernel\Controller\ArgumentResolver\TraceableValueResolver
4.0.0
removed the DataCollector::varToString() method, use DataCollector::cloneVar()
instead
using the DataCollector::cloneVar() method requires the VarDumper component
removed Extension::addClassesToCompile() and Extension::getClassesToCompile()
removed Kernel::loadClassCache(), Kernel::doLoadClassCache(), Kernel::setClassCache(),
and Kernel::getEnvParameters()
support for the X-Status-Code when handling exceptions in the HttpKernel
has been dropped, use the HttpKernel::allowCustomResponseCode() method
instead
removed convention-based commands registration
removed the ChainCacheClearer::add() method
removed the CacheaWarmerAggregate::add() and setWarmers() methods
made CacheWarmerAggregate and ChainCacheClearer classes final
3.4.0
added a minimalist PSR-3 Logger class that writes in stderr
made kernels implementing CompilerPassInterface able to process the container
deprecated bundle inheritance
added RebootableInterface and implemented it in Kernel
deprecated Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener, use Symfony\Component\HttpKernel\EventListener\DebugHandlersListener instead
deprecated unused method Symfony\Component\HttpKernel\Kernel::isClassInActiveBundle and Symfony\Component\HttpKernel\KernelInterface::isClassInActiveBundle
2.5.0
deprecated Symfony\Component\HttpKernel\DependencyInjection\RegisterListenersPass, use Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass instead
2.4.0
added event listeners for the session
added the KernelEvents::FINISH_REQUEST event
2.3.0
[BC BREAK] renamed Symfony\Component\HttpKernel\EventListener\DeprecationLoggerListener to Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener and changed its constructor
deprecated Symfony\Component\HttpKernel\Debug\ErrorHandler, Symfony\Component\HttpKernel\Debug\ExceptionHandler,
Symfony\Component\HttpKernel\Exception\FatalErrorException and Symfony\Component\HttpKernel\Exception\FlattenException