This week, the upcoming Symfony 4.4 version improved the Length validation constraint to allow rejecting empty strings, the HttpClient component added support for NTLM authentication and the Panther component was updated to allow using the new BrowserKit assertions. Meanwhile, the SymfonyCon 2019 conference announced the first part of its schedule.
Symfony development highlights
This week, 93 pull requests were merged (70 in code and 23 in docs) and 39 issues were closed (19 in code and 20 in docs). Excluding merges, 36 authors made 1,497 additions and 567 deletions. See details for code and docs.
- db05791: [DependencyInjection] fixed processing of regular parameter bags by MergeExtensionConfigurationPass
- a383649: [FrameworkBundle] reset cache pools between requests
- 7f43681: [SecurityBundle] conditionally register services
- 26048bc: [FrameworkBundle] unconditionally register the DateIntervalNormalizer
- c33c396: [Lock] stores must implement putOffExpiration
- 8e07e77: [Messenger] don't pass objects as class name to ContainerBuilder::register
- b7a75e4: [Workflow] only decorate when an event dispatcher was passed
- 51f01bd: [FrameworkBundle] deprecated the framework.templating option
- 74bd8b6: [FrameworkBundle] fixing validation for messenger transports retry_strategy service key
- 09e762e: [Messenger] fixed authentication for redis transport
- c799fc8: [Messenger] fixed broken key normalization
- 7bd0a27: [Messenger] added support for auto trimming of redis streams
- 70318b4: [HttpFoundation] drop support for ApacheRequest
- 802dc1b: [Filesystem] deprecated calling isAbsolutePath with a null
- 7b9c026: [Mailer] overwrite envelope sender and recipients from config
- ea0656a: [HttpKernel] improved the error message when not defining the controller as a service but using construct parameters
- 4e32643: [Validator] added a Length::$allowEmptyString option to reject empty strings
- 6abaa8c: [Validator] deprecated non-string constraint violation codes
- df13b50: [HttpClient] added support for NTLM authentication
- 2452ef8: [PropertyInfo] added static cache to ContextFactory
- 9b4f801: [FrameworkBundle] allow to use the BrowserKit assertions with Panther and API Platform's test client
- b7c9fcf: [HttpFoundation] accept must take the lead for Request::getPreferredFormat()
- e3927b6: [Messenger] use ConnectionRegistry instead of RegistryInterface
- 0151279: [ErrorCatcher] pretty print JSON formatted errors
- 08aa16f: [ErrorCatcher] fixed some escaping in error renderers
- a672bbc: [FrameworkBundle] allow creating chained cache pools by providing several adapters
- b515107: [FrameworkBundle] use default_locale as default value for translator.fallbacks
- 42899cd: [FrameworkBundle] add autowiring alias for PSR-14
- f800d01: [Cache] finish type-hints
- 393f9ae: [CSRF] add more parameter types
- cc9778e: [Security, Guard] added type-hints to AuthenticatorInterface
- b163a95: [Security] added type-hints to user providers
- 7af0c73: [Security] added type-hints to password encoders
- 6128276: [Security] added type-hints to auth providers, tokens and voters
- 90c1603: [ExpressionLanguage] add type-hints whenever possible
- bfabad4: [Config] finish adding parameter types
- 7eb0912: [Process] replace docblocks by type-hints
- e5adbe6: [PropertyAccess] add type-hints to public interfaces and classes
- 78dc3c3: [Workflow] added parameter typhint where possible
- 53e68f7: [Translator] add parameter type-hints where possible
- 885a192: [WebProfilerBundle] add parameter type-hints where possible
Newest issues and pull requests
- [HttpClient] Ability to add middlewares
- [Validation] Add a new ZipCode constraint
- [Form] Show errors even without submit
- [Ldap] Allow newer LDAP options
They talked about us
- Disable the HTML5 validation of all your Symfony forms with a feature flag
- Stop repeating yourself in Doctrine and Symfony forms with Value objects
- How to handle JSON requests using forms on Symfony 4 and getting a clean code
- Unit+Functional test the Symfony4 Messenger
- EasyAdmin and Symfony 4: Image and file uploading without bundles
- Un mes de Symfony. Junio 2019
- Symfony. Validar un objeto en función de su versión previa
- Nuevo en Symfony 4.3: Componente Mailer
- Twig añade nuevos filtros para aplicar el filter, map, reduce
- Désactiver la validation HTML5 de tous vos formulaires Symfony avec un interrupteur de fonctionnalité
Upcoming Symfony Events
- The Twelve Factor Symfony App: London, United Kingdom (July 8)
- Symfony User Group Cologne - July'19: Köln, Germany (July 11)
- Symfony User Group Osnabrück: Osnabrück, Germany (July 11)
- API Platform: A Framework for API-driven projects: San Francisco, United States (July 18)
- Treffen der Symfony User Group Hamburg: Hamburg, Germany (August 6)
Call to Action
- Give Symfony a star on GitHub
- Follow Symfony on Twitter and retweet this article.
- Follow Symfony on Medium and clap for this article.
- Subscribe to the Symfony blog RSS and never miss a Symfony story again.
thank you for information!