Update 0.6.0-MIGRATION-GUIDE.md

remove unrelated sections
This commit is contained in:
Christian Tzolov 2025-01-23 14:05:32 +01:00 • committed by GitHub
commit 7359750cdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -237,22 +237,3 @@ The following APIs are deprecated and will be removed in a future release:
- `McpServer.ResourceRegistration` - Use `McpServerFeatures.SyncResourceRegistration` or `McpServerFeatures.AsyncResourceRegistration` instead
- `McpServer.PromptRegistration` - Use `McpServerFeatures.SyncPromptRegistration` or `McpServerFeatures.AsyncPromptRegistration` instead
- `ToolHelper.toToolRegistration()` - Use `ToolHelper.toSyncToolRegistration()` instead
## Benefits of Migration
1. **Improved Type Safety**: The new builder patterns and feature classes provide better compile-time type checking.
2. **Clear Async/Sync Separation**: Distinct builders and features for sync and async operations make the code intent clearer.
3. **Enhanced Reactive Support**: Async operations now properly integrate with Project Reactor's `Mono` type.
4. **Better Error Handling**: More consistent error handling across sync and async operations.
5. **Simplified Configuration**: Builder patterns provide a more intuitive way to configure clients and servers.
## Additional Notes
- The migration primarily focuses on builder patterns and feature organization
- Functional behavior remains the same after migration
- Async operations now properly integrate with Project Reactor
- All deprecated APIs will continue to work but will be removed in a future release