Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 626 Bytes

UPGRADE-5.1.md

File metadata and controls

24 lines (16 loc) · 626 Bytes

UPGRADE FROM 5.0 to 5.1

EventDispatcher

  • Deprecated LegacyEventDispatcherProxy. Use the event dispatcher without the proxy.

FrameworkBundle

  • Deprecated passing a RouteCollectionBuiler to MicroKernelTrait::configureRoutes(), type-hint RoutingConfigurator instead

HttpFoundation

  • Deprecate Response::create(), JsonResponse::create(), RedirectResponse::create(), and StreamedResponse::create() methods (use __construct() instead)

Routing

  • Deprecated RouteCollectionBuilder in favor of RoutingConfigurator.