You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
32-bit PHP: IPv4 ranges from 128.0.0.0 upwards were rejected because ip2long() returns signed values there. 32-bit builds now use a byte-wise fallback; 64-bit behaviour is unchanged.
Performance
IPv4 validation is ~2.4–2.8x faster. Generated checks dispatch on the first IPv4 octet / first IPv6 byte instead of walking every CIDR, so non-Cloudflare addresses stop at a single lookup (PHP 8.5, no opcache; 2.8x on non-CF IPv4, 2.4x on mixed traffic).
php tools/update-cloudflare-ip-validator.php no longer rewrites the class when Cloudflare's API ETag is unchanged (--force overrides).
Internal
The generator now handles IPv6 prefixes whose first byte is an ASCII digit (0–9).
Removed the stale ext-filter suggestion from composer.json.