Symfony 6.2.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 6.2 without changing anything in your code.
During the last couple of months, we've blogged about the great 6.2 new features. I highly recommend you to read these articles about Symfony 6.2 as they contain the major changes for this new version:
- Revisiting Lazy-Loading Proxies in PHP: In Symfony 6.2, the VarExporter component will ship two new traits to help implement lazy-loading objects.
- Built-in Cache, Security, Template and Doctrine Attributes: In Symfony 6.2, the attributes to configure cache, security, templates and Doctrine are built-in, so you no longer need to install SensioFrameworkExtraBundle.
- Better Emoji Support 🎉: In Symfony 6.2, emojis can be transliterated into their descriptions, turned into Slack/GitHub short codes and even used as part of string slugs.
- Access Token Authenticator: Symfony 6.2 includes a new access token authenticator which simplifies the handling of access or bearer tokens such as JWT.
- Clock Component: Symfony 6.2 will introduce a new Clock component to improve the testability of your time-sensitive code.
- Finder Improvements: In Symfony 6.2, the Finder components adds new methods to sort by file extension, size and case-insensitive name.
- PSR-4 Route Loader: Symfony 6.2 includes a new PSR-4 route loader which improves the finding of route attributes defined in PHP classes.
- Conditional Constraints: Symfony 6.2 introduces a new constraint to define conditional validations that are only applied when a given condition is matched.
- Better PHP Translation Extractor: Symfony 6.2 includes a new AST-based translation extractor to find translatable contents in PHP files.
- Notifier and Mailer Integrations: Symfony 6.2 adds integrations with Infobip, Contact Everyone (Orange Business), SMSFactor, Zendesk and Chatwork in mailer and notifier components.
- Improved File Validator: In Symfony 6.2, the File constraint allows to validate both file extensions and media types (MIME types) in a much simpler way.
- Better Debugging Commands: Symfony 6.2 adds new debugging commands for mailers and message queues and improves commands to debug environment variables.
- Improved Enum Support: Symfony 6.2 adds PHP Enum support in service parameters, YAML files and environment variable processors.
- New Uid Features: Symfony 6.2 adds support for UUID v7 and v8 formats, UID hexadecimal conversion, UID date/time value extraction and adds utilities to get the maximum UUID and ULID values.
- DX Improvements: Symfony 6.2 DX improvements add a simpler way to get the current route in templates, hide sensitive information, improve PHP config builders and allow to pass form objects directly from controllers.
- More Extensible Mailer: In Symfony 6.2, the Mailer component is more extensible thanks to new events, dynamic bus/transport selection and a simpler addition of email parts.
- Security Improvements (Part 1): In Symfony 6.2, logging in users programmatically is easier, each firewall can use multiple user checkers, the impersonating target URL is customizable and login links can override the global link lifetime.
- Security Improvements (Part 2): Symfony 6.2 simplifies programmatic user logout, adds new hashing options to password fields, eases logout CSRF protection and makes it easier to get the firewall configuration.
- Console improvements: In Symfony 6.2, Console improves DX, allows resuming progress bars, improves color support, adds autocompletion for Zsh shells and allows to set the height of sections.
- Profiler Redesign: Symfony 6.2 redesigns the profiler and the web debug toolbar to give them a modern look.
<hr style="margin-bottom: 5px" />
<div style="font-size: 90%">
<a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
</div>
Zaloguj się, aby dodać komentarz
Inne posty w tej grupie

At Wide, Micropole’s digital agency, they help leading brands modernize their digital infrastructures while ensuring scalability, security, and performance. When Audi France approached them to migrate

Vente-unique.com, a leading European online retailer of furniture and home decor, operates in 11 countries, powered by a team of 400 professionals and serving more than 3 million customers. From 15 ye

This week, Symfony 6.4.23, 7.2.8 and 7.3.1 maintenance versions were released. Meanwhile, the upcoming Symfony 7.4 version continued adding new features such as better controller helpers, more precisi

Symfony 6.4.23 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

Symfony 7.2.8 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

Symfony 7.3.1 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

This week, development activity was intense, with many bug fixes in the maintained branches, numerous deprecation removals in the 8.0 branch, and new features added to the 7.4 branch, including tighte