Grav v1.7.0 Release Notes

Release Date: 2019-07-01 // over 4 years ago
  • 01/19/2021

      • Requires PHP 7.3.6
      • Read about this release in the Grav 1.7 Released blog post
      • Read the full list of all changes in the Changelog on GitHub
      • Please read Grav 1.7 Upgrade Guide before upgrading!
      • Added support for overriding configuration by using environment variables
      • Use PHP 7.4 serialization (the old Serializable methods are now final and cannot be overridden)
      • Enabled ETag setting by default for 304 responses
      • Added FlexCollection::getDistinctValues() to get all the assigned values from the field
      • Flex Pages method $page->header() returns \Grav\Common\Page\Header object, old Page class still returns stdClass
      • Make it possible to use an absolute path when loading a blueprint
      • Make serialize methods final in ContentBlock, AbstractFile, FormTrait, ObjectCollectionTrait and ObjectTrait
      • Added support for relative paths in PageObject::getLevelListing() #3110
      • Better --env and --lang support for bin/grav, bin/gpm and bin/plugin console commands
        • BC BREAK Shorthand for --env: -e will not work anymore as it conflicts with some plugins
      • Added support for locking the start and limit in a Page Collection 🛠 1.
      • Fixed port issue with system.custom_base_url
      • Hide errors with exif_read_data in ImageFile
      • Fixed unserialize in MarkdownFormatter and Framework\File classes
      • Fixed pages with session messages should never be cached #3108
      • Fixed Filesystem::normalize() with dot-dot paths
      • Fixed Flex sorting issues grav-plugin-flex-objects#92
      • Fixed Clockwork missing dumped arrays and objects
      • Fixed fatal error in PHP 8 when trying to access root page
      • Fixed Array->String conversion error when languages:translations: false admin#1896
      • Fixed Inflector methods when translation is missing GRAV.INFLECTOR_* translations
      • Fixed exception when changing parent of new page grav-plugin-admin#2018
      • Fixed ordering issue with moving pages grav-plugin-admin#2015
      • Fixed Flex Pages cache not invalidating if saving an old Page object #3152
      • Fixed multiple issues with system.language.translations: false
      • Fixed page collections containing dummy items for untranslated default language #2985
      • Fixed streams in setup.php being overridden by system/streams.yaml #2450
      • Fixed ERR_TOO_MANY_REDIRECTS with HTTPS = 'On' #3155
      • Fixed page collection pagination not behaving as it did in Grav 1.6