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

Created 4y | Jan 10, 2021, 10:20:14 AM


Login to add comment

Other posts in this group

A Week of Symfony #955 (April 14–20, 2025)

This week, the upcoming Symfony 7.3 version improved the AsAlias attribute by adding a new argument, introduced Clock support for UriSigner, and refined the return type of the ContainerInterface::get(

Apr 20, 2025, 8:30:06 AM | Symfony
SymfonyOnline June 2025: Rethinking File Handling in Symfony

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:

June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

Apr 16, 2025, 4:30:02 PM | Symfony
SymfonyLive Paris 2025: Recap and replay!

SymfonyLive Paris 2025 took place three weeks ago — a big thank you to everyone who joined us! The conference was held entirely in French, and now you can relive the best moments: replays, hig

Apr 15, 2025, 2:50:24 PM | Symfony
A Week of Symfony #954 (April 7–13, 2025)

This week, Symfony 7.3 entered its "feature freeze" period in preparation for its release at the end of May 2025. Development activity focused on refining and polishing its new features, including a n

Apr 13, 2025, 9:40:02 AM | Symfony
SymfonyOnline June 2025: What's New in Symfony 7.3

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:

June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

Apr 10, 2025, 4:40:34 PM | Symfony
SymfonyCon Amsterdam 2025: Last days to enjoy early bird tickets!

The international Symfony conference of the year, SymfonyCon Amsterdam 2025, will take place in the Netherlands on November 27 & 28, 2025!

⏳ Early bird registration ends this Wednesday! D

Apr 8, 2025, 9:10:13 AM | Symfony
A Week of Symfony #953 (March 31 – April 6, 2025)

This week, the upcoming Symfony 7.3 version entered its feature freeze period to tweak and polish its new features before releasing it at the end of May 2025. In addition, we celebrated the SymfonyLiv

Apr 6, 2025, 8:30:10 AM | Symfony