2012-04-26 20:46:32 +01:00
CHANGELOG
=========
2018-12-13 10:20:24 +00:00
4.3.0
-----
2019-03-12 20:10:42 +00:00
* renamed `Client` to `HttpKernelBrowser`
2019-02-17 14:15:12 +00:00
* `KernelInterface` doesn't extend `Serializable` anymore
* deprecated the `Kernel::serialize()` and `unserialize()` methods
2018-12-13 10:20:24 +00:00
* increased the priority of `Symfony\Component\HttpKernel\EventListener\AddRequestFormatsListener`
2018-12-13 10:16:14 +00:00
* made `Symfony\Component\HttpKernel\EventListenerLocaleListener` set the default locale early
2019-01-31 12:39:06 +00:00
* made `FileLinkFormatter` final and not implement `Serializable` anymore
2019-02-17 14:15:12 +00:00
* the base `DataCollector` doesn't implement `Serializable` anymore, you should
store all the serialized state in the data property instead
* `DumpDataCollector` has been marked as `final`
2019-02-20 22:09:05 +00:00
* added an event listener to prevent search engines from indexing applications in debug mode.
2018-10-18 21:44:28 +01:00
* renamed `FilterControllerArgumentsEvent` to `ControllerArgumentsEvent`
* renamed `FilterControllerEvent` to `ControllerEvent`
* renamed `FilterResponseEvent` to `ResponseEvent`
* renamed `GetResponseEvent` to `RequestEvent`
* renamed `GetResponseForControllerResultEvent` to `ViewEvent`
* renamed `GetResponseForExceptionEvent` to `ExceptionEvent`
* renamed `PostResponseEvent` to `TerminateEvent`
2019-03-23 15:11:21 +00:00
* added `HttpClientKernel` for handling requests with an `HttpClientInterface` instance
2018-12-13 10:20:24 +00:00
2018-10-10 15:41:53 +01:00
4.2.0
-----
2018-10-16 14:47:03 +01:00
* deprecated `KernelInterface::getRootDir()` and the `kernel.root_dir` parameter
2018-10-10 15:41:53 +01:00
* deprecated `KernelInterface::getName()` and the `kernel.name` parameter
2018-10-21 09:31:42 +01:00
* deprecated the first and second constructor argument of `ConfigDataCollector`
* deprecated `ConfigDataCollector::getApplicationName()`
* deprecated `ConfigDataCollector::getApplicationVersion()`
2018-10-10 15:41:53 +01:00
2017-12-06 17:47:01 +00:00
4.1.0
-----
2017-10-01 21:31:12 +01:00
* added orphaned events support to `EventDataCollector`
2018-06-09 08:49:02 +01:00
* `ExceptionListener` now logs exceptions at priority `0` (previously logged at `-128` )
2018-11-14 13:05:48 +00:00
* 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.
2018-04-16 15:06:34 +01:00
* Added the ability to profile individual argument value resolvers via the
`Symfony\Component\HttpKernel\Controller\ArgumentResolver\TraceableValueResolver`
2017-12-06 17:47:01 +00:00
2017-05-19 14:44:14 +01:00
4.0.0
-----
2017-05-18 08:47:18 +01:00
2017-05-22 23:37:58 +01:00
* removed the `DataCollector::varToString()` method, use `DataCollector::cloneVar()`
instead
* using the `DataCollector::cloneVar()` method requires the VarDumper component
* removed the `ValueExporter` class
2017-05-19 14:44:14 +01:00
* removed `ControllerResolverInterface::getArguments()`
* removed `TraceableControllerResolver::getArguments()`
* removed `ControllerResolver::getArguments()` and the ability to resolve arguments
* removed the `argument_resolver` service dependency from the `debug.controller_resolver`
2017-05-18 08:47:18 +01:00
* removed `LazyLoadingFragmentHandler::addRendererService()`
* removed `Psr6CacheClearer::addPool()`
2017-05-19 18:56:12 +01:00
* removed `Extension::addClassesToCompile()` and `Extension::getClassesToCompile()`
2017-05-22 23:37:58 +01:00
* 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
2017-08-10 17:13:09 +01:00
* removed convention-based commands registration
2017-09-29 10:39:35 +01:00
* removed the `ChainCacheClearer::add()` method
* removed the `CacheaWarmerAggregate::add()` and `setWarmers()` methods
* made `CacheWarmerAggregate` and `ChainCacheClearer` classes final
2017-05-19 14:44:14 +01:00
2017-05-03 13:00:53 +01:00
3.4.0
-----
2017-09-23 14:20:05 +01:00
* added a minimalist PSR-3 `Logger` class that writes in `stderr`
2017-09-19 11:45:06 +01:00
* made kernels implementing `CompilerPassInterface` able to process the container
2017-09-11 18:56:43 +01:00
* deprecated bundle inheritance
2017-08-04 13:41:57 +01:00
* added `RebootableInterface` and implemented it in `Kernel`
2017-08-06 13:15:02 +01:00
* deprecated commands auto registration
2017-09-01 19:06:13 +01:00
* deprecated `EnvParametersResource`
2017-05-24 16:00:21 +01:00
* added `Symfony\Component\HttpKernel\Client::catchExceptions()`
2017-09-28 15:57:16 +01:00
* deprecated the `ChainCacheClearer::add()` method
* deprecated the `CacheaWarmerAggregate::add()` and `setWarmers()` methods
* made `CacheWarmerAggregate` and `ChainCacheClearer` classes final
2017-10-05 10:48:08 +01:00
* added the possibility to reset the profiler to its initial state
* deprecated data collectors without a `reset()` method
* deprecated implementing `DebugLoggerInterface` without a `clear()` method
2017-05-03 13:00:53 +01:00
2017-02-14 19:09:41 +00:00
3.3.0
-----
2017-04-17 20:24:29 +01:00
* added `kernel.project_dir` and `Kernel::getProjectDir()`
* deprecated `kernel.root_dir` and `Kernel::getRootDir()`
* deprecated `Kernel::getEnvParameters()`
* deprecated the special `SYMFONY__` environment variables
2017-03-06 18:19:58 +00:00
* added the possibility to change the query string parameter used by `UriSigner`
* deprecated `LazyLoadingFragmentHandler::addRendererService()`
2017-05-24 09:44:44 +01:00
* deprecated `Extension::addClassesToCompile()` and `Extension::getClassesToCompile()`
2017-05-21 10:59:35 +01:00
* deprecated `Psr6CacheClearer::addPool()`
2017-02-14 19:09:41 +00:00
2016-08-14 14:24:11 +01:00
3.2.0
-----
* deprecated `DataCollector::varToString()` , use `cloneVar()` instead
2016-10-07 23:19:14 +01:00
* changed surrogate capability name in `AbstractSurrogate::addSurrogateCapability` to 'symfony'
2017-02-21 21:38:27 +00:00
* Added `ControllerArgumentValueResolverPass`
2016-08-14 14:24:11 +01:00
2016-01-30 10:56:42 +00:00
3.1.0
-----
* deprecated passing objects as URI attributes to the ESI and SSI renderers
2016-04-01 05:28:01 +01:00
* deprecated `ControllerResolver::getArguments()`
* added `Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface`
* added `Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface` as argument to `HttpKernel`
* added `Symfony\Component\HttpKernel\Controller\ArgumentResolver`
2016-04-02 03:49:57 +01:00
* added `Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::getMethod()`
* added `Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::getRedirect()`
2016-04-05 07:12:12 +01:00
* added the `kernel.controller_arguments` event, triggered after controller arguments have been resolved
2016-01-30 10:56:42 +00:00
2014-11-12 00:01:01 +00:00
3.0.0
-----
2015-04-02 08:55:37 +01:00
* removed `Symfony\Component\HttpKernel\Kernel::init()`
* removed `Symfony\Component\HttpKernel\Kernel::isClassInActiveBundle()` and `Symfony\Component\HttpKernel\KernelInterface::isClassInActiveBundle()`
2015-05-14 13:53:43 +01:00
* removed `Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher::setProfiler()`
* removed `Symfony\Component\HttpKernel\EventListener\FragmentListener::getLocalIpAddresses()`
* removed `Symfony\Component\HttpKernel\EventListener\LocaleListener::setRequest()`
* removed `Symfony\Component\HttpKernel\EventListener\RouterListener::setRequest()`
* removed `Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest()`
* removed `Symfony\Component\HttpKernel\Fragment\FragmentHandler::setRequest()`
2016-04-05 07:12:12 +01:00
* removed `Symfony\Component\HttpKernel\HttpCache\Esi::hasSurrogateEsiCapability()`
* removed `Symfony\Component\HttpKernel\HttpCache\Esi::addSurrogateEsiCapability()`
2015-05-14 13:53:43 +01:00
* removed `Symfony\Component\HttpKernel\HttpCache\Esi::needsEsiParsing()`
* removed `Symfony\Component\HttpKernel\HttpCache\HttpCache::getEsi()`
* removed `Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel`
* removed `Symfony\Component\HttpKernel\DependencyInjection\RegisterListenersPass`
* removed `Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener`
* removed `Symfony\Component\HttpKernel\EventListener\EsiListener`
* removed `Symfony\Component\HttpKernel\HttpCache\EsiResponseCacheStrategy`
* removed `Symfony\Component\HttpKernel\HttpCache\EsiResponseCacheStrategyInterface`
* removed `Symfony\Component\HttpKernel\Log\LoggerInterface`
* removed `Symfony\Component\HttpKernel\Log\NullLogger`
2015-09-15 08:57:35 +01:00
* removed `Symfony\Component\HttpKernel\Profiler::import()`
* removed `Symfony\Component\HttpKernel\Profiler::export()`
2015-01-25 04:42:01 +00:00
2015-09-07 16:53:56 +01:00
2.8.0
-----
* deprecated `Profiler::import` and `Profiler::export`
2014-12-19 02:18:31 +00:00
2.7.0
-----
* added the HTTP status code to profiles
2014-11-12 00:01:01 +00:00
2014-05-26 11:39:46 +01:00
2.6.0
-----
* deprecated `Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener` , use `Symfony\Component\HttpKernel\EventListener\DebugHandlersListener` instead
2014-09-06 17:49:23 +01:00
* deprecated unused method `Symfony\Component\HttpKernel\Kernel::isClassInActiveBundle` and `Symfony\Component\HttpKernel\KernelInterface::isClassInActiveBundle`
2014-05-26 11:39:46 +01:00
2013-12-16 17:44:05 +00:00
2.5.0
-----
* deprecated `Symfony\Component\HttpKernel\DependencyInjection\RegisterListenersPass` , use `Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass` instead
2013-09-07 21:38:41 +01:00
2.4.0
-----
2013-11-03 17:43:52 +00:00
* added event listeners for the session
2013-09-07 21:38:41 +01:00
* added the KernelEvents::FINISH_REQUEST event
2013-03-23 07:35:36 +00:00
2.3.0
-----
2013-04-10 06:14:53 +01:00
* [BC BREAK] renamed `Symfony\Component\HttpKernel\EventListener\DeprecationLoggerListener` to `Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener` and changed its constructor
2013-03-20 17:09:46 +00:00
* deprecated `Symfony\Component\HttpKernel\Debug\ErrorHandler` , `Symfony\Component\HttpKernel\Debug\ExceptionHandler` ,
2015-01-02 16:09:32 +00:00
`Symfony\Component\HttpKernel\Exception\FatalErrorException` and `Symfony\Component\HttpKernel\Exception\FlattenException`
2014-11-12 00:01:01 +00:00
* deprecated `Symfony\Component\HttpKernel\Kernel::init()`
2013-04-01 09:12:35 +01:00
* added the possibility to specify an id an extra attributes to hinclude tags
2013-03-23 07:35:36 +00:00
* added the collect of data if a controller is a Closure in the Request collector
2013-05-10 10:17:13 +01:00
* pass exceptions from the ExceptionListener to the logger using the logging context to allow for more
detailed messages
2013-03-23 07:35:36 +00:00
2012-09-18 18:22:28 +01:00
2.2.0
2012-09-05 09:02:54 +01:00
-----
2013-02-20 21:48:59 +00:00
* [BC BREAK] the path info for sub-request is now always _fragment (or whatever you configured instead of the default)
2013-01-31 09:37:27 +00:00
* added Symfony\Component\HttpKernel\EventListener\FragmentListener
2013-01-10 15:47:11 +00:00
* added Symfony\Component\HttpKernel\UriSigner
2013-01-31 09:37:27 +00:00
* added Symfony\Component\HttpKernel\FragmentRenderer and rendering strategies (in Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface)
2013-01-10 15:47:11 +00:00
* added Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel
2013-01-31 09:37:27 +00:00
* added ControllerReference to create reference of Controllers (used in the FragmentRenderer class)
2012-11-21 07:34:44 +00:00
* [BC BREAK] renamed TimeDataCollector::getTotalTime() to
2012-11-11 17:39:27 +00:00
TimeDataCollector::getDuration()
2013-04-10 06:14:53 +01:00
* updated the MemoryDataCollector to include the memory used in the
2012-11-21 07:34:44 +00:00
kernel.terminate event listeners
2012-11-09 06:47:23 +00:00
* moved the Stopwatch classes to a new component
2012-10-13 19:48:33 +01:00
* added TraceableControllerResolver
2012-07-18 17:23:30 +01:00
* added TraceableEventDispatcher (removed ContainerAwareTraceableEventDispatcher)
2012-09-05 09:02:54 +01:00
* added support for WinCache opcode cache in ConfigDataCollector
2012-04-26 20:46:32 +01:00
2.1.0
-----
2012-07-03 08:10:12 +01:00
* [BC BREAK] the charset is now configured via the Kernel::getCharset() method
2012-07-01 07:45:49 +01:00
* [BC BREAK] the current locale for the user is not stored anymore in the session
2012-04-26 20:46:32 +01:00
* added the HTTP method to the profiler storage
* updated all listeners to implement EventSubscriberInterface
* added TimeDataCollector
* added ContainerAwareTraceableEventDispatcher
* moved TraceableEventDispatcherInterface to the EventDispatcher component
* added RouterListener, LocaleListener, and StreamedResponseListener
* added CacheClearerInterface (and ChainCacheClearer)
* added a kernel.terminate event (via TerminableInterface and PostResponseEvent)
* added a Stopwatch class
* added WarmableInterface
* improved extensibility between bundles
* added profiler storages for Memcache(d), File-based, MongoDB, Redis
* moved Filesystem class to its own component