Released version 3.0.5
- compatible with PHP 8.0
- FileUpload: added
getImageFileExtension() - FileUpload: added
getUntrustedName()as alias forgetName() - FileUpload::getSanitizedName: returns correct file extension for images
- FileUpload: fixed TypeError if
getimagesize()returns false (#184) - FileUpload::getSanitizedName: Remove redundant minus before dot. (#179)
- FileUpload::getSanitizedName: returns 'unknown' instead of empty string
- Helpers::
initCookie()sends cookie nette-samesite only if doesn't exist
For the details you can have a look at the diff.