chore(deps): allow cache/adapter-common 2.x/3.x (Laravel 12 consumers) - #48
Draft
ankitchoudhary2209 wants to merge 1 commit into
Draft
ankitchoudhary2209 wants to merge 1 commit into
ankitchoudhary2209 wants to merge 1 commit into
Conversation
Laravel 12.29+ requires psr/simple-cache ^3 (via phiki), which is incompatible with cache/adapter-common 1.x (psr/simple-cache ^1). adapter-common 2.x/3.x keep the Cache\Adapter\Common\CacheItem class used by QpsSampler, so widening the constraint is enough. No code change. Refs: auth-service SBB EOL tickets ISS-3678486 ISS-3654076 ISS-3653801 ISS-3653800 ISS-3629415 ISS-3621724 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Widens
cache/adapter-commonfrom^1.0to^1.0 || ^2.0 || ^3.0. No source changes.Laravel 12.29+ depends on
phiki/phiki, which requirespsr/simple-cache^3.cache/adapter-common1.x pinspsr/simple-cache^1, which makes any Laravel 12 consumer of this library unresolvable. 2.x/3.x (Aug 2026) move to PSR cache/simple-cache/log 3 and keep theCache\\Adapter\\Common\\CacheItemclass thatQpsSamplerreferences.Branch is cut from tag
v1.0.0, which is what auth-service and razorpay/oauth consume.Verification
Consumed from
razorpay/auth-serviceon Laravel 12.69.2 withcache/adapter-common3.0.0: full suite (544 tests) passes locally.Related
laravel-12-upgrade).🤖 Generated with Claude Code