May 21, 2018 Fabien Potencier

Symfony 4.1.0-BETA2 has just been released. Here is a list of the most important changes:

bug #27312 Supress deprecation notices thrown when getting private servies from container in tests (@arderyp)

feature #27275 [Messenger] Allow to scope handlers per bus (@ogizanagi, @sroze)

bug #27264 [Validator] Use strict type in URL validator (@mimol91)

bug #27267 [DependencyInjection] resolve array env vars (@jamesthomasonjr)

bug #26781 [Form] Fix precision of MoneyToLocalizedStringTransformer's divisions on transform() (@syastrebov)

bug #27270 [Routing] Fix adding name prefix to canonical route names (@ismail1432)

bug #27286 [Translation] Add Occitan plural rule (@kylekatarnls)

bug #27271 [DI] Allow defining bindings on ChildDefinition (@nicolas-grekas)

bug #27246 Disallow invalid characters in session.name (@ostrolucky)

feature #27230 [Messenger] Select alternatives on missing receiver arg or typo (@yceruto)

bug #27287 [PropertyInfo] fix resolving parent|self type hints (@nicolas-grekas)

bug #27281 [HttpKernel] Fix dealing with self/parent in ArgumentMetadataFactory (@fabpot)

bug #24805 [Security] Fix logout (@MatTheCat)

bug #27265 [DI] Shared services should not be inlined in non-shared ones (@nicolas-grekas)

bug #27141 [Process] Suppress warnings when ope _basedir is non-empty (@cbj4074)

bug #27250 [Session] limiting :key for GE _LOCK to 64 chars (@oleg-andreyev)

feature #27128 [Messenger] Middleware factories support in config (@ogizanagi)

bug #27214 [HttpKernel] Fix services are no longer injected into invoke controllers method (@ogizanagi)

bug #27237 [Debug] Fix populating erro _ge _last() for handled silent errors (@nicolas-grekas)

bug #27232 [Cache][Lock] Fix usages of erro _ge _last() (@nicolas-grekas)

bug #27236 [Filesystem] Fix usages of erro _ge _last() (@nicolas-grekas)

feature #27202 [Messenger] Improve the profiler panel (@ogizanagi)

bug #27191 [DI] Display previous error messages when throwing unused bindings (@nicolas-grekas)

bug #27231 [FrameworkBundle] Fix cache:clear on vagrant (@nicolas-grekas)

bug #27222 [WebProfilerBundle][Cache] Fix misses calculation when calling getItems (@fsevestre)

bug #27227 [HttpKernel] Handle NoConfigurationException "onKernelException()" (@nicolas-grekas)

feature #27034 [Messenger][DX] Uses custom method names for handlers (@sroze)

bug #27228 [Messenger] Remove autoconfiguration for Sender/ReceiverInterface (@kbond)

bug #27229 [Messenger] Rename tag attribute "name" by "alias" (@yceruto)

bug #27224 [Messenger] Make sure default receiver name is set before command configuration (@yceruto)

feature #27225 [Messenger] Autoconfiguring TransportFactoryInterface classes (@yceruto)

bug #27220 [Messenger] Fix new AMQP Transport test with Envelope & fix contract (@ogizanagi)

bug #27184 [Messenger] Fix return senders based on the message parents/interfaces (@yceruto)

feature #27182 [Messenger] Re-introduce wrapped message configuration (with fix) (@sroze, @ogizanagi)

bug #27209 [Workflow] add is deprecated since Symfony 4.1. Use addWorkflow() instead (@xkobal)

feature #26803 [Messenger] Add debug:messenger CLI command (@ro0NL, @sroze)

bug #27189 [Profiler] Fix dump makes toolbar disappear (@ogizanagi)

bug #27199 [Messenger] Fix default bus name (@ogizanagi)

bug #27198 [Messenger] Fix the transport factory after moving it (@sroze)

bug #27197 [Messenger] Fix AMQP Transport factory & TransportFactoryInterface (@ogizanagi)

bug #27196 [Messenger] Fix AMQP Transport (@yceruto)

Want to upgrade to this new release? Fortunately, because Symfony protects backwards-compatibility very closely, this should be quite easy. Read our upgrade documentation to learn more.

Want to be notified whenever a new Symfony release is published? Or when a version is not maintained anymore? Or only when a security issue is fixed? Consider subscribing to the Symfony Roadmap Notifications.