Black Friday 2021 Offers 30% discount on Certification, Coaching, and SymfonyInsight Teams subscriptions

Living on the Edge

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

Filter by version: 6.0-5.4 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 3.1: Cache component

The Cache component is a strict implementation of the PSR-6: Caching Interface standard. You can use it to cache arbitrary content in your application and some Symfony components use it internally to improve their performance.

New in Symfony 3.1: Customizable YAML parsing and dumping

In Symfony 3.1, the YAML component introduces configuration flags to simplify the parsing/dumping methods and to keep adding new features.

New in Symfony 3.1: Forwards and Redirects in the Toolbar and Profiler

The web debug toolbar and the profiler are two of the most used features of Symfony. They provide detailed debug information about the execution of the page you are looking at. In Symfony 3.1 we decided to improve them to display the information about forwards and redirects.

New in Symfony 3.1: FrameworkBundle Improvements

The FrameworkBundle is the piece that glues all the different Symfony components to create a robust and flexible framework. In Symfony 3.1 we introduced some minor but useful improvements to it.

New in Symfony 3.1: YAML deprecations

In Symfony 2.8 we introduced some YAML deprecations to make configuration files compliant with the YAML spec. In Symfony 3.1 we introduced additional deprecations, some of them needed for the new YAML features which will be explained in an upcoming article.

New in Symfony 3.1: Deprecation Helper Improvements

The PHPUnitBridge component is mostly used for its "deprecation helper" which detects the deprecated Symfony features used by your application. In Symfony 3.1, the deprecation helper has been improved to help you find and fix deprecations more easily.

New in Symfony 3.1: DateTime Normalizer

The Serializer component has been greatly improved in Symfony 3.1. The DateTime normalizer is one of its many new features.

New in Symfony 3.1: Improved the Security Profiler Panel

Symfony 3.1 will improve the security profiler panel to display the list of security voters and the full log of access decisions made during the rendering of the page.

New in Symfony 3.1: Network mocking and DNS sensitive tests

Symfony 3.1 adds a feature to mock the network in DNS sensitive tests. This reduces the risk of having transient tests, which fail randomly and make your test suite unreliable.

New in Symfony 3.1: Data URI Normalizer

In Symfony 3.1, a new DataUriNormalizer has been added to turn file objects into data:URI strings.