Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
CHANGELOG
2
=========
3
 
4
6.2
5
---
6
 
7
 * Add constructor argument `bool $handleAllThrowable` to `HttpKernel`
8
 * Add `ControllerEvent::getAttributes()` to handle attributes on controllers
9
 * Add `#[Cache]` to describe the default HTTP cache headers on controllers
10
 * Add `absolute_uri` option to surrogate fragment renderers
11
 * Add `ValueResolverInterface` and deprecate `ArgumentValueResolverInterface`
12
 * Add argument `$reflector` to `ArgumentResolverInterface` and `ArgumentMetadataFactoryInterface`
13
 * Deprecate calling `ConfigDataCollector::setKernel()`, `RouterListener::setCurrentRequest()` without arguments
14
 
15
6.1
16
---
17
 
18
 * Add `BackedEnumValueResolver` to resolve backed enum cases from request attributes in controller arguments
19
 * Add `DateTimeValueResolver` to resolve request attributes into DateTime objects in controller arguments
20
 * Deprecate StreamedResponseListener, it's not needed anymore
21
 * Add `Profiler::isEnabled()` so collaborating collector services may elect to omit themselves
22
 * Add the `UidValueResolver` argument value resolver
23
 * Add `AbstractBundle` class for DI configuration/definition on a single file
24
 * Update the path of a bundle placed in the `src/` directory to the parent directory when `AbstractBundle` is used
25
 
26
6.0
27
---
28
 
29
 * Remove `ArgumentInterface`
30
 * Remove `ArgumentMetadata::getAttribute()`, use `getAttributes()` instead
31
 * Remove support for returning a `ContainerBuilder` from `KernelInterface::registerContainerConfiguration()`
32
 * Remove `KernelEvent::isMasterRequest()`, use `isMainRequest()` instead
33
 * Remove support for `service:action` syntax to reference controllers, use `serviceOrFqcn::method` instead
34
 
35
5.4
36
---
37
 
38
 * Add the ability to enable the profiler using a request query parameter, body parameter or attribute
39
 * Deprecate `AbstractTestSessionListener` and `TestSessionListener`, use `AbstractSessionListener` and `SessionListener` instead
40
 * Deprecate the `fileLinkFormat` parameter of `DebugHandlersListener`
41
 * Add support for configuring log level, and status code by exception class
42
 * Allow ignoring "kernel.reset" methods that don't exist with "on_invalid" attribute
43
 
44
5.3
45
---
46
 
47
 * Deprecate `ArgumentInterface`
48
 * Add `ArgumentMetadata::getAttributes()`
49
 * Deprecate `ArgumentMetadata::getAttribute()`, use `getAttributes()` instead
50
 * Mark the class `Symfony\Component\HttpKernel\EventListener\DebugHandlersListener` as internal
51
 * Deprecate returning a `ContainerBuilder` from `KernelInterface::registerContainerConfiguration()`
52
 * Deprecate `HttpKernelInterface::MASTER_REQUEST` and add `HttpKernelInterface::MAIN_REQUEST` as replacement
53
 * Deprecate `KernelEvent::isMasterRequest()` and add `isMainRequest()` as replacement
54
 * Add `#[AsController]` attribute for declaring standalone controllers on PHP 8
55
 * Add `FragmentUriGeneratorInterface` and `FragmentUriGenerator` to generate the URI of a fragment
56
 
57
5.2.0
58
-----
59
 
60
 * added session usage
61
 * made the public `http_cache` service handle requests when available
62
 * allowed enabling trusted hosts and proxies using new `kernel.trusted_hosts`,
63
   `kernel.trusted_proxies` and `kernel.trusted_headers` parameters
64
 * content of request parameter `_password` is now also hidden
65
   in the request profiler raw content section
66
 * Allowed adding attributes on controller arguments that will be passed to argument resolvers.
67
 * kernels implementing the `ExtensionInterface` will now be auto-registered to the container
68
 * added parameter `kernel.runtime_environment`, defined as `%env(default:kernel.environment:APP_RUNTIME_ENV)%`
69
 * do not set a default `Accept` HTTP header when using `HttpKernelBrowser`
