A Week of Symfony #732 (4-10 January 2021)

This week, Symfony added support for binary/negatable options in console commands and introduced a feature in PhpUnitBridge to log deprecations into a file. In addition, it fixed some PHP 8 compatibility in DependencyInjection component and added future PHP 8.1 compatibility in VarDumper component.

Symfony development highlights

This week, 75 pull requests were merged (50 in code and 25 in docs) and 82 issues were closed (58 in code and 24 in docs). Excluding merges, 28 authors made 2,954 additions and 1,454 deletions. See details for code and docs.

4.4 changelog:

e8d5d29: [WebProfilerBundle] take query and request parameters into account when matching routes ef11c2c: [TwigBridge] removed full head content in HTML to text converter 1dead9a: [Finder] applied the sort callback on the whole search result e1b81d5: [DependencyInjection] do not break when loading schemas from network paths on Windows eb74e5e: [HttpFoundation] parse cookie values containing the equal sign a147705: [DependencyInjection] fixed InvalidParameterTypeException for function parameters d223a5e: [VarDumper] fixed mutating $GLOBALS while cloning it 3ee310f: [DependencyInjection] support PHP 8 builtin types in CheckTypeDeclarationsPass 4cba31e: [Yaml] quote all dumped unicode spaces

5.1 changelog:

b76d560: [FrameworkBundle] dump abstract arguments 929b4b5: [Validator] propagate groups to nested constraints 1dead9a: [Finder] apply the sort callback on the whole search result 6a953f4: [Uid] inline UuidV*::TYPE constants dcd3bad: [Uid] use the Uuid constructor when reconstructing an Ulid from its RFC-4122 version

5.2 changelog:

467d8d2: [FrameworkBundle] rename parameter of magic method configureContainer

5.x changelog:

1e8fe94: [PropertyAccess] throw type error when incompatible types are passed 85af7a2: [FrameworkBundle] fixed UidNormalizer priority 70ed003: [Lock] created flock directory 47e4b8e: [WebProfilerBundle] possibility to dynamically set mode a0bbf53, eb3aa16: [Console] support binary / negatable options 80bde1e: [PhpUnitBridge] added log file option for deprecations fe91b86: [Notifier] added Dsn::getRequiredOption() 4e0d424: [Serializer] add UidNormalizer normalization formats

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 4.21.4, 4.21.5 and 4.21.6 versions with the following changes:

Fix the Content-Length header of the toolbar modified and sent by the local web server Fix empty response are converted to a 1 byte response by local web server Fix Docker support when DOCKERHOST is set to a unix:// path Fix support for wildcard domains Fix server:start when PHP FPM is already running Fix server:start issue when an old PID file still exists Remove stopped workers from output in server:status Fix early logs not displayed when streaming logs of the local web server Fix using plain PHP files with local web server not running PHP FPM Fix log in the header of HTTP responses Fix randomly missing RABBITMQ/MAILER_ env var (local web server) Fix missing headers in responses (local web server)

Newest issues and pull requests

Add Symfony template to Github Actions starter workflows [Security] Refresh user roles without having to log out [Feature] Task scheduling [Security] Change Encode to Hash to avoid any confusion Implement VirtualProperty in Serializer Request::getContentType() method name is confusing Redoing profiler pages, so that they can be used when targeting strict Content Security Policy

They talked about us

5 New Combos opened by Symfony 5.2 and PHP 8.0 How to create service bundles for a Symfony application Symfony - Ce que j'aurai aimé savoir plus tôt

Call to Action

Follow Symfony on Twitter and retweet this article. Subscribe to the Symfony blog RSS and never miss a Symfony story again.

                Sponsor the Symfony project.

http://feedproxy.google.com/~r/symfony/blog/~3/D1clxRUBdVo/a-week-of-symfony-732-4-10-january-2021

Établi 5y | 10 janv. 2021, 10:20:14


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

A Week of Symfony #972 (August 11–17, 2025)

This week, development activity mostly focused on dealing with the deprecation of sleep/wakeup methods in PHP 8.5 and their replacement by serialize/unserialize methods. In addition, we published more

17 août 2025, 08:30:06 | Symfony
Let’s build the Symfony AI ecosystem together

It’s been only in July that we published symfony/ai and kicked off our AI initiative, but the repository has been busy since day one. Over 500 stars, more than 200 pull requests & issues, trending

16 août 2025, 09:30:03 | Symfony
SymfonyCon Amsterdam 2025:   Unconference Track at SymfonyCon Amsterdam 2025

🎤 Take the stage at SymfonyCon Amsterdam 2025, on your own terms!

The Unconference track is back and more dynamic than ever!

This unique, participant-driven format invites attendees to shape

12 août 2025, 12:40:20 | Symfony
A Week of Symfony #971 (August 4–10, 2025)

This week, Symfony completed the migration to PHPUnit 12 in the 7.4 branch, which required many changes during the past weeks, such as replacing annotations with attributes. In addition, we updated th

10 août 2025, 09:40:09 | Symfony
SymfonyCon Amsterdam 2025:  Join the Symfony Hackathon:  Collaborate, Contribute, Create

🧑‍💻HACKDAY IS COMING!

Get ready to code, collaborate, and contribute, Symfony Hackday is back!

Join us in Amsterdam on Saturday, November 29th, for a hands-on hackathon designed to bring the

6 août 2025, 10:40:04 | Symfony
A Week of Symfony #970 (July 28 – August 3, 2025)

This week, Symfony released the maintenance versions 6.4.24, 7.2.9, and 7.3.2. Meanwhile, we began deprecating the XML configuration format in some components, enhanced the YAML configuration format t

3 août 2025, 08:30:03 | Symfony
Symfony 6.4.24 released

Symfony 6.4.24 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in you

31 juil. 2025, 13:10:32 | Symfony