Releases: krakjoe/apcu
Releases · krakjoe/apcu
Version 5.1.24
Version 5.1.23
- Revert use of monotonic clock for TTL (#451)
- Fix a crash when serializing packed arrays (e.g. lists) in PHP 8.2+ with
apc.serializer=default
. - Reduce memory usage when serializing packed arrays (e.g. lists) in PHP 8.2+ with
apc.serializer=default
. - Speed up serializing arrays with
apc.serializer=default
. - Reduce memory usage when unserializing instances of the empty array in PHP 7.3+.
- Removed no longer working apcue extension.
- Increased limit on maximum number of slots.
- Made tests compatible with PHP 8.3.
Version 5.1.22
- PHP 8.2 compatibility
- PHP 8.1 compatibility in apc.php
- Fix
--enable-apcu-rwlocks
configure option - Enable transparent huge pages for mmap memory
- Use monotonic clock for TTL
Version 5.1.21
- Fixed compatibility with PHP 8.1 by adding return types to
APCUIterator
. APCUIterator::current()
and::key()
can no longer be called on an invalid iterator.
Version 5.1.20
- Fix deadlocks when other apcu_* functions are used inside apcu_entry(). It should now be safe to use any functions inside the apcu_entry() callback.
- Fix division by zero exception in apc.php.
- Fix handling of references in PHP 8 if "default" serializer is used (which is not the default).
- Fix string reuse handling if "default" serializer is used (which is not the default).
- Check for failures when acquiring read locks to report problems earlier (write locks were already checked previously).
- Adjust tests for current PHP 8.1 development branch.
- Remove *_api.h headers. Use apc_cache.h instead of apc_cache_api.h etc.
Version 5.1.19
Version 5.1.18
- Implement apcu_inc() and apcu_dec() using atomic operations. This means that these functions no longer have to acquire a write lock. These functions will now wraparound on overflow, instead of saturating to a floating point value.
- Make table header in apc.php sticky.
- Fix compile warnings related to mktemp() usage.
- Fix compatibility with PHP 8.0.
- Fix required number of arguments for apcu_store() returned by Reflection.
Version 5.1.17
- Fixed compatibility with PHP 7.4 and PHP 8.0.
Version 5.1.16
- Fix build on OS X.
Version 5.1.15
Bugfix release for PHP 7
- Restore apc.serializer=php as the default, as the "default" serializer still/again has issues.
- Fix possible issues in persistence of arrays with the "default" serializer.
- Attempt to reduce shared memory fragmentation.