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 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.

New in Symfony 5.1: Deprecated the Inflector component

In Symfony 5.1, the Inflector component has been deprecated and its logic has been moved into the String component.

New in Symfony 5.1: Deprecate public services into private services

In Symfony 5.1, you can turn public services into private services while keeping the backward compatibility of your code.

New in Symfony 5.1: Server-side request forgery protection

Symfony 5.1 improves the HttpClient component to provide out-of-the-box protection against SSRF (Server-side request forgery).

New in Symfony 5.1: ExpressionLanguage validator

In Symfony 5.1 you can validate the syntax of your ExpressionLanguage expressions without parsing or evaluating them.

New in Symfony 5.1: Simpler Request Context

Symfony 5.1 allows to configure the entire request context using a single config parameter called "default_uri".

New in Symfony 5.1: Async AWS Support

Symfony 5.1 will use Async AWS, a modern alternative to the official Amazon AWS SDK for PHP, in components like Mailer and Messenger.

New in Symfony 5.1: Serializer improvements

Symfony 5.1 improves the serializer with a new @Ignore annotation, an unwrapping denormalizer, support for stdClass and scalar denormalization.

New in Symfony 5.1: URI Resolver

In Symfony 5.1, the DomCrawler component provides a new utility to resolve relative links into absolute URLs.

New in Symfony 5.1: New and Improved Integrations

Symfony 5.1 adds new integrations with third-party technologies and services in the Lock, Cache, Mailer, Messenger and Notifier components.