70
 
71
5.1.0
72
-----
73
 
74
 * allowed to use a specific logger channel for deprecations
75
 * made `WarmableInterface::warmUp()` return a list of classes or files to preload on PHP 7.4+;
76
   not returning an array is deprecated
77
 * made kernels implementing `WarmableInterface` be part of the cache warmup stage
78
 * deprecated support for `service:action` syntax to reference controllers, use `serviceOrFqcn::method` instead
79
 * allowed using public aliases to reference controllers
80
 * added session usage reporting when the `_stateless` attribute of the request is set to `true`
81
 * added `AbstractSessionListener::onSessionUsage()` to report when the session is used while a request is stateless
82
 
83
5.0.0
84
-----
85
 
86
 * removed support for getting the container from a non-booted kernel
87
 * removed the first and second constructor argument of `ConfigDataCollector`
88
 * removed `ConfigDataCollector::getApplicationName()`
89
 * removed `ConfigDataCollector::getApplicationVersion()`
90
 * removed support for `Symfony\Component\Templating\EngineInterface` in `HIncludeFragmentRenderer`, use a `Twig\Environment` only
91
 * removed `TranslatorListener` in favor of `LocaleAwareListener`
92
 * removed `getRootDir()` and `getName()` from `Kernel` and `KernelInterface`
93
 * removed `FilterControllerArgumentsEvent`, use `ControllerArgumentsEvent` instead
94
 * removed `FilterControllerEvent`, use `ControllerEvent` instead
95
 * removed `FilterResponseEvent`, use `ResponseEvent` instead
96
 * removed `GetResponseEvent`, use `RequestEvent` instead
97
 * removed `GetResponseForControllerResultEvent`, use `ViewEvent` instead
98
 * removed `GetResponseForExceptionEvent`, use `ExceptionEvent` instead
99
 * removed `PostResponseEvent`, use `TerminateEvent` instead
100
 * removed `SaveSessionListener` in favor of `AbstractSessionListener`
101
 * removed `Client`, use `HttpKernelBrowser` instead
102
 * added method `getProjectDir()` to `KernelInterface`
103
 * removed methods `serialize` and `unserialize` from `DataCollector`, store the serialized state in the data property instead
104
 * made `ProfilerStorageInterface` internal
105
 * removed the second and third argument of `KernelInterface::locateResource`
106
 * removed the second and third argument of `FileLocator::__construct`
107
 * removed loading resources from `%kernel.root_dir%/Resources` and `%kernel.root_dir%` as
108
   fallback directories.
109
 * removed class `ExceptionListener`, use `ErrorListener` instead
110
 
111
4.4.0
112
-----
113
 
114
 * The `DebugHandlersListener` class has been marked as `final`
115
 * Added new Bundle directory convention consistent with standard skeletons
116
 * Deprecated the second and third argument of `KernelInterface::locateResource`
117
 * Deprecated the second and third argument of `FileLocator::__construct`
118
 * Deprecated loading resources from `%kernel.root_dir%/Resources` and `%kernel.root_dir%` as
119
   fallback directories. Resources like service definitions are usually loaded relative to the
120
   current directory or with a glob pattern. The fallback directories have never been advocated
121
   so you likely do not use those in any app based on the SF Standard or Flex edition.
122
 * Marked all dispatched event classes as `@final`
123
 * Added `ErrorController` to enable the preview and error rendering mechanism
124
 * Getting the container from a non-booted kernel is deprecated.
125
 * Marked the `AjaxDataCollector`, `ConfigDataCollector`, `EventDataCollector`,
126
   `ExceptionDataCollector`, `LoggerDataCollector`, `MemoryDataCollector`,
127
   `RequestDataCollector` and `TimeDataCollector` classes as `@final`.
128
 * Marked the `RouterDataCollector::collect()` method as `@final`.
129
 * The `DataCollectorInterface::collect()` and `Profiler::collect()` methods third parameter signature
130
   will be `\Throwable $exception = null` instead of `\Exception $exception = null` in Symfony 5.0.
131
 * Deprecated methods `ExceptionEvent::get/setException()`, use `get/setThrowable()` instead
