Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages showcasing Symfony with Docker, APIs, queues & async tasks, Webpack, SPAs, etc.

Living on the Edge

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

Filter by version: 5.3 5.2 5.1 5.0-4.4 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 2.6: LockHandler

Symfony 2.6 will introduce a new LockHandler that provides a simple abstraction to lock anything by means of a file lock. It's most common use case is to avoid race conditions by locking commands, so the same command cannot be executed concurrently by different processes.

New in Symfony 2.6: Smarter assets:install command

Starting from Symfony 2.6, the behavior of the assets:install command will be smarter. Now, when your system doesn't support symbolic links or if there is any other problem, the command will silently fall back to make a hard copy of the assets and it will inform you about this.

New in Symfony 2.6: The security:check command

Symfony 2.6 will include a new security:check command, which looks for known security vulnerabilities in your project's dependencies.

New in Symfony 2.6: Added support for XLIFF notes

Symfony 2.6 adds support for embedding notes in XLIFF files. This will allow to include contextual information to improve translations.

New in Symfony 2.6: Slicing nodes with DomCrawler

Symfony 2.6 adds the slice() method to DomCrawler component to make node filtering much more simplified and cleaner.

New in Symfony 2.6: The acl:set command

Symfony ACL allows to manage user permissions to suit the most complex security needs. The major drawback of ACL is that the code required to deal with permissions is too verbose. To help you manage and debug ACL, Symfony 2.6 will introduce a new command called acl:set.

New in Symfony 2.6: Support for KiB and MiB units in FileValidator

As of Symfony 2.6, you can use the KiB (kibibyte) and MiB (mebibytes) binary units to set the maximum file size of the FileValidator constraint.

New in Symfony 2.6: Support for object-maps in YAML component

YAML component will add support for objet-maps starting from the 2.6 version. This will make Symfony get closer to full support of the YAML 1.2 specification.