---
date: 2020-11-16
id: cc88619c-2586-4a28-a8cc-337bbf616051
title: Symfony 5.1
---

# Constraints

-   [AtLeastOneOf Constraint](20201116134435-atleastoneof_constraint)
-   [Compound Constraint](20201116124210-compound_constraint)
-   [ExpressionLanguageSyntax
    Constraint](20201116135523-expressionlanguagesyntax_constraint)
-   [Hostname Constraint](20201116132411-hostname_constraint)
-   [Sequentially Constraint](20201116124823-sequentially_constraint)

# Deprecations

## Security Deprecations

### Attributes

-   [ROLE~PREVIOUSADMIN~](20201116122125-role_previous_admin)

# Routing

## Routing Annotations

-   [Route Annotations
    Priority](20201116123857-route_annotations_priority)
-   [Stateless Route Attribute](20201116131057-stateless)
-   [Use Env Vars in Route
    Conditions](20201116131633-use_env_vars_in_route_conditions)

## Configuration

-   [Different Hosts Per
    Locale](20201116133627-different_hosts_per_locale)

# Security

## Security Attributes

-   [IS~IMPERSONATOR~](20201116122525-is_impersonator)
-   [IS~REMEMBERED~](20201116121759-is_remembered)

# Components

## Console

-   [Single Command
    Applications](20201116125148-single_command_applications)
-   [Console Cursor Control](20201116134142-console_cursor_control)

### Exit codes

-   [Command::SUCCESS](20201116141657-command_success)
-   [Command::ERROR](20201116141817-command_error)

## Contract

-   [trigger~depcreation~](20201116140934-trigger_depcreation)

## ExpressionLangauge

-   [Expression Linter](20201116135915-expression_linter)

## Filesystem

-   [tempnam()](20201116142105-tempnam)

## OptionsResolver

-   [define()](20201116142709-define)
-   [info() / setInfo()](20201116143004-info_setinfo)

## Security Components

-   [priority access decision strategy](20201116143740-priority)

## Serializer

### Annotations

-   [@Ignore](20201116140434-ignore)

## String

-   [Stringable Interface](20201116125716-stringable_interface)
-   [Keep last word when truncating](20201116130327-keep_last_word)

### Methods

-   [containsAny()](20201116130503-containsany)
-   [fromRandom()](20201116142317-fromrandom)
-   [reverse()](20201116130738-reverse)

## UUID

-   [UUID Component](20201116131815-symfony_uuid_component)

# Services

## Decorators

-   [Stack Decorators](20201116133113-stack_decorators)
-   [Simpler Service
    Decoration](20201116133423-simpler_service_decoration)

## Deprecation

-   [Deprecate Public Services Into Private
    Services](20201116134758-deprecate_public_services_into_private_services)

# Events

-   [LogoutEvent](20201116133907-logoutevent)

# Commands

-   [lint:yaml](20201116141232-lint_yaml)
