Skip to content

chore(main): release 0.1.5 #19

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

Conversation

hashemix
Copy link
Member

@hashemix hashemix commented Feb 14, 2025

🤖 Automated release created! 🚀

0.1.5 (2025-02-15)

Features

  • implement builder pattern for JsonrpcErrorError (#18) (71e63e5)

    Details

    Old Approach

    JsonrpcErrorError::new(
                schema_utils::RpcErrorCodes::method_not_found,
                "Method not found!".to_string(),
                None,
            );

    New Approach

    JsonrpcErrorError::method_not_found()
    • overriding the message and passing data:
    JsonrpcErrorError::method_not_found()
            .with_message("Method is not supported!".to_string())
            .with_data(Some(json!({"details": "No implementation found for this method."})))

Bug Fixes

  • Standardize error types to conform to JSON-RPC (#20) (47fd818)

This PR was generated with Release Please. See documentation.

@hashemix hashemix force-pushed the release-please--branches--main--components--rust-mcp-schema branch from 5b511c7 to e25d1a7 Compare February 14, 2025 20:48
@hashemix hashemix force-pushed the release-please--branches--main--components--rust-mcp-schema branch from e25d1a7 to 78d62b6 Compare February 15, 2025 00:09
@hashemix hashemix merged commit 17a9229 into main Feb 15, 2025
6 checks passed
@hashemix
Copy link
Member Author

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