This release cleans up configuration for a legacy feature: the Syndicate (sitemap) block, a feature which was carried over from the site_map module, but never fully implemented for Drupal 8+. See the comments in [#3545794] for more details. To avoid breaking backwards compatibility, the Syndicate (sitemap) block code has been deprecated for removal in sitemap-3.0.0.
Upgrade instructions
This release contains two database updates which modify configuration. If you are using Configuration Management, then you will need to run the database update and then immediately export configuration (otherwise you may get an error). We suggest the following workflow:
- On your local environment:
- Run
composer update -w drupal/sitemapto update the sitemap module's code - Run
drush updatedborupdate.phpto run database updates - Run
drush config:exportor export config from the UI to capture the configuration changes made by the post-update hooks - Commit the changes to configuration and
composer.lock - Push your new commit
- Run
- Afterwards, on other copies of the site:
- Pull the new commit
- Run
composer installto update the sitemap module's code - Run
drush -y deploy, or run database updates and then import configuration through the UI
This procedure is documented in the official instructions, but I find gbyte's article on In which order should be Drupal updates and configuration import/export run? to be a bit easier to reference.
Changes since version 8.x-2.4
For a summary of the most important changes, see the change records for version 8.x-2.5.
All issues included in this release:
- fix: [#3545858] by @mparker17 and @phenaproxima
- fix: [#3545794] by @phenaproxima and @mparker17
Thank you
Thanks to @phenaproxima for contributing to this release; and to my employers/clients Ontario Digital Service, and Consensus Enterprises who sponsored some time for me to maintain this module!