
Contributed by Mathias Arlaud in #43973.
The Serializer component allows you to pass some context information to the serializing and deserializing process. For example, to ignore certain attributes when serializing, you can use the following code:
$serializer->serialize($person, 'json', ['ignored_attributes' => ['age']]);
// Symfony also defines publ

We recently announced the first selected speakers and talks at SymfonyWorld Online 2022 Summer Edition conference. Read our previous blog post to discover who are the first speakers scheduled and the talks they will share with the Symfony community..
Today, we're very pleased to announce more speakers and talks of the upcoming international online conference:
Mathias Arlaud, Developer, will talk about "API Platform, third act.. At Les Tilleuls, we love

Using PHP BackedEnum as Route Requirements
Contributed by Thomas Calvet
in #45803.
In PHP, backed enumerations are enumerations where all its elements are backed by some scalar value. This makes them useful to restrict the possible values of some routing parameter. In previous Symfony versions, you had to create the requirements manually using public constants:

This week, Symfony development focused on the upcoming Symfony 6.1 version, finishing some new features for it and polishing its already merged new features.
Symfony development highlights
This week, 31 pull requests were merged (25 in code and 6 in docs) and 23 issues were closed (16 in code and 7 in docs) by 24 authors. See details for code and docs.
4.4 changelog:
4e63f55: [VarDumper, WebProfilerBundle] replace deprecated String.prototype.substr()

We're so excited to meet you at SymfonyCon Disneyland Paris 2022 to enjoy a week of Symfony in the fantastic Disneyland Paris theme park.
Attend the conference as a speaker! Today, April 22nd 2022, is the last day to submit your talk proposals in English for SymfonyCon Disneyland Paris 2022. Talks should last for 40 minutes, Q&A included and will be in English. Each selected speaker will get a free conference ticket, an hotel room for 2 nights on Novembe

The international SymfonyCon conference will take place at the fabulous Disneyland Paris theme Park from November 15th to 18th 2022. Join us for 2 days of pre-conference workshops on November 15-16 and for 2 days of conference on November 17-18 2022. The international Symfony community will gather for a week of Symfony! The entire conference will be in English. You can join as an attendee or as a conference speaker!
The Call for Papers for SymfonyCon Disneyland

This week, the first beta of Symfony 6.1 was released in preparation for its final release in 6 weeks. Meanwhile, we published some blog posts about new Symfony 6.1 features, such as improved ExpressionLanguage syntax and the Locale Switcher. Lastly, the SymfonyWorld Online conference (June 16-17, 2022) announced its first speakers.
Symfony development highlights
This week, 52 pull requests were merged (45 in code and 7 in docs) and 43 issues were closed (41 in

The SymfonyWorld Online 2022 Summer Edition conference is coming soon! Join us in 2 months for the international Symfony conference organized online in English!
Here is the event agenda:
- June 14-15: online workshop days, check out the workshop topics!
- June 16-17: online conference days
We're very pleased to announce the first selected speakers and the talks they will present at the online conference:
Kévin Dunglas, creator of API Platform and Symf

Symfony 6.1.0-BETA1 has just been released. Here is the list of the most important changes since 6.0: feature #44798 [FrameworkBundle] Integrate the HtmlSanitizer component (@tgalopin, @wouterj) feature #46045 [Translation] Improve LocaleSwitcher a bit (@nicolas-grekas) feature #42403 [Validator] Define which collection keys should be checked for uniqueness (@wkania) feature #44405 [Routing] Allow using services in the route condition (@renanbr) feature #46009 [F

Contributed by Kevin Bond in #45793.
Working with the locale in Symfony applications is simple. The locale is stored in a request attribute called _locale and used in the rest of the application. Changing the locale (e.g. in multilingual applications via a list of languages selectable by users) requires changing that request attribute in an early event listener. However, someti