Skip to content

chore: deprecate renamed functions #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 16, 2025

Conversation

hashemix
Copy link
Member

📌 Summary

Deprecating renamed functions in v2.0.0, to minimize disruption for developers using this crate in their ongoing projects.

✨ Changes Made

  • Deprecated MCPSdkError in favor of McpSdkError
  • Deprecated get_tools() in favor of tools()
  • Deprecated get_client_info() in favor of client_info()
  • Deprecated get_server_info() in favor of server_info()
  • Deprecated get_server_version() in favor of server_version()
  • Deprecated get_server_capabilities() in favor of server_capabilities()
  • Deprecated get_instructions() in favor of instructions()
  • Deprecated get_client_info() in favor of client_info()
  • Deprecated get_server_info() in favor of server_info()

💡 Additional Notes

This reduces disruption for developers updating to version 2.0.0, though breaking changes may occur, which could be resolved by simply renaming the affected trait object to match its new name.

@hashemix hashemix merged commit b6f5106 into main Apr 16, 2025
2 checks passed
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.

1 participant