Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 1.68 KB

UPGRADE-6.4.md

File metadata and controls

62 lines (40 loc) · 1.68 KB

UPGRADE FROM 6.3 to 6.4

Cache

  • EarlyExpirationHandler no longer implements MessageHandlerInterface, rely on AsMessageHandler instead

DependencyInjection

  • Deprecate ContainerAwareInterface and ContainerAwareTrait, use dependency injection instead

DoctrineBridge

  • Deprecate DbalLogger, use a middleware instead
  • Deprecate not constructing DoctrineDataCollector with an instance of DebugDataHolder
  • Deprecate DoctrineDataCollector::addLogger(), use a DebugDataHolder instead
  • Deprecate ContainerAwareLoader, use dependency injection in your fixtures instead

ErrorHandler

  • FlattenExceptionNormalizer no longer implements ContextAwareNormalizerInterface

Form

  • Deprecate using DateTime or DateTimeImmutable model data with a different timezone than configured with the model_timezone option in DateType, DateTimeType, and TimeType

FrameworkBundle

  • Add native return type to Translator and to Application::reset()

HttpFoundation

  • Make HeaderBag::getDate(), Response::getDate(), getExpires() and getLastModified() return a DateTimeImmutable

HttpKernel

  • BundleInterface no longer extends ContainerAwareInterface
  • Add native return types to TraceableEventDispatcher and to MergeExtensionConfigurationPass

MonologBridge

  • Add native return type to Logger::clear() and to DebugProcessor::clear()

Routing

  • Add native return type to AnnotationClassLoader::setResolver()

Security

  • UserValueResolver no longer implements ArgumentValueResolverInterface