Grav v1.5.0 Release Notes
-
08/17/2018
-
- Set minimum requirements to PHP 5.6.4
- Updated Doctrine Collections to 1.4
- Updated Symfony Components to 3.4 (with compatibility mode to fall back to Symfony YAML 2.8)
- Added
Uri::method()
to get current HTTP method (GET/POST etc) FormatterInterface
: AddedgetSupportedFileExtensions()
andgetDefaultFileExtension()
methods- Added option to disable
SimpleCache
key validation - Added support for multiple repo locations for
bin/grav install
command - Added twig filters for casting values:
|string
,|int
,|bool
,|float
,|array
- Made
ObjectCollection::matching()
criteria expressions to behave more like in Twig - Criteria: Added support for
LENGTH()
,LOWER()
,UPPER()
,LTRIM()
,RTRIM()
andTRIM()
- Added
Grav\Framework\File\Formatter
classes for encoding/decoding YAML, Markdown, JSON, INI and PHP serialized strings - Added
Grav\Framework\Session
class to replaceRocketTheme\Toolbox\Session\Session
- Added
Grav\Common\Media
interfaces and trait; use those inPage
andMedia
classes - Added
Grav\Common\Page
interface to allow custom page types in the future - Added setting to disable sessions from the site #2013
- Added new
strict_mode
settings insystem.yaml
for compatibility
-
- Improved
Utils::url()
to support query strings - Display better exception message if Grav fails to initialize
- Added
muted
andplaysinline
support to videos #2124 - Added
MediaTrait::clearMediaCache()
to allow cache to be cleared - Added
MediaTrait::getMediaCache()
to allow custom caching - Improved session handling, allow all session configuration options in
system.session.options
🛠 1. - Fix broken form nonce logic #2121
- Fixed issue with uppercase extensions and fallback media URLs #2133
- Fixed theme inheritance issue with
camel-case
that includes numbers #2134 - Typo in demo typography page #2136
- Fix for incorrect plugin order in debugger panel
- Made
|markdown
filter HTML safe - Fixed bug in
ContentBlock
serialization - Fixed
Route::withQueryParam()
to accept array values - Fixed typo in truncate function #1943
- Fixed blueprint field validation: Allow numeric inputs in text fields
- Improved
-