Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Laminas packages (major) - autoclosed #53

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 16, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
laminas/laminas-cache (source) ^3.9.1 -> ^4.0.0 age adoption passing confidence
laminas/laminas-cache-storage-adapter-apcu ^2.4 -> ^3.0 age adoption passing confidence

Release Notes

laminas/laminas-cache (laminas/laminas-cache)

v4.0.0

Compare Source

Release Notes for 4.0.0

laminas-cache 4.0.0 is here and finally adds native types everywhere, adds support for psr/cache and psr/simple-cache v2 & v3 and introduces an all new metadata logic which allows adapters to provide metadata they actually support.

Please read more on how to migrate your project in our migration guideline.

Added
  • Every adapter which supports metadata now implements MetadataCapableInterface and provides a dedicated object containing all the metadata values it supports
  • Adds support for psr/cache and psr/simple-cache v2 & v3
Removed
  • supportedMetadata capability from Capabilities
  • KeyListIterator::CURRENT_AS_METADATA mode along with Laminas\Cache\Exception\MissingKeyException
  • automatic instantiation of SerializerInterface when calling PluginOptions#getSerializer
  • Increment and decrement feature from StorageInterface, so there is no more StorageInterface#incrementItem, StorageInterface#decrementItem, StorageInterface#decrementItems and StorageInterface#incrementItems
    • this also removes incrementItem, incrementItems, decrementItem, derementItems events (pre, post and exception)
  • dependency inversion on virtual package laminas/laminas-cache-storage-adapter-implementation which now allows laminas-cache to be required without a concrete storage adapter implementation
  • removed support for psr/cache and psr/simple-cache v1
Breaking Changes
  • AbstractAdapter and StorageInterface are not aware of the methods getMetadata anymore. These were moved to the new MetadataCapableInterface
  • Capabilities do not provide supportedMetadata anymore. The supported metadata is tied to the used storage adapter and thus, was already requiring projects to explicitly know the exact implementation of the cache backend in case of using these metadatas anyway
  • KeyListIterator and the corresponding IteratorInterface does not provide the mode CURRENT_AS_METADATA anymore
  • PluginOptions#getSerializer does not create a serializer anymore if a string option was passed, instead, the string is returned
  • Increment and decrement feature was removed from StorageInterface, so there is no more StorageInterface#incrementItem, StorageInterface#decrementItem, StorageInterface#decrementItems and StorageInterface#incrementItems
    • this also removes incrementItem, incrementItems, decrementItem, derementItems events (pre, post and exception)
  • Every method now has native return types
  • Every property now has native types
  • Every method argument now has native types
  • ObjectCache does not inherit the CallbackCache pattern anymore
4.0.0
  • Total issues resolved: 9
  • Total pull requests resolved: 18
  • Total contributors: 4
BC Break,Enhancement
Enhancement
Bug,Enhancement
BC Break,Feature Removal
BC Break
Feature Request
BC Break,Bug
Documentation

v3.12.2

Compare Source

Release Notes for 3.12.2

3.12.x bugfix release (patch)

3.12.2
  • Total issues resolved: 1
  • Total pull requests resolved: 1
  • Total contributors: 1
Documentation

v3.12.1

Compare Source

Release Notes for 3.12.1

3.12.x bugfix release (patch)

3.12.1
  • Total issues resolved: 1
  • Total pull requests resolved: 1
  • Total contributors: 1
Bug

v3.12.0

Compare Source

Release Notes for 3.12.0
3.12.0
  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1
Enhancement

v3.11.0

Compare Source

Release Notes for 3.11.0

Feature release (minor)

Added
  • AdapterPluginManager is now configurable via storage_adapters
Changed
  • Added direct support for PSR-20
  • minimum laminas/laminas-servicemanager version was raised to 3.21.0
Removed
  • PHP 8.0 support was removed
3.11.0
  • Total issues resolved: 1
  • Total pull requests resolved: 3
  • Total contributors: 2
Enhancement
Enhancement,Good First Issue,Help Wanted

v3.10.1

Compare Source

Release Notes for 3.10.1

3.10.x bugfix release (patch)

3.10.1
Bug,Documentation

v3.10.0

Compare Source

Release Notes for 3.10.0

Feature release (minor)

3.10.0
  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1
Enhancement
laminas/laminas-cache-storage-adapter-apcu (laminas/laminas-cache-storage-adapter-apcu)

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 and supports laminas/laminas-cache v4.

Changed
  • Executed apcu_exists during Apcu#getItem since there might be a bug on several systems where success flag of apcu_fetch is set to true for non-existing keys
3.0.0
  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1
BC Break,Enhancement

v2.5.0

Compare Source

Release Notes for 2.5.0

Feature release (minor)

2.5.0
  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 1
Enhancement,renovate

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

Read more information about the use of Renovate Bot within Laminas.

| datasource | package                                    | from  | to    |
| ---------- | ------------------------------------------ | ----- | ----- |
| packagist  | laminas/laminas-cache                      | 3.9.1 | 4.0.0 |
| packagist  | laminas/laminas-cache-storage-adapter-apcu | 2.4.0 | 3.0.0 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot added the renovate label Jun 16, 2024
Copy link
Contributor Author

renovate bot commented Jun 16, 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:4.0.0 laminas/laminas-cache-storage-adapter-apcu:3.0.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 psr/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.
Dependency psr/container 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
    - Root composer.json requires laminas/laminas-cache ^4.0.0 -> satisfiable by laminas/laminas-cache[4.0.0].
    - laminas/laminas-cache 4.0.0 requires psr/cache ^2.0 || ^3.0 -> found psr/cache[2.0.0, 3.0.0] but the package is fixed to 1.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
  Problem 2
    - laminas/laminas-cache 4.0.0 requires psr/cache ^2.0 || ^3.0 -> found psr/cache[2.0.0, 3.0.0] but the package is fixed to 1.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - laminas/laminas-cache-storage-adapter-apcu 3.0.0 requires laminas/laminas-cache ^4.0 -> satisfiable by laminas/laminas-cache[4.0.0].
    - Root composer.json requires laminas/laminas-cache-storage-adapter-apcu ^3.0 -> satisfiable by laminas/laminas-cache-storage-adapter-apcu[3.0.0].

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

@renovate renovate bot changed the title Update Laminas packages (major) Update Laminas packages (major) - autoclosed Jun 16, 2024
@renovate renovate bot closed this Jun 16, 2024
@renovate renovate bot deleted the renovate/major-laminas branch June 16, 2024 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants