Install

Works with Drupal: ^9.3 || ^10

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 122.06 KB
MD5: 5640abef071c48ea314cd3c5ff236608
SHA-1: df06ee6a6333862be4df532ba62ee84780b956fe
SHA-256: 0fcae4968f98d411a78b7c39ed66a763064120df9a9d7ad4d02b2549b4af2201
Download zip 208.74 KB
MD5: 22fc038dfa11b28d45650659bb73bb89
SHA-1: 0b695684d0a6dd2a6162051aac7dab4852d72214
SHA-256: d3ed685850731a07365b9be6ff05e01e02b4464ee03cdf70cd1831a86fb5e9bf

Release notes

Core compatibility

This version adds Drupal 10 compatiblity and stops supporting Drupal 9.2 and lower (as the security support for these versions has just been dropped).

Index of sitemap variants

There is now the ability to create an index of all sitemap variants (in addition to splitting up the sitemap and creating an index of those chunks).

Sitemaps can also be disabled (unpublished) without having to remove their entities.

All changes since 4.1.1

Bug fixes

#3073753: Updb fails, TypeError: Argument 1 passed to Drupal\Core\Config\Config::setData() must be of the type array, null given
#3268899: FormHelper::displayEntitySettings() must be of the type array, null given
#3283667: EntityManager::setEntityInstanceSettings() may work improperly for multiple variants

New features

#3109090: Sitemap variant index functionality
#3269333: Add ability to disable sitemap variants
#3265009: Add support for Drupal 10

Improvements

#3269173: Do not display indexNow override checkbox if verification key has not been added
#3271721: Refactor FormHelper classes
#3178229: Don't de-duplicate URLs with different query strings
#3176344: Add sitemap settings to entity forms using hook_entity_extra_field_info

Notable changes since 3.x

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.

#3256453: Add IndexNow capability to search engine integration
#3219389: Allow creating sitemap types via UI
#3245449: Simplify & clean up API
#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
#3269333: Add ability to disable sitemap variants
#3265009: Add support for Drupal 10
#3109090: Sitemap variant index functionality

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.

Visit this resource for more information about this project.

Created by: gbyte
Created on: 15 Jun 2022 at 23:08 UTC
Last updated: 15 Jun 2022 at 23:09 UTC
Bug fixes
New features
Insecure
Unsupported

Other releases