Repository navigation
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see whatβs changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: opentelemetry-php/context
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.5.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: opentelemetry-php/context
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.6.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 6 commits
- 7 files changed
- 2 contributors
Commits on Sep 23, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 01aed09 - Browse repository at this point
Copy the full SHA 01aed09View commit details
Commits on Sep 30, 2026
-
* rector 2.6 update invalid rector config to work with latest version of rector * apply rector fixes, quieten phan - apply some of the new rector suggestions, disable new additions that break things - stop phan from complaining about #Override attributes * remove 8.1 checks from context The context package requires 8.1+ so this check is redundant, which phpstan complains about. * replace deprecated PHP_CS_FIXER_IGNORE_ENV * unbreak metric streams using identical on int|GMP breaks if gmp extension installed * fix minor delta storage + gmp bug not tested by any existing tests, but with > 64 readers plus GMP extension, the === test would never match, leading to memory growth. * switch psalm-specific to general annotations psalm-param, psalm-template etc were tripping up phan, and php-cs-fixer cannot order them in a way that makes all tools happy. Switching psalm-param to param etc still keeps psalm happy, and php-cs-fixer is also happy. phan is less unhappy. * green phan update some annotations so that phan and psalm are both happy. psalm is able to understand ContentTypes::* and given that has a todo to become an enum, it's unlikely to have any other constants added. * upgrade deptrac * tidy StackTraceFormatter annotations NB that phpstan-type looks to be the only way to document Frame/Frames that deptrac can understand
Configuration menu - View commit details
-
Copy full SHA for 268bb23 - Browse repository at this point
Copy the full SHA 268bb23View commit details
Commits on Oct 23, 2026
-
* Require PHP 8.2 PHP 8.1 reached end of life on 2025-12-31, and the versioning policy drops a version within a year of that. Raise the minimum in every package except SemConv and proto, which are generated, need nothing newer and are often installed on their own. Drop symfony/polyfill-php82 and PHPUnit 10, which are no longer needed with 8.2 as the floor. The phan target, two stale baseline entries and the FFI test guards move to match. * Drop PHP 8.1 from CI and dev tooling 8.2 becomes the default image. The fiber-ffi compose file also mounted the FFI observer test from its old path, so the example was already broken; point it at tests/Integration. * update docs for 8.2 * Move rector to the PHP 8.2 set PHP_82 does not include PHP_81, so list both. Skip ReadOnlyClassRector: every class it touches is already final, and promoting readonly to the class makes a later mutable property a noisier change, as discussed in #1463. * Prefer stubs over mocks in tests Requiring PHPUnit 11 enables rector's stub rules, which replace createMock() with createStub() where a double sets no expectations. Five tests are skipped. Two build their doubles in a helper and set expectations elsewhere, so the expectations would go unverified. Three would type a property as a stub of a final class, which PHPStan cannot resolve. * use imports
Configuration menu - View commit details
-
Copy full SHA for a26489c - Browse repository at this point
Copy the full SHA a26489cView commit details
Commits on Oct 25, 2026
-
Close small spec compliance gaps (#2092)
* Close small spec compliance gaps Bring a group of small items into line with recent specification releases. Root spans get the W3C Random trace flag when the ID generator implements the new RandomTraceIdGeneratorInterface, which RandomIdGenerator does [1][2]. The environment carrier normalizes keys to environment variable names, as reported in #1860, and documents that it reads and writes the process environment [3][4]. The OTLP user agent now uses the OTel-OTLP-Exporter-PHP format [5], and the TraceIdRatioBased sampler describes itself as TraceIdRatioBased{RATIO} [6]. Exceptions are no longer recorded with the exception.escaped attribute, which the specification dropped in v1.42.0 [7]. On log records, attributes set by the caller take precedence over those derived from setException() [8]. The Zipkin exporter is deprecated and raises a deprecation notice when created by its factory, as tracked in #2064 [9]. The remaining Events classes are marked deprecated, following the deprecation and removal of the Events API [10]. Stale @experimental tags are removed from Tracer and Instrument Enabled and from AlwaysRecord, which are now stable [11][12][13]. The API interfaces now document the concurrency requirements for traces, metrics and logs [14][15][16]. The console exporters warn that their output format is unspecified [17][18][19]. The Logs API README no longer says the API is not for application developers [20]. Spec links touched here point at the specification repository, pinned to the release the change was checked against, and tests that confirm a spec rule link to it. AGENTS.md now says when to link to the spec and how, so that links stay tied to the text they were written against. [1] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/trace/sdk.md#random-trace-flag [2] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/trace/sdk.md#idgenerator-randomness-1 [3] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/context/env-carriers.md#key-name-normalization [4] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/context/env-carriers.md#operational-guidance [5] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/protocol/exporter.md#user-agent [6] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/trace/sdk.md#traceidratiobased [7] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/trace/exceptions.md#attributes [8] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/logs/sdk.md#emit-a-logrecord [9] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/trace/sdk_exporters/zipkin.md [10] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.40.0/specification/logs/event-api.md [11] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/trace/api.md#enabled [12] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/metrics/api.md#enabled [13] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/trace/sdk.md#alwaysrecord [14] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/trace/api.md#concurrency-requirements [15] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/metrics/api.md#concurrency-requirements [16] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/logs/api.md#concurrency-requirements [17] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/trace/sdk_exporters/stdout.md [18] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/logs/sdk_exporters/stdout.md [19] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/metrics/sdk_exporters/stdout.md [20] https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/logs/api.md Co-Authored-By: Claude Code * mock to stub * fix psalm errors * fix test complaintsConfiguration menu - View commit details
-
Copy full SHA for 1083c6f - Browse repository at this point
Copy the full SHA 1083c6fView commit details
Commits on Nov 2, 2026
-
Add a changelog to each package (#2109)
Each split package gets a CHANGELOG.md in the format the sdk-configuration changelog already uses. The Unreleased section covers everything since the package's latest tag, so the api 1.11 and sdk 1.16 releases have notes ready, and earlier releases link to the package's GitHub releases. CONTRIBUTING.md and AGENTS.md ask for an entry when a change affects a package's users. A new Changelog workflow runs script/check_changelog.sh on pull requests and flags packages that changed without a changelog entry. The skip-changelog label turns it off for changes users won't notice. sdk now requires api ^1.11. It has called Logging::setLogLevel() since #2068, which api 1.10 doesn't have. Assisted-By: Claude Code
Configuration menu - View commit details
-
Copy full SHA for 1fff2d9 - Browse repository at this point
Copy the full SHA 1fff2d9View commit details
Commits on Nov 5, 2026
-
mostly-automated bulk release preparation using dev-tools
Configuration menu - View commit details
-
Copy full SHA for 711e729 - Browse repository at this point
Copy the full SHA 711e729View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we canβt render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 1.5.0...1.6.0