Skip to content

Conversation

tzolov
Copy link
Collaborator

@tzolov tzolov commented Aug 28, 2025

BREAKING CHANGE: The @McpProgress annotation now requires a clientId parameter.

  • Remove default empty string from McpProgress.clientId()
  • Add validation in AsyncProgressSpecification and SyncProgressSpecification constructors
  • Update all examples and tests to include explicit clientId values
  • Update README documentation to reflect the required parameter

This ensures proper client identification for progress notifications and prevents ambiguous progress handling across multiple MCP clients.

BREAKING CHANGE: The @McpProgress annotation now requires a clientId parameter.

- Remove default empty string from McpProgress.clientId()
- Add validation in AsyncProgressSpecification and SyncProgressSpecification constructors
- Update all examples and tests to include explicit clientId values
- Update README documentation to reflect the required parameter

This ensures proper client identification for progress notifications and prevents
ambiguous progress handling across multiple MCP clients.
@tzolov tzolov added this to the 0.3.0 milestone Aug 28, 2025
@tzolov tzolov merged commit a83dd56 into spring-ai-community:main Aug 28, 2025
1 of 2 checks passed
scottslewis pushed a commit to scottslewis/mcp-annotations that referenced this pull request Aug 28, 2025
…community#36)

BREAKING CHANGE: The @McpProgress annotation now requires a clientId parameter.

- Remove default empty string from McpProgress.clientId()
- Add validation in AsyncProgressSpecification and SyncProgressSpecification constructors
- Update all examples and tests to include explicit clientId values
- Update README documentation to reflect the required parameter

This ensures proper client identification for progress notifications and prevents
ambiguous progress handling across multiple MCP clients.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant