This week, Symfony Conferences announced that their Call for Papers are still open for SymfonyLive Warszawa, for SymfonyLive Berlin and for SymfonyCon Disneyland Paris. In addition, MakerBundle added new features to reset passwords. Meanwhile, the upcoming Symfony 5.1 version simplified decorated services and added a way to control the Cursor in the terminal.
Symfony development highlights
This week, 50 pull requests were merged (32 in code and 18 in docs) and 62 issues were closed (49 in code and 13 in docs). Excluding merges, 28 authors made 1,886 additions and 515 deletions. See details for code and docs.
- efc93a7: [PropertyAccess] improve message of unitialized property in php 7.4
- 434a03a: [OptionsResolver] remove assertions that can never be reached
- 547c99e: [PropertyInfo] check the array mutator prefixes last when the property is singular in ReflectionExtractor
- 932a4f8: [Workflow] use a strict comparison when retrieving raw marking in MarkingStore
- db733da: [Form] removed legacy check in ValidationListener
- cd4a4bd: [Validator] do not merge constraints within interfaces
- 6a27337: [Validator] fixed default group for nested composite constraints
- f2d4a29: [Process] fixed input/output error on PHP 7.4
- 2dd5fe6: [FrameworkBundle] allowing empty secrets to be set
- ba58c6f: [DependencyInjection] add missing property declarations in InlineServiceConfigurator
- 6f19746: [DependencyInjection] fix detecting short service syntax in yaml
- 977276e: [HttpClient] fix scoped client without query option configuration
- 280674f: [Mailer] force ping after transport exception
- f84592a: [HttpClient] fix HTTP/2 support on non-SSL connections
- dadb5d8: [FrameworkBundle] revert to container.dumper.inline_factories=false by default
- 2d6327f: [VarCloner] cut Logger in dump
- aa44db0: [HttpFoundation] fix constant accessor
- c6a176d: [OptionsResolver] improve the deprecation feature by handling package and version
- 168574d: [Messenger] updated Amazon SQS connection
- 9a6695c: [DependencyInjection] allow decorators to reference their decorated service using the special .inner id
- 6ff7c2e: [DependencyInjection] deprecate the inline() function from the PHP-DSL in favor of service()
- 1ee1c81: [DependencyInjection] removed restriction and allow mixing "parent" and instanceof-conditionals/defaults/bindings
- 607e8d6: [ErrorHandler] remove trigger_deprecation frame from trace
- 7c98954: [Serializer] unwrapping denormalizer
- d69b8bb: [Console] add Cursor class to control the cursor in the terminal
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 4.14.0 version with the following changes:
- Update cron handling:
- Crons emails are now sent using a predictable default email address
project+env@cron.noreply.s5y.io - Allow to change
croncapeemail sender usingMAILFROMenvironment variable - Allow to change
croncapehost in subject usingCRONCAPE_HOSTenvironment variable (defaults to project ID) - Use
MAILER_DSNandMAILER_URLif defined for sendmail configuration - Strip
croncapefrom command when running a cron usingenv:cron
- Crons emails are now sent using a predictable default email address
- Add support for
--install-dirflag in the bash installer - Add support for
memcachedin Docker Compose - Add the
--multilineflag tovar:exportto display each var on its own line - Add
env:deactivatecommand - Add a check for the
redisPHP extension inbook:check-requirementscommand - Update available PHP extensions list used during project initialization
- Refine
SYMFONY_DEFAULT_ROUTEbehavior to be more determinist and respect user's order - Fix panic in
env:urlsandenv:logswhen there's no application selected or detected - Fix
php.iniand.symfony.cloud.yamlfiles guess when running a script outside of the root dir - Fix
check:requirementswhen the cache dir does not exist yet - Fix the value of the
PHP_BINARYandPHP_PATHenv vars which must always point to the PHP CLI binary - Fix parsing of the
fflag insendmailwrapper - Fix default user and password for RabbitMQ local Docker tunnels
Newest issues and pull requests
- [Mailer] Ability to choose the Message class used by Mailer::send
- [Messenger] Ability to route a subclass to a different transport without duplicating the message
- ISIN code validator
- [PropertyAccess] Allow omitting array key when setting value
They talked about us
- A book review about Symfony 5: The Fast Track by Fabien Potencier
- Symfony environment setup without Vagrant or Docker (OSx)
- Multi-namespace migrations with doctrine/migrations 3.0
- Symfony on a lambda: conclusion
- CORS error using cors-bundle for not cors reasons
- Symfony. Crear una tabla de contenidos para un texto
- Nuevo en Symfony 5.1: HTTP/2 sin usar cURL
- MakerBundle añade nuevos comandos para resetear contraseñas y generar mensajes
- Nuevo en Symfony 5.1: Precarga de clases configurable
Call to Action
- Follow Symfony on Twitter and retweet this article.
- Subscribe to the Symfony blog RSS and never miss a Symfony story again.