A Week of Symfony #847 (20-26 March 2023)
This week, the upcoming Symfony 6.3 version continued adding new features: the Messenger component added Clock support in workers and introduced a way to redispatch a message, the translation component improved performance of message extraction and the new Scheduler component added support for date intervals and periods and introduced a debug:scheduler command.
Symfony development highlights
This week, 78 pull requests were merged (39 in code and 39 in docs) and 36 issues were closed (15 in code and 21 in docs). Excluding merges, 42 authors made contributions. See details for code and docs.
- c42e033: [HttpFoundation] use separate caches for IpUtils checkIp4 and checkIp6
- 5eb54cf: [HttpClient] add hint about timeout and max_duration options
- b9348f8: [Notifier] add bridge documentation
- 0550259: [VarDumper] disable links for IntelliJ platform
- 618f920: [FrameworkBundle] improve documentation about translation:extract --sort option
- 2c980d7: [Notifier] update documentation for telegram bridge notifier
- 7188432: [Messenger] add Clock support in Worker
- cdb18ad: [DependencyInjection] add support for #[Autowire(lazy: true)]
- b885d0d: [Webhook] add readonly modifier where this possible
- 8b8045b: [Scheduler] add DateIntervalTrigger and DatePeriodTrigger
- 36ae25d: [RemoteEvent] add readonly modifier where this possible
- d7abade: [Security] add argument $exceptionCode to #[IsGranted]
- a08ccfc: [Messenger] add a way to redispatch a message
- 1f43acb: [FrameworkBundle] make StopWorkerOnSignalsListener configurable via messenger's config
- 10b0b1c: [ErrorHandler] rewrite logic to dump exception properties and fix serializing FlattenException
- 78a7c5b: [CssSelector] add support for :scope
- 38b5992: [HttpFoundation] add IpUtils::isPrivateIp
- 6989910: [Scheduler] fix PHPUnit deprecation on abstract test cases naming
- c2090d3: [Scheduler] make some properties readonly
- 2e31041: [Translation] improve message extraction performance for big code bases
- 26f209d: [Console] use file system completion for redirect operators
- 1cea7c6: improve security factory signatures
- 2e2eaad: [Mailer] update default Mailgun port
- b01130d: [FrameworkBundle] add support to easily clear all cache pools
- 50fbe01, 5e6ea11: add debug:scheduler command
Newest issues and pull requests
- Make HtmlDumper output more useful when using JSON
- Add tag container.exclude to auto-discovered classes excluded with #[Exclude] / #[When] attributes
- [RFC] Simplify form theme testing for external packages
- [RFC] Split form themes into individual packages
- [Workflow] Custom marking store with access to property or arguments
- [Translation] [RFC] Deprecate old interval message formatting
- [Scheduler] Add events
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 5.5.2 version with the following changes:
- Fix inconsistent error message in book requirements check (@tucksaun)
- Bump deps (@fabpot)
- Add COMPOSER_MEMORY_LIMIT=-1 when running Composer (@tucksaun)
These were some of the most relevant SymfonyCasts updates of the week:
- (Video) API Platform 3: Security for your Treasures, Chapter 7: Passing Values to Stimulus
- (Video) API Platform 3: Security for your Treasures, Chapter 8: Token Types & The ApiToken Entity
- (Video) API Platform 3: Security for your Treasures, Chapter 9: Generating the API Token & Fixtures
They talked about us
- Symfony Station Communiqué - 24 March 2023
- Leverage Symfony VarDumper Component to Enhance your Dumps
- Convert Symfony Auth Scaffolding Login to use Form Builder
- Reusable symfony/workflow configuration
- Love HATEOAS with Symfony and API Platform
- Layouts 1.4 Add Editable Preview and Component Blocks
- Optimización avanzada de rendimiento en Symfony
- Utiliser l’API de ChatGpt dans Symfony 6
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.