Install

Works with Drupal: ^9.3

Using Composer to manage Drupal site dependencies

Alternative installation files

Download automatic_updates-8.x-2.2.tar.gztar.gz 200.27 KB
MD5: ce749c38eba7068466167836648c3e83
SHA-1: eda71f040e8a521e162d124c63eb8a6ce88244ca
SHA-256: 48d39a3e4c02e76867936cf0205c052bb1f47c675d2707f79a9de9e99eaaa256
Download automatic_updates-8.x-2.2.zipzip 506.43 KB
MD5: ef24c48421a1dda9e9ed459e082177bd
SHA-1: f725ac2aaaa25367059b75838f07a94ee0aa945c
SHA-256: 92b373f56f4880f26404d9bf032c28fcdc342cac83ff5c8c8565a616649d0678

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

Created by: phenaproxima
Created on: 20 Sep 2022 at 14:01 UTC
Last updated: 20 Sep 2022 at 14:03 UTC
Bug fixes
New features

Other releases