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.

3.4 changelog:

  • db05791: [DependencyInjection] fixed processing of regular parameter bags by MergeExtensionConfigurationPass
  • a383649: [FrameworkBundle] reset cache pools between requests
  • 7f43681: [SecurityBundle] conditionally register services

4.2 changelog:

  • 26048bc: [FrameworkBundle] unconditionally register the DateIntervalNormalizer
  • c33c396: [Lock] stores must implement putOffExpiration
  • 8e07e77: [Messenger] don't pass objects as class name to ContainerBuilder::register

4.3 changelog:

  • 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

4.4 changelog:

  • 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

Master changelog:

  • 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

They talked about us

Upcoming Symfony Events

Call to Action

Published in #A week of symfony