A Week of Symfony #822 (26 September – 2 October 2022)

This week, Symfony 4.4.46, 5.4.13, 6.0.13 and 6.1.5 maintenance versions were released. Meanwhile, we continued merging new features into the upcoming Symfony 6.2 version: simplified adding MIME parts to email messages, allow creating lazy-loading classes using constructors, redesigned the mailer panel in the Profiler, and added an option to make the YamlEncoder indentation configurable.

Symfony development highlights

This week, 45 pull requests were merged (30 in code and 15 in docs) and 21 issues were closed (16 in code and 5 in docs). Excluding merges, 35 authors made 6,963 additions and 1,263 deletions. See details for code and docs.

4.4 changelog:

99e9733: [Ldap] do not run ldap_set_option on failed connection
a91e213: [HttpFoundation] fix BinaryFileResponse content type detection logic
289d6b4: [WebProfiler] fix overflow issue in Forms panel

5.4 changelog:

caad8ec: [Serializer] fixed framework.serializer.default_context is not working for JsonEncoder
65dd59a: [FrameworkBundle] filter out trans paths that are covered by a parent folder path
a5f8bb2: [FrameworkBundle] fix passing serializer.default_context option to normalizers
885994e: [Security] fix login URL matching when app is not run with URL rewriting or from a sub folder
ef3df52: [Notifier] throw exception on error-response from Expo API
2852cdb: [FrameworkBundle] allow to specify null for exception mapping configuration values

6.0 changelog:

540425a: [DependencyInjection] EnvPlaceholderParameterBag::get() can’t return UnitEnum

6.1 changelog:

3810eaa: [Mailer] apply the default value of 512 for max depths in Mailjet

6.2 changelog:

59da7ea: [DependencyInjection] deprecate numeric parameter names
527e30f: [Mime] simplify adding Parts to an Email
4c6049e: [VarExporter] allow creating lazy-loading classes using constructors
c304930: [Serializer] add context option to configure the indentation of nested nodes for YamlEncoder
b7bc764: [Console] allow limiting the height of a console section
edbd043: [Validator] add the getCause() to the ConstraintViolationInterface
23f0b0f: [Dotenv] remove code for legacy Process component versions
70e0b99: Updae Norwegian translations
d13a183: [Validator] add option to check file extension
cc4003b: [WebProfilerBundle] update the mailer panel
180c4f8: [Messenger] add dedicated method for disabling instead of passing boolean flags
7d3c0b8: [Messenger] deprecate MessageHandlerInterface and MessageSubscriberInterface
d9462d9: [Form, PropertyAccess] allow optional property accesses
1b3b14c: [FrameworkBundle] make the Router cache_dir configurable

Newest issues and pull requests

[RFC] Improve Translation Providers usage in cloud native environment
Using Infection for Mutation Testing
Add constants for RFC 8631 to WebLink component

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

Remove support for Fury (@fabpot)
Fix psh service sorting (@fabpot)
Bump Go to 1.19 (@tucksaun)

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) Doctrine, Symfony 6 & the Database, Chapter 16: Flash Message & Rich vs Anemic Models
(Video) Doctrine, Symfony 6 & the Database, Chapter 17: Doctrine Extensions: Timestampable
(Video) Doctrine, Symfony 6 & the Database, Chapter 18: Clean URLs with Sluggable
(Video) Doctrine, Symfony 6 & the Database, Chapter 19: Simple Doctrine Data Fixtures
(Video) Doctrine, Symfony 6 & the Database, Chapter 20: Foundry: Fixtures You’ll Love

They talked about us

CQRS Principle with Symfony Messenger
Emojis are new Symfony’s best friends!
Getting Doctrine’s ChangeSet in a postUpdate event
Definiendo librerías externas en 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

Generated by Feedzy