Skip to content

Conversation

@CodeWithKyrian
Copy link
Contributor

This PR prepares for the v2.2.0 release, incorporating the following key enhancements and refactorings:

  • Feature: Added server-wide pagination limit configuration, allowing better control over list-based responses.
  • Feature: Introduced a HandlerResolver for more robust validation and resolution of MCP element handlers.
  • Refactor: Updated the server's listening mechanism to allow initialization without an immediately blocking event loop, offering greater flexibility for integrations.
  • Refactor: Performed general cleanup of internal architecture and dependencies to improve maintainability and stability.

These changes collectively improve the server's flexibility, robustness, and internal structure.

- Allow starting server without running blocking loop
- Refactored message queuing in ClientStateManager to accept framed messages directly.
- Updated Registry class to frame notifications before queuing.
- Introduced a new pagination limit parameter in the Configuration class.
- Updated ServerBuilder to support pagination limit configuration.
- Refactored RequestProcessor to utilize the configured pagination limit for list methods.
@CodeWithKyrian CodeWithKyrian changed the title Release/v2.2.0 Release v2.2.0: Pagination, HandlerResolver, and Core Refinements Jun 3, 2025
@CodeWithKyrian CodeWithKyrian merged commit 9892dd3 into main Jun 3, 2025
4 checks passed
@CodeWithKyrian CodeWithKyrian deleted the release/v2.2.0 branch June 3, 2025 23:05
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