
Symfony 6.3 is expected to be released soon and it comes with several features, bug fixes, and performance improvements.
Symfony 6.3 features
Some of the new features, functions, webhooks, classes, and improvements in Symfony 6.3 are;
- Access to current locale {{ app.locale }}
The first new feature is the ability to access the current locale of the application directly from Twig templates through the global app variable.
- Using Strings as Keys
In Symfony 6.3, the Yaml Component now offers the ability to dump numeric keys as strings, which can be useful for adhering to certain specifications such as the OpenAPI specification.
- Deleting all cache
Symfony 6.3 adds a new argument (–all) to the command that allows users to delete all cache pools at once.
- Automatically delete profiles
Symfony profiler now has an automatic deletion feature that deletes profiles that are two days or older to help prevent excessive disk space usage.
- Webhooks
Symfony 6.3 introduces a new Webhook and RemoteEvent component. Learn more on how to define a webhook in Symfony.
Lastly, Symfony 6.3 introduces an improvement to the dump() and dd() functions, allowing users to add argument names as labels to better understand the contents of the dumped data. It also introduces the Clock class for returning the current time and now() function for getting the current time.
The new features in Symfony 6.3 offer improved functionality and usability for developers using the framework.
Read more about Symfony 6.3 features.
Before you leave, Subscribe to our Newsletter to be updated via email when Blogging Tools you use to run your blog release new features or make critical changes. For any question about this post, or anything else related to website technologies, we are responding on Reddit or comment below.
Leave a Reply