Install
Works with Drupal: ^9.1 || ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
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:
- Updating the sitemap module on your local environment
- Running
drush updatedbor update.php - Running
drush config:exportor export config from the UI - Committing the change to
sitemap.settings.yml - Only then should you run
drush deploy, ordrush 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...
- #3425162: Fix spelling mistakes; by PrabuEla, mparker17, sakthi_dev
- #3348769: Customize the sitemap path; by mparker17, firewaller
- Upgrade drupal.org GitLab template to version 1.5.1.
- Add mlid to Custom project dictionary.
- Fix phpcs lints.
- Opt into Continuous forward compatibility checking.
- #3454907: Drupal 11 compatibility fixes for sitemap; by mparker17, sarwan_verma, Arijit Acharya. This also fixed several other issues:
- #3331620: Settings form takes forever to load when there are many books
- #3425158: Fix deprecated code usage
- #3425160: Fix dependency injection
- #3425161: Fix methods that should return a value but do not
- 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. - #3465581: Resolve some dependency injection issues; by mparker17
- #3465596: Fix missing return case in sitemap_book_title_update(); by mparker17
- #3466104: Nested taxonomy terms should be ordered by weight; by dcam
- #3465601: Improve configuration schema and how we use it part 1; by mparker17
- #3364487: Tour schema properties 'location' and 'attributes' deprecated; by geinosky, Kristen Pol
- #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.