132
 * Deprecated class `ExceptionListener`, use `ErrorListener` instead
133
 
134
4.3.0
135
-----
136
 
137
 * renamed `Client` to `HttpKernelBrowser`
138
 * `KernelInterface` doesn't extend `Serializable` anymore
139
 * deprecated the `Kernel::serialize()` and `unserialize()` methods
140
 * increased the priority of `Symfony\Component\HttpKernel\EventListener\AddRequestFormatsListener`
141
 * made `Symfony\Component\HttpKernel\EventListener\LocaleListener` set the default locale early
142
 * deprecated `TranslatorListener` in favor of `LocaleAwareListener`
143
 * added the registration of all `LocaleAwareInterface` implementations into the `LocaleAwareListener`
144
 * made `FileLinkFormatter` final and not implement `Serializable` anymore
145
 * the base `DataCollector` doesn't implement `Serializable` anymore, you should
146
   store all the serialized state in the data property instead
147
 * `DumpDataCollector` has been marked as `final`
148
 * added an event listener to prevent search engines from indexing applications in debug mode.
149
 * renamed `FilterControllerArgumentsEvent` to `ControllerArgumentsEvent`
150
 * renamed `FilterControllerEvent` to `ControllerEvent`
151
 * renamed `FilterResponseEvent` to `ResponseEvent`
152
 * renamed `GetResponseEvent` to `RequestEvent`
153
 * renamed `GetResponseForControllerResultEvent` to `ViewEvent`
154
 * renamed `GetResponseForExceptionEvent` to `ExceptionEvent`
155
 * renamed `PostResponseEvent` to `TerminateEvent`
156
 * added `HttpClientKernel` for handling requests with an `HttpClientInterface` instance
157
 * added `trace_header` and `trace_level` configuration options to `HttpCache`
158
 
159
4.2.0
160
-----
161
 
162
 * deprecated `KernelInterface::getRootDir()` and the `kernel.root_dir` parameter
163
 * deprecated `KernelInterface::getName()` and the `kernel.name` parameter
164
 * deprecated the first and second constructor argument of `ConfigDataCollector`
165
 * deprecated `ConfigDataCollector::getApplicationName()`
166
 * deprecated `ConfigDataCollector::getApplicationVersion()`
167
 
168
4.1.0
169
-----
170
 
171
 * added orphaned events support to `EventDataCollector`
172
 * `ExceptionListener` now logs exceptions at priority `0` (previously logged at `-128`)
173
 * 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.
174
 * Added the ability to profile individual argument value resolvers via the
175
   `Symfony\Component\HttpKernel\Controller\ArgumentResolver\TraceableValueResolver`
176
 
177
4.0.0
178
-----
179
 
180
 * removed the `DataCollector::varToString()` method, use `DataCollector::cloneVar()`
181
   instead
182
 * using the `DataCollector::cloneVar()` method requires the VarDumper component
183
 * removed the `ValueExporter` class
184
 * removed `ControllerResolverInterface::getArguments()`
185
 * removed `TraceableControllerResolver::getArguments()`
186
 * removed `ControllerResolver::getArguments()` and the ability to resolve arguments
187
 * removed the `argument_resolver` service dependency from the `debug.controller_resolver`
188
 * removed `LazyLoadingFragmentHandler::addRendererService()`
189
 * removed `Psr6CacheClearer::addPool()`
190
 * removed `Extension::addClassesToCompile()` and `Extension::getClassesToCompile()`
191
 * removed `Kernel::loadClassCache()`, `Kernel::doLoadClassCache()`, `Kernel::setClassCache()`,
192
   and `Kernel::getEnvParameters()`
193
 * support for the `X-Status-Code` when handling exceptions in the `HttpKernel`
194
   has been dropped, use the `HttpKernel::allowCustomResponseCode()` method
195
   instead
196
 * removed convention-based commands registration
197
 * removed the `ChainCacheClearer::add()` method
198
 * removed the `CacheaWarmerAggregate::add()` and `setWarmers()` methods
199
 * made `CacheWarmerAggregate` and `ChainCacheClearer` classes final
