All Versions
266
Latest Version
Avg Release Cycle
18 days
Latest Release
7 days ago

Changelog History
Page 8

  • v1.7.0-rc.6 Changes

    February 12, 2020

    02/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
      • 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/plugin command
      • Fixed FlexObject::triggerEvent() not emitting events #2816
      • Grav 1.7: Fixed saving Flex configuration with ignored values becoming null
      • Grav 1.7: Fixed bin/plugin initialization
      • Grav 1.7: Fixed Flex Page cache key not taking account active language
  • v1.7.0-rc.5 Changes

    February 03, 2020

    02/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, 2020

    02/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 FlexRegisterEvent which triggers when $grav['flex'] is being accessed the first time
      • Added Flex cache configuration options
      • Added PluginsLoadedEvent which triggers after plugins have been loaded but not yet initialized
      • Added SessionStartEvent which triggers when session is started
      • Added PermissionsRegisterEvent which 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_array filter 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|trim to array to 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 Users being stored with wrong filename, login issues #2785
      • Fixed ignore_empty: true not 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 array error in Utils::arrayUnflattenDotNotation(), ignore nested structure instead
      • Fixed Route instance in multi-site setups
      • Fixed system.translations: false breaking Inflector methods
      • Fixed filtering ignored (eg. security@: admin.super) fields causing Flex Objects to lose data on save
      • Grav 1.7: Fixed Flex Pages unserialize 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
  • v1.7.0-rc.3 Changes

    January 02, 2020

    01/02/2020

      • Added root page support for Flex Pages
      • Twig filter |yaml_serialize: added support for JsonSerializable objects 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
  • 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_ENVIRONMENT by using environment variable or a constant
      • Added support for setting GRAV_SETUP_PATH by using environment variable (constant already worked)
      • Added support for setting GRAV_ENVIRONMENTS_PATH by using environment variable or a constant
      • Added support for setting GRAV_ENVIRONMENT_PATH by using environment variable or a constant
      • Improved bin/grav install command ๐Ÿ›  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 if null values are passed to the method
      • Fixed twig script/style tag {% script 'file.js' at 'bottom' %}, replaces broken in operator #3084
      • Fixed dropped query params when ? is preceded with / #2964
  • v1.7.0-rc.2 Changes

    December 04, 2019

    12/04/2019

      • Updated Symfony Components to 4.4
      • Added support for page specific CRUD permissions (Flex Pages only)
      • Added new -r <job-id> option for Scheduler CLI command to force-run a job #2720
      • Added Utils::isAssoc() and Utils::isNegative() helper methods
      • Changed UserInterface::authorize() to return null having the same meaning as false if access is denied because of no matching rule
      • Changed FlexAuthorizeInterface::isAuthorized() to return null having the same meaning as false if access is denied because of no matching rule
      • Moved all Flex type classes under Grav\Common\Flex
      • DEPRECATED Grav\Common\User\Group in 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 |array filter to work with iterators and objects with toArray() method
      • Updated Flex SimpleStorage code to feature match the other storages
      • Improved user and group ACL to support deny permissions (Flex Users only)
      • 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 Pages collection 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, added getMasterKey() for pages
      • Grav 1.7: Fixed logged in user being able to delete his own account from admin account manager
  • v1.7.0-rc.19 Changes

    December 04, 2020

    12/02/2020

    ๐Ÿ›  1. * Updated composer libraries with latest Toolbox v1.5.6 that contains critical fixes

  • v1.7.0-rc.18 Changes

    December 03, 2020

    12/02/2020

      • Set minimum requirements to PHP 7.3.6
      • Updated Clockwork to v5.0
      • Added FlexDirectoryInterface interface
      • Renamed PageCollectionInterface::nonModular() into PageCollectionInterface::pages() and deprecated the old method
      • Renamed PageCollectionInterface::modular() into PageCollectionInterface::modules() and deprecated the old method'
      • Upgraded bin/composer.phar to 2.0.2 which is all new and much faster
      • Added search option same_as to Flex Objects
      • Added PHP 8 compatible function_exists(): Utils::functionExists()
      • New sites have compatibility features turned off by default, upgrading from older versions will keep the settings on
      • Updated bundled JQuery to latest version 3.5.1
      • Forward a sid to GPM when downloading a premium package via CLI
      • Allow JsonFormatter options 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/env folder #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: false did not work
      • Fixed print_r() in twig
      • Fixed sorting by groups in Flex Users
      • Changing Flex Page template 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_order in Flex Pages to work just like with regular pages
      • Fixed Utils::isFunctionDisabled() method if there are spaces in disable_functions #3023
      • Fixed potential fatal error when creating flex index using cache #3062
      • Fixed fatal error in CompiledFile if 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 -a and -f not following symlinks #3080
      • Fixed |safe_email filter to return safe and escaped UTF-8 HTML #3072
      • Fixed exception in CLI GPM and backup commands when php-zip is 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
  • v1.7.0-rc.17 Changes

    October 07, 2020

    10/07/2020

      • Added a Uri::getAllHeaders() compatibility function
      • 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, and modular.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 onBlueprintCreated event for Flex Pages
      • Fixed onBlueprintCreated firing multiple times recursively
      • Fixed media upload failing with custom folders
      • Fixed unset() in ObjectProperty class
      • Fixed FlexObject::freeMedia() method causing media to become null
      • Fixed bug in Flex Form making it impossible to set nested values
      • Fixed Flex User avatar 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, 2020

    09/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 themes to cached blueprints and configuration ๐Ÿ›  1.
      • Fixed Flex Pages issue with getRoute() returning path with language prefix for default language if set not to do that
      • Fixed Flex Pages bug where reordering pages causes page content to disappear if default language uses wrong extension (.md vs .en.md)
      • Fixed Flex Pages bug where onAdminSave passes page as $event['page'] instead of $event['object'] #2995
      • Fixed Flex Pages bug where changing a modular page template added duplicate file admin#1899
      • Fixed Flex Pages bug where renaming slug causes bad ordering range after save #2997