Skip to content

v0.4.0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 25 Sep 16:06
· 430 commits to main since this release
ca3e760

Highlights

  • πŸ”’ FIPS builds β€” FIPS-validated container images (make container-fips), system-OpenSSL cryptography, and a PostgreSQL cryptographic boundary (#1325, #1351, #1237)
  • πŸ—„οΈ PostgreSQL is now the default response store β€” with optional at-rest compression and a hardened crypto boundary (#1224, #1182, #1237)
  • 🧭 Provider expansion β€” Vertex AI Gemini (#1000) and Azureβ†’OpenAI (#910) translation, reasoning translation for Responsesβ†’Chat (#1014), and streaming Chat Completions translation (#931)
  • πŸ” Multi-tenant state ownership β€” trusted state-owner context, immutable owner scoping for persisted state, and fail-closed startup on tenant-unsafe schemas (#1184, #1197, #1181)
  • πŸͺͺ Per-user callout credentials & attribution β€” scoped credentials, connector context, and trace context propagated across nested MCP, file, and web-search callouts (#1291, #1333, #1336, #1337, #1339)
  • πŸ”€ Callouts routed through the outbound filter chain β€” MCP, file_search, file_resolve, web-search, and NeMo guardrails now run via the filtered-subrequest executor (#1230, #1299, #1185, #1186, #1187, #1222)
  • ⚑ Performance β€” 15 allocation- and clone-elimination passes across the streaming, translation, SSE, and rehydrate paths
  • 🧱 Praxis core 0.5.3 β†’ 0.7.0 β€” stepped through 0.5.4 / 0.5.5 / 0.5.6 / 0.6.0 / 0.7.0 (#895, #1188, #1203, #1264, #1352)

Features

Providers & translation

  • feat(apis): OpenAI Chat Completions β†’ Vertex AI Gemini translation (#1000) β€” @noalimoy
  • feat(azure): add azure_to_openai translation filter (#910) β€” @noalimoy
  • feat(openai): reasoning translation for Responses β†’ Chat Completions (#1014) β€” @s-akhtar-baig
  • feat(openai): translate streaming Chat Completions (#931) β€” @leseb
  • feat(openai): synthesize web_search for Chat Completions backends (#920) β€” @leseb
  • feat(responses): support hosted file_search on Chat Completions backends (#915) β€” @leseb
  • feat(anthropic): stream the Messages web-search terminal answer (#1012) β€” @leseb

Response store & state ownership

  • feat(store): make PostgreSQL the default backend (#1224) β€” @leseb
  • feat(responses): add optional compression in responses store (#1182) β€” @s-akhtar-baig
  • feat(store): enforce the PostgreSQL cryptographic boundary (#1237) β€” @leseb
  • feat(ai): add trusted state owner context (#1184) β€” @leseb
  • feat(openai): scope persisted state to immutable owners (#1197) β€” @leseb

Callouts, MCP & credentials

  • feat(callout): per-user callout credentials + owner attribution foundation + web-search (PR1 of #880) (#1291) β€” @leseb
  • feat(mcp): propagate scoped connector context (#1336) β€” @leseb
  • feat(callout): propagate trace context across nested AI callouts (#1337) β€” @leseb
  • feat(callout): propagate deadlines and harden scoped-context invariants (#1339) β€” @leseb
  • feat(ogx): propagate scoped credentials and attribution to file callouts (#1333) β€” @leseb
  • feat(mcp): route buffered MCP callouts through the filtered-subrequest executor (#1230) β€” @leseb
  • feat(mcp): support SSE streams in filtered-subrequest transport (#1299) β€” @leseb
  • feat(file-resolve): route file_id callouts through a filtered outbound chain (#1186) β€” @leseb
  • feat(web-search): route provider callouts through the outbound filter chain (#1187) β€” @leseb
  • feat(guardrails): run NeMo callouts through filtered subrequests (#1222) β€” @mkoushni
  • feat(mcp): support deferred resolution for configured MCP connectors (#933) β€” @mkoushni
  • feat(openai): emit successful mcp_list_tools lifecycle events (#1071) β€” @leseb

Agentic loop & Responses

  • feat(responses): unify tool dispatch under a single agentic-loop owner (#1046) (#1133) β€” @leseb
  • feat(responses): add durable MCP approval round trips (#1029) β€” @leseb
  • feat(responses): support batched/parallel model tool calls in the agentic loop (#1027) β€” @leseb
  • feat(openai): stream Responses across IRR agentic rounds (#756) β€” @leseb
  • feat(openai): synthesize SSE lifecycle for locally executed tools (#1010) β€” @leseb
  • feat(file-search): enable stream:true for hosted file_search on Responses (#1038) β€” @leseb
  • feat(openai): add openai_client_tool_compat for function-only Responses backends (#1214) β€” @leseb
  • feat(openai): compose client-tool compat with Responses-to-Chat (#1290) β€” @leseb
  • feat(openai): restore lowered client tools in Responses streaming (SSE) (#1273) β€” @leseb
  • feat(openai): lower hosted file_search to a private function for native backends (#1294) β€” @leseb
  • feat(responses): reject prompt templates on non-OpenAI backends (#1312) β€” @leseb
  • feat(responses): reject background=true with 400 not supported (#1239) β€” @leseb
  • feat(rehydrate): restore previous_response_id in streaming Responses (#1004) β€” @leseb
  • feat(rehydrate): restore previous_response_id in non-streaming Responses (#962) β€” @leseb

Routing, rate limiting & metering

  • feat(routing): add apikey credential injection strategy (#1172) β€” @yossiovadia
  • feat(routing): reload projected provider credentials (#1136) β€” @nerdalert
  • feat(routing): add static weighted provider selection (#1068) β€” @nerdalert
  • feat(inference): add llmisvc_model_provider_resolver (#699) β€” @jland-redhat
  • feat(token-rate-limit): key quotas by authenticated subject (#980) β€” @nerdalert
  • feat(token_rate_limit): configurable estimation strategies (#1008) β€” @asaadbalum
  • feat(token-rate-limit): apply token-type weights at reconciliation (#1132) β€” @abdallahsamabd
  • feat(metering): add external metering filter with balance checks and usage reporting (#581) β€” @noyitz
  • feat(token-count): emit reasoning token metadata (#919) β€” @abdallahsamabd

Classification, guardrails & auth

  • feat(openai): add a request-head operation classifier (#890) β€” @cdoern
  • feat(openai): register Chat Completions operations for request-head classification (#1048) (#1204) β€” @mkoushni
  • feat(responses): register operations for request-head classification (#788) β€” @cdoern
  • feat(filter): add identity header guard filter (#709) β€” @yossiovadia
  • Guardrails: migrate guardrails to the v1/checks endpoint (#1161) β€” @liavweiss
  • Guardrails: implement response phase (#832) β€” @liavweiss
  • feat(guardrails): support NeMo guardrail configuration IDs (#1234) β€” @pierDipi
  • feat(auth): add cache-through token caching for azure_ad and gcp_adc (#861) β€” @szedan-rh
  • feat(aws): sign SigV4 requests through the system OpenSSL (#1351) β€” @szedan-rh

Platform & tooling

  • feature(fips): add FIPS builds, verification and CI (#1325) β€” @shaneutt
  • feat(compact): reactive compaction with direct input support (#726) β€” @crstrn13
  • feat: install OpenAI error response formatter for proxy failures (#825) β€” @skamenan7
  • feat: install Anthropic error response formatter for proxy failures (#846) β€” @skamenan7
  • feat(web_search): always continue on provider failure with a failed result (#859) β€” @leseb
  • feat(review): add API spec conformance step and vendor the Anthropic spec (#973) β€” @leseb

Security

  • fix(store): fail closed on tenant-unsafe schemas at startup (#1181) β€” @leseb
  • fix(openai): reject unsafe operation classifier header targets (#1278) β€” @cdoern
  • fix: reject unsafe configurable AI promotion headers (#974) β€” @mkoushni
  • Overlay consumption hardening: fail-closed, anti-spoofing, management-path skip (#1039) (#1180) β€” @crstrn13
  • fix/385 forwarding audit (#1243) β€” @szedan-rh
  • fix: bind MCP cache to target URL (#1281) β€” @skamenan7
  • fix(mcp): redact server URLs in debug logs (#1157) β€” @eoinfennessy
  • fix(mcp): bound tools/list responses before deserialization (#1154) β€” @leseb
  • fix(openai): bound file search callout decoding (#1162) β€” @eoinfennessy
  • fix(openai): bound openai_stream_events streaming accumulation memory (#556) (#1155) β€” @leseb
  • fix(openai): fail closed on malformed MCP allowed_tools (#939) (#1170) β€” @EleanorWho
  • fix(mcp_client): enforce overall timeout for list_tools pagination (#836) (#912) β€” @Artemon-line
  • fix(http): centralize outbound hop-by-hop sanitization (#887) β€” @mkoushni
  • fix(subrequest): overwrite caller Host with URL authority (#921) β€” @leseb
  • fix(store): reject pool min_connections above the implicit max (#1256) β€” @leseb

Bug Fixes

Responses / OpenAI

  • fix(openai): keep response_format with tools in Responses-to-Chat (#1270) β€” @leseb
  • fix(responses): preserve client-tool restoration metadata on re-lowering (#1276) β€” @leseb
  • fix(openai): route conversations through the shared operation classifier (#1296) β€” @eoinfennessy
  • fix(responses): reject background and truncation the Chat adapter cannot honor (#1176) β€” @cdoern
  • fix(responses): persist streaming record before releasing response.completed (#1238) β€” @leseb
  • fix(openai): persist restored previous_response_id for streaming continuations (#1152) β€” @leseb
  • fix(responses): conform SSE error events to the ResponseErrorEvent schema (#1005) β€” @leseb
  • fix(openai): return 200 SSE lifecycle on streaming MCP discovery failure (#991) β€” @leseb
  • fix(responses): resume translated streaming web search through the agentic loop (#996) β€” @leseb
  • fix(rehydrate): remove non-spec history limits from openai_responses_rehydrate (#1070) β€” @leseb
  • fix(openai_responses): centralize body-size enforcement (#700) β€” @eoinfennessy
  • fix(openai_web_search): multi-query web search (#1255) β€” @r-papso
  • fix(web_search): enforce max_tool_calls and per-continuation cap (#805) (#927) β€” @leseb
  • fix(validate): reject conflicting history selectors (#999) β€” @derekhiggins

Anthropic

  • fix(anthropic): report matched stop_sequences after Chat translation (#1298) β€” @szedan-rh
  • fix(anthropic): emit required output_tokens_details in translated usage (#1293) β€” @szedan-rh
  • fix(anthropic): forward unmapped request fields to Chat Completions (#1205) β€” @szedan-rh
  • fix(anthropic): fail closed on malformed streaming SSE data events (#935) (#1153) β€” @leseb
  • fix(anthropic): fail closed on typed server tools when translating client tools (#916) β€” @leseb
  • fix(anthropic_stream_events): strip Accept-Encoding, skip encoded SSE (#668) (#917) β€” @leseb
  • fix(anthropic_stream_events): bound streaming tool-call state (max_tool_blocks) (#862) β€” @leseb
  • fix(anthropic_stream_events): fail closed on malformed upstream UTF-8 (#553) (#873) β€” @leseb
  • fix(anthropic): return API error for malformed non-streaming responses (#875) β€” @leseb
  • fix(anthropic_response): fail translation on malformed tool arguments (#550) (#874) β€” @leseb
  • fix(translation): fail-closed on malformed Chat Completions success (#869) β€” @leseb
  • fix(translation): fail closed on malformed Responses input (#868) β€” @leseb
  • fix: request streaming usage in Anthropic translation (#826) β€” @EleanorWho
  • fix: reject tool_use blocks with empty id or function name (#1049) β€” @EleanorWho

Conversations

  • fix(conversations): update metadata without clobbering appended history (#1156) β€” @leseb
  • fix(conversations): preserve provider-owned conversation (#1160) β€” @derekhiggins
  • fix(conversations): resolve remaining OpenAI conformance drifts (8/8) (#943) β€” @leseb
  • fix(conversations): model official input and output item unions (#747) β€” @leseb
  • fix(conversations): atomic item mutations with transactional message-cache sync (#570) β€” @eoinfennessy
  • fix(conversations): fail closed on append-back item loss (#837) (#860) β€” @leseb
  • fix(conversations): compare-and-swap the denormalized message cache (#877) β€” @leseb

MCP, callouts & routing

  • fix(openai): route file_search callouts through the outbound_chain executor (#1185) β€” @leseb
  • fix(file-resolve): make outbound_chain optional to match callout filters (#1235) β€” @leseb
  • fix(openai): reserialize response body when MCP approval is required (#839) (#892) β€” @Artemon-line
  • fix(callouts): restrict status_on_error to HTTP error statuses (#909) β€” @r-papso
  • fix(agentic_loop): dispatch status-less function calls (#955) (#972) β€” @Artemon-line
  • fix(policy): register shared subrequest connector (#1277) β€” @araujof
  • NeMo provider bypasses subrequest connector admission control and circuit breaking (#755) (#827) β€” @rkaplan-hub

Streaming, usage & compaction

  • fix(stream-events): enforce timeout_secs after a silent backend (#1030) β€” @mkoushni
  • fix(stream_events): cap tool-call arguments on done and after overflow (#872) β€” @leseb
  • fix(token_count): raise default SSE scratch to 1 MiB (#1229) β€” @yossiovadia
  • fix(token_usage): extract cache_write_tokens from OpenAI Chat Completions usage (#1233) β€” @noyitz
  • fix: Responses usage input-token details omitting cache_write_tokens (#1345) β€” @Artemon-line
  • fix(compact): keep rewritten current-turn messages after compaction (#854) β€” @mkoushni
  • fix: fail closed on malformed compaction translation (#977) β€” @mkoushni
  • fix(compact): validate compact_threshold is at least 1000 (#838) (#889) β€” @Artemon-line
  • fix(compact): require allow_pre_security_callout for StreamBuffer callouts (#849) β€” @mkoushni

Store, platform & CI

  • fix(store): reject uppercase PostgreSQL table identifiers (#1031) β€” @cdoern
  • fix(build): tolerate unresolvable cargo metadata in filter discovery (#1024) β€” @Ladas
  • fix(classifier): treat invalid system values as non-signals (#948) (#971) β€” @Artemon-line
  • fix: preserve response buffer for composed filters (#1342) β€” @mkoushni
  • fix(ci): select metadata context for publish (#1367) β€” @eoinfennessy
  • fix(ci): add Claude auto-mode classifier headroom (#1364) β€” @leseb
  • fix(ci): test Basic Auth at the package that exposes it (#1202) β€” @nerdalert
  • fix(ci): pre-install OGX deps to stop flaky vLLM readiness timeout (#995) β€” @leseb

Performance

  • perf(openai): reuse MCP dispatch sessions across agentic rounds (#1349) β€” @leseb
  • perf(anthropic-streaming): eliminate per-event temporary strings (#1363) β€” @VaishnaviHire
  • perf(openai-sse): allocate event types only when ownership is required (#923) β€” @VaishnaviHire
  • perf(apis): remove redundant memory allocations (#1236) β€” @r-papso
  • perf(classifier): move the model string out of the parsed body instead of cloning (#1053) β€” @r-papso
  • perf(anthropic-translation): consume owned request fields and tool schemas (#1047) β€” @r-papso
  • perf(translation): avoid copying tool input and message content (#928) β€” @r-papso
  • perf(responses): remove redundant allocations on the Responses request path (#1006) β€” @r-papso
  • perf(responses): avoid cloning rewritten request bodies (#925) β€” @r-papso
  • perf(responses-streaming): avoid logical-stream payload copies (#1002) β€” @mkoushni
  • perf(responses-streaming): remove avoidable accumulator clones (#998) β€” @mkoushni
  • perf(conversations): move response output items during append-back (#1003) β€” @mkoushni
  • perf(rehydrate): remove temporary history and tool-name allocations (#964) β€” @r-papso
  • perf(web-search): take pending Responses calls instead of cloning (#976) β€” @r-papso
  • perf(mcp): consume owned argument maps without cloning (#929) β€” @r-papso

Refactors

  • refactor(ai): make operation identity provider-neutral (#1183) β€” @cdoern
  • refactor(responses): parse the Responses create body once (#1274) β€” @cdoern
  • refactor(responses): make openai_stream_events IRR-only (#1013) β€” @leseb
  • refactor(responses): remove terminal_streaming from openai_responses_proxy (#1007) β€” @leseb
  • refactor(anthropic): rename translation filters to protocol-keyed names (#963) β€” @leseb
  • refactor(conversations): drive on_request dispatch from request-body metadata (#878) β€” @leseb
  • refactor(callouts): standardize target and credential policy (#911) β€” @eoinfennessy
  • refactor(callouts): normalize outbound failure-policy configuration (#845) β€” @r-papso
  • refactor(callout): unify scoped secret capture (#1341) β€” @leseb
  • refactor(state-owner): clarify projection filter name (#1347) β€” @leseb
  • refactor: prepare for FIPS builds (#1324) β€” @shaneutt
  • refactor(examples): unify full-flow configs into a B-shaped gateway (#975) β€” @leseb
  • refactor(examples): trim speculative outbound_chain usage in full-flow (#1366) β€” @leseb

Praxis core compatibility

  • chore(deps): bump praxis core to 0.7.0 (#1352) β€” @leseb
  • chore(deps): bump praxis core to 0.6.0 (#1264) β€” @leseb
  • chore(deps): bump praxis core to 0.5.6 (#1203) β€” @leseb
  • chore(deps): bump praxis core to 0.5.5 and pingora fork to 0.9.0 (#1188) β€” @leseb
  • chore(deps): bump praxis core to 0.5.4 (#895) β€” @leseb

Tests & CI

  • test(anthropic): native Claude Code β†’ vLLM Messages acceptance test (#1134) β€” @leseb
  • test(anthropic): cover Claude Code auto mode through vLLM (#1340) β€” @leseb
  • test(codex): prove pinned Codex HTTP Responses coding workflow (#1223) β€” @skamenan7
  • test(openai): back the conversations SDK suite with a file-backed SQLite store (#1368) β€” @leseb
  • test(openai): validate persisted state ownership end to end (#1198) β€” @leseb
  • test(openai): enforce ownership across the Conversations lifecycle (#1200) β€” @leseb
  • test(openai): enforce ownership across the Responses lifecycle (#1199) β€” @leseb
  • test(openai): expand native Responses vLLM integration coverage (#1129) β€” @leseb
  • test(openai): bring Responses and Conversations SDK suites to OGX parity (#988) β€” @leseb
  • test(responses-to-chat): OpenResponses conformance suite + coverage ratchet (#1009) β€” @leseb
  • test(sdk): add Anthropic Messages integration tests against llm-katan (#601) β€” @yossiovadia
  • test: verify provider-native error formatters through the proxy pipeline (#922) β€” @skamenan7
  • ci(publish): support publishing a selected commit (#1331) β€” @eoinfennessy
  • ci(vllm): run Claude acceptance nightly (#1330) β€” @leseb
  • ci: cache builds and path-filter the OpenAI conformance workflow (#1196) β€” @leseb
  • ci(vllm): background vLLM start to overlap cargo build (#1069) β€” @leseb
  • ci: close pull requests not opened from a fork (#930) β€” @leseb

Docs

  • docs(vllm): document running vLLM from the official container image (#1361) β€” @nathan-weinberg
  • docs(agents): require SDK-client integration tests for OpenAI/Anthropic API changes (#1028) β€” @leseb
  • docs: ai_guardrails format limitation β€” support chat/completion only (#1210) β€” @liavweiss

Dependencies

  • chore(deps): routine dependabot bumps β€” codeql-action (#1326 / #1190), setup-buildx-action (#1328), upload-artifact (#1327 / #1191), setup-uv (#1192), and Rust dependency groups (#1193 / #1017)
  • chore(deps): periodic cargo upgrade refreshes

New Contributors

Full Changelog: v0.3.0...v0.4.0