Command::setHidden()has a default value (true) for$hiddenparameter
- Removed argument
$usePutenvfrom Dotenv's constructor, useDotenv::usePutenv()instead.
- Removed
LegacyEventDispatcherProxy. Use the event dispatcher without the proxy.
- Added the
getIsEmptyCallback()method to theFormConfigInterface. - Added the
setIsEmptyCallback()method to theFormConfigBuilderInterface.
MicroKernelTrait::configureRoutes()is now always called with aRoutingConfigurator- The "framework.router.utf8" configuration option defaults to
true
- Removed
Response::create(),JsonResponse::create(),RedirectResponse::create(), andStreamedResponse::create()methods (use__construct()instead)
- Removed AmqpExt transport. Run
composer require symfony/amqp-messengerto keep the transport in your application. - Removed Doctrine transport. Run
composer require symfony/doctrine-messengerto keep the transport in your application. - Removed RedisExt transport. Run
composer require symfony/redis-messengerto keep the transport in your application. - Use of invalid options in Redis and AMQP connections now throws an error.
- Removed
RouteCollectionBuilder. - Added argument
$prioritytoRouteCollection::add() - Removed the
RouteCompiler::REGEX_DELIMITERconstant
- Removed
ROLE_PREVIOUS_ADMINrole in favor ofIS_IMPERSONATORattribute