A Week of Symfony #739 (22-28 February 2021)

This week, Symfony added a feature to allow container/routing configurators to vary by environment in the same file and started working on its compatibility with the upcoming PHP 8.1 version. In addition, it announced the keynotes for all SymfonyLive Online 2021 conferences and the first part of the French conference schedule.

Symfony development highlights

This week, 49 pull requests were merged (31 in code and 18 in docs) and 56 issues were closed (51 in code and 5 in docs). Excluding merges, 28 authors made 151,067 additions and 84,860 deletions. See details for code and docs.

4.4 changelog:

0027d1c: [Cache] fix setting items' metadata on commit() 070f003: [Routing] fix conflict with param named class in attribute f3529fd: switch to non-null defaults in exception constructors 1688e5d: [Cache] fix Redis TLS scheme rediss for Redis connection b5dc77e: [Console] handle calls to mb_ functions with non string arguments 91121ac: [Translation] make name attribute optional in xliff2 b955445: [TwigBridge] install symfony/intl to run tests on Travis 890ada4, e141afb: Adding a Github action to run Psalm 3fe1564: [Cache] add server-commands support for Predis Replication Environments a5683c5: [HttpClient] MockResponse total_time should not be simulated when provided 87aeb8d: [HttpKernel] configure session.cookie_secure earlier

5.2 changelog:

5028aaf: [FrameworkBundle] allow x-forwarded-prefix trusted header in config 3a2906c: [Config] switched to non-null defaults in exception constructors b037319: [Security] #[CurrentUser] arguments should resolve to null for anon. 3fe1564: [Cache] add server-commands support for Predis Replication Environments

5.x changelog:

858dca4: [FrameworkBundle] allow container/routing configurators to vary by env 304980e: [Form] remove hard dependency on symfony/intl b44b9aa: deprecate passing null as $message or $code to exceptions d54a122: [Routing] construct Route annotations using named arguments 1849b57: [DependencyInjection] add ContainerBuilder::willBeAvailable() to help with conditional configuration e2f1c46: [Uid] add Generate and Inspect commands d9dedb4: [HttpClient] add HttpClientInterface::withOptions() 59fbe57: [Messenger] add rediss:// DSN scheme support for TLS to Redis transport 79f6a5c: [RateLimiter, Security] allow to use no lock in the rate limiter/login throttling f0e076a: [HttpKernel] handle multi-attribute controller arguments

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.23.0 and 4.23.1 versions with the following changes:

Fix a crash when known_hosts format is wrong Add Mercure support Fix PHP version detection when using alternatives on Linux Add support for MYSQL_HOST and MYSQL_TCP_PORT env vars

Newest issues and pull requests

[Console] Initiative: rework the console component [Form] Making possible to make csrf token generation lazy for forms Permit integer type for default_index_method in tagged locators RFC: Autowiring scalar parameters Add Username and Password in Mailer configuration tree

They talked about us

Using PHPStan to analyse Symfony Console Application Deploy Symfony app in Docker UrlSignerBundle, create and validate signed URLs with Symfony How to structure a DDD project in Symfony flex How to run Symfony 5 in Docker with PHP 8 Symfony 5+ check if user is logged in inside a twig template Sortie de Panther 1.0 ! UrlSignerBundle, créer et valider des URLs signées avec Symfony Symfony Framework ile Rest API ve Authentication

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/QZ5X_ectXNw/a-week-of-symfony-739-22-28-february-2021

Létrehozva 4y | 2021. febr. 28. 18:31:04


Jelentkezéshez jelentkezzen be

EGYÉB POSTS Ebben a csoportban

SymfonyOnline June 2025: Inside a Financial App Breach: Debugging a Million-Dollar Bug

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

2025. ápr. 22. 13:50:03 | Symfony
New in Symfony 7.3: Invokable Commands and Input Attributes

This is the first article in a series showcasing the most important new features introduced by Symfony 7.3, which will be released at the end of May 2025.

2025. ápr. 22. 9:10:36 | Symfony
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(

2025. ápr. 20. 8:30:06 | 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

2025. ápr. 16. 16:30:02 | 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

2025. ápr. 15. 14:50:24 | 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

2025. ápr. 13. 9:40:02 | 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

2025. ápr. 10. 16:40:34 | Symfony