github getgrav/grav 2.2.37

58 minutes ago

Bugfix

  • Signed-in users stay signed in on pages served with an accounts folder of their own, such as a sub-site with its own accounts. The check for a deleted account (2.2.34) looked the account up in the accounts folder of the request, didn't find it there, and signed the session out. It now checks the account file the session's account was read from, and an account under the same username in another accounts folder is no longer taken for the session's account
  • Responsive images list each file in srcset at the width it actually has. With resize() before or after derivatives(), or with @2x files and a resize, the widths came from the original image, so a browser could pick a 320px file for a 640px slot. The list is also sorted by width, with one file per width #4438
  • When the lazy page index can't be used because PHP has no pdo_sqlite (and the database-yetisql plugin isn't installed), Grav logs a warning saying so and what to install, instead of silently loading the full pages cache on every request. The lazy_index comment in system.yaml no longer says a YetiSQL fallback ships with Grav #4436
  • Building the page index takes about a fifth less memory on large sites, since each page no longer keeps extra copies of its taxonomy and process settings #4437

Don't miss a new grav release

NewReleases is sending notifications on new releases.