This week, Symfony published the 4.3.11, 4.4.4 and 5.0.4 maintenance versions. The 4.3 branch published its last version, so you should consider updating to 4.4. Meanwhile, the upcoming Symfony 5.1 version improved CssSelector performance, added LRU and max-lifetime features to ArrayCache and introduced tag/metadata support in the Mailer component.
Symfony development highlights
This week, 59 pull requests were merged (43 in code and 16 in docs) and 59 issues were closed (54 in code and 5 in docs). Excluding merges, 40 authors made 10,929 additions and 3,702 deletions. See details for code and docs.
- b90664b: [Security] improved error message when no supported user provider is found
- e50db1f: [HttpKernel] fixed stale-if-error behavior
- aeea451: [Validator] fixed access to uninitialized property when getting value
- 86ccf32, c966016: [Cache, Lock] don't allow mysqli to be used as it doesn't work
- 14c3555: [Messenger] check for all serialization exceptions during message decoding
- 46e8da3: [PhpUnitBridge] properly handle phpunit arguments for configuration file
- aeea451: [Validator] fixed access to uninitialized property when getting value
- e39d66e: [HttpClient] Fix regex for bearer auth
- 8773ccf: [DependencyInjection] CheckTypeDeclarationsPass now checks if value is type of parameter type
- 592a31a: [SecurityBundle] fixed ldap_bind service arguments
- c573787: [Messenger] fixed bug when using single route with XML config
- 6b0103e: [Mailer] fixed STARTTLS support for Postmark and Mandrill
- 29badef: [Mailer] added tests for http transports
- 9803f3e: [Intl] provide more locale translations
- 55df55e: [Translator] default value for 'sort' option in translation:update should be 'asc'
- c956d62: [ErrorHandler] added debug argument to decide whether debug page is shown or not
- af295b5: improved displaying anonymous classes
- 5182135: [Console] set Command::setHidden() final for adding default param in Symfony 6.0
- b22a584: [Cache] added LRU + max-lifetime capabilities to ArrayCache
- 1cfadb4: [CssSelector] added cache on top of CssSelectorConverter
- 3945a5c: [Messenger] moved Transports to separate packages
- f0fbdee: [Mailer] read default timeout from ini configurations
- f0748f8: [Mailer] added ability to disable the TLS peer verification via DSN
- 8769c7a: [Messenger] added TLS option to Redis transport's DSN
- 5b38f70: [Console] added constants for main exit codes
- 7ecb5aa: [PHPUnitBridge] improved deprecations display
- 8b337fc: [Dotenv] added Dotenv::bootEnv() to check for .env.local.php before calling Dotenv::loadEnv()
- 75fc3fa: [String] made AbstractString::width() follow POSIX.1-2001
- fbc3dc8: [Mailer] made default factories public
- a916c61: [Notifier] fixed infinite loop on round robin transport
- ee9aacd: [DependencyInjection, Routing] added wither to configure the path of PHP-DSL configurators
- a2b6085: [HttpFoundation] added withers to Cookie class
- 81abb4e: [Mailer] added tag/metadata support
- 94efc95: [FrameworkBundle] return non-zero exit code on failure in TranslationDebug
- 1bb485b: [Validator] added alpha3 option to country constraint
- 09bdaf5: [Mailer] randomize the first transport used by the RoundRobin transport
- a1e4222: [PropertyInfo] added accessor and mutator extractor interface and implementation on reflection
Symfony Local Server
Symfony Local Server, the best way to run Symfony applications on your local machine, released its new 4.12.5, 4.12.6, 4.12.7 and 4.12.8 versions with the following changes:
- Refactor the PHP web server to have a more consistent experience across all SAPIs
- Display project status in
projects
andproject:info
commands output - Force domains to be treated lowercase
- Fix running
symfony new
on Windows when Composer is already installed - Fix
php
,php-config
, andphpize
paths used bypecl
- Add support for
phpize
- Fix support for
phpdbg
andphp-config
- Only use locally downloaded
composer.phar
as a permanent fallback - Load
php.ini
, extra env vars, and PHP settings from.symfony.cloud.yaml
in the same between the PHP server andsymfony php
- Reload PHP versions when PHP is not found anymore in the cached stored version
- Fix various panics
Newest issues and pull requests
- Allow to set process priority
- [Mailer] SMTP transport creates too many NOOP commands
- [Finder] fully or partly integrate symplify/smart-file-system
- [Mailer] Support OAuth2 for gmail properly
- [Messenger][RFC] Kafka transport
- [DependencyInjection] ContainerConfigurator vs ContainerBuilder
They talked about us
Upcoming Symfony Events
- Treffen der Symfony User Group Hamburg: Hamburg, Germany (February 4)
- Symfony User Group Osnabrück: Osnabrück, Germany (March 12)
Call to Action
- Follow Symfony on Twitter and retweet this article.
- Subscribe to the Symfony blog RSS and never miss a Symfony story again.