Install

Works with Drupal: ^8.7.7 || ^9

Using Composer to manage Drupal site dependencies

Alternative installation files

Download simple_sitemap-4.0.0.tar.gztar.gz 110.16 KB
MD5: d424f8ece95ba0b5bda7c59371641065
SHA-1: ef7a8b74a6d10e594b88d8f38ce82d9e64b83fd8
SHA-256: 0de37aa279ade670ea4198b8b83f0c43128c4f0481eea24443a313d2208244ee
Download simple_sitemap-4.0.0.zipzip 180.45 KB
MD5: c11cb45acc574ed8cc4785788bfdc024
SHA-1: e8ed94052061cb60c890927871e41241d8dec9f6
SHA-256: 2735764443cdebcd91a9422849960a54cae883cce57b71ad94bb34af30c57734

Release notes

Major rewrite of the module. 4.x makes much 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.

Notable changes from 4.0.0-rc1

#3245819: Unpublished taxonomy terms show up in the sitemap (3.x)
#3247216: PHP Fatal error: Declaration of Drupal\simple_sitemap\Entity\SimpleSitemap::purgeContent

Notable changes from 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.

This took a lot of effort; thanks to everyone who helped out!

Created by: gbyte
Created on: 14 Nov 2021 at 23:45 UTC
Last updated: 26 Nov 2021 at 14:15 UTC
Bug fixes
New features

Other releases