Living on the Edge

A series of posts showcasing the new features introduced by each Symfony version.

Filter by version: 4.2 4.1 4.0-3.4 3.3 3.2 3.1 3.0-2.8 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0

New in Symfony 4.2: Wait until processes are ready

In Symfony 4.2 we added a new waitUntil() method which allows to control for how long the application waits for a process.

New in Symfony 4.2: Auto-secure cookies

In Symfony 4.2, cookies are made secure automatically when the request uses HTTPS, making your application safe by default.

New in Symfony 4.2: Improved form type extensions

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.

New in Symfony 4.2: IntlMessageFormatter

Symfony 4.2 replaces the transChoice() method by the IntlMessageFormatter class which implements the MessageFormat standard.

New in Symfony 4.2: VarExporter component

Symfony 4.2 introduces a new VarExporter component to provide a better alternative to PHP's var_export() function.

New in Symfony 4.2: SameSite cookie configuration

Symfony 4.2 makes it easier to configure the samesite cookie attribute in several parts of the framework.

New in Symfony 4.2: Console tables improvements

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.

New in Symfony 4.2: PDO-based lock storage

In Symfony 4.2, locks can be stored in PDO-compatible databases like MySQL, MariaDB and PostgreSQL.

New in Symfony 4.2: Autowiring by type and name

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.

New in Symfony 4.2: DivisibleBy constraint

Symfony 4.2 adds a new validation constraint called DivisibleBy to check whether one number is a multiple of some other number.