This week, Symfony 3.4.47 was released as the last version of the 3.4 branch. Meanwhile, Symfony 4.4.17 and 5.1.9 maintenance versions were released. Finally, SymfonyInsight announced 20 new checks for PHP and Symfony applications, SymfonyCloud announced PHP 8 compatibility and Symfony announced its Blackfire promotions.
Symfony development highlights
This week, 58 pull requests were merged (34 in code and 24 in docs) and 40 issues were closed (38 in code and 2 in docs). Excluding merges, 39 authors made 1,522 additions and 308 deletions. See details for code and docs.
- f9d2afb: [VarDumper] fixed casting resources turned into objects on PHP 8
- 4c378d4: [Console] fixed console closing tag
- fd910eb: [Console] use a partial buffer in SymfonyStyle
- 6224ffa: [PhpUnitBridge] fixed qualification of deprecations triggered by the debug class loader
- d558964: [Yaml] fixed lexing strings containing escaped quotation characters
- 1fb80e7: [Form] ignore the pattern attribute for textareas
- 66e76d1: [Form] prevent duplicated error message for file upload limits
- 6db84b6: [DependencyInjection, Translator] silent deprecation triggered by libxml_disable_entity_loader
- 7d7fa3e: [DependencyInjection] fixed circular in DI with lazy + byContruct loop
- 3e9f770: [HttpClient] fixed binding to network interfaces
- 42061de: [Messenger] fixed mssql compatibility for Doctrine transport
- 123fd2e: updated Romanian translations
- e57b5f2: updated Portuguese translations
- 6224ffa: [PhpUnitBridge] fixed qualification of deprecations triggered by the debug class loader
- 3d384ba: [Serializer] fixed denormalizing scalar with UnwrappingDenormalizer
- 9f484e6: [Security] support for SwitchUserToken instances serialized with Symfony 4.4/5.1
- 7378b0b: [HttpFoundation] deprecated BinaryFileResponse::create()
- ac25e8c: [DoctrineBridge] required doctrine/persistence 2
- df7099c: [Security] automatically register custom authenticator as entry_point (if supported)
- 878a53b: [Semaphore] allow symfony/semaphore on PHP8
- 4346ef4: [Console] added Invalid constant into Command Class
- bd7a3e1: [DomCrawler] cache discovered namespaces
- 0c285d1: [DoctrineBridge] fixed form EntityType with filter on UID
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.21.0 version with the following changes:
- Drop support for macOS 32bits
- Add support for PHP 8.0 on SymfonyCloud
- Expose all Docker compose ports, even for unknown services
- Use standard SSH URL (ssh://) instead of Git ones for every Git operations
- Rename 'snapshots' as 'backups'
- Allow to restore a backup to a different environment
- Add new pre-deployment check for logging configuration
- Add support for providing coupon at project creation
Newest issues and pull requests
- [Form] Allow to generate choices dynamically in ChoiceType
- [String] Replace at start / end of string
- [Serializer] Configuration to ignore getters in ObjectNormalizer
- [Validator] Allow to define validation rules in YAML or XML for ArrayAccess object
- [Uid] Support the Base58 inverted alphabet
- [Console] Separate styling helpers out of SymfonyStyle
They talked about us
- Benchmarking PHP 8.0 and 7.4 on Symfony 5.2
- Symfony REST API (without FosRestBundle) using JWT authentication: PART 1
- Symfony REST API (without FosRestBundle) using JWT authentication: PART 2
- Serializing data in PHP: A simple primer on the JMS Serializer and FoS Rest
- How to improve your Symfony commands
- Symfony et Vue.Js — Partie 1 : Installation et configuration
Call to Action
- Follow Symfony on Twitter and retweet this article.
- Subscribe to the Symfony blog RSS and never miss a Symfony story again.
I wonder how do we write a post/blog and make it on the list at "They talked about us" section in week of symfony post?
@fd6130 we're subscribed to the RSS/Atom feeds of lots of blogs that talk about Symfony. We also make weekly search queries in Google to find new blog posts. Finally, we look in the #posts channel of Symfony Slack.
So, you can post it in #posts so we can see it and then we can subscribe to your blog. Thanks!