Skip to content

Final classes, custom sanitization defaults & phpinfo() flags

Latest

Choose a tag to compare

@spaze spaze released this 11 Apr 17:19
61ac829
  • 2.0.1 removes the @param non-empty-string annotation from addSanitization() added in 2.0.0.

The original 2.0.0 release notes:

Breaking changes

  • PhpInfo and SensitiveValueSanitizer are now final - they're security-related and not designed to be extended (#27)

New features

  • Custom default sanitization replacement string via new SensitiveValueSanitizer('[REDACTED]') (#26)
  • getHtml() and getFullPageHtml() now accept $flags parameter to control phpinfo() output sections (#21 & #23, thanks @compwright)

Internal changes

  • Add phpstan/phpstan-strict-rules (#24)
  • Bump actions/checkout from 5 to 6 (#20)
  • Add CLAUDE.md (#22)
  • Use use for all functions for those free extra nanoseconds (#25)
  • Correct the path in the inline styles comment (#29)