Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages showcasing Symfony with Docker, APIs, queues & async tasks, Webpack, SPAs, etc.

A Week of Symfony #699 (18-24 May 2020)

This week, development activity focused on fixing some bugs and polishing some of the new features introduced in the upcoming Symfony 5.1 version, which will be released next week. Meanwhile, Symfony 3.4 and all the other versions were updated to add compatibility with PHP 8, which will be released at the end of the year.

Symfony development highlights

This week, 63 pull requests were merged (47 in code and 16 in docs) and 33 issues were closed (22 in code and 11 in docs). Excluding merges, 26 authors made 8,648 additions and 2,549 deletions. See details for code and docs.

3.4 changelog:

  • 7ee33f9: [HttpKernel] fixed error logger when stderr is redirected to /dev/null
  • 8e428ed: [PhpUnitBridge] fixed bad detection of unsilenced deprecations
  • 42c7975: [Intl] bumped ICU to 67.1 version
  • af0df4c: [HttpKernel] fixed that the Store would not save responses with the X-Content-Digest header present
  • 5fc4d1b: [Validator] added missing translations of nn locale
  • 4a0d5f1: [HttpKernel] prevent calling method_exists() with non-string values
  • b202696: [Debug] undefined variables raise a warning in PHP 8
  • 77a826c: [Config] removed implicit cast of ReflectionProperty to string
  • 14ffc02: [Intl] fixed call to ReflectionProperty::getValue() for static properties
  • 4e19168: [Debug] PHP 8 does not pass $context to error handlers
  • e220e7c: [PropertyAccess] parse PHP 8 TypeErrors correctly
  • 475a715: [DomCrawler] catch expected ValueError
  • 42692d6: [Validator] catch expected ValueError
  • fb91dc2: [VarDumper] ReflectionFunction::isDisabled() is deprecated
  • 410b621: address deprecation of ReflectionType::getClass()
  • 6e368f1: [Cache] accessing undefined constants raises an Error in PHP 8
  • c4ac3c1: [VarDumper] fixed PHP 8 support

4.4 changelog:

  • 638b200: [Security] unserialize $parentData if needed to avoid errors
  • 2e46c63: [Security] fixed wrong roles comparison
  • 6d7c696: [BrowserKit] raw body with custom Content-Type header
  • a25e88b: [Cache, HttpClient] made method signatures compatible with their corresponding traits
  • 6e368f1: [Cache] accessing undefined constants raises an Error in PHP 8
  • 1a21a75: [OptionsResolver, Serializer] removed calls to deprecated ReflectionParameter::getClass()

5.0 changelog:

  • f32c2c1: [ErrorHandler] apply PHP 8 fixes from Debug component

5.1 changelog:

  • 87c6683: [HttpKernel] bring back the debug toolbar
  • 754bba4: [DI] removed preload primitive types
  • 0fd5b95: [Validator] allow passing a validator to Validation::createCallable()
  • 8f6afdd: use ">=" for the "php" requirement in composer.json
  • 3815b26: [Messenger] added suggestion for Amazon SQS transport and make check more readable
  • a7c09ac: [Messenger] fixed check for allowed options in AwsSqs configuration
  • 6314732: [Validator] made ExpressionLanguageSyntax validator usable with annotation
  • a99a55f: [Form] don't add the inputmode attribute on fields whose type is the same
  • c403789: [Security] removed "services" prototype node from "custom_authenticator"

Master changelog:

  • e00017e: [Validator] deprecated the "allowEmptyString" option

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

  • Add php-ext-install helper available during SymfonyCloud build stage
  • Validate the configured PHP extensions availability before deploying
  • php.ini is now used during the SymfonyCloud build stage
  • Allow #admins as recipients for integrations
  • Improve suggestions when command name is not found
  • Turn URLs into links in security:check
  • Fix security:check does not respect output coloration
  • Fix formatting issues on small screens
  • Fix serving files like *.php.html

Newest issues and pull requests

They talked about us

Call to Action

Help the Symfony project!

As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.


Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.