Skip to content

chore: bump utopia-php/cache to 2.0.0#101

Merged
loks0n merged 2 commits into
mainfrom
chore/bump-cache-2.0.0
May 12, 2026
Merged

chore: bump utopia-php/cache to 2.0.0#101
loks0n merged 2 commits into
mainfrom
chore/bump-cache-2.0.0

Conversation

@ChiragAgg5k
Copy link
Copy Markdown
Member

What

Bumps utopia-php/cache from 1.0.* to 2.* (resolves to 2.0.0) and raises the PHP floor from >=8.0 to >=8.2.

Why

utopia-php/cache 2.0.0 (release notes) adds the CircuitBreaker adapter and a Feature\Telemetry contract. The major bump is driven by:

  • PHP floor raised from >=8.0 to >=8.2 — this repo previously declared >=8.0, so the floor must move up to stay consistent with what composer can install. The Dockerfile already runs PHP 8.3.
  • New required runtime dependency on utopia-php/circuit-breaker: 0.3.*.

No source-level API was broken — Cache and Adapter\None (the symbols used by this repo) keep the same signatures.

Changes

  • composer.json: php: ">=8.0"">=8.2".
  • composer.json: utopia-php/cache: "1.0.*""2.*".
  • composer.lock: regenerated; pulls in utopia-php/circuit-breaker 0.3.0 as a transitive.

Test plan

  • CI passes.
  • No call sites use Utopia\Cache\Feature\Telemetry or Utopia\Cache\Adapter\CircuitBreaker (additive APIs), so no source changes required.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 12, 2026

Greptile Summary

Bumps utopia-php/cache from 1.0.* to ^2.0 (resolving to 2.0.0) and raises the PHP platform floor from >=8.0 to >=8.2 to stay consistent with the new package requirement. No source-level API used by this repo (Cache, Adapter\None) was changed.

  • composer.json: PHP floor and cache constraint updated; all other direct deps unchanged.
  • composer.lock: New transitive dep utopia-php/circuit-breaker 0.3.0 added; utopia-php/telemetry moved from 0.2.0 to 0.3.0 as a side effect of the lock regeneration; several opentelemetry and symfony packages received minor/patch bumps.

Confidence Score: 5/5

Safe to merge — only dependency metadata changes with no source code modifications and no broken call sites.

The change is purely a dependency bump with well-understood scope: the Dockerfile already runs PHP 8.3, the two symbols this repo uses from utopia-php/cache keep the same signatures, and the new transitive circuit-breaker package is additive-only. Lock file regeneration also pulled in minor/patch updates to several Symfony and OpenTelemetry packages, all within their declared constraint ranges.

No files require special attention.

Important Files Changed

Filename Overview
composer.json PHP floor raised from >=8.0 to >=8.2 and utopia-php/cache bumped from 1.0.* to ^2.0; no other direct dependency changes.
composer.lock Lock file regenerated: utopia-php/cache 1.0.1→2.0.0, new transitive dep utopia-php/circuit-breaker 0.3.0, utopia-php/telemetry 0.2.0→0.3.0, and multiple opentelemetry/symfony patch/minor bumps.

Reviews (2): Last reviewed commit: "chore: use caret constraint ^2.0 for uto..." | Re-trigger Greptile

@loks0n loks0n merged commit bb24642 into main May 12, 2026
3 of 4 checks passed
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.

2 participants