1
Mamba
XOOPS 2.5.11.3 released

XOOPS 2.5.11.3

A maintenance release for 2.5.11.x that fixes three file-cache bugs. The database schema, templates and language files are unchanged, so you can upgrade by copying the files over your current install.

Fixes

  • The file cache now deletes its entries. The file cache engine's clear() and gc() looked for the wrong file names, so they deleted nothing. Expired and cleared entries stayed on disk while clear() still reported success. Only the cache's own files are removed, and the folder's index.php, index.html and .htaccess guard files are never touched.
  • Expired entries are cleaned up on time. gc() now removes an entry as soon as its own expiry passes. Before, an entry written with a short lifetime stayed on disk for up to a year unless it was read again. Entries still being written are left alone.
  • No TypeError with cache locking on PHP 8. With the cache lock setting enabled, reading the cache or cleaning it up failed with a TypeError. Reading a missing file now returns false instead of creating an empty file.

Requirements

PHP 7.4 or later, the same as 2.5.11.2.

Full details are in docs/changelog.250.txt.

What's Changed

  • Drop the empty else in the XOBJ_DTYPE_SOURCE branch by @darkdi in #1690
  • fix(cache): make the file engine's clear() delete its entries by @mambax7 in #1693
  • fix(cache): collect expired file-cache entries and allow the lock setting by @mambax7 in #1694
  • XOOPS 2.5.11.3: release date and version, fix the 2.5.11.2 date by @mambax7 in #1695

New Contributors

Full Changelog: v2.5.11.2...v2.5.11.3

Download:

https://github.com/XOOPS/XoopsCore25/releases 

Support XOOPS => DONATE
Use 2.7.x | Docs | Modules | Bugs

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!