Install

Works with Drupal: ^9.1 || ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 197.32 KB
MD5: b35aef9fff86fc5ebd8fc17fdf850df7
SHA-1: f42a80e19bdd96a40c63e6bb4cbe6f5c33b7cdae
SHA-256: c54812f748884810b16372fab0d8c249cc7ef45a023809cd05db71f6f685c4f1
Download zip 231.92 KB
MD5: df417788bb28747b3a3fbaec5dc27a26
SHA-1: 8d991efc5e20c052f1cf1a57dbef8580189187d0
SHA-256: 1caf8e0633d733112ba1f5e359dc90f0da87d57646029d917b116ca78903f512

Release notes

Note! We're aware of an issue that could lead to an error when accessing the config page after this upgrade!

As a work-around, we suggest:

  1. Updating the sitemap module on your local environment
  2. Running drush updatedb or update.php
  3. Running drush config:export or export config from the UI
  4. Committing the change to sitemap.settings.yml
  5. Only then should you run drush deploy, or drush config:import, or import config from the UI

Running database updates and importing config immediately afterwards might lead to a new piece of config being created, and then immediately deleted by the config-import. We are working on this in #3466939: Route "sitemap.page" does not exist error after upgrading to 8.x-2.0-beta7.

What has changed

This release primarily adds Drupal 11 support, but it also fixes a bunch of other issues...

  1. #3425162: Fix spelling mistakes; by PrabuEla, mparker17, sakthi_dev
  2. #3348769: Customize the sitemap path; by mparker17, firewaller
  3. Upgrade drupal.org GitLab template to version 1.5.1.
  4. Add mlid to Custom project dictionary.
  5. Fix phpcs lints.
  6. Opt into Continuous forward compatibility checking.
  7. #3454907: Drupal 11 compatibility fixes for sitemap; by mparker17, sarwan_verma, Arijit Acharya. This also fixed several other issues:
    1. #3331620: Settings form takes forever to load when there are many books
    2. #3425158: Fix deprecated code usage
    3. #3425160: Fix dependency injection
    4. #3425161: Fix methods that should return a value but do not
    5. some of #3150052: Hide books, vocabularies from settings form if modules are not enabled.

    ... it also adds a new sub-module, sitemap_book, now that the book module is in contrib. See also change records 3422993 and 3444573 (and their associated issues); and the official recommendations for the Book module.

  8. #3465581: Resolve some dependency injection issues; by mparker17
  9. #3465596: Fix missing return case in sitemap_book_title_update(); by mparker17
  10. #3466104: Nested taxonomy terms should be ordered by weight; by dcam
  11. #3465601: Improve configuration schema and how we use it part 1; by mparker17
  12. #3364487: Tour schema properties 'location' and 'attributes' deprecated; by geinosky, Kristen Pol
  13. #3367619: Remove unused variables; by mparker17, arti_parmar

Help wanted

If you are using Sitemap with Drupal 9, 10.0, and/or 10.1, then the Sitemap maintainers want to hear from you in #3465600: Drop support for Drupal 9.x, 10.0 and 10.1, because we are considering dropping support for older versions of Drupal core (doing so would also unblock the rest of #3465601: Improve configuration schema and how we use it).

If you know how to write configuration schemas, the maintainers could really use your help in #3465577: Split sitemap_book config schema from sitemap schema, because we're stumped.

If you have good technical writing skills, the only known blocker for a full, supported release is #3425168: Update the project page.

If you have logo-design skills, you could help us design a logo for Drupal 11's project browser in #3459435: Project Browser: Create a logo for Sitemap!

There are also a handful of issues that the maintainers would like to be able to merge, but are missing tests: https://www.drupal.org/project/issues/search/sitemap?status[]=Open&issue...

This module and branch does not have a stable release, so the security advisory policy does not apply to this module and branch! We want to get this project into a state where all the maintainers feel comfortable making a stable 8.x-2.0 release, and therefore giving it security advisory coverage. You can help out with this effort by picking up one of the "issues blocking a release" in #3425146: [Plan] Stable 8.x-2.0 release.

Created by: mparker17
Created on: 7 Aug 2024 at 01:34 UTC
Last updated: 8 Aug 2024 at 23:13 UTC
Bug fixes
New features

Other releases