This week, the upcoming Symfony 7.2 version added a feature to render a Twig block with the Template attribute, improved the Serializer with a snake case to camel case name converter, and added support for new operators in the ExpressionLanguage component. In addition, we published new talks for the SymfonyCon Vienna 2024 conference, including sessions on containerization with DDEV and best practices for Symfony.
Symfony development highlights
This week, 44 pull requests were merged (37 in code and 7 in docs) and 31 issues were closed (23 in code and 8 in docs). Excluding merges, 2 authors made 26,531 additions and 11,851 deletions. See details for code and docs.
- ca84bcc: [SecurityBundle] make security schema deterministic
- 5d8c854: [DependencyInjection] fix handling of repeated #[Autoconfigure] attributes
- fb5e0e8: [HttpClient] do not overwrite the host to request when using option resolve
- 86ccbdb: [DependencyInjection] fix issue between decorator and service locator index
- acd4d15: [Mailer] support the unique_proxy_open event in Brevo mailer
- 93e8814: [AssetMapper] fix JsDeliver import regexp
- b11bd87: [Serializer] fix CamelCaseToSnakeCaseNameConverterTest::testDenormalizeWithContext
- 3c6f465: [TwigBridge] render a block via the #[Template] attribute
- 7a7b686: [Mailer] add Sweego bridge
- 9c441cd: [AssetMapper] use Filesystem component
- c4da8e6: [Security] deprecate empty user identifier
- 5d47bea: [Serializer, Translation] deprecate passing a non-empty CSV escape char
- 3ad4e94: [Scheduler] allow to skip missed periodic tasks, only the last schedule will be called
- 5e76ca0: [FrameworkBundle, HttpKernel] let RequestPayloadValueResolver consider mapped argument type
- a44311e: [HttpClient] add support for amphp/http-client v5
- 99b25a1: [Messenger] add previous to the exception output
- 1c8cd56: [Form] add support for the calendar option in DateType
- 4daa12b: [VarDumper] add support for virtual properties
- b7fe7ef: [Validator] add CompoundConstraintTestCase to ease testing Compound Constraints
- 00b9db7: [Serializer] add SnakeCaseToCamelCaseNameConverter
- beca579: [HttpFoundation] add optional $v4Bytes and $v6Bytes parameters to IpUtils::anonymize()
- 310fc6a: [Validator] add $groups and $payload to Compound constructor
- b3d9138: [ExpressionLanguage] add support for <<, >>, and ~ bitwise operators
- c3bb47a: [Webhook] pass original request to RequestParserInterface
Newest issues and pull requests
- [Decorator] Add new component for callable decorators
- [DependencyInjection] Add support for key-type in XmlFileLoader
- [Console][Process] Add 'verbosity' argument to 'mustRun' helper method
They talked about us
- Symfony Station Communiqué - 23 August 2024
- Dynamic Route loading in a non standard Symfony structure
- Base entities and behaviors for Doctrine — how I do it
- Custom Resolver For MapRequestPayload to handle Patch Request in Symfony
- Mastering Field Validation in Symfony: Best Practices Explained
- Using generated fields in MySQL
- Symfony Entity Normalizasyonu: Entity Relation/Collection Normalizer
Call to Action
- Follow Symfony on X, on Mastodon, on Bluesky and on Threads and share this article.
- Subscribe to the Symfony blog RSS and never miss a Symfony story again.
Sponsor the Symfony project.