Repository navigation
v1.1.0
Security
render()andstore()now accept only packaged format names (xml,html,txt,google-news,xml-mobile,ror-rss,ror-rdf,sitemapindex). A value such as../Config/configcan no longer be used to include a file outsidesrc/views/.- PHP2Shell (CVE-2026-109618, CVE-2026-109619) is in the PHP engine, not in this library. There is no application workaround. Run PHP 8.3.36+, 8.4.27+, or 8.5.12+. See the PHP Foundation advisory and the CISA alert.
Changed
- Minimum PHP version is 8.3. PHP 8.2 reaches upstream end of life on 31 December 2026. Stay on 1.0.x if you must remain on 8.2, and use 8.2.35+ until then.
- CI tests PHP 8.3, 8.4, and 8.5. Dev tooling is Pest 4 and PHPUnit 12.
Upgrade
composer require rumenx/php-sitemap:^1.1Confirm the runtime, not only Composer:
php -vWhat's Changed
- chore: require PHP 8.3, test 8.5, and allowlist render formats (v1.1.0) by @RumenDamyanov in #214
Full Changelog: v1.0.4...v1.1.0