mirror of
https://github.com/gantry/gantry5.git
synced 2026-09-03 20:52:53 -05:00
Merge branch 'release/5.6.4'
This commit is contained in:
@@ -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)
|
||||
|
||||
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user