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.

3.4 changelog:

  • 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

4.4 changelog:

  • 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

5.0 changelog:

  • 22f1076: [Profiler] fix profiler nullable string type
  • a2f0bf8: [FrameworkBundle] removed getContainer overwrites in tests

Master changelog:

  • 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 of server: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 in book:check

Newest issues and pull requests

They talked about us

Call to Action

Published in #A week of symfony