Install
Works with Drupal: ^8.7.7 || ^9Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
4.x is a major rewrite of the module. It makes greater use of Drupal's entity API dropping some of its very specific chaining API. See #3219383: Roadmap for 4.x.
I encourage everyone to use this over 3.x. If you rely on the deprecated 3.x API, you may need to adjust a couple of method calls. See readme for basic API usage instructions and check out code documentation. New features are only coming to 4.x.
Changes since 4.0.0
Bug fixes
#3252044: Previously published sitemap unpublished during generation
New features
#3219888: Provide bundle settings on SimplesitemapEntitiesForm
Improvements
#3250675: Form alter triggers sitemap processing even if the user can't edit sitemaps
Notable changes since 3.x
#3245449: Simplify & clean up API
#3219389: Allow creating sitemap types via UI
#3219385: Convert sitemap variants to proper configuration entities
#3219386: Convert sitemap types to proper configuration entities
#3220168: Improve decoupling of storage
#3219388: Decoupling of custom link & entity URL generating functionality
#3027987: Throw and Catch exceptions in API
Upgrade path
Upgrade path from 3.x and 2.x for regular users is available.
If you have extended this module by using its API, you will most probably have to adapt that functionality to the new (cleaner) API. If you are using 3rd party contributed simple_sitemap submodules, you may find they are not ported to 4.x yet and will stop working. In this case, please open up issues in the respective queues.
See this blog post about the release.