github maximhq/bifrost framework/v1.2.0
Framework v1.2.0

latest releases: transports/v1.3.55, plugins/telemetry/v1.3.54, plugins/semanticcache/v1.3.54...
14 hours ago

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 DynamicPlugin loader now expects plugins to export HTTPTransportMiddleware instead of TransportInterceptor.

    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.

Installation

go get github.com/maximhq/bifrost/framework@v1.2.0

This release was automatically created and uses core version: v1.3.0

Don't miss a new bifrost release

NewReleases is sending notifications on new releases.