Core Release v1.3.0
- 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
-
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 *BifrostContext, url string, headers map[string]string, body map[string]any) (map[string]string, map[string]any, error)
New API (core v1.3.0+):
HTTPTransportMiddleware() BifrostHTTPMiddleware // where BifrostHTTPMiddleware = func(next fasthttp.RequestHandler) fasthttp.RequestHandler
Key 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:
Installation
go get github.com/maximhq/bifrost/core@v1.3.0This release was automatically created from version file: core/version