Skip to content

Conversation

@leehack
Copy link
Owner

@leehack leehack commented Dec 23, 2025

BREAKING CHANGES:

  • Renamed core classes:
    • Client -> McpClient (avoids conflicts with http library)
    • ClientOptions -> McpClientOptions
    • ServerOptions -> McpServerOptions
  • Renamed request/notification parameter types:
    • ReadResourceRequestParams -> ReadResourceRequest
    • GetPromptRequestParams -> GetPromptRequest
    • ElicitRequestParams -> ElicitRequest
    • CreateMessageRequestParams -> CreateMessageRequest
    • LoggingMessageNotificationParams -> LoggingMessageNotification

All breaking changes are auto-fixable via dart fix --apply. Added fix_data.yaml for automatic migration support.

…r types

BREAKING CHANGES:
- Renamed core classes:
  - Client -> McpClient (avoids conflicts with http library)
  - ClientOptions -> McpClientOptions
  - ServerOptions -> McpServerOptions
- Renamed request/notification parameter types:
  - ReadResourceRequestParams -> ReadResourceRequest
  - GetPromptRequestParams -> GetPromptRequest
  - ElicitRequestParams -> ElicitRequest
  - CreateMessageRequestParams -> CreateMessageRequest
  - LoggingMessageNotificationParams -> LoggingMessageNotification

All breaking changes are auto-fixable via `dart fix --apply`.
Added fix_data.yaml for automatic migration support.
@codecov
Copy link

codecov bot commented Dec 23, 2025

Codecov Report

❌ Patch coverage is 88.61789% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.62%. Comparing base (b79868a) to head (9a92e56).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
lib/src/shared/protocol.dart 16.66% 5 Missing ⚠️
lib/src/types/prompts.dart 62.50% 3 Missing ⚠️
lib/src/types/tasks.dart 86.95% 3 Missing ⚠️
lib/src/client/client.dart 85.71% 1 Missing ⚠️
lib/src/server/tasks/handler.dart 50.00% 1 Missing ⚠️
lib/src/types/elicitation.dart 90.90% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #57      +/-   ##
==========================================
+ Coverage   77.41%   78.62%   +1.20%     
==========================================
  Files          40       40              
  Lines        5066     5066              
==========================================
+ Hits         3922     3983      +61     
+ Misses       1144     1083      -61     
Flag Coverage Δ
unittests 78.62% <88.61%> (+1.20%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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