A Week of Symfony #788 (31 January – 6 February 2022)
This week, the upcoming Symfony 6.1 version added context builders to simplify the creation of serialization contexts. In addition, SymfonyCon announced that it’s coming back as a physical conference at Disneyland Paris later this year (November 15-18, 2022).
Symfony development highlights
This week, 41 pull requests were merged (29 in code and 12 in docs) and 39 issues were closed (34 in code and 5 in docs). Excluding merges, 30 authors made 16,259 additions and 2,874 deletions. See details for code and docs.
19da12f: [Validator] fix minRatio and maxRatio when getting rounded
b7da2a0: [PropertyAccess] fix handling of uninitialized property of parent class
2119155: [DomCrawler] ignore bad charsets
c569ef1: [Form] do not fix URL protocol for relative URLs
5c67f40: [Serializer] make XmlEncoder stateless thus reentrant
c112bf1: [DependencyInjection] don’t dump polyfilled classes in preload script
582f572: [HttpClient] fix Content-Length header when possible
c2e179e: [DependencyInjection, FrameworkBundle] fix using PHP 8.1 enum as parameters
d3df7be: [PropertyAccessor] add missing TypeError catch
1b695a9: [FrameworkBundle] fix log channel of TagAwareAdapter
12b63b3: [Cache] fix connecting to Redis via a socket file
6413b64: [Mailer] ensure only a single tag can be used with Postmark
d7da823: [Mailer] allow Mailchimp to handle multiple TagHeader
b400f80: [Notifier] fix Microsoft Teams webhook URL
56dd927: [WebProfilerBundle] fix wrong spacing in log message context/trace output
5cb5880: [WebProfilerBundle] fix error count by log not displayed in WebProfilerBundle
45a09a8: [DependencyInjection] fix AsEventListener not working on decorators
96e7830: [SecurityBundle] allow to specify a RequestMatcher directly in an ACL definition
003254d: [Validator] check for file existence lazily in loaders
fac3060: [Serializer] add context builders
4ad5d46: [Mailer] allow manually stop() of SmtpTransport
74b8d16: [Translation] send If-Modified-Since header when possible to SaaS translators
0758e59: [ErrorHandler] report overridden @Final constants
Newest issues and pull requests
Option to disable profiler in CLI environment
[Lock] MySQL non-expiring locking using GET_LOCK
[Validator] Support SVGs when validating image dimensions
[Workflow] Allow fetching workflow (definition) by name from registry
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 5.3.0,
5.3.1 and
5.3.2
versions with the following changes:
Update Plaform.sh commands
Tunnel refactoring (#74)
Remove phpunit installation step in book:checkout (not needed anymore)
Improve the parsing of Platform.sh CLI commands (#76)
Force reloading PHP versions if no PHP versions found (#71)
Fix usage of tunnel:close in book:checkout
Fix required flag on psh commands
Fix command visibility
Fix Platform.sh command helps (#77)
Do not compare com.symfony.server.service-ignore case-sensitive
Add hooks for some Platform.sh commands (#75)
Add cloud:env:debug (#72)
Add –path flag to open:local
Disable Go module proxy
Fix Homebrew tap auth
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:
New Course Announcement: Upgrading & What’s New in Symfony 6!
New Course Announcement: Harmonious Development with Symfony 6
(Video) EasyAdmin! For an Awesomely Powerful Admin Area, Chapter 4: Global vs CRUD-Specific Configuration
(Video) EasyAdmin! For an Awesomely Powerful Admin Area, Chapter 5: Controlling the Dashboard Menu
(Video) EasyAdmin! For an Awesomely Powerful Admin Area, Chapter 6: Assets: Custom CSS and JS
(Video) EasyAdmin! For an Awesomely Powerful Admin Area, Chapter 7: Configuring Fields
(Video) EasyAdmin! For an Awesomely Powerful Admin Area, Chapter 8: Fields on some Pages, not Others
They talked about us
Symfony Station Communiqué – 4 February 2022. A look at Symfony and PHP news
2 Methods to Clear Cache using Console Command in Symfony 6
(Re)discover XPath selectors
Managing a changelog with API Platform & OpenAPI
(Re)découverte des sélecteurs XPath
Call to Action
Follow Symfony on Twitter and retweet this article.
Subscribe to the Symfony blog RSS and never miss a Symfony story again.
Symfony Blog
Read More