v1.4.0-prerelease1
npx -y @maximhq/deepintshield --transport-version v1.4.0-prerelease1docker pull maximhq/deepintshield:v1.4.0-prerelease1docker run -p 8080:8080 maximhq/deepintshield:v1.4.0-prerelease1- refactor: governance plugin refactored for extensibility and optimization
- feat: new MCP gateway (server including) along with code mode
- feat: added health monitoring to mcp
- feat: added responses format tool execution support to mcp
- feat: new e2e tracing
- fix: gemini thought signature handling in multi-turn conversations
BREAKING CHANGES
Section titled “BREAKING CHANGES”-
Plugin Interface: TransportInterceptor removed, replaced with HTTPTransportMiddleware
The
TransportInterceptorfunction has been removed from the plugin interface. Plugins using HTTP transport interception must migrate toHTTPTransportMiddleware.Migration summary:
// v1.3.x (removed)TransportInterceptor(ctx *DeepIntShieldContext, url string, headers map[string]string, body map[string]any) (map[string]string, map[string]any, error)// v1.4.x+ (new)HTTPTransportMiddleware() DeepIntShieldHTTPMiddleware// where DeepIntShieldHTTPMiddleware = func(next fasthttp.RequestHandler) fasthttp.RequestHandlerKey API changes:
- Function renamed:
TransportInterceptor->HTTPTransportMiddleware - Signature changed: Now returns a middleware wrapper instead of accepting/returning header/body maps
- Added dependency: Requires
github.com/valyala/fasthttpimport - Flow control: Must explicitly call
next(ctx)to continue the chain
See Plugin Migration Guide for complete migration instructions and code examples.
- Function renamed:
- feat: added code mode to mcp
- feat: added health monitoring to mcp
- feat: added responses format tool execution support to mcp
- feat: adds central tracer for e2e tracing
BREAKING CHANGES
Section titled “BREAKING CHANGES”-
Plugin Interface: TransportInterceptor removed, replaced with HTTPTransportMiddleware
The
TransportInterceptormethod has been removed from thePlugininterface inschemas/plugin.go. All plugins must now implementHTTPTransportMiddleware()instead.Old API (removed in core v1.3.0):
TransportInterceptor(ctx *DeepIntShieldContext, url string, headers map[string]string, body map[string]any) (map[string]string, map[string]any, error)New API (core v1.3.0+):
HTTPTransportMiddleware() DeepIntShieldHTTPMiddleware// where DeepIntShieldHTTPMiddleware = func(next fasthttp.RequestHandler) fasthttp.RequestHandlerKey changes:
- Method renamed:
TransportInterceptor->HTTPTransportMiddleware - Return type changed: Now returns a middleware function instead of modified headers/body
- New import required:
github.com/valyala/fasthttp - Flow control: Must call
next(ctx)explicitly to continue the middleware chain - New capability: Can now intercept and modify responses (not just requests)
Migration for plugin consumers:
- Update your plugin to implement
HTTPTransportMiddleware()instead ofTransportInterceptor() - If your plugin doesn’t need HTTP transport interception, return
nilfromHTTPTransportMiddleware() - Update tests to verify the new middleware signature
See Plugin Migration Guide for complete instructions and code examples.
- Method renamed:
- feat: adds new tracing framework for allowing plugins to enable e2e tracing
BREAKING CHANGES
Section titled “BREAKING CHANGES”-
DynamicPlugin: TransportInterceptor replaced with HTTPTransportMiddleware
The
DynamicPluginloader now expects plugins to exportHTTPTransportMiddlewareinstead ofTransportInterceptor.Old symbol lookup (removed in framework v1.2.0):
plugin.Lookup("TransportInterceptor")// Expected: func(ctx *DeepIntShieldContext, url string, headers map[string]string, body map[string]any) (map[string]string, map[string]any, error)New symbol lookup (framework v1.2.0+):
plugin.Lookup("HTTPTransportMiddleware")// Expected: func() DeepIntShieldHTTPMiddlewareImpact on dynamic plugins (.so files):
- Plugins compiled for core v1.2.x will fail to load with error:
plugin: symbol HTTPTransportMiddleware not found - Recompile all dynamic plugins against core v1.3.0+ and framework v1.2.0+
See Plugin Migration Guide for migration instructions.
- Plugins compiled for core v1.2.x will fail to load with error:
- refactor: extracted governance store into an interface for extensibility
- refactor: extended the way governance store handles rate limits
- chore: added e2e tests for governance plugin
- chore: upgraded versions of core to 1.3.0 and framework to 1.2.0
BREAKING CHANGES
Section titled “BREAKING CHANGES”-
Plugin Interface: TransportInterceptor replaced with HTTPTransportMiddleware
This plugin now implements
HTTPTransportMiddleware()instead ofTransportInterceptor()to comply with core v1.3.0.What changed:
- Old:
TransportInterceptor(ctx, url, headers, body) (headers, body, error) - New:
HTTPTransportMiddleware() DeepIntShieldHTTPMiddleware
For plugin consumers:
- If you import this plugin directly, no code changes are required
- If you extend this plugin, update your implementation to use
HTTPTransportMiddleware() - Recompile any code that depends on this plugin against core v1.3.0+ and framework v1.2.0+
See Plugin Migration Guide for details.
- Old:
- chore: upgraded versions of core to 1.3.0 and framework to 1.2.0
BREAKING CHANGES
Section titled “BREAKING CHANGES”-
Plugin Interface: TransportInterceptor replaced with HTTPTransportMiddleware
This plugin now implements
HTTPTransportMiddleware()instead ofTransportInterceptor()to comply with core v1.3.0.What changed:
- Old:
TransportInterceptor(ctx, url, headers, body) (headers, body, error) - New:
HTTPTransportMiddleware() DeepIntShieldHTTPMiddleware
For plugin consumers:
- If you import this plugin directly, no code changes are required
- If you extend this plugin, update your implementation to use
HTTPTransportMiddleware() - Recompile any code that depends on this plugin against core v1.3.0+ and framework v1.2.0+
See Plugin Migration Guide for details.
- Old:
- feat: logging now uses central accumulator vs its own; reducing total memory consumption during runtime
- chore: upgraded versions of core to 1.3.0 and framework to 1.2.0
BREAKING CHANGES
Section titled “BREAKING CHANGES”-
Plugin Interface: TransportInterceptor replaced with HTTPTransportMiddleware
This plugin now implements
HTTPTransportMiddleware()instead ofTransportInterceptor()to comply with core v1.3.0.What changed:
- Old:
TransportInterceptor(ctx, url, headers, body) (headers, body, error) - New:
HTTPTransportMiddleware() DeepIntShieldHTTPMiddleware
For plugin consumers:
- If you import this plugin directly, no code changes are required
- If you extend this plugin, update your implementation to use
HTTPTransportMiddleware() - Recompile any code that depends on this plugin against core v1.3.0+ and framework v1.2.0+
See Plugin Migration Guide for details.
- Old:
- chore: upgraded versions of core to 1.3.0 and framework to 1.2.0
BREAKING CHANGES
Section titled “BREAKING CHANGES”-
Plugin Interface: TransportInterceptor replaced with HTTPTransportMiddleware
This plugin now implements
HTTPTransportMiddleware()instead ofTransportInterceptor()to comply with core v1.3.0.What changed:
- Old:
TransportInterceptor(ctx, url, headers, body) (headers, body, error) - New:
HTTPTransportMiddleware() DeepIntShieldHTTPMiddleware
For plugin consumers:
- If you import this plugin directly, no code changes are required
- If you extend this plugin, update your implementation to use
HTTPTransportMiddleware() - Recompile any code that depends on this plugin against core v1.3.0+ and framework v1.2.0+
See Plugin Migration Guide for details.
- Old:
- chore: upgraded versions of core to 1.3.0 and framework to 1.2.0
BREAKING CHANGES
Section titled “BREAKING CHANGES”-
Plugin Interface: TransportInterceptor replaced with HTTPTransportMiddleware
This plugin now implements
HTTPTransportMiddleware()instead ofTransportInterceptor()to comply with core v1.3.0.What changed:
- Old:
TransportInterceptor(ctx, url, headers, body) (headers, body, error) - New:
HTTPTransportMiddleware() DeepIntShieldHTTPMiddleware
For plugin consumers:
- If you import this plugin directly, no code changes are required
- If you extend this plugin, update your implementation to use
HTTPTransportMiddleware() - Recompile any code that depends on this plugin against core v1.3.0+ and framework v1.2.0+
See Plugin Migration Guide for details.
- Old:
- feat: otel now uses central accumulator reducing the total amount of memory consumed in runtime
- chore: upgraded versions of core to 1.3.0 and framework to 1.2.0
BREAKING CHANGES
Section titled “BREAKING CHANGES”-
Plugin Interface: TransportInterceptor replaced with HTTPTransportMiddleware
This plugin now implements
HTTPTransportMiddleware()instead ofTransportInterceptor()to comply with core v1.3.0.What changed:
- Old:
TransportInterceptor(ctx, url, headers, body) (headers, body, error) - New:
HTTPTransportMiddleware() DeepIntShieldHTTPMiddleware
For plugin consumers:
- If you import this plugin directly, no code changes are required
- If you extend this plugin, update your implementation to use
HTTPTransportMiddleware() - Recompile any code that depends on this plugin against core v1.3.0+ and framework v1.2.0+
See Plugin Migration Guide for details.
- Old:
- chore: upgraded versions of core to 1.3.0 and framework to 1.2.0
BREAKING CHANGES
Section titled “BREAKING CHANGES”-
Plugin Interface: TransportInterceptor replaced with HTTPTransportMiddleware
This plugin now implements
HTTPTransportMiddleware()instead ofTransportInterceptor()to comply with core v1.3.0.What changed:
- Old:
TransportInterceptor(ctx, url, headers, body) (headers, body, error) - New:
HTTPTransportMiddleware() DeepIntShieldHTTPMiddleware
For plugin consumers:
- If you import this plugin directly, no code changes are required
- If you extend this plugin, update your implementation to use
HTTPTransportMiddleware() - Recompile any code that depends on this plugin against core v1.3.0+ and framework v1.2.0+
See Plugin Migration Guide for details.
- Old:
- chore: upgraded versions of core to 1.3.0 and framework to 1.2.0
BREAKING CHANGES
Section titled “BREAKING CHANGES”-
Plugin Interface: TransportInterceptor replaced with HTTPTransportMiddleware
This plugin now implements
HTTPTransportMiddleware()instead ofTransportInterceptor()to comply with core v1.3.0.What changed:
- Old:
TransportInterceptor(ctx, url, headers, body) (headers, body, error) - New:
HTTPTransportMiddleware() DeepIntShieldHTTPMiddleware
For plugin consumers:
- If you import this plugin directly, no code changes are required
- If you extend this plugin, update your implementation to use
HTTPTransportMiddleware() - Recompile any code that depends on this plugin against core v1.3.0+ and framework v1.2.0+
See Plugin Migration Guide for details.
- Old: