Skip to content

NotAllowed, v2.0 Released! 🚀

Latest
Compare
Choose a tag to compare
@pH-7 pH-7 released this 20 Jan 10:41
· 4 commits to main since this release
b03b929

What's Changed 🔎

  • ⚠️ Breaking Change This new version requires at least PHP 8.1 or higher.
  • 🚀 Add caching support, files should not be read every single time a static method is called, especially when doing multiple validations.
  • 🛡 Add support for validation against an array of values.
  • 🐘 Using the native PHP enums (with the "match" expression ⚡️) for the banned types.
  • 🤠 Add support for multi-validation (meaning, validate a provided string is banned in words or usernames for example).
  • 🎈 Allow extending banned data.

New Contributors 👏

Full Changelog: 1.3.0...2.0.0

Enjoy! 🎉 Feel free to share your feedback and suggestions!