Living on the Edge

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

Filter by version: 4.3 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.3: Configurable Session ID

Symfony 4.3 includes two new config options to configure the session ID length and the number of characters used to encode it.

New in Symfony 4.3: Improved form translation

In Symfony 4.3 Forms define three new config options to allow setting custom translation parameters for labels, help messages and attributes.

New in Symfony 4.3: JSON validation

Symfony 4.3 adds a new Json constraint to validate that the given contents are valid JSON contents.

New in Symfony 4.3: Improved performance of PropertyAccess

In Symfony 4.3, the PropertyAccess component will be between 20% to 30% faster, benefiting many other Symfony components which use it.

New in Symfony 4.3: Iterable progress bars

In Symfony 4.3, progress bars define a new iterate() method which starts, advances and finishes the progress bar automatically using an iterable variable.

New in Symfony 4.3: Improved the NotBlank Validator

In Symfony 4.3, the NotBlank validator defines a new config option to allow ignoring null values.

New in Symfony 4.3: Deprecating service aliases

In Symfony 4.3 service aliases can be deprecated to ensure a smooth upgrade until you remove them.

New in Symfony 4.3: DomCrawler improvements

In Symfony 4.3, the DomCrawler component has been improved to allow getting the name of the nodes and to allow defining a default value when extracting their text and HTML contents.

New in Symfony 4.3: Default and Trim Env Var Processors

Symfony 4.3 adds new env var processors to allow defining default values for undefined env vars and to allow trimming their values.

New in Symfony 4.3: Simpler Form Theming

In Symfony 4.3 there is a new option called "block_prefix" which simplifies the way form fields can be customized.