Skip to content

chore(deps): bump the php-production group with 3 updates - #7059

Open
dependabot[bot] wants to merge 1 commit into
4.4from
dependabot/composer/php-production-f7653f3a92
Open

chore(deps): bump the php-production group with 3 updates#7059
dependabot[bot] wants to merge 1 commit into
4.4from
dependabot/composer/php-production-f7653f3a92

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 16, 2026

Copy link
Copy Markdown
Contributor

Bumps the php-production group with 3 updates: nesbot/carbon, knplabs/knp-components and mcp/sdk.

Updates nesbot/carbon from 3.13.1 to 3.13.2

Release notes

Sourced from nesbot/carbon's releases.

3.13.2

What's Changed

Full Changelog: CarbonPHP/carbon@3.13.1...3.13.2

Commits
  • a1c5491 Merge pull request #139 from CarbonPHP/feature/issue-138-day-and-month-transl...
  • f5e32b7 Drop mmm_suffix
  • f0a2405 Prioritize day names over month names when translating string before the firs...
  • d81c9c4 Merge pull request #3352 from briannesbitt/dependabot/github_actions/pnpm/act...
  • dd3e1ca Bump pnpm/action-setup from 6 to 6.0.9
  • 7d6a63e Merge pull request #3351 from briannesbitt/job/update-sponsors
  • fa2f48f Update sponsors
  • 7260075 Merge pull request #3350 from briannesbitt/dependabot/github_actions/actions/...
  • 2536c74 Bump actions/setup-node from 6 to 7
  • 07c578d Merge pull request #3348 from briannesbitt/job/update-sponsors
  • Additional commits viewable in compare view

Updates knplabs/knp-components from 5.2.0 to 5.3.0

Release notes

Sourced from knplabs/knp-components's releases.

v5.3.0

What's Changed

New Contributors

Full Changelog: KnpLabs/knp-components@v5.2.0...v5.3.0

Commits

Updates mcp/sdk from 0.7.0 to 0.7.1

Release notes

Sourced from mcp/sdk's releases.

v0.7.1

What's Changed

New Contributors

Full Changelog: modelcontextprotocol/php-sdk@v0.7.0...v0.7.1

Changelog

Sourced from mcp/sdk's changelog.

Changelog

All notable changes to mcp/sdk will be documented in this file.

0.8.0

  • Always emit {} for empty tool schemas: Tool recursively normalizes every empty sub-schema — properties, items, additionalProperties, $defs, combinators and the other draft-07 to 2020-12 schema keywords — in the constructor, for both inputSchema and outputSchema, so an object position is never serialized as [].
  • Prompt generators returning content as typed arrays (['type' => 'text', ...] etc.) no longer lose the optional fields: annotations on every content type, and _meta and an explicit mimeType on embedded resource contents, now carry through to the resulting PromptMessage instead of being silently dropped. A missing resource mimeType still defaults to text/plain/application/octet-stream as before.
  • Add annotations support to ImageContent (constructor, fromArray(), fromFile(), fromString(), jsonSerialize()), matching TextContent and AudioContent.
  • Add client-side roots/list handler (ListRootsRequestHandler + RootsCallbackInterface) and Client::sendRootsListChanged(), plus server-side ClientGateway::listRoots() / supportsRoots() and ListRootsResult::fromArray().
  • Add ClientGateway::supportsSampling(), so a tool can check the client's advertised capabilities before issuing a sampling/createMessage request instead of asking and catching the refusal. Matches the existing supportsRoots() and supportsElicitation().
  • [BC Break] Gate structuredContent on the negotiated protocol revision: ToolReference::extractStructuredContent() takes an optional ProtocolVersion and, for revisions predating SEP-2106 (2025-11-25 and earlier, where structuredContent must be a JSON object), returns null for a tool result that is a PHP list or an object serializing to a JSON array. From 2026-07-28 on both are emitted as-is. Objects serializing to a scalar and arrays holding Content instances are never emitted, in any revision. CallToolHandler resolves the revision from the request's _meta (modern era) or the session (handshake era) and falls back to the strictest rule; it logs a warning when a tool declares an outputSchema but returns a value that cannot be sent, and when a self-built CallToolResult carries a structuredContent the revision does not allow (that one is passed through unchanged). Tools returning a list against an older client keep their JSON-encoded value in content; they just no longer advertise an invalid structuredContent.
  • Add Mcp\Schema\Content\ResourceLink for the spec's resource_link content block (protocol revision 2025-06-18+), letting tool results and prompt messages reference a resource by URI/name without embedding its contents. Accepted anywhere resource (EmbeddedResource) content is (de)serialized: CallToolResult::fromArray(), PromptMessage::fromArray(), and PromptResultFormatter.
  • Negotiate the protocol revision during the initialize handshake: the server echoes a revision it supports and counter-offers ProtocolVersion::latestHandshake() otherwise (Builder::setProtocolVersion() pins it to exactly one), and the client fails the handshake on a counter-offer it cannot speak rather than continuing on an unagreed revision. Adds Client::getProtocolVersion(), the 2026-07-28 revision, and the era helpers on ProtocolVersion — revisions from 2026-07-28 on have no initialize, so they are excluded from negotiation and from ProtocolVersionMiddleware's default supported set.
  • Add sampling with tools support: sampling requests now accept tools and tool-choice preferences, messages support tool-use/tool-result content blocks and multiple content blocks, and clients can advertise the sampling.context and sampling.tools capabilities. Adds ClientGateway::supportsSamplingTools() / supportsSamplingContext() to check the sub-capabilities before sending, and CreateSamplingMessageRequest::validateToolFlow(), which asserts the spec's tool-flow rules across the whole message list — the client handler rejects a violating request with -32602 instead of leaving it unanswered, and the gateway refuses to send one.
  • [BC Break] SamplingMessage::$content and CreateSamplingMessageResult::$content may now hold a list of content blocks instead of a single one, so code reading them directly must handle both. Use the new getContentBlocks() on either class to always get a list.
  • [BC Break] CreateSamplingMessageResult now rejects any role other than assistant, and rejects empty content, as the specification requires.
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the php-production group with 3 updates: [nesbot/carbon](https://github.com/CarbonPHP/carbon), [knplabs/knp-components](https://github.com/KnpLabs/knp-components) and [mcp/sdk](https://github.com/modelcontextprotocol/php-sdk).


Updates `nesbot/carbon` from 3.13.1 to 3.13.2
- [Release notes](https://github.com/CarbonPHP/carbon/releases)
- [Commits](CarbonPHP/carbon@3.13.1...3.13.2)

Updates `knplabs/knp-components` from 5.2.0 to 5.3.0
- [Release notes](https://github.com/KnpLabs/knp-components/releases)
- [Commits](KnpLabs/knp-components@v5.2.0...v5.3.0)

Updates `mcp/sdk` from 0.7.0 to 0.7.1
- [Release notes](https://github.com/modelcontextprotocol/php-sdk/releases)
- [Changelog](https://github.com/modelcontextprotocol/php-sdk/blob/main/CHANGELOG.md)
- [Commits](modelcontextprotocol/php-sdk@v0.7.0...v0.7.1)

---
updated-dependencies:
- dependency-name: nesbot/carbon
  dependency-version: 3.13.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: php-production
- dependency-name: knplabs/knp-components
  dependency-version: 5.3.0
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: php-production
- dependency-name: mcp/sdk
  dependency-version: 0.7.1
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: php-production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants