Install
Works with Drupal: ^9.1 || ^10Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
8.x-2.0-beta5 release.
The biggest change in this release is that 3 new permissions have been added:
- a permission to set the Feed URL textbox on the Site front page plugin (the permission is labelled Set front page RSS link on sitemap, and has the machine name
set front page rss link on sitemap), - a permission to set the Show disabled menu items checkbox on menu plugins (the permission is labelled Choose whether to show disabled menu items on the sitemap, and has the machine name
show disabled menu items on sitemap), and - a permission to set the Display unpublished taxonomy terms checkbox on vocabulary plugins (the permission is labelled Choose whether to show unpublished taxonomy terms on the sitemap, and has the machine name
show unpublished taxonomy terms on sitemap).
Your site's Administrator role (set at /admin/people/role-settings) will get the new permissions automatically. But, if you have other roles with the Administer sitemap permission, you should review whether or not these roles need the new permissions; although I don't anticipate that many will, because the use-case for showing disabled menu items and unpublished terms is pretty niche. The new permissions are marked with Warning: Give to trusted roles only; this permission has security implications (i.e.: restrict access).
Also, on the Sitemap settings page at /admin/config/search/sitemap, the "Show disabled menu items" and "Display unpublished taxonomy terms" checkboxes (in the Menu and Vocabulary plugins respectively) had warning messages added to their descriptions, because they can be easy to mis-configure if you are not paying attention. I suggest taking this opportunity to review your sitemap's Menu and Vocabulary plugins, to make sure that the "Show disabled menu items" and "Display unpublished taxonomy terms" settings are set correctly for your use-case.
Note that this module and branch does not have a stable release, so the security advisory policy doesn't apply to this module and branch.
I would like to get this project into a state where we 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.
Full list of things changed:
- #3354789: $(...).once is not a function on Drupal 10 by mukesh88
- #3357186: Fix JS coding standards by mparker17
- #3320622: Replace README.txt with README.md by mparker17
- Drupal.org GitLab CI support, and some cleanup for various lints and test failures by mparker17 (commits 36847a0, f4a35c5, 3f63f75, 7e3620d, 518dc61, 5fb77eb, 139114c, 92adf33, 1865a59, and e345fa5)
- #3350211: Add tests for the Sitemap plugin API by mparker17, Diego_Mow, and Ambient.Impact
- Add permissions to set the feed URL, display disabled menu links, and display unpublished terms (commit 0208f8a) by mparker17