# Changelog All notable changes to `laravel-sitemap` will be documented in this file ## 8.0.1 - 2026-03-02 ### What's Changed * v8: Upgrade to crawler v9, Pest v4, PHP 8.4+ by @freekmurze in https://github.com/spatie/laravel-sitemap/pull/590 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/8.0.0...8.0.1 ## 8.0.0 - 2026-03-02 - Upgrade `spatie/crawler` to v9 - Upgrade Pest to v4 - Require PHP 8.4+ - Drop Laravel 11 support - Add `maxTagsPerSitemap()` to `Sitemap` for automatic splitting into multiple files with a sitemap index - Add `setStylesheet()` to `Sitemap` and `SitemapIndex` for XSL stylesheet support - Fix fragile URL path extraction in `SitemapGenerator::writeToFile()` when splitting sitemaps - Fix nullable type hints in `Video` and `Alternate` tag classes - Remove `Spatie\Sitemap\Crawler\Observer` class (use closure callbacks instead) - `shouldCrawl` callback now receives `string` instead of `UriInterface` - `hasCrawled` callback now receives `CrawlResponse` instead of `ResponseInterface` - Custom crawl profiles must implement the `CrawlProfile` interface (was abstract class) - Redirects are now followed by default - Remove `guzzlehttp/guzzle` and `symfony/dom-crawler` as direct dependencies - Simplify config defaults (guzzle options now merged with crawler defaults) **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/7.4.0...8.0.0 ## 7.4.0 - 2026-02-21 Add Laravel 13 support ## 7.3.8 - 2025-11-25 ### What's Changed * Update issue template by @AlexVanderbist in https://github.com/spatie/laravel-sitemap/pull/578 * Bump stefanzweifel/git-auto-commit-action from 6 to 7 by @dependabot[bot] in https://github.com/spatie/laravel-sitemap/pull/579 * Added Symfony 8 support to all symfony/* packages. by @thecaliskan in https://github.com/spatie/laravel-sitemap/pull/582 * Bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/spatie/laravel-sitemap/pull/583 ### New Contributors * @thecaliskan made their first contribution in https://github.com/spatie/laravel-sitemap/pull/582 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/7.3.7...7.3.8 ## 7.3.7 - 2025-08-25 ### What's Changed * Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot[bot] in https://github.com/spatie/laravel-sitemap/pull/573 * Skip empty URL string returned from `toSitemapTag()` by @ekateiva in https://github.com/spatie/laravel-sitemap/pull/577 * Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/spatie/laravel-sitemap/pull/576 * Bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot[bot] in https://github.com/spatie/laravel-sitemap/pull/575 ### New Contributors * @ekateiva made their first contribution in https://github.com/spatie/laravel-sitemap/pull/577 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/7.3.6...7.3.7 ## 7.3.6 - 2025-04-10 ### What's Changed * Update url.blade.php by @inoha-kudo in https://github.com/spatie/laravel-sitemap/pull/569 * Fix missing closing tags and some indenting by @NickMous in https://github.com/spatie/laravel-sitemap/pull/570 * Render and by @lukas-pierce in https://github.com/spatie/laravel-sitemap/pull/572 ### New Contributors * @inoha-kudo made their first contribution in https://github.com/spatie/laravel-sitemap/pull/569 * @NickMous made their first contribution in https://github.com/spatie/laravel-sitemap/pull/570 * @lukas-pierce made their first contribution in https://github.com/spatie/laravel-sitemap/pull/572 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/7.3.5...7.3.6 ## 7.3.5 - 2025-02-21 ### What's Changed * Update README.md According to Commit cfa3184 by @mahdirezaei-dev in https://github.com/spatie/laravel-sitemap/pull/565 * Support for Laravel 12 by @pascalbaljet in https://github.com/spatie/laravel-sitemap/pull/568 ### New Contributors * @mahdirezaei-dev made their first contribution in https://github.com/spatie/laravel-sitemap/pull/565 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/7.3.4...7.3.5 ## 7.3.4 - 2025-01-31 ### What's Changed * Make `$response` param explicitly nullable by @JonPurvis in https://github.com/spatie/laravel-sitemap/pull/564 ### New Contributors * @JonPurvis made their first contribution in https://github.com/spatie/laravel-sitemap/pull/564 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/7.3.3...7.3.4 ## 7.3.3 - 2025-01-27 ### What's Changed * Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in https://github.com/spatie/laravel-sitemap/pull/561 * Making possible to add Crawl Observers by @noith in https://github.com/spatie/laravel-sitemap/pull/560 ### New Contributors * @noith made their first contribution in https://github.com/spatie/laravel-sitemap/pull/560 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/7.3.2...7.3.3 ## 7.3.2 - 2025-01-13 ### What's Changed * Revert PR 558 by @freekmurze in https://github.com/spatie/laravel-sitemap/pull/559 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/7.3.1...7.3.2 ## 7.3.1 - 2025-01-06 ### What's Changed * Make BrowserShot Optional in SitemapGenerator by @antonioribeiro in https://github.com/spatie/laravel-sitemap/pull/558 ### New Contributors * @antonioribeiro made their first contribution in https://github.com/spatie/laravel-sitemap/pull/558 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/7.3.0...7.3.1 ## 7.3.0 - 2024-12-02 ### What's Changed * Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in https://github.com/spatie/laravel-sitemap/pull/544 * Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in https://github.com/spatie/laravel-sitemap/pull/553 * Update PHP version constraints to support PHP 8.4 by @Robinvm in https://github.com/spatie/laravel-sitemap/pull/555 ### New Contributors * @Robinvm made their first contribution in https://github.com/spatie/laravel-sitemap/pull/555 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/7.2.1...7.3.0 ## 7.2.1 - 2024-06-04 ### What's Changed * remove deprecated tgas from url blade by @rivassh in https://github.com/spatie/laravel-sitemap/pull/545 * Update README.md by @kamilkozak in https://github.com/spatie/laravel-sitemap/pull/547 ### New Contributors * @rivassh made their first contribution in https://github.com/spatie/laravel-sitemap/pull/545 * @kamilkozak made their first contribution in https://github.com/spatie/laravel-sitemap/pull/547 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/7.2.0...7.2.1 ## 7.2.0 - 2024-02-15 ### What's Changed * Add Laravel 11 Support by @Jubeki in https://github.com/spatie/laravel-sitemap/pull/538 ### New Contributors * @Jubeki made their first contribution in https://github.com/spatie/laravel-sitemap/pull/538 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/7.1.1...7.2.0 ## 7.1.1 - 2024-01-26 ### What's Changed * Symfony Dom Crawler Version Upgrade to 7.0 by @karakhanyans in https://github.com/spatie/laravel-sitemap/pull/537 ### New Contributors * @karakhanyans made their first contribution in https://github.com/spatie/laravel-sitemap/pull/537 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/7.1.0...7.1.1 ## 7.1.0 - 2024-01-24 ### What's Changed * Update README.md by @DannyCooper in https://github.com/spatie/laravel-sitemap/pull/528 * Bump actions/cache from 3 to 4 by @dependabot in https://github.com/spatie/laravel-sitemap/pull/535 * Add public for ->writeToDisk() as option by @bmckay959 in https://github.com/spatie/laravel-sitemap/pull/534 ### New Contributors * @DannyCooper made their first contribution in https://github.com/spatie/laravel-sitemap/pull/528 * @bmckay959 made their first contribution in https://github.com/spatie/laravel-sitemap/pull/534 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/7.0.0...7.1.0 ## 7.0.0 - 2023-10-24 - add compatibility with spatie/crawler v8 ## 6.4.0 - 2023-10-18 ### What's Changed - Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in https://github.com/spatie/laravel-sitemap/pull/513 - Fix `lastmod` tests by @bakerkretzmar in https://github.com/spatie/laravel-sitemap/pull/516 - Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/spatie/laravel-sitemap/pull/518 - Add video tags as separate list by @Briareos17 in https://github.com/spatie/laravel-sitemap/pull/525 - Allow priority value of `0` by @bakerkretzmar in https://github.com/spatie/laravel-sitemap/pull/517 - Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in https://github.com/spatie/laravel-sitemap/pull/523 - Add Google News support by @Briareos17 in https://github.com/spatie/laravel-sitemap/pull/526 ### New Contributors - @bakerkretzmar made their first contribution in https://github.com/spatie/laravel-sitemap/pull/516 - @Briareos17 made their first contribution in https://github.com/spatie/laravel-sitemap/pull/525 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/6.3.1...6.4.0 ## 6.3.1 - 2023-06-27 ### What's Changed - Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in https://github.com/spatie/laravel-sitemap/pull/506 - Remove default lastModificationDate = now() by @robindirksen1 in https://github.com/spatie/laravel-sitemap/pull/510 - Update README.md by @s-light in https://github.com/spatie/laravel-sitemap/pull/499 ### New Contributors - @robindirksen1 made their first contribution in https://github.com/spatie/laravel-sitemap/pull/510 - @s-light made their first contribution in https://github.com/spatie/laravel-sitemap/pull/499 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/6.3.0...6.3.1 ## 6.3.0 - 2023-04-28 ### What's Changed - Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/spatie/laravel-sitemap/pull/491 - Bump actions/cache from 1 to 3 by @dependabot in https://github.com/spatie/laravel-sitemap/pull/482 - Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in https://github.com/spatie/laravel-sitemap/pull/504 - Add video tag by @erfansahaf in https://github.com/spatie/laravel-sitemap/pull/503 ### New Contributors - @erfansahaf made their first contribution in https://github.com/spatie/laravel-sitemap/pull/503 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/6.2.5...6.3.0 ## 6.2.5 - 2023-01-26 ### What's Changed - Revert "fix for maximum crawl limit (#470)" by @BoGnY in https://github.com/spatie/laravel-sitemap/pull/490 ### New Contributors - @BoGnY made their first contribution in https://github.com/spatie/laravel-sitemap/pull/490 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/6.2.4...6.2.5 ## 6.2.4 - 2023-01-24 ### What's Changed - Refactor tests to Pest by @alexmanase in https://github.com/spatie/laravel-sitemap/pull/476 - Add Dependabot Automation by @patinthehat in https://github.com/spatie/laravel-sitemap/pull/480 - Add PHP 8.2 Support by @patinthehat in https://github.com/spatie/laravel-sitemap/pull/479 - Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/spatie/laravel-sitemap/pull/483 - Fix github badges by @Tofandel in https://github.com/spatie/laravel-sitemap/pull/488 - Add laravel 10.x Compactibility by @njoguamos in https://github.com/spatie/laravel-sitemap/pull/489 ### New Contributors - @alexmanase made their first contribution in https://github.com/spatie/laravel-sitemap/pull/476 - @patinthehat made their first contribution in https://github.com/spatie/laravel-sitemap/pull/480 - @dependabot made their first contribution in https://github.com/spatie/laravel-sitemap/pull/483 - @Tofandel made their first contribution in https://github.com/spatie/laravel-sitemap/pull/488 - @njoguamos made their first contribution in https://github.com/spatie/laravel-sitemap/pull/489 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/6.2.3...6.2.4 ## 6.2.3 - 2022-10-24 ### What's Changed - Image title and license shouldn't be URLs by @madman-81 in https://github.com/spatie/laravel-sitemap/pull/475 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/6.2.2...6.2.3 ## 6.2.2 - 2022-09-22 ### What's Changed - Fix maximum crawl count by @Akilez in https://github.com/spatie/laravel-sitemap/pull/470 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/6.2.1...6.2.2 ## 6.2.1 - 2022-08-23 ### What's Changed - Update .gitattributes by @angeljqv in https://github.com/spatie/laravel-sitemap/pull/452 - Update sitemap.php by @jbrooksuk in https://github.com/spatie/laravel-sitemap/pull/464 ### New Contributors - @angeljqv made their first contribution in https://github.com/spatie/laravel-sitemap/pull/452 - @jbrooksuk made their first contribution in https://github.com/spatie/laravel-sitemap/pull/464 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/6.2.0...6.2.1 ## 6.2.0 - 2022-06-13 ### What's Changed - Add the possibility to add images to sitemaps by @madman-81 in https://github.com/spatie/laravel-sitemap/pull/451 ### New Contributors - @madman-81 made their first contribution in https://github.com/spatie/laravel-sitemap/pull/451 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/6.1.1...6.2.0 ## 6.1.1 - 2022-06-06 ### What's Changed - remove gap in sitemapIndex output by @Flowdawan in https://github.com/spatie/laravel-sitemap/pull/449 ### New Contributors - @Flowdawan made their first contribution in https://github.com/spatie/laravel-sitemap/pull/449 **Full Changelog**: https://github.com/spatie/laravel-sitemap/compare/6.1.0...6.1.1 ## 6.1.0 - 2022-01-14 - allow Laravel 9 ## 6.0.5 - 2021-08-11 - fix crawler integration (#407) ## 6.0.4 - 2021-05-27 - compatible with the spatie/crawler v7 contracts ## 6.0.3 - 2021-05-26 - allow spatie/crawler v7 ## 6.0.2 - 2021-04-09 - bump temporary-directory to version 2.0 (#379) ## 6.0.1 - 2021-03-26 - do not sort links by default ## 6.0.0 - 2021-03-12 - add `Sitemapable` - drop support for PHP 7 ## 5.9.2 - 2021-03-04 - allow crawler v6 (#365) ## 5.9.1 - 2020-12-30 - add `filter()` method to tags before rendering (#347) ## 5.9.0 - 2020-12-27 - add support for PHP 8 ## 5.8.0 - 2020-09-08 - add support for Laravel 8 ## 5.7.0 - 2020-03-03 - add support for Laravel 7 ## 5.6.0 - 2019-01-20 - add `writeToDisk` (#283) ## 5.5.0 - 2019-09-24 - implement `Responsable` contract ## 5.4.0 - 2019-09-04 - make compatible with Laravel 6 ## 5.3.1 - 2019-09-02 - make sure the sitemap cannot contain duplicate URLs ## 5.3.0 - 2019-02-27 - drop support for Laravel 5.7 and below - drop support for PHP 7.1 and below ## 5.2.11 - 2019-02-27 - add support for Laravel 5.8 ## 5.2.10 - 2019-02-15 - fix some formatting issues ## 5.2.9 - 2019-02-10 - fix headers ## 5.2.8 - 2019-01-07 - adhere to sitemap standards ## 5.2.7 - 2018-11-03 - enforce priority value to be in between 0 and 1. ## 5.2.6 - 2018-11-03 - use absolute urls ## 5.2.5 - 2018-10-17 - Remove unused dependency ## 5.2.4 - 2018-09-17 - Make all generated links absolute ## 5.2.3 - 2018-08-28 - Add support for Laravel 5.7 ## 5.2.2 - 2018-08-26 - Make methods on `SitemapGenerator` fluent ## 5.2.1 - 2018-07-23 - Improve indentation of rendered output ## 5.2.0 - 2018-05-08 - Support robots checks. ## 5.1.0 - 2018-04-30 - add support for a maximum amount of tags in one sitemap ## 5.0.1 - 2018-03-02 - Bump minimum required crawler version to `^4.0.3` ## 5.0.0 - 2018-03-02 - Update to Crawler 4.0 ## 4.0.0 - 2018-02-08 - Update to Laravel 5.6 - Update to phpunit 7 - Update to Crawler 3.0 ## 3.3.1 - 2018-01-11 - avoid having duplicates in the sitemap ## 3.3.0 - 2017-11-03 - add `setMaximumCrawlCount` ## 3.2.2 - 2017-10-19 - fix custom profiles ## 3.2.1 - 2017-10-07 - fix bug introduced in 3.2.0 ## 3.2.0 - 2017-10-03 - add `crawl_profile` config key ## 3.1.0 - 2017-09-22 - add ability to execute JavaScript ## 3.0.0 - 2017-08-31 - support for Laravel 5.5 - dropped support for older Laravel versions ## 2.4.0 - 2017-08-22 - add support for alternates ## 2.3.1 - 2017-08-08 - move snapshots to dev dependencies ## 2.3.0 - 2017-08-05 - added config file with guzzle options ## 2.2.1 - 2017-05-05 - fix whitespace problems in sitemap indexes ## 2.2.0 - 2017-04-22 - add support for sitemap indexes ## 2.1.2 - 2017-01-27 - fix bugs in `getUrl` and `hasUrl` ## 2.1.1 - 2017-01-24 - fix for installations that are using short open tags ## 2.1.0 - 2017-01-24 - add support for Laravel 5.4 ## 2.0.0 - 2016-12-05 - improve speed of generator by crawling with multiple concurrent connections ## 1.1.0 - 2016-12-01 - add compatibility for Laravel 5.2 ## 1.0.1 - 2016-10-09 - remove unused config file ## 1.0.0 - 2016-08-29 - initial release