May 21, 2018 Fabien Potencier

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

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 #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)

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)

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)

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)

bug #27152 [HttpFoundation] use brace-style regex delimiters (@xabbuh)

bug #27158 [Cache] fix logic for fetching tag versions on TagAwareAdapter (@dmaicher)

bug #27143 [Console] By default hide the short exception trace line from exception messages in Symfony's commands (@yceruto)

bug #27133 [Doctrine Bridge] fix priority for doctrine event listeners (@dmaicher)

bug #27135 [FrameworkBundle] Use the correct service id for CachePoolPruneCommand in its compiler pass (@DemonTPx)

feature #24896 Add COD _O _CONDUCT.md (@egircys)

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.