This week, Symfony development activity focused again on polishing the new features of the upcoming Symfony 6.3 version, which will be released before the end of May 2023. In addition, the API Platform project announced a new edition of their conference that will be attended by some Symfony Core Team members.
Symfony development highlights
This week, 36 pull requests were merged (28 in code and 8 in docs) and 23 issues were closed (17 in code and 6 in docs). Excluding merges, 24 authors made 10,039 additions and 8,330 deletions. See details for code and docs.
- 03aa9c1: [PropertyInfo] fix PhpStanExtractor when constructor has no docblock
- 8c5f5ae: [Process] stop the process correctly even if underlying input stream is not closed
- 106cd49: [HttpFoundation] UrlHelper is now aware of RequestContext changes
- 3856956: [FrameworkBundle] fix Workflow without a marking store definition uses marking store definition of previously defined workflow
- 86119ca: [Console] remove exec and replace it by shell_exec
- d189869: [Translation] fix handling of null messages in ArrayLoader
- a689085: [PropertyAccess] fix nullsafe operator on array index
- 71f8c57: [Serializer] fix SerializedPath not working with constructor arguments
- 684fdd2: [Security] skip clearing CSRF Token on stateless logout
- df086fa: [Console] remove redundant method getSaturation()
- 796a65b: [VarDumper] fix HTML of invisible characters
- 03aa9c1: [PropertyInfo] fix PhpStanExtractor when constructor has no docblock
- b7b0c97: [HttpKernel] make QueryParameterValueResolver provide a value if possible when a parameter is not found
- 8d24399: [HttpFoundation] fix problem with empty generator in StreamedJsonResponse
- 825fd03: [VarDumper] reduce stylesheet assignments via JavaScript in HtmlDumper
- 3d6e0bd: [DependencyInjection] add excludeSelf option to dumpers
- 95aa09e: [DoctrineBridge] allow to ignore specific nullable fields in UniqueEntity
- 92e213e: [Validator] allow to use translation_domain false for validators and to use custom translation domain by constraints
- cf5f103: [Security] improve DX when invalid custom authenticators
- 8355439: [AssetMapper] adding "path" option to importmap:require
- 761d915: [DebugBundle, VarDumper] fix dump labels compatibility
- 398036b: [AssetMapper] fixing improper use of hasOption() in command
- 54a3b84: [AssetMapper] fix bug where dependencies were preloaded even if the parent was not
Newest issues and pull requests
- Move towards single-attribute voters
- HTTP Client retry different IP address
- Support adding a custom argument in DATABASE_URL
- [WebProfilerBundle] Select more than one HTTP method to filter or exclude a HTTP method
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 5.5.6 version with the following changes:
- Update deps (@fabpot)
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.
These were some of the most relevant SymfonyCasts updates of the week:
- (Video) Go Pro with Doctrine Queries, Chapter 1: Doctrine DQL
- (Video) Go Pro with Doctrine Queries, Chapter 2: The QueryBuilder
- (Video) Go Pro with Doctrine Queries, Chapter 3: andWhere() and orWhere()
- (Video) Go Pro with Doctrine Queries, Chapter 4: JOINs
They talked about us
- Symfony Station Communiqué - 19 May 2023
- How four Symfony Components + Twig help simplify Drupal Core
- We are open-sourcing our QOTD application
- Unlocking real-time capabilities in web applications with Symfony and Mercure
- Convert dynamically Request content to DTO with Symfony
- Managing User Sessions in Symfony 6: A Beginner’s Guide PT2
- An In-depth Look at the Symfony Validation Component
- Symfony's magic: dependency injection
- Master Symfony in a Snap: CLI Project Setup for Every Skill Level
- Applying Content Security Policy in Symfony to Reduce XSS Risks
- Adding criteria to your doctrine queries easily
- Doctor RST Speedup for Symfony Docs linter
- Explorando el componente Notifier de Symfony
- Tuto Symfony, 15 minutes pour mettre en place des tests automatiques qui vont vérifier toutes les routes de votre projet
- Новое в Symfony 6.3 — Улучшения HttpClient
- Новое в Symfony 6.3 — Улучшения DX (Часть 2)
- Новое в Symfony 6.3 — Интеграция Notifier
- Новое в Symfony 6.3 — Улучшения WebProfiler
- Новое в Symfony 6.3 — Улучшения DX (Часть 3)
Call to Action
- Follow Symfony on Twitter and retweet this article.
- Subscribe to the Symfony blog RSS and never miss a Symfony story again.