A Week of Symfony #846 (13-19 March 2023)

This week, the upcoming Symfony 6.3 version added support for 103 status code (Early Hints), updated the service container builder to use PHP weak references, and added three new components: Webhook and RemoteEvent and a Scheduler component. Lastly, Symfony announced a new Symfony conference in Berlin (October 5-6, 2023).

Symfony development highlights

This week, 44 pull requests were merged (27 in code and 17 in docs) and 37 issues were closed (26 in code and 11 in docs). Excluding merges, 30 authors made contributions. See details for code and docs.

5.4 changelog:

e1b1b7d: [VarDumper] fixed dumping of CutStub
2721aba: [FrameworkBundle] rename limiter’s strategy to policy in XSD
67b9ac9: [HttpKernel] change limit argument from string to integer for Profiler
0874ea8: stop stopwatch events in case of exception
f4177aa: [Validator] update BIC validator IBAN mappings
6ab60c4: [String] correct inflection of ‚codes‘ and ’names‘
7dccccd: [Serializer] GetSetMethodNormalizer::supportss should not check ignored methods
be3a378: [Validator] add translations for the filename max length validator option
b8c780b: [HttpClient] encode and decode curly brackets {}

6.2 changelog:

8b96961: [FrameworkBundle] explicitly set the HTTP method override option to false

6.3 changelog:

da9e54a: [DomCrawler] improve html5Parser tests
163c570: [HttpFoundation] add support for the 103 status code (Early Hints) and other 1XX statuses
6b14137: [Form] improve exception for unsubmitted form
cf55f2b: [HttpFoundation] deprecate passing invalid URI to Request::create
b0054f6: [ErrorHander] display exception properties in the HTML error page
64b4574: [DependencyInjection] generalize and simplify parsing of autowiring attributes
cb39a7f: [DependencyInjection] use weak references in ContainerBuilder
c918829: [Webhook, RemoteEvent] add the components
9aa6e08: fix DI logic when mailer is available but webhook is not
67d8daa: [FrameworkBundle] add scoped httplug clients and deprecate httplugs use like psr18 client
bf4cc88: [Validator] add PHPDoc void return types
da8e8d0: [Config] improve performance of GlobResource
b42027b, 74878d8: [Messenger] add a Scheduler component
8b96961: [FrameworkBundle] explicitly set the HTTP method override option to false
d34e4fc: [Scheduler] remove unused variable in AddScheduleMessengerPass
c77b407: [Notifier] add „retry“ and „expire“ options to Pushover bridge
5fbf9be: [WebProfilerBundle] replace helper with _self in serializer.html.twig

Newest issues and pull requests

[RFC] Translatable HTTP exceptions
[RFC] Translatable HTTP response payloads
[RFC] Flowbite form theme

SymfonyCasts Updates

SymfonyCasts is the official way to learn Symfony.
Select a track for a guided path through 100+ video tutorial courses about
Symfony, PHP and JavaScript.

These were some of the most relevant SymfonyCasts updates
of the week:

(Video) API Platform 3: Security for your Treasures, Chapter 1: API Docs on Production?
(Video) API Platform 3: Security for your Treasures, Chapter 2: API Tokens? Session Cookies?
(Video) API Platform 3: Security for your Treasures, Chapter 3: API Login Form with json_login
(Video) API Platform 3: Security for your Treasures, Chapter 4: Handling Authentication Errors
(Video) API Platform 3: Security for your Treasures, Chapter 5: On Authentication Success

They talked about us

Symfony Station Communiqué – 17 March 2023
Reusable symfony/workflow configuration
Using PHP anonymous classes to test collection services
Manipulating a Large CSV File with Symfony, JS, and Python
Step-by-step Guide to use Auth0 with Symfony 6
Behat: The Easy and Effective Way to Write Acceptance Tests
Symfony Chatbot with Chat-GPT (and other APIs…)
Utiliser l’API de ChatGpt dans Symfony 6
Comprendre et éviter les attaques CSRF grâce à Symfony

Call to Action

Follow Symfony on Twitter and retweet this article.
Subscribe to the Symfony blog RSS and never miss a Symfony story again.

Sponsor the Symfony project.

Symfony Blog

Read More

Generated by Feedzy