All Versions
242
Latest Version
Avg Release Cycle
29 days
Latest Release
-

Changelog History
Page 6

  • 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
  • v1.7.0-rc.15 Changes

    July 22, 2020

    07/22/2020

    πŸ›  1. * Fixed Flex index file caching #2962 * Fixed various issues with Exif data reading and images being incorrectly rotated #1923

  • v1.7.0-rc.14 Changes

    July 09, 2020

    07/09/2020

      • Added ability to noprocess specific items only in Link/Image Excerpts, e.g. http://foo.com/page?id=foo&target=_blank&noprocess=id #2954 πŸ›  1.
      • Regression: Default language fix broke Language::getLanguageURLPrefix() and Language::isIncludeDefaultLanguage() methods when not using multi-language
      • Reverted Language::getDefault() and Language::getLanguage() to return false again because of plugin compatibility (updated docblocks)
      • Fixed UTF-8 issue in Excerpts::getExcerptsFromHtml
      • Fixed some compatibility issues with recent Changes to Assets handling
      • Fixed issue with CSS_IMPORTS_REGEX breaking with complex URLs #2958
      • Moved duplicated CSS_IMPORT_REGEX to local variable in AssetUtilsTrait::moveImports()
      • Fixed page media only accepting images #2943
  • v1.7.0-rc.13 Changes

    July 01, 2020

    07/01/2020

      • Added support for uploading and deleting images directly in Media
      • Added new onAfterCacheClear event
      • Improved CvsFormatter to attempt to encode non-scalar variables into JSON before giving up
      • Moved image loading into its own trait to be used by images+static images
      • Adjusted asset types to enable extension of assets in class #2937
      • Composer update for vendor library updates
      • Updated bundled composer.phar to 2.0.0-dev πŸ›  1.
      • Fixed MediaUploadTrait::copyUploadedFile() not adding uploaded media to the collection
      • Fixed regression in saving media to a new Flex Object admin#1867
      • Fixed Trying to get property 'username' of non-object error in Flex flex-objects#62
      • Fixed retina images not working in Flex flex-objects#64
      • Fixed plugin initialization in CLI
      • Fixed broken logic in Page::topParent() when dealing with first-level pages
      • Fixed broken Flex Page authorization for groups
      • Fixed missing onAdminSave and onAdminAfterSave events when using Flex Pages and Flex Users flex-objects#58
      • Fixed new User Group allowing bad group name to be saved admin#1917
      • Fixed Language::getDefault() returning false and not 'en'
      • Fixed non-text links in Excerpts::getExcerptFromHtml
      • Fixed CLI commands not properly intializing Plugins so events can fire
  • v1.7.0-rc.12 Changes

    June 08, 2020

    06/08/2020

      • Changed Folder::hasChildren to Folder::countChildren
      • Added Content Editor option to user account blueprint πŸ›  1.
      • Fixed new Flex Page not having correct form fields for the page type
      • Fixed new Flex User erroring out on save (thanks @mikebi42)
      • Fixed Flex Object request cache clear when saving object
      • Fixed blueprint value filtering in lists #2923
      • Fixed blueprint for system.pages.hide_empty_folders #1925
      • Fixed file field in Flex Objects (use Grav\Common\Flex\Types\GenericObject instead of FlexObject) flex-objects#37
      • Fixed saving nested file fields in Flex Objects flex-objects#34
      • JSON Route of homepage with no β€˜route’ set is valid form#425