This week, the upcoming Symfony 8.1 version added new options to the messenger:consume command, introduced a way to retrieve the original command input arguments and options, and added an option to map empty data using MapQueryString and MapRequestPayload. In addition, we released Twig 3.24.0, which includes new features related to HTML attributes, improved null-safe operator behavior, and support for variable renaming in object destructuring.

Symfony development highlights

This week, 47 pull requests were merged (20 in code and 27 in docs) and 35 issues were closed (22 in code and 13 in docs). Excluding merges, 22 authors made additions and deletions. See details for code and docs.

6.4 changelog:

  • 0ea1ee0: [Messenger] fix duplicate pending messages in Redis transport with batch handlers
  • 88c396f: [Form] fix typed property initialization in ValidatorExtension
  • 114ca76: [Cache] fix ChainAdapter ignoring item expiry when propagating to earlier adapters
  • 2701045: [WebProfilerBundle] only decrement pendingRequests when it's more than zero
  • b3dfc62: [HttpKernel] reset router locale to default when finishing main request
  • 8602039: [Dotenv] fix self-referencing variables with defaults and env key resolution during deferred expansion
  • d1793a6: [Messenger] use SignalRegistry::isSupported() in ConsumeMessagesCommand

7.4 changelog:

  • a8f4940: [VarDumper] wrong dumper output for Accept: aplication/json requests

8.1 changelog:

  • 3f0ca55: [Contracts] add ContainerAwareInterface
  • 754e299: [Messenger] add a --fetch-size option to the messenger:consume command to control how many messages are fetched per iteration
  • 23a28cf: [Messenger] add MessageExecutionStrategyInterface and refactor Worker to use it
  • 510fb07: [Messenger] allow configuring the service reset interval in the messenger:consume command via the --no-reset option
  • cfe04b4: [Runtime] add FrankenPhpWorkerResponseRunner for simple response return
  • 2906620: [Messenger] add AmqpPriorityStamp for per-message priority on AMQP transport
  • 3750e07: [HttpKernel] add option to map empty data with MapQueryString and MapRequestPayload
  • ee4f425: [Console] expose the original input arguments and options and to unparse options
  • 0fed979: [Process] widen the type of Process::$commandline
  • f7a01d8: [Console] add optional PSR container parameter to Application
  • a7a89a1: [Form] fix deprecation notice in ValidatorExtensionTest::testPropertiesInitializedWithEarlyReturn test

Newest issues and pull requests

Symfony Jobs

These are some of the most recent Symfony job offers:

  • Symfony Developer at Design Force Marketing
    Full-time - $60,000 – $100,000 / year
    Grand Haven Michigan, United States
    View details
  • Backend Symfony Developer at ShipMonk
    Contract / Freelance - $5,000 – $8,000 / month
    Full remote
    View details
  • Backend Symfony Developer at Vacatia
    Full-time - $150,000 – $180,000 / year
    Remote + part-time onsite (Portland, Oregon, United States)
    View details
  • Backend Symfony Developer at POLAVIS
    Full-time - €30 – €45 / hour
    Full remote
    View details
  • Backend Symfony Developer at Travis International Road Services
    Full-time - €3,800 – €4,500 / month
    Remote + part-time onsite (Tilburg, Netherlands)
    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

Upcoming Symfony Events

Call to Action

Published in #A week of symfony