Skip to content
This repository has been archived by the owner on Feb 19, 2025. It is now read-only.

Update dependency laminas/laminas-cache-storage-adapter-memory to v3 #433

Open
wants to merge 1 commit into
base: 6.4.x
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 10, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
laminas/laminas-cache-storage-adapter-memory ^2.2.0 -> ^3.1.0 age adoption passing confidence

Release Notes

laminas/laminas-cache-storage-adapter-memory (laminas/laminas-cache-storage-adapter-memory)

v3.1.0

Compare Source

Release Notes for 3.1.0

Feature release (minor)

This release adds support for PHP 8.4.
3.1.0
  • Total issues resolved: 0
  • Total pull requests resolved: 3
  • Total contributors: 3
Enhancement
renovate

v3.0.0

Compare Source

Release Notes for 3.0.0

Backwards incompatible release (major)

laminas-cache-storage-adapter-memory 3.0.0 is here and finally adds native types everywhere, adds support for psr/cache and psr/simple-cache v2 & v3, supports laminas/laminas-cache v4 and introduces an all new metadata and internal persistence logic.

The Memory adapter had its flaws by juggling with the memory_limit. There were a bunch of issues with that behavior, especially since it is impossible to calculate the exact free memory available. For more details, one can check #​57. With this version, we are introducing max_items which limits the amount of items persisted to the Memory adapter (defaults to unlimited). Once the max_items are exceeding, the adapter automatically removes the oldest entries to make room for new items.

Added
  • Dedicated Metadata object for Memory#getMetadata
  • Adds support for psr/cache and psr/simple-cache v2 & v3
  • Memory now allows passing a ClockInterface via its constructor
  • MemoryOptions now has max_items configuration to limit the amount of items to be cached. When the limit exceeds, the adapter automatically drops older items
Changed
  • Memory adapter now supports per-item TTL and thus, the TTL is calculated on-write rather than on-read
  • Memory adapter now supports max_items option which can be used to limit the amount of items persisted to the cache
Removed
  • MemoryOptions#setMemoryLimit , there is no replacement. It is recommended to use the max_items option instead
  • MemoryOptions#getMemoryLimit, there is no relacement
3.0.0
  • Total issues resolved: 2
  • Total pull requests resolved: 4
  • Total contributors: 2
renovate
RFC
Enhancement
BC Break,Bug,Enhancement
BC Break,Bug

v2.3.0

Compare Source

Release Notes for 2.3.0

Feature release (minor)

2.3.0
  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1
Enhancement

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Read more about the use of Renovate Bot within ocramius/* projects.

Copy link
Contributor Author

renovate bot commented Jul 10, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update laminas/laminas-cache-storage-adapter-memory:3.1.0 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Dependency laminas/laminas-cache is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - laminas/laminas-cache is locked to version 3.11.0 and an update of this package was not requested.
    - laminas/laminas-cache 3.11.0 requires laminas/laminas-cache-storage-implementation 1.0 -> could not be found in any version, but the following packages provide it:
      - laminas/laminas-cache-storage-adapter-filesystem Laminas cache adapter for filesystem
      - doctrine/doctrine-module Laminas Module that provides Doctrine basic functionality required for ORM and ODM modules
      - laminas/laminas-cache-storage-adapter-memory Laminas cache adapter for memory
      - laminas/laminas-cache-storage-adapter-redis Laminas cache adapter for redis
      - laminas/laminas-cache-storage-adapter-memcached Laminas cache adapter for memcached
      - laminas/laminas-cache-storage-adapter-blackhole Laminas cache adapter for blackhole
      - laminas/laminas-cache-storage-adapter-apcu Laminas cache adapter for apcu
      - laminas/laminas-cache-storage-adapter-session Laminas cache adapter for session
      - laminas/laminas-cache-storage-adapter-ext-mongodb Laminas cache adapter for ext-mongodb
      - laminas/laminas-cache-storage-adapter-memcache Laminas cache adapter for memcache
      - laminas/laminas-cache-storage-adapter-zend-server Laminas cache adapter for zend-server
      - laminas/laminas-cache-storage-adapter-apc Laminas cache adapter
      - laminas/laminas-cache-storage-adapter-dba Laminas cache adapter for dba
      - laminas/laminas-cache-storage-adapter-mongodb Laminas cache adapter for mongodb
      - laminas/laminas-cache-storage-adapter-wincache Laminas cache adapter for wincache
      ... and 2 more.
      Consider requiring one of these to satisfy the laminas/laminas-cache-storage-implementation requirement.
  Problem 2
    - Root composer.json requires laminas/laminas-cache-storage-adapter-memory ^3.1.0 -> satisfiable by laminas/laminas-cache-storage-adapter-memory[3.1.0].
    - laminas/laminas-cache-storage-adapter-memory 3.1.0 requires laminas/laminas-cache ^4.0 -> found laminas/laminas-cache[4.0.0, ..., 4.1.0] but it conflicts with your root composer.json require (^3.11.0).

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@renovate renovate bot added the renovate label Jul 10, 2024
| datasource | package                                      | from  | to    |
| ---------- | -------------------------------------------- | ----- | ----- |
| packagist  | laminas/laminas-cache-storage-adapter-memory | 2.2.0 | 3.1.0 |
@renovate renovate bot force-pushed the renovate/laminas-laminas-cache-storage-adapter-memory-3.x branch from 8836a21 to fb7d75f Compare November 27, 2024 09:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants