Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 884 Bytes

UPGRADE-6.1.md

File metadata and controls

31 lines (21 loc) · 884 Bytes

UPGRADE FROM 6.0 to 6.1

All components

  • Public and protected properties are now considered final; instead of overriding a property, consider setting its value in the constructor

Console

  • Deprecate Command::$defaultName and Command::$defaultDescription, use the AsCommand attribute instead

HttpKernel

  • Deprecate StreamedResponseListener, it's not needed anymore

Serializer

  • Deprecate ContextAwareNormalizerInterface, use NormalizerInterface instead
  • Deprecate ContextAwareDenormalizerInterface, use DenormalizerInterface instead
  • Deprecate ContextAwareEncoderInterface, use EncoderInterface instead
  • Deprecate ContextAwareDecoderInterface, use DecoderInterface instead

Validator

  • Deprecate Constraint::$errorNames, use Constraint::ERROR_NAMES instead