22 Commits

Author SHA256 Message Date
66a51ca45a Accepting request 1323905 from server:php:extensions
OBS-URL: https://build.opensuse.org/request/show/1323905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-APCu?expand=0&rev=10
2025-12-22 21:49:10 +00:00
811e9b2cbc - Update to version 5.1.28
* Defragmentation now reclaims unused space from moved entries,
    resulting in better compaction.
  * Shared memory for new entries is allocated faster in scenarios with
    many free memory blocks. This should improve APCu's insertion
    performance when entries are frequently deleted or replaced, or when
    APCu is used with larger amounts of memory.
  * Trying to insert entries larger than the shared memory no longer
    results in cache wipes.
  * Fix build against PHP 8.6.
  * Fix apc.php compatibility with older apcu versions.

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-APCu?expand=0&rev=21
2025-12-21 10:44:33 +00:00
e515071bf3 Accepting request 1306045 from server:php:extensions
OBS-URL: https://build.opensuse.org/request/show/1306045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-APCu?expand=0&rev=9
2025-09-20 20:04:01 +00:00
235cacdf73 - Update to version 5.1.27
* Fixed another hang introduced in apcu 5.1.25, which can occur when
    defragmentation is triggered under load.
  * The report_memleaks INI directive has been removed from all tests as
    it will be deprecated in PHP 8.5.

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-APCu?expand=0&rev=19
2025-09-19 17:44:41 +00:00
a8c8e8d17a Accepting request 1299143 from server:php:extensions
OBS-URL: https://build.opensuse.org/request/show/1299143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-APCu?expand=0&rev=8
2025-08-13 14:30:51 +00:00
54411ca543 - Update to version 5.1.26
* Fixed hang introduced in apcu 5.1.25, which can occur when
    defragmentation is triggered under load.
  * Fixed a test on PHP 8.5.
- Update to version 5.1.25
  * If the cache is full, try to clean up expired entries based on their
    per-entry hard TTL even if the soft apc.ttl is 0. Previously the entire
    cache was discarded.
  * If a new entry cannot be inserted due to fragmentation, the cache will
    be defragmented, combining many small free blocks into one big free
    block by moving around cache entries. This avoids the need to discard
    the entire cache in more cases.
  * The access time (which is used by the soft apc.ttl) is now also updated
    when using apcu_exists().
  * apc.entries_hint now defaults to 512 entries per 1MB of shared memory.
    Previously the default was 4096, independent of shm_size. This could
    lead to a large number of hash collisions if shm_size was increased
    without also increasing entries_hint.
  * Added apc.mmap_hugepage_size to use huge pages of a certain size for the
    apcu shared memory segment. This requires support for huge pages to be
    enabled in the kernel. Note that even if this option is not set, shared
    memory is still configured to use transparent huge pages.
  * The apc.shm_segments ini option has been removed. Multiple SHM segments
    are no longer supported. (They were already not supported when using
    mmap, which is the default mode of operation)
  * The apc.smart configuration setting should now work more reliably.
    Values > 1 can be used to increase the chance of discarding the entire
    cache when the amount of memory freed by removing expired entries was
    too small. This could be useful if performance degrades due to executing
    the logic to remove expired entries (+ defragmentation) too frequently
    during periods of high memory usage.
  * The number of cache cleanups performed (removal of expired entries) is
    now available in the array returned by apcu_cache_info() (via array key
    "cleanups").
  * The number of defragmentations performed is now available in the array
    returned by apcu_cache_info() (via array key "defragmentations").
  * Fixed several issues that caused inserting new entries to fail
    unexpectedly.

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-APCu?expand=0&rev=17
2025-08-12 19:43:20 +00:00
034446b323 Accepting request 1207337 from server:php:extensions
OBS-URL: https://build.opensuse.org/request/show/1207337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-APCu?expand=0&rev=7
2024-10-12 11:30:19 +00:00
b5ba204fb8 - Update to version 5.1.24
* Make compatible with PHP 8.4.
  * apc.php: Preserve search parameter when deleting entry.
  * apc.PHP: Allow arbitrary search regex.

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-APCu?expand=0&rev=15
2024-10-11 19:29:23 +00:00
9f2b672129 Accepting request 1127550 from server:php:extensions
OBS-URL: https://build.opensuse.org/request/show/1127550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-APCu?expand=0&rev=6
2023-11-20 20:19:38 +00:00
cb467731df Accepting request 1127476 from home:adkorte:branches:server:php:extensions
- Update to version 5.1.23
  * Revert use of monotonic clock for TTL
  * 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.

OBS-URL: https://build.opensuse.org/request/show/1127476
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-APCu?expand=0&rev=13
2023-11-19 12:49:05 +00:00
9e85ad62d0 Accepting request 1042519 from server:php:extensions
OBS-URL: https://build.opensuse.org/request/show/1042519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-APCu?expand=0&rev=5
2022-12-13 17:56:01 +00:00
d7b2b2f0ae Accepting request 1041976 from home:adkorte:branches:server:php:extensions
- Remove php7 build for Tumbleweed (PHP 7.4 has reached EOL)

OBS-URL: https://build.opensuse.org/request/show/1041976
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-APCu?expand=0&rev=11
2022-12-12 23:43:36 +00:00
a7d0b2c12f Accepting request 1008406 from server:php:extensions
OBS-URL: https://build.opensuse.org/request/show/1008406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-APCu?expand=0&rev=4
2022-10-07 23:23:53 +00:00
3947a57921 Accepting request 1007301 from home:adkorte:branches:server:php:extensions
- Update to 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

OBS-URL: https://build.opensuse.org/request/show/1007301
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-APCu?expand=0&rev=9
2022-10-06 13:36:35 +00:00
57100a9af5 Accepting request 930562 from server:php:extensions
OBS-URL: https://build.opensuse.org/request/show/930562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-APCu?expand=0&rev=3
2021-11-10 20:46:30 +00:00
729803bee6 Accepting request 930557 from home:adkorte:branches:server:php:extensions
- Update to 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.

OBS-URL: https://build.opensuse.org/request/show/930557
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-APCu?expand=0&rev=8
2021-11-09 21:39:53 +00:00
Richard Brown
048cc82bd4 Accepting request 876707 from server:php:extensions
OBS-URL: https://build.opensuse.org/request/show/876707
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-APCu?expand=0&rev=2
2021-03-05 12:47:40 +00:00
89595ee6b8 Accepting request 876705 from home:adkorte:branches:server:php:extensions
- Update to 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.

OBS-URL: https://build.opensuse.org/request/show/876705
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-APCu?expand=0&rev=6
2021-03-04 10:24:34 +00:00
d44b394417 Accepting request 873868 from server:php:extensions
Rename php7-APCu to php-APCu

OBS-URL: https://build.opensuse.org/request/show/873868
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-APCu?expand=0&rev=1
2021-02-19 22:48:16 +00:00
4241673c81 - Use php_cfgdir and php_extdir macros to determine location of files
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-APCu?expand=0&rev=4
2021-02-17 20:14:37 +00:00
a38d328847 - Use _multibuild to also build for php8
- Use php-config to determine location of files in package

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-APCu?expand=0&rev=3
2021-02-17 19:46:02 +00:00
e2a268c3dd OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-APCu?expand=0&rev=2 2021-02-17 19:18:16 +00:00