200
 
201
3.4.0
202
-----
203
 
204
 * added a minimalist PSR-3 `Logger` class that writes in `stderr`
205
 * made kernels implementing `CompilerPassInterface` able to process the container
206
 * deprecated bundle inheritance
207
 * added `RebootableInterface` and implemented it in `Kernel`
208
 * deprecated commands auto registration
209
 * deprecated `EnvParametersResource`
210
 * added `Symfony\Component\HttpKernel\Client::catchExceptions()`
211
 * deprecated the `ChainCacheClearer::add()` method
212
 * deprecated the `CacheaWarmerAggregate::add()` and `setWarmers()` methods
213
 * made `CacheWarmerAggregate` and `ChainCacheClearer` classes final
214
 * added the possibility to reset the profiler to its initial state
215
 * deprecated data collectors without a `reset()` method
216
 * deprecated implementing `DebugLoggerInterface` without a `clear()` method
217
 
218
3.3.0
219
-----
220
 
221
 * added `kernel.project_dir` and `Kernel::getProjectDir()`
222
 * deprecated `kernel.root_dir` and `Kernel::getRootDir()`
223
 * deprecated `Kernel::getEnvParameters()`
224
 * deprecated the special `SYMFONY__` environment variables
225
 * added the possibility to change the query string parameter used by `UriSigner`
226
 * deprecated `LazyLoadingFragmentHandler::addRendererService()`
227
 * deprecated `Extension::addClassesToCompile()` and `Extension::getClassesToCompile()`
228
 * deprecated `Psr6CacheClearer::addPool()`
229
 
230
3.2.0
231
-----
232
 
233
 * deprecated `DataCollector::varToString()`, use `cloneVar()` instead
234
 * changed surrogate capability name in `AbstractSurrogate::addSurrogateCapability` to 'symfony'
235
 * Added `ControllerArgumentValueResolverPass`
236
 
237
3.1.0
238
-----
239
 * deprecated passing objects as URI attributes to the ESI and SSI renderers
240
 * deprecated `ControllerResolver::getArguments()`
241
 * added `Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface`
242
 * added `Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface` as argument to `HttpKernel`
243
 * added `Symfony\Component\HttpKernel\Controller\ArgumentResolver`
244
 * added `Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::getMethod()`
245
 * added `Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::getRedirect()`
246
 * added the `kernel.controller_arguments` event, triggered after controller arguments have been resolved
247
 
248
3.0.0
249
-----
250
 
251
 * removed `Symfony\Component\HttpKernel\Kernel::init()`
252
 * removed `Symfony\Component\HttpKernel\Kernel::isClassInActiveBundle()` and `Symfony\Component\HttpKernel\KernelInterface::isClassInActiveBundle()`
253
 * removed `Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher::setProfiler()`
254
 * removed `Symfony\Component\HttpKernel\EventListener\FragmentListener::getLocalIpAddresses()`
255
 * removed `Symfony\Component\HttpKernel\EventListener\LocaleListener::setRequest()`
256
 * removed `Symfony\Component\HttpKernel\EventListener\RouterListener::setRequest()`
257
 * removed `Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest()`
258
 * removed `Symfony\Component\HttpKernel\Fragment\FragmentHandler::setRequest()`
259
 * removed `Symfony\Component\HttpKernel\HttpCache\Esi::hasSurrogateEsiCapability()`
260
 * removed `Symfony\Component\HttpKernel\HttpCache\Esi::addSurrogateEsiCapability()`
261
 * removed `Symfony\Component\HttpKernel\HttpCache\Esi::needsEsiParsing()`
262
 * removed `Symfony\Component\HttpKernel\HttpCache\HttpCache::getEsi()`
263
 * removed `Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel`
264
 * removed `Symfony\Component\HttpKernel\DependencyInjection\RegisterListenersPass`
265
 * removed `Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener`
266
 * removed `Symfony\Component\HttpKernel\EventListener\EsiListener`
267
 * removed `Symfony\Component\HttpKernel\HttpCache\EsiResponseCacheStrategy`
268
 * removed `Symfony\Component\HttpKernel\HttpCache\EsiResponseCacheStrategyInterface`
