This week, Symfony added support for different hosts per locale in routes, introduced a new syntax to stack decorators and improved security to make authenticators first-class security. Meanwhile, SymfonyLive Paris 2020 announced its new dates and several Symfony conferences announced their Call for Papers and Early Bird registration deadlines.
Symfony development highlights
This week, 47 pull requests were merged (36 in code and 11 in docs) and 37 issues were closed (33 in code and 4 in docs). Excluding merges, 26 authors made 7,658 additions and 1,032 deletions. See details for code and docs.
- 6642f09: [FrameworkBundle] fix session.attribute_bag service definition
- 08ded7f: [Security] fixed escape for username in LdapBindAuthenticationProvider
- ea69f77: [Form] apply automatically step=1 for datetime-local input
- 259f523: [Cache] skip APCu in chains when the backend is disabled
- 719bb15: [PhpUnitBridge] fixed compatibility with phpunit 9
- fe5eacd: [Yaml] escaped DEL character
- e3dc5ef: [PhpUnitBridge] use COMPOSER_BINARY env var if available
- 2a92dd3: [Routing] remove unused properties from the Route annotation
- 60245d9: [Routing] add the _locale requirement
- 119ba3b: [DependencyInjection] support late aliases in ServiceSubscriber
- 2d7b0b8: [FrameworkBundle] fixed wrong display in debug:autowiring when using class_alias
- 22f1076: [Profiler] fix profiler nullable string type
- a2f0bf8: [FrameworkBundle] removed getContainer overwrites in tests
- e464954: [Routing] added support for different hosts per locale
- 1abdcbb: [Security] introduced an AuthenticatorManager to make authenticators first-class security
- 4cc6055: [Notifier] added Free Mobile notifier
- 2235be0: [Notifier] throw an exception when the Slack DSN is not valid
- 6b682bf: [Security] fixed missing nullable in CsrfTokenBadge
- 418c847: [OptionsResolver] removed not needed BC layer
- f2f82d1: [Mailer] don't dispatch MessageEvent twice
- 83b37e8: [Messenger] improved SQS interoperability
- 87c9ab4: use is_file() instead of file_exists() where possible
- ac3bd14: [DependencyInjection] skip preloading dependencies of non-preloaded services
- 260dea0: [String] added locale-sensitive map for slugging symbols
- 734a006: [Serializer] added an @ignore annotation
- 9d763e0: [DependencyInjection] fixed definition and usage of AbstractArgument
- d6b9011: [DependencyInjection] added syntax to stack decorators
- 69452b2: [DependencyInjection] fixed lazy factory code generation
- 6b48511: [Security] integrated Guards with the Authenticator system
Symfony CLI
Symfony CLI is a must-have tool when developing Symfony applications on your local machine. It includes the Symfony Local Server, the best way to run local Symfony applications. This week Symfony CLI released its new 4.14.2 version with the following changes:
- Add
proxy:status
and tweak the output ofserver:list
- Support the
extra_files
option in init templates - Fix default sender for cron emails always include environment ID
- Fix
book:checkout
on Windows (PHPUnit command was wrong) - Improve the output of
symfony server:status
- Improve the output of
symfony server:start
- Remove duplicate entries in
symfony local:php:list
- Add missing
yarn
check inbook:check
Newest issues and pull requests
- [RFC] [Translation] Remote Storages and Profiler panel improvements
- [Validation] Allow multiple atPath() calls at callback constraint
- [Serializer] add type casting to XML decoding
- Reuse translation contents
- [Form] Add option to add a class to each choice
- [Form] Improve the TypeGuesser for text properties
- [Notifier] Support the new Firebase HTTP API
They talked about us
- How to Hydrate Arrays to Objects via Constructor
- Console Output Anywhere — with Symfony
- The Road to EasyAdmin 3: No More XML
- Send SMS Updates for Background Tasks with Symfony Messenger and Twilio SMS
- ¿Cómo enviar Emails con Symfony 5 y Amazon AWS SES u otros SMTP?
- Nuevo en Symfony 5.1: Hosts diferentes por cada idioma
- Nuevo en Symfony 5.1: Decoración de servicios más sencilla
- Nuevo en Symfony 5.1: Argumentos abstractos
- Nuevo en Symfony 5.1: Microkernel mejorado
- EAsyAdmin 3 premier pas
- Правильная регистрация консольных команд Symfony в DI
- Как переиспользовать код с бандлами Symfony 5? Часть 1. Минимальный бандл
- Как переиспользовать код с бандлами Symfony 5? Часть 2. Выносим код в бандл
- Как переиспользовать код с бандлами Symfony 5? Часть 3. Интеграция бандла с хостом: шаблоны, стили, JS
- Как переиспользовать код с бандлами Symfony 5? Часть 4. Расширение бандла в хосте
Call to Action
- Follow Symfony on Twitter and retweet this article.
- Subscribe to the Symfony blog RSS and never miss a Symfony story again.