Symfony News

A Week of Symfony #721 (19-25 October 2020)

This week, development activity of the upcoming Symfony 5.2 version focused on the new RateLimiter component to polish its features and fix the reported issues. Meanwhile, the SymfonyWorld 2020 online conference announced even more speakers and its workshops.

Symfony development highlights

This week, 93 pull requests were merged (50 in code and 43 in docs) and 44 issues were closed (33 in code and 11 in docs). See details for code and docs.

3.4 changelog:

  • 0e468e5: enable Doctrine tests on PHP 8
  • 3ff9384: [Filesystem] check if failed unlink was caused by permission denied
  • 1eead3f: [TwigBridge] do not translate null placeholders or titles
  • 85e8de6: [Serializer] fixed decoding float XML attributes starting with 0
  • 5c98c75: [Validator] updated Romanian translations
  • 81d29f3: [Validator] updated Dutch translations

4.4 changelog:

  • b2821ec: [BrowserKit] refactored AbstractBrowserTest to use assertSame()
  • 5a4be68: [Cache] used correct expiry in ChainAdapter
  • e5faa29: [PhpUnitBridge] added missing exporter function for PHPUnit 7
  • 49182e1: [PHPUnitBridge] support PHPUnit 8 and PHPUnit 9 in constraint compatibility trait
  • 9bfd3ee: [PhpUnitBridge] support new expect methods in test case polyfill
  • bfa396d: [DependencyInjection] preload classes with union types correctly
  • 4abbb1d: [HttpClient] relax auth bearer format requirements

5.1 changelog:

  • 4fdacdb: [Messenger, Doctrine] avoid early database access for pgsql detection
  • bbb220c: [Messenger] allowed setting option "login" in Amqp DSN
  • 29684ac: [String] fixed slicing in UnicodeString
  • 310926f: [String] fixed beforeLast() and afterLast() returning the empty string instead of the original one on non-match
  • a623492: [TwigBridge] removed transchoice from the code base

5.x changelog:

  • 2702d81: [HttpFoundation, RateLimiter] fixed RequestRateLimiterInterface::reset()
  • 9556002: [RateLimiter] renamed Limit to RateLimit and add RateLimit::getLimit()
  • 185e9ea: [HttpClient] parameterize list of retryable methods
  • a3dac6a: [FrameworkBundle] removed transport factory service when class does not exist
  • 35dad22: [DoctrineBridge] enabled to use the UniqueEntity constraint as an attribute
  • b801209: [HttpKernel] introduced a new kernel.runtime_environment parameter
  • 508ec9c: [HttpClient] fixed decorating progress info in AsyncResponse
  • 58f4e9d: [RateLimiter] allowed configuration value "no_limit"
  • 7539325: [RateLimiter] be more type safe when fetching from cache
  • e1825e0: [RateLimiter] made sure we actually can use sliding_window and no_limit
  • 6f0a897: [HttpClient] disallow tracing contents of event-stream responses
  • fc615e9: [RateLimiter] moved classes implementing LimiterInterface to a new namespace

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

  • Fix server:status display one-shot jobs
  • Fix server:run fails to restart jobs
  • Fix server:log and server:run might miss some logs
  • Add support for --version=dev for the new command
  • Move yarn-install to nvm-sh/nvm and upgrade to v0.36.0
  • Make yarn-install use the nvm --no-progress flag
  • Use SYMFONY_CACHE_DIR in yarn-install for faster builds
  • Disable autoupdates checks when running in background
  • Disable autoupdates checks when running the help command
  • Improve performance of the help command
  • Improve performance of the projects command

Newest issues and pull requests

They talked about us

Call to Action


Sponsor the Symfony project.


About us

What a Symfony developer should know about the framework: News, Jobs, Tweets, Events, Videos,...

Resources

Find us on Twitter

Find us on Facebook