A Week of Symfony #699 (18-24 May 2020)

This week, development activity focused on fixing some bugs and polishing some of the new features introduced in the upcoming Symfony 5.1 version, which will be released next week. Meanwhile, Symfony 3.4 and all the other versions were updated to add compatibility with PHP 8, which will be released at the end of the year.

New in Symfony 5.1: Automatic schema updates

Symfony 5.1 automates the creation of the database tables required by some components to store their contents (Messenger, Lock, Cache, etc.)

New in Symfony 5.1: HttpFoundation improvements

Symfony 5.1 adds a new InputBag class, adds support for encrypting session data, adds more cache-control directives and allows to build cookie objects more easily.

New in Symfony 5.1: Form improvements

Symfony 5.1 improves forms to validate HTML5 colors, allow rounding percent values, display HTML contents in labels, simplify timezone management, provide better defaults for inputmode option and other improvements in choice types.

New in Symfony 5.1: Validator improvements

Symfony 5.1 validator adds support for three-letter country and language codes, adds an option to check that the collection items is divisible by a certain number and allows to define validation callables.

A Week of Symfony #698 (11-17 May 2020)

This week, Symfony published the first release candidate version of Symfony 5.1 so you can test it in your projects before the final release. Meanwhile, the Symfony 5 book published its simplified Chinese translation.

Symfony 5.1.0-RC1 released

Read release notes

New in Symfony 5.1: OptionsResolver improvements

In Symfony 5.1, the OptionsResolver component has introduced an optional fluent interface to configure options and a way to provide extra debug information per option.

New in Symfony 5.1: Access decision based on voter priority

Symfony 5.1 adds a new access decision strategy called "priority" which uses the decision from the highest priority security voter.

New in Symfony 5.1: AtLeastOneOf validator

Symfony 5.1 adds a new AtLeastOneOf validator to check that a given value satisfies at least one of the given constraints.