diff --git a/core/core.libraries.yml b/core/core.libraries.yml index 69b1e140bf77f8a02342755bff98f1bedcdc993e..fe4e8a8b351f52903de904f46ed5b00ab09da44f 100644 --- a/core/core.libraries.yml +++ b/core/core.libraries.yml @@ -356,6 +356,7 @@ html5shiv: gpl-compatible: true js: assets/vendor/html5shiv/html5shiv.min.js: { weight: -22, browsers: { IE: 'lte IE 8', '!IE': false }, minified: true } + deprecated: The "%library_id%" asset library is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. See https://www.drupal.org/node/3086383 jquery: remote: https://github.com/jquery/jquery diff --git a/core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php b/core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php index f9e346ac4c2c01ea9723531d4ba7e44409bbdbdd..5299822ffa1efcf04251a4192af0e56eabc094ae 100644 --- a/core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php +++ b/core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php @@ -142,6 +142,7 @@ public static function getSkippedDeprecations() { 'The "Symfony\Component\BrowserKit\Response::getStatus()" method is deprecated since Symfony 4.3, use getStatusCode() instead.', // @todo Remove in https://www.drupal.org/project/drupal/issues/3082655 'Drupal\Tests\BrowserTestBase::$defaultTheme is required in drupal:9.0.0 when using an install profile that does not set a default theme. See https://www.drupal.org/node/2352949, which includes recommendations on which theme to use.', + 'The "core/html5shiv" asset library is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. See https://www.drupal.org/node/3086383', ]; }