forked from pool/php-APCu
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 66a51ca45a | |||
| 811e9b2cbc | |||
| e515071bf3 | |||
| 235cacdf73 | |||
| a8c8e8d17a | |||
| 54411ca543 | |||
| 034446b323 | |||
| b5ba204fb8 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:67ee7464ccad2335c3fa4aeb0b8edbcf6d8344feea7922620c6a13015d604482
|
|
||||||
size 90897
|
|
||||||
3
apcu-5.1.28.tgz
Normal file
3
apcu-5.1.28.tgz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ca9c1820810a168786f8048a4c3f8c9e3fd941407ad1553259fb2e30b5f057bf
|
||||||
|
size 94004
|
||||||
@@ -1,3 +1,78 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 16 21:09:38 UTC 2025 - Arjen de Korte <suse+build@de-korte.org>
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 17 19:54:58 UTC 2025 - Arjen de Korte <suse+build@de-korte.org>
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 8 19:23:58 UTC 2025 - Arjen de Korte <suse+build@de-korte.org>
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 2 20:00:03 UTC 2024 - Arjen de Korte <suse+build@de-korte.org>
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 18 21:31:29 UTC 2023 - Arjen de Korte <suse+build@de-korte.org>
|
Sat Nov 18 21:31:29 UTC 2023 - Arjen de Korte <suse+build@de-korte.org>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package php-APCu
|
# spec file for package php-APCu
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -32,7 +32,7 @@ ExclusiveArch: do-not-build
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: %{php_name}-%{pkg_name}
|
Name: %{php_name}-%{pkg_name}
|
||||||
Version: 5.1.23
|
Version: 5.1.28
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: APCu - APC User Cache
|
Summary: APCu - APC User Cache
|
||||||
License: PHP-3.01
|
License: PHP-3.01
|
||||||
|
|||||||
Reference in New Issue
Block a user