php changedcli-sdks-libraries/sdks/php
Nearest release: v2.1.318, published 4 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+2added
Lines−2removed
From line
278
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits14to this page, all time
The whole hunk
from line 278, old and new numbered
/
from line 278
278278
279279## Semantic versioning
280280
281Each major version of this SDK sends one API version by default, and a new major version comes with each new API version. The first major version that sends `2026-10-21` is 1.0.0; see [Switch to 2026-10-21](https://platform.claude.com/docs/en/api/migration-2026-10-21#upgrade).
282
283281This package follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions.
284282
285283This package considers improvements to the (non-runtime) PHPDoc type definitions to be non-breaking changes.
284
285Every request to the Claude API uses an API version. With this SDK, your requests use the API version that was current when your SDK’s major version was released, so you move to a new API version by upgrading to a new major version. Version 1.0.0 is the first to use `2026-10-21`. See [Migrating to API version 2026-10-21](https://platform.claude.com/docs/en/api/migration-2026-10-21#upgrade) for how to upgrade.
286286
287287## Additional resources
288288
No line in this hunk matches that.