-
Notifications
You must be signed in to change notification settings - Fork 150
Comparing changes
Open a pull request
base repository: modelcontextprotocol/swift-sdk
base: 0.8.2
head repository: modelcontextprotocol/swift-sdk
compare: 0.9.0
- 7 commits
- 18 files changed
- 1 contributor
Commits on May 7, 2025
-
Improve NetworkTransport and add test coverage (#108)
* Improve NetworkTransport and add test coverage * Remove the weakTransport check since actors have special memory management rules * Use Task.sleep(for:) consistently * Always start connection in connect * Run NetworkTransportTests serially
Configuration menu - View commit details
-
Copy full SHA for 87f33d0 - Browse repository at this point
Copy the full SHA 87f33d0View commit details
Commits on May 26, 2025
-
Prevent double continuation resumption in client (#113)
* Prevent double continuation resumption in client Consolidate request removal and continuation resumption logic to ensure each request's continuation is resumed exactly once, preventing "SWIFT TASK CONTINUATION MISUSE" errors during network failures. * Fix race condition test
Configuration menu - View commit details
-
Copy full SHA for fec680a - Browse repository at this point
Copy the full SHA fec680aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddde66d - Browse repository at this point
Copy the full SHA ddde66dView commit details -
Add support for sampling (#119)
* Add UnitInterval type * Add test coverage for UnitInterval * Add support for sampling * Add integration tests for sampling
Configuration menu - View commit details
-
Copy full SHA for fac4df6 - Browse repository at this point
Copy the full SHA fac4df6View commit details -
Improve ergonomics of prompt and sampling message initialization (#120)
* Improve ergonomics of prompt and sampling message initialization * Deprecate previous / existing Message initializers
Configuration menu - View commit details
-
Copy full SHA for 3b505ee - Browse repository at this point
Copy the full SHA 3b505eeView commit details -
Update
Client.connect(transport:)to automatically send `initialize……` request (#100) * Update Client to automatically call initialize in connect * Make Client.connect(transport:) return value discardable * Fix example usage in README * Update example code in transports to remove initialize call * Deprecate initialize method * Update tests * Update README * Fix sampling tests * Fix race condition tests
Configuration menu - View commit details
-
Copy full SHA for a59b50b - Browse repository at this point
Copy the full SHA a59b50bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9742933 - Browse repository at this point
Copy the full SHA 9742933View 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 0.8.2...0.9.0