A Week of Symfony #832 (5-11 December 2022)

This week, Symfony 6.2.1 maintenance version was published. Meanwhile, we started working on the new features of the upcoming Symfony 6.3 version (to be released at the end of May 2023): we introduced build parameters, deprecated the ProxyManagerBridge package and added a ClockAwareTrait to help write time-sensitive classes. Lastly, we celebrated the SymfonyWorld Online 2022 Winter Edition conference.

Symfony development highlights

This week, 97 pull requests were merged (58 in code and 39 in docs) and 68 issues were closed (57 in code and 11 in docs). Excluding merges, 50 authors made 8,245 additions and 1,703 deletions. See details for code and docs.

5.4 changelog:

75f8547: [VarDumper] ignore Error in __debugInfo()
e807503: [RateLimiter] add int to Reservation::wait()
5ac1693: [HttpFoundation] IPv4-mapped IPv6 addresses incorrectly rejected

6.0 changelog:

9674008: [FrameworkBundle] remove check of undefined service in mailer assertions

6.1 changelog:

fc10553: [FrameworkBundle] add kernel.locale_aware tag to LocaleSwitcher

6.2 changelog:

97f0ce8: [DependencyInjection] remove refs that point to container.excluded services when allowed
4cb2a86: [Mailer] fix rendered templates for notifications
7d45767: [HttpKernel] fix using entities with the #[Cache()] attribute
ee94cc9: [DependencyInjection] fix ContainerBuilder stats env usage with enum
4c42336: [DependencyInjection] generate different classes for ghost objects and virtual proxies
1e8fe5d: [FrameworkBundle] fix removing commands if console not available
0d95f41: [DoctrineBridge] skip resolving entities when the corresponding request attribute is already an object
78408a4: [VarExporter] fix calling parent::__wakeup() when unserializing with LazyProxyTrait
10cf4b0: [Cache] sync Redis6Proxy with upstream
1663784: [Security] fix invalid deprecation messages in Security constants

6.3 changelog:

6c8f6b3: [DependencyInjection, HttpKernel] introduce build parameters
f57a837: [VarDumper] add caster for WeakMap
309b10a: [Clock] add ClockAwareTrait to help write time-sensitive classes
aee9ea5: [Notifier] add Mastodon Notifier
97f0ce8: [DependencyInjection] remove refs that point to container.excluded services when allowed
94d6bbb: [Console] do no preprend empty line if the buffer is empty
6dc7330: [ProxyManagerBridge] deprecate the package
5424054: [Notifier] remove dependency symfony/uid on Notifier bridges
dc27349: [Notifier] allow missing optional dependency in FakeSms
9ef729e: [DomCrawler, FrameworkBundle] add assertSelectorCount()
50694f2: [Form] call getChoicesForValues() once, to prevent several SQL queries
ed1e8be: [Console] remove exit() call in last SignalHandler
96993d9: [Validator] add {{pattern}} to Regex constraint violations
030514f: [Console] add placeholder formatters per ProgressBar instance
0c465c5: [Serializer] add encoder option for saving options
f35572f: [DependencyInjection] use WeakReference to break circular references in the container
6e63db7: [Notifier] add options to SmsMessage
0f24e41: [Notifier] allow missing optional dependency in FakeChat
c7f82de: [FrameworkBundle] allow to configure or disable the Notifier message bus to use

Newest issues and pull requests

Add options to dump() function
[BinaryFileResponse] Allow to use SplTempFileObject for download attachments
[Clock] use default timezone in MockClock?
Detect unused environment variables in .env
[RFC][Routing] Automatic bundle routing registration
[Clock] Access global system clock
Using Enum objects in expression language

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) Netgen Layouts: Building Pages with Symfony, Chapter 11: Content Browser
(Video) Netgen Layouts: Building Pages with Symfony, Chapter 12: Content Browser: Returning the Items
(Video) Netgen Layouts: Building Pages with Symfony, Chapter 13: Value Loader + Preview Template
(Video) Netgen Layouts: Building Pages with Symfony, Chapter 14: Contentful: Loading Data from an External CMS
(Video) Netgen Layouts: Building Pages with Symfony, Chapter 15: Mapping a Layout to Contentful Pages

They talked about us

Symfony Station Communiqué – 02 December 2022
How to dockerize Symfony (2022)
Being TYPO3 at SymfonyCon Disneyland, Paris
Add a blog to your Symfony Application with Hyvor Blogs
Replacing manual API endpoints with API Platform 3 in a Symfony application
How to do user authentication with the Symfony framework?
Symfony : a guide to choose between LTS and latest stable version
Creating a one api endpoint with PHP and Symfony (Part 1)
J’ai demandé au ChatGPT de créer une application Symfony
Remplacer des points d’accès d’API manuels avec API Platform 3 dans une application 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.4.1 released!

PHP 8.1.31 released!

PHP 8.3.14 released!

PHP 8.2.26 released!

Generated by Feedzy