Skip to content

Releases: krakjoe/apcu

Version 5.1.23

11 Nov 19:47
Compare
Choose a tag to compare
  • 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

19 Sep 06:50
Compare
Choose a tag to compare
  • 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

07 Oct 09:26
Compare
Choose a tag to compare
  • 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

04 Mar 09:27
Compare
Choose a tag to compare
  • 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

05 Oct 09:51
Compare
Choose a tag to compare
  • Fixed apcu_store() with integer keys (#388).
  • Made apc.use_request_time=0 the default (#391).
  • Made apcu compatible with PHP 8.0.

Version 5.1.18

01 Apr 10:14
Compare
Choose a tag to compare
  • 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

08 Feb 11:25
Compare
Choose a tag to compare
  • Fixed compatibility with PHP 7.4 and PHP 8.0.

Version 5.1.16

16 Dec 22:04
Compare
Choose a tag to compare
  • Fix build on OS X.

Version 5.1.15

07 Dec 13:37
Compare
Choose a tag to compare

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.

Version 5.1.14

21 Nov 07:42
Compare
Choose a tag to compare

Bugfix release for PHP 7

  • Fixed #347: Disable slam defense by default.
  • Fix potential issue with destruction of locks. This does not affect Linux, but might affect Windows and BSD.
  • Use mutex instead of rwlock for shared memory allocator (if pthreads mutex available).
  • Require only read-lock for apcu_cas(), by using atomic compare-and-swap.