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 in order to unblock ecosystem compatibility — specifically allowing consumers who also use utopia-php/circuit-breaker0.3.1+ (which itself requires the Counter::lazy() / Gauge::lazy() API added in telemetry 0.4) to resolve a consistent set of packages. The composer.lock is updated to pin utopia-php/telemetry at 0.4.0; no PHP source changes are needed because this library only calls Adapter::createHistogram(), an API that is stable across both versions.
The ^0.4 constraint in Composer resolves to >=0.4.0 <0.5.0 (for 0.x packages Composer treats the minor as the breaking-change boundary), which is semantically equivalent to the 0.4.* notation used for utopia-php/validators; the different syntax is a minor style inconsistency but has no functional impact.
No other locked package versions changed, confirming the upgrade is isolated.
Confidence Score: 5/5
Safe to merge — the change is a single, isolated dependency version bump with no PHP source modifications.
The only files touched are composer.json and composer.lock. The library's sole use of the telemetry API (Adapter::createHistogram) is stable across versions, the lock file correctly resolves to 0.4.0, and no other resolved packages shifted. The motivation is clearly documented and the constraint is appropriate for a 0.x package.
No files require special attention.
Important Files Changed
Filename
Overview
composer.json
Bumps utopia-php/telemetry constraint from 0.2.* to ^0.4; constraint style is now inconsistent with other utopia-php deps that use 0.x.* notation, but semantics are equivalent (>=0.4.0 <0.5.0)
composer.lock
Lock file regenerated to resolve utopia-php/telemetry at 0.4.0 (commit e0630df); content-hash updated; 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 lintcomposer testnot available: no Composer test script