A Week of Symfony #721 (19-25 October 2020)
October 25, 2020 • Published by Javier Eguiluz
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.
- 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
- 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
- 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
- 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
andserver:run
might miss some logs - Add support for
--version=dev
for thenew
command - Move
yarn-install
tonvm-sh/nvm
and upgrade to v0.36.0 - Make
yarn-install
use the nvm--no-progress
flag - Use
SYMFONY_CACHE_DIR
inyarn-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
- Help adding translations
- Implement ListableReceiverInterface in AmazonSqsTransport
- Use DI & SRP to make Amazon SQS Messenger more extensible
- Performance comparison between 5.1 and 5.2 beta2
They talked about us
Call to Action
- Follow Symfony on Twitter and retweet this article.
- Subscribe to the Symfony blog RSS and never miss a Symfony story again.
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.