Skip to content

Releases

1.6.5: se7enxweb/expcomponents-cache, Exponential's fork of Zeta Components Cache

Choose a tag to compare

@se7enxweb se7enxweb released this 25 Nov 09:17

se7enxweb/expcomponents-cache 1.6.5 is Exponential's fork of Zeta Components Cache. Install: composer require se7enxweb/expcomponents-cache:~1.6.5

Changes

  • Added: ezcCacheStorageApcuPlain, ezcCacheStorageFileApcuArray and
    ezcCacheApcuBackend store in the APCu user cache, so the APC storages' job is
    done on PHP 8, where the apc extension does not exist. The APC storages are
    unchanged.
  • Fixed: The first store on a memory storage (APC, APCu, memcache) whose
    location has no search registry in the backend yet no longer raises
    "Automatic conversion of false to array is deprecated" on PHP 8.1 and later.
    The backend's false is taken as an empty registry.
  • Updated: The test workflow installs the apcu extension with apc.enable_cli=1,
    so the APCu tests run in CI; without the extension they are skipped
    (pull request #1).

Verified

Test suite on PHP 7.4 and 8.0 (APCu tests skipped) and 8.5 with APCu and apc.enable_cli=1: 450 tests, the only failures are three file permission tests that fail as root and fail the same on 1.6.4; GitHub Actions matrix (with APCu) green on the release commit.

1.6.4: se7enxweb/expcomponents-cache, Exponential's fork of Zeta Components Cache

Choose a tag to compare

@se7enxweb se7enxweb released this 07 Nov 05:05

se7enxweb/expcomponents-cache 1.6.4 is Exponential's fork of Zeta Components Cache (zetacomponents/cache), maintained by 7x and the Exponential Foundation under the Apache License 2.0. It replaces zetacomponents/cache; the class names (ezc*) and the API are unchanged.

Install: composer require se7enxweb/expcomponents-cache:~1.6.4

Changes

  • Renamed: The package is se7enxweb/expcomponents-cache, Exponential's
    maintained fork of Zeta Components Cache. It replaces zetacomponents/cache,
    so packages that require zetacomponents/cache keep working. Class names
    (ezc*) are unchanged.
  • Updated: Requirements on other Zeta Components point to their Exponential
    forks (se7enxweb/expcomponents-base), which replace the upstream packages.
  • Updated: composer.json states the license (Apache-2.0) and the PHP
    versions; the component is tested on PHP 7.4 to 8.5.
  • Added: NOTICE keeps the upstream copyright notices and names the fork;
    README.md describes the fork.
  • Added: A GitHub Actions workflow running the test suite on PHP 7.4 to 8.5.
  • Fixed: A lock of the memcache storage lasts at least maxLockTime seconds.
    memcached counts expiry in whole seconds of its own clock, so with a
    maxLockTime of N the lock could expire after only N - 1 seconds and a bit,
    and a second process got the lock while the first still held it.