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
Accedi per aggiungere un commento
Altri post in questo gruppo

This week, Symfony 6.4.21 and 7.2.6 maintenance versions were released. In addition, we published the first beta of Symfony 7.3 so you can test it in your own apps before its final release at the end

Symfony 7.2.6 has just been released. Here is the list of the most important changes since 7.2.5:
bug #60288 [VarExporter] dump default value for property hooks if present (@xabbuh)
bug #60267 [C

Symfony 7.3.0-BETA1 has just been released. Here is the list of the most important changes since 7.2:
feature #60232 Add PHP config support for routing (@fabpot)
feature #60102 [HttpFoundation] A

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

Contributed by Kevin Bond in

Symfony 6.4.21 has just been released. Here is the list of the most important changes since 6.4.20:
bug #60288 [VarExporter] dump default value for property hooks if present (@xabbuh)
bug #60268

Contributed by Nathan Page in