Grav v1.7.0-rc.2 Release Notes

Release Date: 2019-12-04 // over 4 years ago
  • 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