A Week of Symfony #816 (15-21 August 2022)

This week, the upcoming Symfony 6.2 version improved the emoji transliterator feature to support translation of emojis to GitHub and Slack codes and to add integration with the Slugger; it also added the ability to mock the hrtime() function. Lastly, we announced the release of signed packages for Symfony CLI.

Symfony development highlights

This week, 43 pull requests were merged (26 in code and 17 in docs) and 16 issues were closed (14 in code and 2 in docs). Excluding merges, 18 authors made 8,644 additions and 380 deletions. See details for code and docs.

4.4 changelog:

f454c02: [Console] fix expected command name order with mixed integer and string namespaces
f91c198: [Mime] fixed the regex used in email image parts

5.4 changelog:

c77a645: [HttpFoundation] do not send Set-Cookie header twice for deleted session cookie
3a90e4c: [Serializer] add missing types to BackedEnumNormalizer
cb3684e: [Serializer] throw InvalidArgumentException if the data needed in the constructor doesn’t belong to a backedEnum
5294748: [HttpFoundation] prevent accepted rate limits with no remaining token to be preferred over denied ones

6.2 changelog:

e34a488: [Messenger] drop Redis proxy classes
68fe153: [Intl] update EmojiTransliterator to translate emoji to GitHub and Slack short code
1931e87: [String] add support for emoji in AsciiSlugger
a8eec07: [Intl] better DX when intl package is missing
34a00f7: [PhpUnitBridge] add ability to mock the hrtime() function
119e7d0: [DoctrineBridge] do not ignore null IDs in EntityValueResolver
5be8192: [Clock] use the clock mock to fix transient MonotonicClock tests
4c438af: [Messenger] add simple transport based rate limiter to Messenger
189b6a3: [Messenger] pass sender details to SendMessageToTransportsEvent
98b7cfc: [DependencyInjection] allow service subscribers to return SubscribedService[]
5b9c1c3: [Clock] relax some assertions to transient NativeClock tests

Newest issues and pull requests

[HttpFoundation] Support for RFC9213 Targeted HTTP Cache Control
[Mailer] Sending iCal emails
[Security] login_throttling: allow configuring the multiplier 5

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.4.13
version with the following changes:

Validate the versions of the supported services
Import previous closed source installer
Fix version check in local:new when cloning the book
Fix Composer detection when composer.phar is present in the current directory
Adapt installer for Symfony CLI v5

They talked about us

Symfony Station Communiqu̩ Р19 August 2022
Dynamic PostgreSQL credentials using HashiCorp Vault (with PHP Symfony & Go examples)
Behat tutorial part 2: testing Symfony 6 application
Deploy Serverless PHP Symfony App on AWS Lambda
How to setup JWT authentication with Symfony
Symfony + React js interview test
Mon top 5 des PIRES erreurs sous Symfony

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.

Symfony Blog
Read More

Latest News

PHP-Releases

PHP 8.3.6 released!

PHP 8.2.18 released!

Generated by Feedzy