π Release Highlights
This is a quality-focused maintenance release for MCP Gateway v0.3.6, emphasizing code reliability, performance improvements, and test coverage across the codebase.
β‘ Performance Improvements
- Faster Rust guard processing: Eliminated redundant clones in
extract_mcp_response and first_matching_scope, reducing memory allocation overhead in guard evaluation (#5103)
π§ Reliability & Code Quality
- Unified session timeout handling:
MCP_GATEWAY_SESSION_TIMEOUT lookup is now deduplicated into a shared getSessionTimeout() helper, ensuring consistent behavior across routed and unified server modes (#5100)
- Cleaner server handler construction: Extracted
buildMCPHandler to eliminate duplicated handler setup logic across server modes (#5101)
- Streamlined utilities:
generateRandomID inlined, truncation delegated to strutil, and loadEnvFile moved to envutil β reducing coupling and improving reuse (#5104)
- Fixed Rust guard compile error: Resolved unused import error in
labels/mod.rs that could prevent guard compilation (#5089)
π§ͺ Test Coverage
- Improved CI reliability: Integration test timeouts increased for Docker image pulls, reducing flaky test failures in CI environments (#5118)
- Expanded sys package tests: Added success-path coverage for
CheckPortMapping, CheckStdinInteractive, and CheckLogDirMounted (#5077)
- Tracing config tests: Improved test coverage for the config tracing package (#5076)
- Idiomatic testify usage: Refactored assertions across the test suite to use specific testify methods for clearer failure messages (#5102)
π Debug Observability
- DIFC label debug logging: Added structured debug logging to
difc/labels.go to improve traceability of label evaluation during development and troubleshooting (#5069)
π³ Docker Image
The Docker image for this release is available at:
docker pull ghcr.io/github/gh-aw-mcpg:v0.3.6
# or
docker pull ghcr.io/github/gh-aw-mcpg:latest
Supported platforms: linux/amd64, linux/arm64
For complete details, see the full release notes.
Generated by Release Β· β 102.3K Β· β·
π Release Highlights
This is a quality-focused maintenance release for MCP Gateway v0.3.6, emphasizing code reliability, performance improvements, and test coverage across the codebase.
β‘ Performance Improvements
extract_mcp_responseandfirst_matching_scope, reducing memory allocation overhead in guard evaluation (#5103)π§ Reliability & Code Quality
MCP_GATEWAY_SESSION_TIMEOUTlookup is now deduplicated into a sharedgetSessionTimeout()helper, ensuring consistent behavior across routed and unified server modes (#5100)buildMCPHandlerto eliminate duplicated handler setup logic across server modes (#5101)generateRandomIDinlined, truncation delegated tostrutil, andloadEnvFilemoved toenvutilβ reducing coupling and improving reuse (#5104)labels/mod.rsthat could prevent guard compilation (#5089)π§ͺ Test Coverage
CheckPortMapping,CheckStdinInteractive, andCheckLogDirMounted(#5077)π Debug Observability
difc/labels.goto improve traceability of label evaluation during development and troubleshooting (#5069)π³ Docker Image
The Docker image for this release is available at:
docker pull ghcr.io/github/gh-aw-mcpg:v0.3.6 # or docker pull ghcr.io/github/gh-aw-mcpg:latestSupported platforms:
linux/amd64,linux/arm64For complete details, see the full release notes.