2.0.0
July 28th, 2026
Breaking changes
- Dropped support for Statamic 3 and 4. The addon now requires Statamic 5 or 6 and PHP 8.2+.
SitemapEntryAPI changed:priorityis now afloat(was a string),lastmodis now nullable, and the constructor signature was updated accordingly. Custom templates oraddEntries()callers reading these properties may need adjustment.- Default cache lifetime (
expire) raised from 60 seconds to 1 day. Content changes now invalidate the cache immediately via events (see below), so a long lifetime is safe and reduces regeneration.
Features
- Event-based cache invalidation: the sitemap cache is now flushed automatically whenever an entry or term is saved or deleted, so changes appear immediately regardless of
expire.
Improvements
- Performance: entries are now filtered by collection and status at the query level instead of loading every entry and filtering in PHP.
- Cleaner XML output: the priority default (1.0 for the root path, 0.8 otherwise) is computed in PHP, removing stray whitespace from the
<priority>element.
Fixes
- Fixed a crash when an entry had no
lastmod(last modification) date. - Fixed type inconsistencies (
isAbsoluteUrlnow returns a real bool;priorityis normalized to a float). Generatoris no longer needlessly extendingFacade.
Internal
- Added a test suite (unit + feature coverage) and a GitHub Actions matrix testing PHP 8.2/8.3/8.4 against Statamic 5 and 6.
- Extracted the shared site-prefix logic into the service provider.
1.4.10
September 30th, 2025
add Statamic 6 compatibility
1.4.9
January 29th, 2025
Get rid of updater issue
1.4.8
January 29th, 2025
Allow invokable class as filter - thanks to Frederik Sauer for submission.
1.4.7
May 9th, 2024
add support for statamic 5
1.4.6
June 6th, 2023
Fixed class loading in Statamic 3
1.4.5
May 17th, 2023
Add routes to SSG if available
1.4.4
May 17th, 2023
- N/A Changelog not available.
1.4.3
May 17th, 2023
Improvement: filter entries by locale and exclude redirects
1.4.2
May 10th, 2023
add support for statamic 4.0
1.4.1
February 17th, 2023
fixes bug of non-released entries in sitemap
1.4.0
May 17th, 2022
Entries can now be added programmatically.
1.3.0
May 16th, 2022
add multi-site support
1.2.8
March 15th, 2022
fix for statamic 3.3
1.2.7
October 13th, 2021
Fixes related to antlers templates and cache key
1.2.6
October 5th, 2021
fix content-type
1.2.5
July 6th, 2021
Removed closures from default config.
1.2.4
June 24th, 2021
Fix: check that the absolute url is not null
1.2.3
May 25th, 2021
- N/A Changelog not available.
1.2.2
May 14th, 2021
use permalink instead of absolute_url
1.2.1
March 30th, 2021
- Smaller fix for passing priority in page variables
1.2.0
March 23rd, 2021
- New added optional callbacks to filter your sitemap and modify properties (like priority or frequency)
1.1.0
March 23rd, 2021
- New you can now configure what pages/tags should be included in the sitemap
1.0.4
December 12th, 2020
- N/A Changelog not available.
1.0.3
December 11th, 2020
- N/A Changelog not available.
1.0.2
November 30th, 2020
- N/A Changelog not available.
1.0.1
November 3rd, 2020
- N/A Changelog not available.
1.0
October 27th, 2020
- N/A Changelog not available.