This bugfix release fixes HTML escaping in markdown.
Also, from now on MadelineProto will support only PHP 8.1+, in preparation for the switch to Amp v3 in December.
I recommend everyone start migrating their codebases to PHP 8.1:
- See https://www.php.net/releases/8.0/en.php for a list of the main changes in PHP 8.0
- See https://www.php.net/releases/8.1/en.php for a list of the main changes in PHP 8.1
Tip: you can use psalm.dev to scan your code for PHP 8.1 incompatibilities!
Mainly, you should just remove PossiblyNullArgument
and NullArgument
errors to support PHP 8.1!
You can also use https://github.com/vimeo/psalm to detect hundreds of other bugs and security issues in your code: to do so, install psalm and MadelineProto via composer, and scan your project!
I'm a collaborator in the repo, and I've recently contributed a large pull request to Psalm, introducing full type immutability, for even faster scans and eliminating a whole class of bugs, try it out by using the dev-master
composer tag of Psalm!