All Versions
266
Latest Version
Avg Release Cycle
18 days
Latest Release
7 days ago
Changelog History
Page 8
Changelog History
Page 8
-
v1.7.0-rc.6 Changes
February 12, 202002/11/2020
-
- Plugins & Themes: Call
$plugin->autoload()and$theme->autoload()automatically when object gets initialized - CLI: Added
$grav->initializeCli()method - Flex Directory: Implemented customizable configuration
- Flex Storages: Added support for renaming directory entries
- Plugins & Themes: Call
-
- Vendor updates to latest ๐ 1.
- Regression: Fixed fatal error in blueprints #2811
- Regression: Fixed bad method call in FlexDirectory::getAuthorizeRule()
- Regression: Fixed fatal error in admin if the site has custom permissions in
onAdminRegisterPermissions - Regression: Fixed flex user index with folder storage
- Regression: Fixed fatal error in
bin/plugincommand - Fixed
FlexObject::triggerEvent()not emitting events #2816 - Grav 1.7: Fixed saving Flex configuration with ignored values becoming null
- Grav 1.7: Fixed
bin/plugininitialization - Grav 1.7: Fixed Flex Page cache key not taking account active language
-
-
v1.7.0-rc.5 Changes
February 03, 202002/03/2020
๐ 1. * Regression: Flex not working in PHP 7.2 or older * Fixed creating first user from admin not clearing Flex User directory cache #2809 * Fixed Flex Pages allowing root page to be deleted
-
v1.7.0-rc.4 Changes
February 03, 202002/03/2020
-
- POTENTIAL BREAKING CHANGE: Upgraded Parsedown to 1.7 for Parsedown-Extra 0.8. Plugins that extend Parsedown may need a fix to render as HTML
- Added
$grav['flex']to access all registered Flex Directories - Added
$grav->dispatchEvent()method for PSR-14 events - Added
FlexRegisterEventwhich triggers when$grav['flex']is being accessed the first time - Added Flex cache configuration options
- Added
PluginsLoadedEventwhich triggers after plugins have been loaded but not yet initialized - Added
SessionStartEventwhich triggers when session is started - Added
PermissionsRegisterEventwhich triggers when$grav['permissions']is being accessed the first time - Added support for Flex Directory specific configuration
- Added support for more advanced ACL
- Added
flatten_arrayfilter to form field validation - Added support for
security@: or: [admin.super, admin.pages]in blueprints (nested AND/OR mode support)
-
- Blueprint validation: Added
validate: value_type: bool|int|float|string|trimtoarrayto filter all the values inside the array - Twig
url()takes now third parameter (true) to return URL on non-existing file instead of returning false ๐ 1. - Grav 1.7: Fixed blueprint loading issues #2782
- Fixed PHP 7.4 compatibility issue with
Stream - Fixed new
Flex Usersbeing stored with wrong filename, login issues #2785 - Fixed
ignore_empty: truenot removing empty values in blueprint filtering - Fixed
{{ false|string }}twig to return '0' instead of '' - Fixed twig
url()failing if stream has extra slash in it (e.g.user:///data) - Fixed
Blueprint::filter()returning null instead of array if there is nothing to return - Fixed
Cannot use a scalar value as an arrayerror inUtils::arrayUnflattenDotNotation(), ignore nested structure instead - Fixed
Routeinstance in multi-site setups - Fixed
system.translations: falsebreakingInflectormethods - Fixed filtering ignored (eg.
security@: admin.super) fields causingFlex Objectsto lose data on save - Grav 1.7: Fixed
Flex Pagesunserialize issues if Flex-Objects Plugin has not been installed - Grav 1.7: Require Flex-Objects Plugin to edit Flex Accounts
- Grav 1.7: Fixed bad result on testing
isPage()when using Flex Pages
- Blueprint validation: Added
-
-
v1.7.0-rc.3 Changes
January 02, 202001/02/2020
-
- Added root page support for
Flex Pages
- Added root page support for
-
- Twig filter
|yaml_serialize: added support forJsonSerializableobjects and other array-like objects - Added support for returning Flex Page specific permissions for admin and testing
- Updated copyright dates to
2020 - Various vendor updates ๐ 1.
- Grav 1.7: Fixed error on page initialization #2753
- Fixed checking ACL for another user (who is not currently logged in) in a Flex Object or Directory
- Fixed bug in Windows where
Filesystem::dirname()returns backslashes - Fixed Flex object issues in Windows #2773
- Twig filter
-
-
v1.7.0-rc.20 Changes
12/15/2020
-
- Update phpstan to version 0.12
- Auto-Escape enabled by default. Manually enable Twig Compatibility and disable Auto-Escape to use the old setting.
- Updated unit tests to use codeception 4.1
- Added support for setting
GRAV_ENVIRONMENTby using environment variable or a constant - Added support for setting
GRAV_SETUP_PATHby using environment variable (constant already worked) - Added support for setting
GRAV_ENVIRONMENTS_PATHby using environment variable or a constant - Added support for setting
GRAV_ENVIRONMENT_PATHby using environment variable or a constant
-
- Improved
bin/grav installcommand ๐ 1. - Fixed potential error when upgrading Grav
- Fixed broken list in
bin/gpm index#3092 - Fixed CLI/GPM command failures returning 0 (success) value #3017
- Fixed unimplemented
PageObject::getOriginal()call #3098 - Fixed
Argument 1 passed to Grav\Common\User\DataUser\User::filterUsername() must be of the type string#3101 - Fixed broken check if php exif module is enabled in
ImageFile::fixOrientation() - Fixed
StaticResizeTrait::resize()bad image height/width attributes ifnullvalues are passed to the method - Fixed twig script/style tag
{% script 'file.js' at 'bottom' %}, replaces brokeninoperator #3084 - Fixed dropped query params when
?is preceded with/#2964
- Improved
-
-
v1.7.0-rc.2 Changes
December 04, 201912/04/2019
-
- Updated Symfony Components to 4.4
- Added support for page specific CRUD permissions (
Flex Pagesonly) - Added new
-r <job-id>option for Scheduler CLI command to force-run a job #2720 - Added
Utils::isAssoc()andUtils::isNegative()helper methods - Changed
UserInterface::authorize()to returnnullhaving the same meaning asfalseif access is denied because of no matching rule - Changed
FlexAuthorizeInterface::isAuthorized()to returnnullhaving the same meaning asfalseif access is denied because of no matching rule - Moved all Flex type classes under
Grav\Common\Flex - DEPRECATED
Grav\Common\User\Groupin favor of$grav['user_groups'], which contains Flex UserGroup collection - DEPRECATED
$page->modular()in favor of$page->isModule()for better readability - Fixed phpstan issues in all code up to level 3
-
- Improved twig
|arrayfilter to work with iterators and objects withtoArray()method - Updated Flex
SimpleStoragecode to feature match the other storages - Improved user and group ACL to support deny permissions (
Flex Usersonly) - Improved twig
authorize()function to work better with nested rule parameters - Output the current username that Scheduler is using if crontab not setup
- Translations: rename MODULAR to MODULE everywhere
- Optimized
Flex Pagescollection filtering - Frontend optimizations for
Flex Pages๐ 1. - Regression: Fixed Grav update bug #2722
- Fixed fatal error when calling
{{ grav.undefined }} - Grav 1.7: Reverted
$object->getStorageKey()interface as it was not a good idea, addedgetMasterKey()for pages - Grav 1.7: Fixed logged in user being able to delete his own account from admin account manager
- Improved twig
-
-
v1.7.0-rc.19 Changes
December 04, 2020 -
v1.7.0-rc.18 Changes
December 03, 202012/02/2020
-
- Set minimum requirements to PHP 7.3.6
- Updated Clockwork to v5.0
- Added
FlexDirectoryInterfaceinterface - Renamed
PageCollectionInterface::nonModular()intoPageCollectionInterface::pages()and deprecated the old method - Renamed
PageCollectionInterface::modular()intoPageCollectionInterface::modules()and deprecated the old method' - Upgraded
bin/composer.pharto2.0.2which is all new and much faster - Added search option
same_asto Flex Objects - Added PHP 8 compatible
function_exists():Utils::functionExists() - New sites have
compatibilityfeatures turned off by default, upgrading from older versions will keep the settings on
-
- Updated bundled JQuery to latest version
3.5.1 - Forward a
sidto GPM when downloading a premium package via CLI - Allow
JsonFormatteroptions to be passed as a string - Hide Flex Pages frontend configuration (not ready for production use)
- Improve Flex configuration: gather views together in blueprint
- Added XSS detection to all forms. See documentation
- Better handling of missing repository index grav-plugin-admin#1916
- Added support for having all sites / environments under
user/envfolder #3072 - Added
FlexObject::refresh()method to make sure object is up to date ๐ 1. - Menu Visibility Requires Access Security option setting wrong frontmatter login#265
- Accessing page with unsupported file extension (jpg, pdf, xsl) will use wrong mime type #3031
- Fixed media crashing on a bad image
- Fixed bug in collections where filter
type: falsedid not work - Fixed
print_r()in twig - Fixed sorting by groups in
Flex Users - Changing
Flex Pagetemplate causes the other language versions of that page to lose their content admin#1958 - Fixed plugins getting initialized multiple times (by CLI commands for example)
- Fixed
header.admin.children_display_orderin Flex Pages to work just like with regular pages - Fixed
Utils::isFunctionDisabled()method if there are spaces indisable_functions#3023 - Fixed potential fatal error when creating flex index using cache #3062
- Fixed fatal error in
CompiledFileif the cached version is broken - Fixed updated media missing from media when editing Flex Object after page reload
- Fixed issue with
config-default@breaking on set #1972 - Escape titles in Flex pages list flex-objects#84
- Fixed Purge successful message only working in Scheduler but broken in CLI and Admin #1935
- Fixed
system://stream is causing issues in Admin, making Media tab to disappear and possibly causing other issues #3072 - Fixed CLI self-upgrade from Grav 1.6 #3079
- Fixed
bin/grav yamllinter -aand-fnot following symlinks #3080 - Fixed
|safe_emailfilter to return safe and escaped UTF-8 HTML #3072 - Fixed exception in CLI GPM and backup commands when
php-zipis not enabled #3075 - Fix for XSS advisory GHSA-cvmr-6428-87w9
- Fixed Flex and Page ordering to be natural and case insensitive flex-objects#87
- Fixed plugin/theme priority ordering to be numeric
- Updated bundled JQuery to latest version
-
-
v1.7.0-rc.17 Changes
October 07, 202010/07/2020
-
- Added a
Uri::getAllHeaders()compatibility function
- Added a
-
- Fall back through various templates scenarios if they don't exist in theme to avoid unhelpful error.
- Added default templates for
external.html.twig,default.html.twig, andmodular.html.twig - Improve Media classes
- POTENTIAL BREAKING CHANGE: Added reload argument to
FlexStorageInterface::getMetaData()๐ 1. - Fixed
Security::sanitizeSVG()creating an empty file if SVG file cannot be parsed - Fixed infinite loop in blueprints with
extend@to a parent stream - Added missing
Stream::create()method - Added missing
onBlueprintCreatedevent for Flex Pages - Fixed
onBlueprintCreatedfiring multiple times recursively - Fixed media upload failing with custom folders
- Fixed
unset()inObjectPropertyclass - Fixed
FlexObject::freeMedia()method causing media to become null - Fixed bug in
Flex Formmaking it impossible to set nested values - Fixed
Flex Useravatar when using folder storage, also allow multiple images - Fixed Referer reference during GPM calls.
- Fixed fatal error with toggled lists
-
-
v1.7.0-rc.16 Changes
September 01, 202009/01/2020
-
- Added a new
svg_image()twig function to make it easier to 'include' SVG source in Twig - Added a helper
Utils::fullPath()to get the full path to a file be it stream, relative, etc.
- Added a new
-
- Added
themesto cached blueprints and configuration ๐ 1. - Fixed
Flex Pagesissue withgetRoute()returning path with language prefix for default language if set not to do that - Fixed
Flex Pagesbug where reordering pages causes page content to disappear if default language uses wrong extension (.mdvs.en.md) - Fixed
Flex Pagesbug whereonAdminSavepasses page as$event['page']instead of$event['object']#2995 - Fixed
Flex Pagesbug where changing a modular page template added duplicate file admin#1899 - Fixed
Flex Pagesbug where renaming slug causes bad ordering range after save #2997
- Added
-