Skip to content

Update dependency io.modelcontextprotocol.sdk:mcp-bom to v0.17.0#83

Closed
adamw7 wants to merge 1 commit into
mainfrom
renovate/io.modelcontextprotocol.sdk-mcp-bom-0.x
Closed

Update dependency io.modelcontextprotocol.sdk:mcp-bom to v0.17.0#83
adamw7 wants to merge 1 commit into
mainfrom
renovate/io.modelcontextprotocol.sdk-mcp-bom-0.x

Conversation

@adamw7
Copy link
Copy Markdown
Owner

@adamw7 adamw7 commented Dec 11, 2025

This PR contains the following updates:

Package Change Age Confidence
io.modelcontextprotocol.sdk:mcp-bom 0.12.1 -> 0.17.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

modelcontextprotocol/java-sdk (io.modelcontextprotocol.sdk:mcp-bom)

v0.17.0

Compare Source

What's Changed

New Contributors

Full Changelog: modelcontextprotocol/java-sdk@v0.16.0...v0.17.0

v0.16.0

Compare Source

What's Changed

New Contributors

Full Changelog: modelcontextprotocol/java-sdk@v0.15.0...v0.16.0

v0.15.0

Compare Source

What's Changed

New Contributors

Full Changelog: modelcontextprotocol/java-sdk@v0.14.1...v0.15.0

v0.14.1

Compare Source

Full Changelog: modelcontextprotocol/java-sdk@v0.14.0...v0.14.1

v0.14.0

Compare Source

What's Changed

New Contributors

Full Changelog: modelcontextprotocol/java-sdk@v0.13.1...v0.14.0

v0.13.1

Compare Source

Full Changelog: modelcontextprotocol/java-sdk@v0.13.0...v0.13.1

v0.13.0

Compare Source

Release Notes

🚀 Major Features & Enhancements

Protocol Version Support
  • Added MCP protocol version 2025-06-18 support for streamable-http and stateless transports (#​558)
    • Set MCP_2025_06_18 as upper supported protocol version
    • Updated LATEST_PROTOCOL_VERSION constant to reflect new upper bound
Module Restructuring
  • Extracted mcp-core module (#​557) - ⚠️ BREAKING CHANGE

    • Created new mcp-core module free of Jackson dependencies
    • mcp module now serves as an umbrella module bringing together mcp-json-jackson2 and mcp-core
    • Classes are now in different JARs, which may affect classpath dependencies
  • Jackson decoupling (#​543) - Related to (#​557)

    • Abstract away Jackson usage with SPI interfaces
      Creates two modules, mcp-json and mcp-json-jackson. It removes the com.fasterxml.jackson.core:jackson-databind and com.networknt:json-schema-validator dependencies from the mcp (now mcp-core) module. The mcp-core (mcp previously) module now only depends on com.fasterxml.jackson.core:jackson-annotations.
      To use Jackson, you have to add mcp-jackson to your dependencies in addition to mcp-core. I added the dependency mcp-jackson to both mcp-spring-mvc and mcp-spring-webflux to avoid a breaking change in those modules.
Enhanced Tool Output Support
  • Support for array-type structured content in tools (#​551) - ⚠️ BREAKING CHANGE
    • Changed CallToolResult.structuredContent type from Map<String,Object> to Object
    • Now supports both objects and arrays as structured content output
    • Updated JsonSchemaValidator to validate any Object type
    • Deprecated CallToolResult constructors in favor of builder pattern
    • Aligns with MCP specification requirements for array-type output schemas

🐛 Bug Fixes

Session Management
  • Fixed LifecycleInitializer error recovery (#​549)
    • Initializer can now recover from errors during doInitialize (e.g., HTTP errors)
    • Prevents getting stuck in error state and allows subsequent initialization calls to work
    • Particularly beneficial for OAuth2 token fetch scenarios
Serialization Improvements
  • Added JsonInclude annotation to notification records (#​552)
    • Enhanced proper JSON serialization for ResourcesUpdatedNotification and LoggingMessageNotification
    • Excludes absent (null/Optional.empty()) fields from serialized output
    • Ensures consistent serialization behavior across all notification types
Test Infrastructure
  • Standardized test parameterization (#​556)
    • Replaced @​ValueSource with @​MethodSource for parameterized tests
    • Added consistent clientsForTesting() methods
    • Removed hardcoded Spring-related labels from framework-agnostic mcp-test module
    • Minor breaking change: moved utility classes from io.modelcontextprotocol.utils to io.modelcontextprotocol.util

⚠️ Breaking Changes Summary

  1. Module Structure Changes (#​557 and #​543))

    • Classes previously in mcp are now in mcp-core. mcp module now serves as an umbrella module bringing together mcp-json-jackson2 and mcp-core.
    • May require classpath adjustments
  2. Tool Result API Changes (#​551)

    • CallToolResult.structuredContent() now returns Object instead of Map<String,Object>
    • Requires explicit casting when accessing map-like content: ((Map<String,Object>) result.structuredContent()).get("key")
    • Deprecated constructors - use builder pattern instead
    • Custom JsonSchemaValidator implementations need signature updates
  3. Package Name Changes (#​556)

    • Utility classes moved from io.modelcontextprotocol.utils to io.modelcontextprotocol.util

📝 Migration Guide

For Tool Result Changes
// Before
result.structuredContent().get("key")

// After  
((Map<String,Object>) result.structuredContent()).get("key")

// Use builder pattern instead of deprecated constructors
CallToolResult.builder()
  .content(content)
  .isError(isError)
  .structuredContent(structuredContent)
  .build()
For Module Dependencies

Ensure your dependencies account for the new module structure:

  • mcp-core for Jackson-free core functionality
  • mcp continues to work as umbrella module with Jackson support

New Contributors

Full Changelog: modelcontextprotocol/java-sdk@v0.12.1...v0.13.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@adamw7 adamw7 closed this Dec 11, 2025
@adamw7
Copy link
Copy Markdown
Owner Author

adamw7 commented Dec 15, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.17.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@adamw7 adamw7 deleted the renovate/io.modelcontextprotocol.sdk-mcp-bom-0.x branch December 15, 2025 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants