Topic

Drupal core uses a regular release cycle to introduce new features and security updates. Contributed modules and contributed themes also have periodic updates to address security issues, add new features, and fix bugs. Updating is the process of moving from one version of a project to another, within the same major release.

Make sure you understand the difference between updating and upgrading. For upgrading a major version, see our Upgrade to Drupal 8 topic.

Updating to 8.8.0 from previous minor versions

Key changes were made to Drupal 8.8.0 as part of the Composer Initiative, which will significantly improve Composer workflows for managing Drupal sites in the long run. However, there are some special considerations that might affect the upgrade from previous versions. See Update core via Composer.

Example tasks

  • Perform security updates to Drupal core and contributed modules
  • Update Drupal core for a patch version, e.g. from Drupal 8.3.1 to 8.3.2
  • Update Drupal core for a minor version, e.g. from Drupal 8.3.5 to 8.4.0
  • Update a contributed module to a new version, e.g. Pathauto 8.x-3.0 to 8.x-3.1
  • Keep track of Drupal's minor release and security updates

Confidence

The best-practice for Drupal 8 right now is to use Composer. There is ongoing work to provide alternatives, but none of those have come to fruition yet. We have high confidence that the information on Drupal.org and in the Drupal 8 User Guide will be updated with current best practices as they evolve. Simply put, this process involves updating the code in your project with the latest code from Drupal.org, so any process that facilitates doing that will continue to work.

Drupalize.Me resources

This chapter of the User Guide provides an overview of security and maintenance concepts and includes step-by-step tutorials on updating the core software, modules, and themes.

For Drupal 7:

More Guides

We have guides on many Drupal skills and topics.

Explore guides

External resources

  • Update Procedure in Drupal 8 (drupal.org)
    • Much of the same information as the above resources, though more condensed. Use this if you're already familiar with the process and just need a reminder of what commands to run.
  • Update core via Composer (drupal.org)
    • Key changes were made to Drupal 8.8.0 as part of the Composer Initiative, which will significantly improve Composer workflows for managing Drupal sites in the long run. However, there are some special considerations that might affect the upgrade from previous versions.
  • Updating to Drupal 8.8.0 Beta with Composer (previousnext.com.au)
    • PreviousNext continue to be major contributors to the development and promotion of Drupal 8. As participants of the Drupal 8.8.0 Beta Testing Program, we thought it would be useful to document the steps we took to update one of our sites on Drupal 8.7 to the latest 8.8.0 beta. Every site is different, so your mileage may vary, but it may save you some time.
  • Tips for Managing Drupal 8 projects with Composer (jeffgeerling.com)
    • This post contains a bunch of tips and tricks that go beyond the standard install/uninstall instructions you'll find in most other places. Learn about using version constraints, updating modules you've already installed, and more.