Merge branch 'release/5.6.4'

This commit is contained in:
Monika
2026-09-03 18:03:50 +05:30
4 changed files with 26 additions and 4 deletions
+21
View File
@@ -1,3 +1,11 @@
# 5.6.4
## 09/03/2026
1. [Joomla](#joomla)
1. []( #bugfix)
- Fixed the Gantry version being incorrectly reported as 5.6.1 instead of 5.6.3 in the Joomla Layout Manager and theme footer information. (#3405)
- Fixed the Gantry Image Uploader issue in Joomla 6.1.3 (#3407).
# 5.6.3
## 08/18/2026
1. [WordPress](#wordpress)
@@ -37,6 +45,19 @@
- Fixed Twig rendering errors where the Gantry global was lost after phpBB session initialization.
- Ensured the `gantry` instance is explicitly restored as a Twig global during theme rendering.
3. [Grav](#grav)
1. [](#improved)
- Updated Grav dependency floors to Grav `>=1.7.48` and Admin `>=1.10.48`, while retaining `>=` constraints to avoid locking out older installations and documenting the tested baseline.
- Prepared the 17 shared Gantry engine classes for Twig 3 compatibility while maintaining compatibility with the bundled Twig 2.16.
- Updated `TokenParserMarkdown` with the required `Twig\Node\Node` import for Twig 3 compatibility.
- Replaced deprecated Twig `{% spaceless %}` usage with `{% apply spaceless %}` in the affected admin templates.
- Removed the unnecessary `{% spaceless %}` wrapper from the Nucleus assets particle where no HTML output is generated.
- Added a PHP 8.4 vendor-deprecation guard to `SystemFacade.php`, with normalized vendor paths to support both Windows `\vendor\` paths and `compat/vendor/`.
- Regenerated MD5 checksums for modified Grav package files.
2. [](#bugfix)
- Fixed potential Twig compatibility issues when Gantry is used with newer Twig environments.
- Improved PHP 8.4 deprecation handling for bundled vendor dependencies by correctly normalizing and matching vendor paths across supported environments.
# 5.6.2
## 06/03/2026
1. [WordPress](#WordPress)
+1 -1
View File
@@ -1 +1 @@
5.6.3
5.6.4
+2 -2
View File
@@ -58,8 +58,8 @@ abstract class RealLoader
throw new \LogicException(self::$errorMessageGantryLoaded);
}
define('GANTRY5_VERSION', '5.6.1');
define('GANTRY5_VERSION_DATE', '2026-05-06');
define('GANTRY5_VERSION', '5.6.4');
define('GANTRY5_VERSION_DATE', '2026-09-03');
if (!defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);
@@ -500,7 +500,8 @@ class Filepicker extends JsonController
{
try {
Folder::moveFile($source, $destination);
return true;
return @chmod($destination, 0666 & ~umask());
} catch (\RuntimeException $e) {
return false;
}