Living on the Edge
A series of posts showcasing the new features introduced by each Symfony version.
In Symfony 4.2 we've deprecated some relevant features (like the base controller class and some console options) that you may need to update in your applications.
In Symfony 4.2 we added a new waitUntil() method which allows to control for how long the application waits for a process.
In Symfony 4.2, cookies are made secure automatically when the request uses HTTPS, making your application safe by default.
In Symfony 4.2, Form type extensions have been improved to simplify their configuration and to allow them to extend multiple form types using a single class.
Symfony 4.2 replaces the transChoice() method by the IntlMessageFormatter class which implements the MessageFormat standard.
Symfony 4.2 introduces a new VarExporter component to provide a better alternative to PHP's var_export() function.
Symfony 4.2 makes it easier to configure the samesite cookie attribute in several parts of the framework.
Using tables to display tabular contents in console commands are one of the most popular features of the Console component. In Symfony 4.2 we improved them with new features to display titles and set their maximum column width.
In Symfony 4.2, locks can be stored in PDO-compatible databases like MySQL, MariaDB and PostgreSQL.
In Symfony 4.2, in addition to service binding by name or type, you'll be able to bind services by type and name at the same time.