Grav 1.7.41.2
5 June 2023
Grav version 1.7.41.2 is now available (major release).
Upgrading to Grav 1.7.41.2
Grav 1.7.41.2 can be upgraded to (or installed) using any of Installatron's products. Use Installatron's optional Automatic Update feature to automatically apply Grav updates as new versions are released, or use Installatron's Clone feature to duplicate an existing Grav install to test the 1.7.41.2 upgrade prior to applying it live. Get started managing your Grav installations with Installatron
What's New in Grav 1.7.41.2
1.7.41.2
Highlights
- Added the ability to set a configurable 'key' for the Twig Cache Tag: {% cache 'my-key' 600 %}
Bug Fixes
- Fixed an issue with special characters in slug's would cause redirect loops
1.7.41.1
Bug Fixes
- Fixed certain UTF-8 characters breaking Truncator class #3716
1.7.41
Highlights
- Removed FILTER_SANITIZE_STRING input filter in favor of htmlspecialchars(strip_tags()) for PHP 8.2+
- Added GRAV_SANITIZE_STRING constant to replace FILTER_SANITIZE_STRING for PHP 8.2+
- Support non-deprecated style dynamic properties in Parsedown class via ParseDownGravTrait for PHP 8.2+
- Modified Truncator to not use deprecated mb_convert_encoding() for PHP 8.2+
- Fixed passing null into mb_strpos() deprecated for PHP 8.2+
- Updated internal TwigDeferredExtension to be PHP 8.2+ compatible
- Upgraded getgrav/image fork to take advantage of various PHP 8.2+ fixes
- Use UserGroupObject::groupNames method in blueprints for PHP 8.2+
- Comment out files-upload deprecated message as this is not going to be removed
- Added various public Twig class variables used by admin to address deprecated messages for PHP 8.2+
- Added parse_url to list of PHP functions supported in Twig Extension
- Added support for dynamic functions in Parsedown to stop deprecation messages in PHP 8.2+