This week, Symfony 4.2 deprecated the kernel name and the usage of getRootDir() and kernel.root_dir. Meanwhile, the Form component added a new help_attr option and the Messenger component renamed and reorganized some of its classes.

Symfony development highlights

This week, 56 pull requests were merged (37 in code and 19 in docs) and 46 issues were closed (26 in code and 20 in docs). Excluding merges, 40 authors made 3,116 additions and 4,274 deletions. See details for code and docs.

2.8 changelog:

  • 8322494: [Security] convert InsufficientAuthenticationException to HttpException with 401 status code

3.4 changelog:

  • dc11f7b: [FrameworkBundle] uniformize errors when a component is missing
  • fdc9e09: [FrameworkBundle] update translation commands for the new directory structure

4.1 changelog:

  • 72ab16d: [DependencyInjection] fixed default undefined env to empty string during compile
  • 0daf414: [Config] fixed @method annotation

Master changelog:

  • 2b34f2b: [Validator] use constraint options instead of properties
  • 76f80e9: [HttpFoundation] made ResponseHeaderBag::makeDisposition static
  • 5fda7e2: [HttpKernel] deprecated the Kernel name
  • e85f6d4: [HttpKernel] deprecated usage of getRootDir() and kernel.root_dir
  • 7048679: [FrameworkBundle] avoid calling getProjectDir() on KernelInterface
  • f0814e1: [Form, TwigBridge] added help_attr
  • bcff647: [Serializer] improved perf a bit by not using a signaling exception when not needed
  • 91a2d75: [WebProfilerBundle] redesigned the log message filter
  • 4d757b5: [Messenger] renamed "envelope items" and move them in the "Stamp" namespace
  • 915870e: [Serializer] fixed MetadataAwareNameConverter break denormalization
  • c620a3b: [TwigBundle] deprecated support for legacy templates directories
  • 316e95c: [WebProfilerBundle] replay referer URL

Newest issues and pull requests

They talked about us

Upcoming Symfony Events

Call to Action

Published in #A week of symfony