Framework Release v1.2.0
- feat: adds new tracing framework for allowing plugins to enable e2e tracing
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 *BifrostContext, 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() BifrostHTTPMiddleware
Impact 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:
Installation
go get github.com/maximhq/bifrost/framework@v1.2.0This release was automatically created and uses core version: v1.3.0