core/v1.5.13

maximhq/bifrostcore/v1.5.13May 26, 2026by akshaydeo

AI Summary

This core release v1.5.13 includes significant provider improvements including Azure provider migration to v1 API, a new ConfigMarshallerPlugin interface for plugin config control, and OpenTelemetry attribute alignment with GenAI semantic conventions. The release also contains numerous bug fixes for Bedrock (cache, response conversion, reasoning blocks, passthrough), Gemini tool schema, and Anthropic tool handling.

Key Highlights

  • Azure provider migrated to v1 API with removal of `api_version` from `AzureKeyConfig`
  • New `ConfigMarshallerPlugin` interface allows plugins to control config storage and redaction
  • OpenTelemetry attribute keys aligned with GenAI semantic conventions, emitting both legacy and canonical attributes
  • Multiple Bedrock fixes: cache stripping, empty text block handling, reasoning blocks preservation, and passthrough request restoration
  • Fixes for Gemini tool schema passthrough and structured output + tools conflict resolution

Breaking Changes

  • Azure provider `api_version` field removed from `AzureKeyConfig` - users must update their configuration to use the v1 API

New Features

  • Azure provider migration to v1 API with `api_version` removal from `AzureKeyConfig`
  • ConfigMarshallerPlugin interface for plugin-controlled config storage and redaction
  • Forward `x-bf-eh-*` extra headers as `gen_ai.request.extra_header.*` span attributes
  • OpenTelemetry attribute alignment with GenAI semantic conventions (legacy and canonical attributes emitted)

Full Release Notes

## Core Release v1.5.13

- feat: migrate Azure provider to the v1 API and remove `api_version` from `AzureKeyConfig` (#3661, #3756)
- feat: add `ConfigMarshallerPlugin` interface so plugins can control config storage and redaction round-trips (#3651)
- feat: forward `x-bf-eh-*` extra headers as `gen_ai.request.extra_header.*` span attributes (#3730)
- feat: align OTel attribute keys with the GenAI semantic conventions spec; emit both legacy and canonical attributes (#3732)
- fix: strip cache points from Bedrock requests for models that do not support prompt caching (#3754)
- fix: skip empty/nil text blocks during Bedrock response conversion (#3747)
- fix: preserve reasoning blocks alongside tool calls in the Bedrock chat converter (#3690)
- fix: restore search content and video parts dropped from Bedrock passthrough requests (#3729)
- fix: correct `tool_calls` finish reason when structured output is combined with extended-thinking tools (#3685)
- fix: set `BifrostContextKeyConnectionClosed` before closing stream and short-circuit `idleTimeoutReader.Read` on closed connections (#3733)
- fix: Gemini tool schema passthrough via `parametersJsonSchema`, correct tool response role to `user`, resolve structured output + tools conflict (#3761)
- fix: normalize Anthropic stop reason mapping and upgrade computer-use tool versions to `text_editor_20250728` (#3761)
- fix: Azure config redaction panic when `Endpoint` is a literal value (#3761)
- chore: fix Bedrock transport tests (#3735)

### Installation

```bash
go get github.com/maximhq/bifrost/core@v1.5.13
```

---
_This release was automatically created from version file: `core/version`_