All notable changes to robots-txt will be documented in this file
Send user agent header with file_get_contents requests to prevent Cloudflare and similar WAFs from blocking requests
- Bump stefanzweifel/git-auto-commit-action from 6 to 7 by @dependabot[bot] in spatie/robots-txt#78
- Revert meta content change by @Nathanw in spatie/robots-txt#80
- @Nathanw made their first contribution in spatie/robots-txt#80
Full Changelog: https://github.com/spatie/robots-txt/compare/2.5.2...2.5.3
- Bump aglipanci/laravel-pint-action from 2.5 to 2.6 by @dependabot[bot] in spatie/robots-txt#73
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in spatie/robots-txt#72
- Update issue template by @AlexVanderbist in spatie/robots-txt#77
- fix(#75) : fix an issue that subsequence file_get_contents calls can cause 429 status error by @sebestenyb in spatie/robots-txt#76
- @AlexVanderbist made their first contribution in spatie/robots-txt#77
- @sebestenyb made their first contribution in spatie/robots-txt#76
Full Changelog: https://github.com/spatie/robots-txt/compare/2.5.1...2.5.2
- Bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot in spatie/robots-txt#68
- fix: fix warnings and avoid unused variables by @chapeupreto in spatie/robots-txt#71
- @chapeupreto made their first contribution in spatie/robots-txt#71
Full Changelog: https://github.com/spatie/robots-txt/compare/2.5.0...2.5.1
- Implement RobotsTxt->whyDisallows($path, $userAgent) to find why a path was disallowed by @gvlasov in spatie/robots-txt#66
Full Changelog: https://github.com/spatie/robots-txt/compare/2.4.0...2.5.0
- Bump aglipanci/laravel-pint-action from 2.4 to 2.5 by @dependabot in spatie/robots-txt#63
- Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot in spatie/robots-txt#64
- Implement crawl-delay directive for robots.txt by @gvlasov in spatie/robots-txt#65
- @gvlasov made their first contribution in spatie/robots-txt#65
Full Changelog: https://github.com/spatie/robots-txt/compare/2.3.1...2.4.0
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in spatie/robots-txt#62
- RobotsTxt: add missing class property - allowsPerUserAgent by @DavidGoodwin in spatie/robots-txt#61
- @DavidGoodwin made their first contribution in spatie/robots-txt#61
Full Changelog: https://github.com/spatie/robots-txt/compare/2.3.0...2.3.1
- Update phpunit/phpunit requirement from ^9.0|^10.0 to ^11.5.2 by @dependabot in spatie/robots-txt#59
- "Allow" Handling by @Dwarfex in spatie/robots-txt#60
- @Dwarfex made their first contribution in spatie/robots-txt#60
Full Changelog: https://github.com/spatie/robots-txt/compare/2.2.3...2.3.0
- avoid expensive queries that do not change certain results by @elcapo in spatie/robots-txt#53
- @elcapo made their first contribution in spatie/robots-txt#53
Full Changelog: https://github.com/spatie/robots-txt/compare/2.2.2...2.2.3
- Bump actions/checkout from 2 to 4 by @dependabot in spatie/robots-txt#47
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in spatie/robots-txt#48
- Fixes "case-sensitive" URI matching for Disallow rules in robots.txt by @mattfo0 in spatie/robots-txt#46
- @dependabot made their first contribution in spatie/robots-txt#47
- @mattfo0 made their first contribution in spatie/robots-txt#46
Full Changelog: https://github.com/spatie/robots-txt/compare/2.2.1...2.2.2
- Add missing use statement for InvalidArgumentException by @remcom in spatie/robots-txt#44
- @remcom made their first contribution in spatie/robots-txt#44
Full Changelog: https://github.com/spatie/robots-txt/compare/2.2.0...2.2.1
- optionally allow partial matches and global groups by @resohead in spatie/robots-txt#43
- @resohead made their first contribution in spatie/robots-txt#43
Full Changelog: https://github.com/spatie/robots-txt/compare/2.1.0...2.2.0
- Add some efficiencies to prevent unnecessary requests by @tsjason in spatie/robots-txt#42
- @tsjason made their first contribution in spatie/robots-txt#42
Full Changelog: https://github.com/spatie/robots-txt/compare/2.0.3...2.1.0
- Update .gitattributes and ignore php_cs cache by @angeljqv in spatie/robots-txt#36
- Update PHPUnit config to latest schema by @patinthehat in spatie/robots-txt#39
- Add PHP 8.2 Support by @patinthehat in spatie/robots-txt#38
- Fix deprecation message by @buismaarten in spatie/robots-txt#41
- @angeljqv made their first contribution in spatie/robots-txt#36
- @buismaarten made their first contribution in spatie/robots-txt#41
Full Changelog: https://github.com/spatie/robots-txt/compare/2.0.2...2.0.3
- Match meta tag for single quotes, often used by Wordpress sites by @gjportegies in spatie/robots-txt#35
- @gjportegies made their first contribution in spatie/robots-txt#35
Full Changelog: https://github.com/spatie/robots-txt/compare/2.0.1...2.0.2
- added x-robots-tag: none (#32)
- require PHP 8+
- drop support for PHP 7.x
- convert syntax to PHP 8
- remove deprecated methods
- use php-cs-fixer & github workflow
- handle multiple user-agent (#29)
- add support for PHP 8.0 + move to GitHub actions (#27)
- make user agent checks case-insensitive
- fix find robots meta tag line if minified code (#23)
- fix headers checking (nofollow, noindex) for custom userAgent (#21)
- improvements around handling of wildcards, end-of-string, query string
- improve readability
- fix parsing robotstxt urls with keywords (#14)
- make robots.txt check case insensitive
- prevent exception if the domain has no robots.txt
- initial release