This week, the upcoming Symfony 5.1 version added MongoDB support for the Lock component, exception pages enabled the "dark theme" and the MicroKernelTrait was improved to make it easier to use and configure.
Symfony development highlights
This week, 74 pull requests were merged (38 in code and 36 in docs) and 54 issues were closed (34 in code and 20 in docs). Excluding merges, 31 authors made 1,421 additions and 752 deletions. See details for code and docs.
- bf877b8: [TwigBundle] add tags before processing them
- 56bfbd8: [PropertyAccess] forward caught exception
- 429b18e: [Validator] stop passing unnecessary timezone argument to \DateTime in ConstraintValidator
- 2eacbc5: [ExpressionLanguage] process division by zero
- 8aefe97: [MonologBridge] fix debug processor datetime type
- 035d8a3: [Yaml] implement multiline string as scalar block for tagged values
- 42712ee: [HttpFoundation] use Cache-Control: must-revalidate only if explicit lifetime has been given
- 349ea04: [Translation] fixed memoryleak in PhpFileLoader
- cff8b25: [DoctrineBridge] try to fix deprecations from doctrine/persistence
- e043316: [Validator] safe fail on invalid timezones in ConstraintValidator
- 3df1d1e: [Cache] propagate expiry when syncing items in ChainAdapter
- ebadf51: [Routing] fixed memory leak when loading compiled routes
- d294085: [DependencyInjection] fixed support for immutable setters in CallTrait
- b81f428: [FrameworkBundle] reinitialize bundles when the container is reprepared in ContainerLintCommand
- 2e70324: [Process] changed the syntax of portable command lines
- 7049b94: [Validator] fixed auto-mapping constraints should not be validated
- ff1d77e: [TwigBundle] fixed findTemplate() to return null
- d91efd3: [HttpFoundation] removed Content-Type from the preferred format guessing mechanism
- 6bf764a: [HttpKernel] fixed triggering deprecation in file locator
- 212dc53: [HttpFoundation] fixed Redis multi host DSN not recognized
- 1d59e1e: [FrameworkBundle] hook local dotenv file configured for secrets
- da7deda: [FrameworkBundle] skip removed ids in the lint container command and its associated pass
- e8ecfe3: [Lock] added mongodb store
- 1827908: [ErrorHandler] enabled the dark theme for exception pages
- a6d1567: [DependencyInjection] added support for defining method calls in InlineServiceConfigurator
- 4445812: [FrameworkBundle] added flex-compatible default implementations for MicroKernelTrait::registerBundles() and getProjectDir()
- 8c80c5b: [FrameworkBundle] allow using a ContainerConfigurator in MicroKernelTrait::configureContainer()
Symfony Local Server
Symfony Local Server, the best way to run Symfony applications on your local machine, released its new 4.11.3 version with the following changes:
- Fix loading the local
php.ini
on FPM (loading PHP extensions now works) - Fix loading PHP config from
.symfony.cloud.yaml
for web servers using PHP CGI or PHP CLI - Remove
php:wrappers:install
and supports for the PHP wrappers (use symfonyphp/pecl/...
instead) - Update extension list for PHP 7.4
- Fix infinite login loop when used in non interactive environment
- Add Blackfire integration when using Docker for the Blackfire agent
- Fix
open:remote:rabbitmq
does not found the RabbitMQ management UI - Specify which environment will be snapshoted when running
env:sync
- Fix double spinner issue on
env:sync
Newest issues and pull requests
- [RFC] New form type: DateTimeWithTimezoneType
- [Form] Make rendering of empty CollectionType with dynamically added inputs easier
- [Profiler] Labeled profiles
- ProgressBar formatters per progressbar
- [Console] Decorable commands
- Auto-bind the container params
They talked about us
- Using PHP Container for Symfony development and Gitlab CI for testing
- How to integrate Docker into a Symfony-based project
- How to Get Rid of Technical Debt or What We Would Have Done Differently 2 Years ago
- Symfony 5 — RabbitMQ and 2 microservices
- Cómo integrar Docker en un proyecto basado en Symfony
- Konmariser son code
- Comment gérer les erreurs qui arrivent en production ?
- Petit précis des images responsives avec Symfony
- Développer votre application autour du composant Workflow
- Plongée au coeur du composant Messenger
- Comprendre Symfony avec l'EventDispatcher
- Faciliter la consommation d'API avec Jane
- Symfony4で特定のディレクトリ以下のコントローラにだけURLのprefixをつける方法
- Symfony と PHPStorm での PHPUnit テスト設定
- Symfony4でPsySHをデバッグに使う
- Symfony4をHerokuにデプロイしてみる
- symfony/mailer でTwigを使ってテキストメールをbase64で送る。
Upcoming Symfony Events
- SymСode St. Petersburg Meetup #8 - JetBrains: Sankt-Peterburg, Russia (December 18)
- [Paris] SfPot Décembre 2019: Paris, France (December 18)
- Treffen der Symfony User Group Hamburg: Hamburg, Germany (January 7)
- Symfony 5 & Schema design for e-commerce: Berlin, Germany (January 29)
Call to Action
- Give Symfony a star on GitHub
- Follow Symfony on Twitter and retweet this article.
- Subscribe to the Symfony blog RSS and never miss a Symfony story again.