901 B
901 B
UPGRADE FROM 5.0 to 5.1
EventDispatcher
- Deprecated
LegacyEventDispatcherProxy
. Use the event dispatcher without the proxy.
FrameworkBundle
- Deprecated passing a
RouteCollectionBuiler
toMicroKernelTrait::configureRoutes()
, type-hintRoutingConfigurator
instead
HttpFoundation
- Deprecate
Response::create()
,JsonResponse::create()
,RedirectResponse::create()
, andStreamedResponse::create()
methods (use__construct()
instead)
Notifier
- [BC BREAK] The
ChatMessage::fromNotification()
method's$recipient
and$transport
arguments were removed. - [BC BREAK] The
EmailMessage::fromNotification()
andSmsMessage::fromNotification()
methods'$transport
argument was removed.
Routing
- Deprecated
RouteCollectionBuilder
in favor ofRoutingConfigurator
.