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

Utworzony 4y | 28 lut 2021, 18:31:04


Zaloguj się, aby dodać komentarz

Inne posty w tej grupie

New in Symfony 7.3: DX Improvements (part 2)

This is the second part of the blog post showcasing the main DX (developer experience) features introduced in Symfony 7.3. Read the first part of this blog post.

Verify URI Signatures… https://symfon

29 maj 2025, 09:10:19 | Symfony
Symfony 6.4.22 released

Symfony 6.4.22 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in you

29 maj 2025, 09:10:19 | Symfony
Symfony 7.2.7 released

Symfony 7.2.7 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your

29 maj 2025, 09:10:18 | Symfony
Symfony 7.3.0 released

Symfony 7.3.0 has just been released. Check the New in Symfony 7.3 posts on this blog to learn about the main features of this new stable release; or check the first beta release announcement to get t

29 maj 2025, 09:10:17 | Symfony
Symfony 7.3 curated new features

Symfony 7.3.0 has been released. As for any other Symfony release, our backward compatibility promise applies and this means that you should be able to upgrade easily to 7.3 without changing anything

29 maj 2025, 09:10:16 | Symfony
New in Symfony 7.3: DX Improvements (part 1)

Symfony 7.3 includes many small improvements aimed at making developers' lives easier and more productive. This blog post highlights some of the most useful DX (Developer Experience) features added in

28 maj 2025, 09:50:15 | Symfony
New in Symfony 7.3: Validator Improvements

Symfony 7.3 introduces several enhancements to the Validator component, focusing on developer experience, better configurability, and more expressive constraint definitions.

Allow to Disable Translat

27 maj 2025, 08:30:20 | Symfony