Install
Works with Drupal: ^9.3Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
This is a bugfix/maintenance release of Automatic Updates. Since the last release, we've focused on preparations to integrate Package Manager with Project Browser, and getting Automatic Updates Extensions ready for prime time. (We haven't achieved either goal yet, but excellent progress is being made.)
This introduces one API addition to PackageManager: StatusCheckEvent
, which integrating code such as Project Browser can use to do a general system status check, regardless of whether or not a staging area exists, and flag warnings or errors. It's essentially a generalized version of the ReadinessCheckEvent
that already existed in Automatic Updates.
Speaking of "integrating code", we've added a setup_local_dev.sh
script to help folks get up and running developing for Automatic Updates. See DEVELOPING.md for more information.
Here's what changed:
#3305564: Create a validator to stop newly installed packages from overwriting existing directories on apply
#3309891: Update Composer Stager to 1.1
#3308686: Logic error in XdebugValidator
#3303902: Move ProjectInfo class into package_manager
#3293427: Display all projects that will be updated in Extensions confirmation form
#3305568: Create a validator that detects duplicate info.yml files in the stage on apply
#3296261: Add the ability to map package names to project names and vice-versa
#3303113: Add bullet points to the modules listed on the ready to update pages warning message
#3304367: Add StatusCheckEvent to report errors and warnings in the staging error to the user
#3299093: Add validation that staging directory is writable
#3307163: Add the ability to ProjectInfo handle projects not in the active codebase
#3304617: Display readiness checks failure at admin/reports/updates/automatic-update
#3305994: We don't want to run the XdebugValidator for non-Automatic Updates stage.
#3303929: Never allow updating to an un-installable version
#3304036: Convert core_packages.json to YAML
#3305773: Updates ExtensionUpdater to do correct project to package conversion
#3304583: Add a hard dependency on symfony/finder
#3304165: Refactor UpdatePackagesTypeValidator for increased clarity and simplicity
#3305240: Add a link to the the symlink validation message in package_manager to the updated help page
#3304640: Logic error in \Drupal\automatic_updates\Controller\UpdateController::onFinish
#3309025: Document that Stage::require() does not need version numbers
#3303807: Prevent local dev setup script from creating symlinks
#3305874: \Drupal\package_manager\ComposerUtility::getPackageForProject() assumes direct project to package conversion when it should not
#3305998: Ensure AutoUpdate validator only apply where the stage is an Updater instance
#3305312: Add scripts to run PHPCS and PHPCBF
#3304836: Improve/fix the local development environment setup script slightly
#3303727: Document in README how to add paths to composer.json:extra.drupal-core-vendor-hardening to avoid symlink errors
#3309676: \Drupal\Tests\automatic_updates\Kernel\ReadinessValidation\StagedProjectsValidatorTest::testEventConsumesExceptionResults should not disable validators
#3307103: Make setup_local_dev.sh configure PHPUnit, and other enhancements
#3305612: Enhance the local development environment setup script to set some default site config
#3308404: Make PackageManagerUpdateProcessor internal and final
#3308886: Consolidate Test fixture logic
#3307086: In functional tests copy fixtures directories into temporary directory that is writeable
#3306600: Speed up setup_local_dev.sh Drupal core clone
#3307478: Move code to copy files in active and stage directories in a separate function
#3306631: Fix/update a couple lines of environment variable documentation in DEVELOPING.md
#3307168: \Drupal\Tests\automatic_updates_extensions\Kernel\AutomaticUpdatesExtensionsKernelTestBase::setReleaseMetadataForProjects is a duplicate of \Drupal\Tests\automatic_updates\Kernel\AutomaticUpdatesKernelTestBase::setReleaseMetadata
#3307398: PackageManagerKernelTestBase::assertResults() where possible
#3309270: Add Composer command for running tests