« Living on the edge » blog posts
Filter posts by Symfony release
New in Symfony 5.2: Constraints as PHP attributes
In Symfony 5.2, you can use PHP 8 attributes to define the validation constraints.
New in Symfony 5.2: Form field helpers
Symfony 5.2 introduces new form field helpers to get each field part value without any HTML code around it.
New in Symfony 5.2: Login Throttling
Symfony 5.2 includes a new "login throttling" feature to mitigate brute-force attacks against login forms.
New in Symfony 5.2: Front controller configuration
In Symfony 5.2 the behavior of the front controller can be modified with configuration options, without having to edit the index.php file.
New in Symfony 5.2: Rate Limiter component
Symfony 5.2 introduces a new Rate Limiter component to allow you implement protection measures such as limiting the number of HTTP requests or login attempts.
New in Symfony 5.2: Console signals
Symfony 5.2 introduces support for handling and responding to signals (e.g. SIGINT, SIGTERM, SIGUSR1) in your console commands.
New in Symfony 5.2: Shared locks
Symfony 5.2 adds support for shared locks, which is a synchronization primitive used to solve one of the readers–writers problems.
New in Symfony 5.2: Form testing asserts
Symfony 5.2 adds new asserts (assertFormValue() and assertCheckboxChecked()) to simplify the form tests .
New in Symfony 5.2: Controller argument attributes
In Symfony 5.2 you can use PHP 8 attributes in the controller arguments to turn them into other objects.
New in Symfony 5.2: Form mapping callbacks
In Symfony 5.2 you can use PHP callbacks to get/set the form field values from/into the related object/array.