-
Notifications
You must be signed in to change notification settings - Fork 965
Comparing changes
Open a pull request
base repository: modelcontextprotocol/typescript-sdk
base: 1.11.1
head repository: modelcontextprotocol/typescript-sdk
compare: 1.11.2
- 8 commits
- 4 files changed
- 5 contributors
Commits on May 2, 2025
-
feat: Add scope parameter to startAuthorization function
- Add optional scope parameter to startAuthorization function signature - Include scope in authorization URL query parameters when provided - Update auth function to pass through scope from provider.clientMetadata - Add tests to verify scope is correctly included/excluded from auth URL This enhancement allows clients to specify authorization scopes during the OAuth flow.
Configuration menu - View commit details
-
Copy full SHA for 30b5544 - Browse repository at this point
Copy the full SHA 30b5544View commit details
Commits on May 9, 2025
-
Fix Zod object detection logic
Previously, this check was `value instanceof ZodType`, which breaks if the user is using a different version of Zod than the library. Instead, do the check using the structure of the input object rather than its prototype chain. Additionally, this adds a vendored version of Zod to use for tests, which ensures that regressions like this would be caught next time.
Configuration menu - View commit details
-
Copy full SHA for b6617dc - Browse repository at this point
Copy the full SHA b6617dcView commit details -
Merge pull request #464 from pcarleton/pcarleton/oauth-scope
feat: Add scope parameter to startAuthorization function
Configuration menu - View commit details
-
Copy full SHA for bf7fd44 - Browse repository at this point
Copy the full SHA bf7fd44View commit details -
tweak heuristic type test for isZodRawShape
- simpler test for empty object - only test public zod properties (parse, safeParse) Confirmed that vendored-library tests still pass. Note that you need the --testPathIgnorePatterns to avoid the __tests__ directory (this is what was breaking the build): $ npm test -- --testPathIgnorePatterns="vendor"
Configuration menu - View commit details
-
Copy full SHA for 3c94968 - Browse repository at this point
Copy the full SHA 3c94968View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a295a4 - Browse repository at this point
Copy the full SHA 4a295a4View commit details -
Merge pull request #468 from geelen/fix-tool-annotation-confusion
Fix Zod object detection logic
Configuration menu - View commit details
-
Copy full SHA for bced33d - Browse repository at this point
Copy the full SHA bced33dView commit details
Commits on May 12, 2025
-
Configuration menu - View commit details
-
Copy full SHA for e590950 - Browse repository at this point
Copy the full SHA e590950View commit details -
Merge pull request #482 from modelcontextprotocol/version-1-11-2
Release 1.11.2 - update version
Configuration menu - View commit details
-
Copy full SHA for 048bc4f - Browse repository at this point
Copy the full SHA 048bc4fView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 1.11.1...1.11.2