Skip to content

chore(deps): allow cache/adapter-common 2.x/3.x (Laravel 12 consumers) - #48

Draft
ankitchoudhary2209 wants to merge 1 commit into
masterfrom
laravel-12-upgrade
Draft

ankitchoudhary2209 wants to merge 1 commit into
masterfrom
laravel-12-upgrade

Conversation

@ankitchoudhary2209

Copy link
Copy Markdown

Summary

Widens cache/adapter-common from ^1.0 to ^1.0 || ^2.0 || ^3.0. No source changes.

Laravel 12.29+ depends on phiki/phiki, which requires psr/simple-cache ^3. cache/adapter-common 1.x pins psr/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 the Cache\\Adapter\\Common\\CacheItem class that QpsSampler references.

Branch is cut from tag v1.0.0, which is what auth-service and razorpay/oauth consume.

Verification

Consumed from razorpay/auth-service on Laravel 12.69.2 with cache/adapter-common 3.0.0: full suite (544 tests) passes locally.

Related

  • DevRev SBB EOL tickets on auth-service: ISS-3678486, ISS-3654076, ISS-3653801, ISS-3653800, ISS-3629415, ISS-3621724
  • Sibling PRs: razorpay/oauth, razorpay/outbox-php, razorpay/account-service-php-sdk (branch laravel-12-upgrade).

🤖 Generated with Claude Code

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant