All Versions
242
Latest Version
Avg Release Cycle
29 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v1.7.29 Changes
-
v1.7.29.1 Changes
01/31/2022
๐ 1. * Fixed
Call to undefined method
error when upgrading from Grav 1.6 #3523 -
v1.7.28 Changes
mm/dd/2022
-
- Added links and modules support to
HtmlBlock
class - Added module support for twig script tag:
{% script module 'theme://js/module.mjs' %}
- Added twig tag for links:
{% link icon 'theme://images/favicon.png' priority: 20 with { type: 'image/png' } %}
- Added
HtmlBlock
support for{% style %}
,{% script %}
and{% link %}
tags - Support for page-level
redirect_default_route
frontmatter header override ๐ 3. - Fixed XSS check not detecting escaped
:
- Added links and modules support to
-
-
v1.7.27 Changes
01/12/2022
-
- Support for
YubiKey OTP
2-Factor authenticator - Added support for generic
assets.link()
for external references. No pipeline support - Added support for
assets.addJsModule()
with full pipeline support - Added
Utils::getExtensionsByMime()
method to get all the registered extensions for the specific mime type - Added
Media::getRoute()
andMedia::getRawRoute()
methods to get page route if available - Added
Medium::getAlternatives()
to be able to list all the retina sizes
- Support for
-
- Improved
Utils::download()
method to allow overrides on download name, mime and expires header - Improved
onPageFallBackUrl
event - Reorganized the Asset system configuration blueprint for clarity ๐ 3.
- Fixed CLI
--env
and--lang
options having no effect if they aren't added before all the other options - Fixed scaled image medium filename when using non-existing retina file
- Fixed an issue with JS
imports
and pipelining Assets
- Improved
-
-
v1.7.26 Changes
01/03/2022
-
- Made
Grav::redirect()
to acceptRoute
class - Added
translated()
method toPageTranslateInterface
- Added second parameter to
UserObject::isMyself()
method - Added
UserObject::$isAuthorizedCallable
to allow$user->isAuthorized()
customization - Use secure session cookies in HTTPS by default (
system.session.secure_https: true
) - Added new
Plugin::inheritedConfigOption()
function to access plugin specific functions for page overrides
- Made
-
- Upgraded vendor libs for PHP 8.1 compatibility
- Upgraded to composer v2.1.14 for PHP 8.1 compatibility
- Added third
$name
parameter toBlueprint::flattenData()
method, useful for flattening repeating data ControllerResponseTrait
: Redirect response should be json if the extension is .json- When symlinking Grav install, include also tests
- Updated copyright year to
2022
๐ 3. - Fixed bad key lookup in
FlexRelatedDirectoryTrait::getCollectionByProperty()
- Fixed RequestHandlers
NotFoundException
having empty request - Block
.json
files in web server configs - Disabled pretty debug info for Flex as it slows down Twig rendering
- Fixed Twig being very slow when template overrides do not exist
- Fixed
UserObject::$authorizeCallable
binding to the user object - Fixed
FlexIndex::call()
to return null instead of failing to call undefined method - Fixed Flex directory configuration creating environment configuration when it should not
-
-
v1.7.25 Changes
11/16/2021
-
- Updated phpstan to v1.0
- Added
FlexObject::getDiff()
to see difference to the saved object
-
- Use Symfony
dump
instead of PHP'svardump
in side the{{ vardump(x) }}
Twig vardump function - Added
route
andrequest
toonPagesInitialized
event - Improved page cloning, added method
Page::initialize()
- Improved
FlexObject::getChanges()
: return changed lists and arrays as whole instead of just changed keys/values - Improved form validation JSON responses to contain list of failed fields with their error messages
- Improved redirects: send redirect response in JSON if the request was in JSON ๐ 3.
- Fixed path traversal vulnerability when using
bin/grav server
- Fixed unescaped error messages in JSON error responses
- Fixed
|t(variable)
twig filter in admin - Fixed
FlexObject::getChanges()
always returning empty array - Fixed form validation exceptions to use
400 Bad Request
instead of500 Internal Server Error
- Use Symfony
-
-
v1.7.24 Changes
-
v1.7.23 Changes
09/29/2021
-
- Added method
Pages::referrerRoute()
to get the referrer route and language - Added true unique
Utils::uniqueId()
/{{ unique_id() }}
utilities with length, prefix, and suffix support - Added
UserObject::isMyself()
method to check if flex user is currently logged in - Added support for custom form field options validation with
validate: options: key|ignore
- Added method
-
- Replaced GPL
SVG-Sanitizer
with MIT licensedDOM-Sanitizer
Uri::referrer()
now accepts third parameter, if set totrue
, it returns route without base or language code #3411- Updated vendor libs with latest
- Updated with latest language strings via Crowdin.com ๐ 3.
- Fixed
Folder::move()
throwing an error when target folder is changed by only appending characters to the end #3445 - Fixed some phpstan issues (all code back to level 1, Framework level 3)
- Fixed form reset causing image uploads to fail when using Flex
- Replaced GPL
-