You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR bumps the utopia-php/telemetry dependency from 0.2.* to ^0.4 (resolving to 0.4.0 in the lock file) to unblock downstream libraries that depend on the lazy metric API (Counter::lazy() / Gauge::lazy()) introduced in 0.4.
composer.json: single-line constraint update; all other packages and their resolved versions are unchanged.
composer.lock: only the utopia-php/telemetry block is updated (version, git ref, dist URL, source URL, timestamp); content hash is refreshed accordingly.
src/Http/Http.php uses createHistogram and createUpDownCounter from the telemetry adapter — neither of these surface APIs appears to have changed between 0.2 and 0.4, so no source changes are needed.
Confidence Score: 4/5
Safe to merge; the change is a targeted dependency version bump with no source code modifications and a correctly regenerated lock file.
The bump skips 0.3.* entirely, so two minor versions of a 0.x library are bypassed. The APIs actually consumed in Http.php (createHistogram, createUpDownCounter, Adapter, Histogram, UpDownCounter) appear unchanged at 0.4.0, but that compatibility cannot be statically confirmed without reading the upstream library diff. The only flagged issue is a cosmetic constraint-style inconsistency (^0.4 vs the project-wide x.y.* pattern).
No files require special attention beyond the minor style note on composer.json.
Important Files Changed
Filename
Overview
composer.json
Bumps utopia-php/telemetry constraint from 0.2.* to ^0.4; constraint style is inconsistent with all other utopia-php/* dependencies which use x.y.* wildcards, though both forms are functionally equivalent for a 0.x library in Composer.
composer.lock
Lock file regenerated to resolve utopia-php/telemetry at 0.4.0; no other package versions changed.
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
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
utopia-php/telemetryfrom0.2.*to^0.4.composer.lockto resolveutopia-php/telemetry0.4.0.Why
Circuit breaker
0.3.1uses the telemetry0.4lazy metric API. Keeping downstream libraries pinned to telemetry0.2.*allows Composer to resolve an incompatible runtime combination whereCounter::lazy()/Gauge::lazy()are missing.Tests
composer validate --strictcomposer format:checkcomposer test(fails in local environment because e2e hostsfpmandswooleare not resolvable)