This week, Symfony Conferences announced that their Call for Papers are still open for SymfonyLive Warszawa, for SymfonyLive Berlin and for SymfonyCon Disneyland Paris. In addition, MakerBundle added new features to reset passwords. Meanwhile, the upcoming Symfony 5.1 version simplified decorated services and added a way to control the Cursor in the terminal.

Symfony development highlights

This week, 50 pull requests were merged (32 in code and 18 in docs) and 62 issues were closed (49 in code and 13 in docs). Excluding merges, 28 authors made 1,886 additions and 515 deletions. See details for code and docs.

3.4 changelog:

  • efc93a7: [PropertyAccess] improve message of unitialized property in php 7.4
  • 434a03a: [OptionsResolver] remove assertions that can never be reached
  • 547c99e: [PropertyInfo] check the array mutator prefixes last when the property is singular in ReflectionExtractor
  • 932a4f8: [Workflow] use a strict comparison when retrieving raw marking in MarkingStore
  • db733da: [Form] removed legacy check in ValidationListener
  • cd4a4bd: [Validator] do not merge constraints within interfaces
  • 6a27337: [Validator] fixed default group for nested composite constraints

4.4 changelog:

  • f2d4a29: [Process] fixed input/output error on PHP 7.4
  • 2dd5fe6: [FrameworkBundle] allowing empty secrets to be set
  • ba58c6f: [DependencyInjection] add missing property declarations in InlineServiceConfigurator
  • 6f19746: [DependencyInjection] fix detecting short service syntax in yaml
  • 977276e: [HttpClient] fix scoped client without query option configuration
  • 280674f: [Mailer] force ping after transport exception
  • f84592a: [HttpClient] fix HTTP/2 support on non-SSL connections

Master changelog:

  • dadb5d8: [FrameworkBundle] revert to container.dumper.inline_factories=false by default
  • 2d6327f: [VarCloner] cut Logger in dump
  • aa44db0: [HttpFoundation] fix constant accessor
  • c6a176d: [OptionsResolver] improve the deprecation feature by handling package and version
  • 168574d: [Messenger] updated Amazon SQS connection
  • 9a6695c: [DependencyInjection] allow decorators to reference their decorated service using the special .inner id
  • 6ff7c2e: [DependencyInjection] deprecate the inline() function from the PHP-DSL in favor of service()
  • 1ee1c81: [DependencyInjection] removed restriction and allow mixing "parent" and instanceof-conditionals/defaults/bindings
  • 607e8d6: [ErrorHandler] remove trigger_deprecation frame from trace
  • 7c98954: [Serializer] unwrapping denormalizer
  • d69b8bb: [Console] add Cursor class to control the cursor in the terminal

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.0 version with the following changes:

  • Update cron handling:
    • Crons emails are now sent using a predictable default email address project+env@cron.noreply.s5y.io
    • Allow to change croncape email sender using MAILFROM environment variable
    • Allow to change croncape host in subject using CRONCAPE_HOST environment variable (defaults to project ID)
    • Use MAILER_DSN and MAILER_URL if defined for sendmail configuration
    • Strip croncape from command when running a cron using env:cron
  • Add support for --install-dir flag in the bash installer
  • Add support for memcached in Docker Compose
  • Add the --multiline flag to var:export to display each var on its own line
  • Add env:deactivate command
  • Add a check for the redis PHP extension in book:check-requirements command
  • Update available PHP extensions list used during project initialization
  • Refine SYMFONY_DEFAULT_ROUTE behavior to be more determinist and respect user's order
  • Fix panic in env:urls and env:logs when there's no application selected or detected
  • Fix php.ini and .symfony.cloud.yaml files guess when running a script outside of the root dir
  • Fix check:requirements when the cache dir does not exist yet
  • Fix the value of the PHP_BINARY and PHP_PATH env vars which must always point to the PHP CLI binary
  • Fix parsing of the f flag in sendmail wrapper
  • Fix default user and password for RabbitMQ local Docker tunnels

Newest issues and pull requests

They talked about us

Call to Action

Published in #A week of symfony