269
 * removed `Symfony\Component\HttpKernel\Log\LoggerInterface`
270
 * removed `Symfony\Component\HttpKernel\Log\NullLogger`
271
 * removed `Symfony\Component\HttpKernel\Profiler::import()`
272
 * removed `Symfony\Component\HttpKernel\Profiler::export()`
273
 
274
2.8.0
275
-----
276
 
277
 * deprecated `Profiler::import` and `Profiler::export`
278
 
279
2.7.0
280
-----
281
 
282
 * added the HTTP status code to profiles
283
 
284
2.6.0
285
-----
286
 
287
 * deprecated `Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener`, use `Symfony\Component\HttpKernel\EventListener\DebugHandlersListener` instead
288
 * deprecated unused method `Symfony\Component\HttpKernel\Kernel::isClassInActiveBundle` and `Symfony\Component\HttpKernel\KernelInterface::isClassInActiveBundle`
289
 
290
2.5.0
291
-----
292
 
293
 * deprecated `Symfony\Component\HttpKernel\DependencyInjection\RegisterListenersPass`, use `Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass` instead
294
 
295
2.4.0
296
-----
297
 
298
 * added event listeners for the session
299
 * added the KernelEvents::FINISH_REQUEST event
300
 
301
2.3.0
302
-----
303
 
304
 * [BC BREAK] renamed `Symfony\Component\HttpKernel\EventListener\DeprecationLoggerListener` to `Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener` and changed its constructor
305
 * deprecated `Symfony\Component\HttpKernel\Debug\ErrorHandler`, `Symfony\Component\HttpKernel\Debug\ExceptionHandler`,
306
   `Symfony\Component\HttpKernel\Exception\FatalErrorException` and `Symfony\Component\HttpKernel\Exception\FlattenException`
307
 * deprecated `Symfony\Component\HttpKernel\Kernel::init()`
308
 * added the possibility to specify an id an extra attributes to hinclude tags
309
 * added the collect of data if a controller is a Closure in the Request collector
310
 * pass exceptions from the ExceptionListener to the logger using the logging context to allow for more
311
   detailed messages
312
 
313
2.2.0
314
-----
315
 
316
 * [BC BREAK] the path info for sub-request is now always _fragment (or whatever you configured instead of the default)
317
 * added Symfony\Component\HttpKernel\EventListener\FragmentListener
318
 * added Symfony\Component\HttpKernel\UriSigner
319
 * added Symfony\Component\HttpKernel\FragmentRenderer and rendering strategies (in Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface)
320
 * added Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel
321
 * added ControllerReference to create reference of Controllers (used in the FragmentRenderer class)
322
 * [BC BREAK] renamed TimeDataCollector::getTotalTime() to
323
   TimeDataCollector::getDuration()
324
 * updated the MemoryDataCollector to include the memory used in the
325
   kernel.terminate event listeners
326
 * moved the Stopwatch classes to a new component
327
 * added TraceableControllerResolver
328
 * added TraceableEventDispatcher (removed ContainerAwareTraceableEventDispatcher)
329
 * added support for WinCache opcode cache in ConfigDataCollector
330
 
331
2.1.0
332
-----
333
 
334
 * [BC BREAK] the charset is now configured via the Kernel::getCharset() method
335
 * [BC BREAK] the current locale for the user is not stored anymore in the session
336
 * added the HTTP method to the profiler storage
337
 * updated all listeners to implement EventSubscriberInterface
338
 * added TimeDataCollector
339
 * added ContainerAwareTraceableEventDispatcher
340
 * moved TraceableEventDispatcherInterface to the EventDispatcher component
341
 * added RouterListener, LocaleListener, and StreamedResponseListener
342
 * added CacheClearerInterface (and ChainCacheClearer)
343
 * added a kernel.terminate event (via TerminableInterface and PostResponseEvent)
344
 * added a Stopwatch class
345
 * added WarmableInterface
346
 * improved extensibility between bundles
347
 * added profiler storages for Memcache(d), File-based, MongoDB, Redis
348
 * moved Filesystem class to its own component