Install

Works with Drupal: ^9.4 || ^10

Using Composer to manage Drupal site dependencies

Alternative installation files

Download metatag-2.0.0.tar.gztar.gz 219.13 KB
MD5: d770e9a24852325117053a6c2dbaa46a
SHA-1: e6119f179cacfda17b4d2582eef61e656c9f77bc
SHA-256: 0d1948220d65c57cf685429d43f2084927b896e1cc44425205a870775ffa7408
Download metatag-2.0.0.zipzip 516.28 KB
MD5: 1460c9f1ce6fda591bd9ec588a7355af
SHA-1: 2966c854d982b7069b1c0111519427990ebbad40
SHA-256: 9b9b6b592519bf2a2f43c1d97157df7599ae9665d0416dd97f5af54e017a5c90

Release notes

This is the first release of Metatag 2 for Drupal 9+.

There are a good number of changes from v8.x-1.x, and a number of update scripts have been provided to adjust sites so they can be compatible. Please make sure to test this update on a non-production copy of all sites to ensure everything still works correctly after the update.

Sites that have custom integrations with the Metatag module will need to review the API changes and adjust their integrations as necessary. Likewise, maintainers of contributed projects that integrate with it may need to update their modules to ensure compatibility.

A sincere thank you to everyone who collaborated on this release.

Please make sure to read the release notes for 2.0.0-rc1 and 2.0.0-rc2 for further details.

Notes on updating from 8.x-1.x releases

  • Remember to always update a module on a copy of the site before deploying changes to the production environment, to avoid surprises.
  • When updating from Metatag v1 releases it is important to note that some files have been removed and others added, so it is important to rebuild the site's caches to avoid errors being logged.
  • There are a number of update scripts that will run, they should work without any problems but please open a bug report if any of them fail.
  • If the site gives warnings about not being able to find MetatagServiceProvider.php after updating, make sure to rebuild the site's caches. If that doesn't fix it, try restarting the PHP opcache, or web server if needed; sometimes the opcache can refuse to rebuild the class cache without some harder poking.
  • Sites that also use Schema.org Metatag will need to update to its new v3 releases at the same time, e.g.: composer require drupal/metatag:^2 drupal/schema_metatag:^3
  • This release requires PHP 8.0, so local infrastructure (ddev, etc), web servers and the composer.json file will need to be updated accordingly.

Change notices

Contributors (3)

jwilson3, DamienMcKenna, pvbergen

Changelog

Issues: 10 issues resolved.

Changes since 2.0.0-rc2:

Bug

Task

Created by: DamienMcKenna
Created on: 27 Jun 2023 at 09:09 UTC
Last updated: 18 Aug 2023 at 14:17 UTC
Bug fixes

Other releases