Repository navigation
Releases: Cledar/flink-mcp
Releases · Cledar/flink-mcp
Release list
v0.2.6
v0.2.5
v0.2.4
v0.2.3
- Async client:
FlinkSqlGatewayClientnow useshttpx.AsyncClient.- All client methods are
async defand must be awaited. - Added
aclose()for proper cleanup.
- All client methods are
- Async server: Converted MCP tools/resources and helper routines to async.
- Uses
asyncio.sleepin polling/loops to avoid blocking. - External behavior and tool schemas remain unchanged.
- Uses
- Injectable HTTP client:
build_server(base_url=None, http_client=None)accepts an injectedhttpx.AsyncClient(useful for tests/mocking). - Tests & fixtures:
- Unit tests use
httpx.MockTransportwith an injectedAsyncClient. - Integration tests are gated by
--run-integrationorRUN_INTEGRATION_TESTS=1. - Inlined server creation in fixtures; added
integration_client/integration_session_handlefor live runs.
- Unit tests use
v0.2.2
v0.2.1
Summary
This release finalizes the transition from stateful server-managed sessions to a fully stateless API where clients must explicitly manage session and operation handles.
Key Changes
- New tool:
open_new_session()for explicit session creation - Breaking change: All tools now require
sessionHandleparameter - Removed: Internal session management and stream tracking state
- Enhanced:
run_query_stream_startnow returns bothjobIDandoperationHandle - Renamed:
fetch_result_by_jobid→fetch_result_pagewith explicit token management - Updated: All tests and documentation to reflect stateless API
API Migration
- v0.2.1: Clients must create and manage sessions explicitly
v0.2.0
Summary
- Enhanced error handling for execute_statement operations with comprehensive error payloads
- Implemented robust job status polling using DESCRIBE JOB for better job lifecycle management
- Added retry logic for jobID extraction from streaming queries to handle timing issues
- Improved job cancellation with proper status verification and debugging logs
- Consolidated and cleaned up test structure by removing redundant integration tests