This week, Symfony development focused on fixing bugs and finishing new features for the upcoming Symfony 6.1 version. One of those new features is a button to copy requests as cURL commands in the Symfony Profiler. Meanwhile, the SymfonyLive Paris 2022 conference, which will take place in just 4 weeks, announced its complete workshop and talk schedule.

Symfony development highlights

This week, 47 pull requests were merged (27 in code and 20 in docs) and 23 issues were closed (17 in code and 6 in docs). Excluding merges, 28 authors made 16,338 additions and 5,309 deletions. See details for code and docs.

4.4 changelog:

  • d742b54: [HttpClient] fix reading proxy settings from dotenv when curl is used
  • ab136f0: [DependencyInjection] fix ServiceSubscriberTrait bug where parent has __call()
  • a2fc328: [Form] fix the usage of the Valid constraints in array-based forms
  • 63be6fa: [Process] don't return executable directories in PhpExecutableFinder

5.4 changelog:

  • 2aa63d1: [HttpKernel] fix using Target attribute with controller arguments
  • 5f1e0c8: [FrameworkBundle] fix container:lint and #[Autoconfigure(binds: ...)] failing
  • daa8283: [Runtime] fix passing $debug parameter to ErrorHandler
  • 486a39c: [Security] fix return value of NullToken::getUser()
  • b7e878c: [Mailer] fix invalid Mailjet error managment
  • fc4700f: [Form] make FormErrorIterator generic

6.1 changelog:

  • 4e033be: [Routing] avoid double encoded slashes in query parameters
  • 3c2c068: [BrowserKit] add toArray to Response
  • 194e274: [WebProfilerBundle] add button to copy a request as a cURL command
  • 2ac4503: make constraint violation interfaces stringable
  • c7dbcc9: [Config] allow using environment variables in EnumNode
  • cd62c2d: [DependencyInjection] use #[Required] for ServiceSubscriberTrait::setContainer()

Newest issues and pull requests

Symfony CLI

Symfony CLI is a must-have tool when developing Symfony applications on your local machine. It includes the Symfony Local Server, the best way to run local Symfony applications. This week Symfony CLI released its new 5.4.2 version with the following changes:

  • Start server with fixed port when --port argument is provided (@ruudk)
  • Stand with Ukraine (@fabpot)
  • Fix typo > Prefered > Preferred (@ruudk)
  • Fix order in which we look up for Composer (@fabpot)
  • Add automated Fury uploads (@fabpot)

SymfonyCasts Updates

SymfonyCasts is the official way to learn Symfony. Select a track for a guided path through 100+ video tutorial courses about Symfony, PHP and JavaScript.

These were some of the most relevant SymfonyCasts updates of the week:

They talked about us

Call to Action

Published in #A week of symfony