Automatic Updates has an event called \Drupal\automatic_updates\Event\ReadinessCheckEvent, which is dispatched at various times to ensure that the system is ready for automatic updates.
This event has been replaced by a more general-purpose event in Package Manager, called \Drupal\package_manager\Event\StatusCheckEvent. It works the same way and has the same functionality. Any custom code integrating with Automatic Updates should stop listening to ReadinessCheckEvent, and listen to StatusCheckEvent instead.
The following classes/interfaces are deprecated:
- \Drupal\automatic_updates\Event\ReadinessCheckEvent
- \Drupal\package_manager\Validator\PreOperationStageValidatorInterface
The internal class Drupal\automatic_updates\Validator\PackageManagerReadinessCheck has been removed outright. The following internal services have also been removed:
- automatic_updates.composer_executable_validator
- automatic_updates.settings_validator
- automatic_updates.validator.environment_support
- automatic_updates.validator.composer_settings
- automatic_updates.disk_space_validator
- automatic_updates.pending_updates_validator
- automatic_updates.validator.file_system_permissions
- automatic_updates.validator.multisite
- automatic_updates.validator.symlink
- automatic_updates.validator.patches
The automatic_updates.readiness_validation_manager service, and the \Drupal\automatic_updates\Validation\ReadinessValidationManager class, have been deprecated as well and replaced with automatic_updates.status_checker and \Drupal\automatic_updates\Validation\StatusChecker, respectively.