This week, the upcoming Symfony 7.4 version deprecated the HTTP method override for the GET, HEAD, CONNECT, and TRACE methods, and added a new setAllowedHttpMethodOverride() method in the Request class to define which HTTP methods can be overridden. Meanwhile, the upcoming Symfony 8.0 version continued removing all the features marked as deprecated, like the Request::get() method and some DependencyInjection extension methods related to XML.

Symfony development highlights

This week, 62 pull requests were merged (50 in code and 12 in docs) and 40 issues were closed (25 in code and 15 in docs). Excluding merges, 27 authors made 15,703 additions and 6,981 deletions. See details for code and docs.

6.4 changelog:

  • 026f62a: [WebProfilerBundle] finish errored requests
  • f30fe83: [Console] allo Stringable when specifying types of interactive question choices
  • dd2aaad: [Cache] add Predis2 Replication Interface check in RedisTagAwareAdapter
  • fb98428: [Serializer] fix unexpected type in denormalization errors when float|int union type used in constructor with non numeric string in form-data request

7.3 changelog:

  • 0b12ec2: [FrameworkBundle] fix using lock from service id when previous locks used env vars

7.4 changelog:

  • fd498be: [Security] add security:oidc-token:generate command
  • 53bd8d7: [DependencyInjection] register a custom autoloader to generate *Config classes when they don't exist yet
  • 4825369: [TypeInfo] fix type alias with template resolving
  • 9b72d76: [Messenger] allow Pheanstalk v8
  • bf39118: [DoctrineBridge] deprecate AbstractDoctrineExtension
  • 8a90232: [HttpFoundation] make Request::createFromGlobals() parse the body of PUT, DELETE, PATCH and QUERY requests
  • 197282a: [WebProfilerBundle] add link to xdebug_info() to config panel
  • b0d728c: [DependencyInjection, Routing] define array-shapes to help writing PHP configs using yaml-like arrays
  • 34dae00: [Security] use PHPUnit attributes instead of annotations
  • 1a5b5e5: [HttpFoundation] add Request::set/getAllowedHttpMethodOverride() to list which HTTP methods can be overridden
  • 05409da: [HttpFoundation] deprecate HTTP method override for methods GET, HEAD, CONNECT and TRACE
  • a0231af: [Console] fine-tuning the interactive #[Ask] attribute

8.0 changelog:

  • cd30075: [FrameworkBundle] remove the deprecated WorkflowDumpCommand
  • 4c1b0a4: [HttpFoundation] remove Request::get()
  • 95b50af: [HttpClient] remove support for StoreInterface as the HTTP client cache
  • 38dfd93, 366115a: [DependencyInjection, FrameworkBundle] remove getNamespace() and getXsdValidationBasePath() from ExtensionInterface
  • 5d7e0ba: [Config, DependencyInjection, Routing] remove ability to access $this and the loader's internal state
  • e091804: [DoctrineBridge] remove AbstractDoctrineExtension

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.15.1 version with the following changes:

  • Fix early return (@chirimoya)
  • Bump deps (@fabpot)

Symfony Jobs

These are some of the most recent Symfony job offers:

  • Lead Symfony Developer at Incenteev
    Full-time - €65,000 – €80,000 / year
    Remote + part-time onsite (Paris, France)
    View details
  • Symfony Developer at SwiftCase
    Full-time - £45,000 – £65,000 / year
    Full remote
    View details
  • Symfony Developer at Inventis
    Full-time - €26,000 – €60,000 / year
    Remote + part-time onsite (Oudsbergen, Belgium)
    View details
  • Backend Symfony Developer at MondoSpedizioni
    Full-time - €29,000 – €45,000 / year
    Remote + part-time onsite (Rome, Italy)
    View details
  • Backend Symfony Developer at Peopulse
    Full-time - €30,000 – €55,000 / year
    Remote + part-time onsite (Toulouse, France)
    View details

You can publish a Symfony job offer for free on symfony.com.

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.

This week, SymfonyCasts published the following updates:

They talked about us

Call to Action

Published in #A week of symfony