A Week of Symfony #732 (4-10 January 2021)
January 10, 2021 • Published by Javier Eguiluz
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.
- 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
- 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
- 467d8d2: [FrameworkBundle] rename parameter of magic method configureContainer
- 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 DOCKER_HOST 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.
Help the Symfony project!
As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.