Skip to content

Public API generator #642

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

Closed

Conversation

Scooletz
Copy link
Contributor

This PR adds PublicApiGenerator so that the public API of three main libs is properly asserted.

Motivation and Context

A discussion under #639 showed that there's no assertion over the public API here.

How Has This Been Tested?

Three tests have been added, one for each project being asserted.

Breaking Changes

No. It will prevent the breaking changes from happening unnoticed.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

@Scooletz
Copy link
Contributor Author

Will take a look at build issues. Converting to a draft for now.

@Scooletz Scooletz marked this pull request as draft July 22, 2025 14:20
@eiriktsarpalis
Copy link
Member

The API surface of the SDK is still unstable. While we'd want to add this eventually, I'm not certain that now is the time to do so. cc @stephentoub

@Scooletz
Copy link
Contributor Author

Ok. Let me close this PR then. We can PublicAPI it anytime in the future.

@Scooletz Scooletz closed this Jul 23, 2025
@Scooletz Scooletz deleted the public-api-generator branch July 23, 2025 09:00
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