Releases

Changelog

What changed in each Praxis project, release by release. Entries come from the changelog shipped with the release these docs describe.

AI gateway

AI gateway v0.12.1 does not ship a changelog file. Each release's notes are on GitHub.

  1. v0.12.1Docs on this site
  2. v0.11.0
  3. v0.10.0
  4. v0.9.0
  5. v0.8.0
  6. v0.7.0
  7. v0.5.0
  8. v0.4.1
  9. v0.4.0

Proxy foundation

  1. v0.8.0Docs on this site

    Added

    • Policy rate limiting (experimental): the policy filter runs a policy’s rate_limits: before identity resolution, keyed on the client address, and after it, keyed on the resolved identity, each once per request. A denial returns 429 with Retry-After (or 400, 401 or 503), fixed text and only the limit counters, never the limiter’s own message, and does not reach the upstream. Counters are per replica and reset on reload. See the example security/policy-rate-limit.yaml.

    • Query-parameter credentials for the policy filter (credential: { kind: query_param, name: ... } with read_query), with the example security/policy-query-credential.yaml. A repeated or percent-encoded repeated parameter is denied as ambiguous. Query strings can appear in access logs outside Policy; prefer a header where the client can send one.

    • Implicit cluster references: an inline load-balancer cluster that shares its name with a top-level cluster may omit its endpoints, which are filled in from the declaration at validation time, keeping the routed and health-checked addresses together. A divergent endpoint list now warns at startup and on reload, and an inline health_check is rejected: probes are configured only at top level. Filling is capped at 16 MiB of copied endpoint data in validation and again in each pipeline build, so many references to one large declaration cannot expand a small config into an out-of-memory reload.

    • A support diagnostics reference covering config checks, live state, logging, reloads and draining before shutdown.

    • SUPPORT.md with guidance on where to ask questions, report bugs, report security vulnerabilities, and propose enhancements.

    • runtime.overload_gauges publishes praxis_overload_pressure for cgroup memory, anonymous resident memory, CPU stall time, connections, and file descriptors. The gauges do not shed load.

    • A forward_proxy block on protocol: http listeners, behind the experimental forward-proxy cargo feature (off by default; config surface for CONNECT-based forward proxying): destination allowlisting with wildcard host patterns and optional ports, tunnel idle timeout and optional max duration. Validation rejects the block on TCP listeners and requires egress control (a non-empty allow_destinations list or an ip_acl/policy filter without conditions in the listener’s chains); the check is structural — that the configured control actually restricts egress remains the operator’s responsibility. Destination patterns ending in a numeric label (*.0.1) are rejected so no pattern can match an IP literal. A reload that changes a bound listener’s forward_proxy block, removes a listener that has one, or changes insecure_options.allow_private_upstreams while a bound listener has an enabled block, is rejected. The CONNECT runtime is a follow-up change; the block is inert until it lands.

    • An experimental network backend behind the hyper feature, off by default: the proxy data path, TCP forwarder, admin surface and sub-request client on hyper 1.x. See docs/architecture/hyper-backend.md.

    • Experimental tls-health-check feature for TLS handshake probes and HTTPS health endpoints using cluster certificates and startup runtime trust. Handshake probes detect client-certificate rejection alerts after sending close_notify, allowing the greater of 100 ms and the connection and handshake duration, capped by the remaining probe timeout. Completed handshakes remain healthy when that deadline expires without a response. Rust consumers matching HealthCheckType exhaustively must handle the new Tls variant even when the feature is disabled.

    • Granular Policy Engine Cargo features. policy-builtins (on by default) is the complete bundle; a --no-default-features build names policy-engine or individual builtins (policy-api-key, policy-jwt, policy-oauth, policy-cedar, …) plus exactly one shared crypto backend, policy-crypto-default or policy-crypto-fips. A policy naming a plugin kind the build did not compile in fails to load. praxis --version lists the compiled Policy features. See docs/operating/build-features.md.

    • The default build includes Policy’s experimental rate limiter (ratelimit/limitador, feature policy-experimental-ratelimit). It counts nothing unless a policy declares the plugin and lists it under rate_limits:, and loading such a policy logs a warning at startup and on every reload. Because the default build now carries an experimental feature, it logs the experimental-features warning at startup, which now names each experimental feature compiled in.

    • Opt-in Policy FIPS profiles: FIPS_POLICY_PROFILE=engine|api-key|jwt|both selects Policy on its OpenSSL FIPS backend for every FIPS Make target, including container-fips (a separately tagged image) and fips-runtime-probe, which then sends API-key, JWT and DPoP traffic through the image. make test-fips-provider runs a profile’s suites on Red Hat’s FIPS module on any host. The default FIPS build and image stay policy-free. New example: security/policy-jwt-fips.yaml.

    • make fips-deps also checks the FIPS unit-test graph: test edges may not unify crypto features into jsonwebtoken, Policy, rustls or openssl, never bring in aws-lc-rs, and bring in another denied crate only with a recorded reason.

    • The policy filter registers the env secret provider, so a policy document’s secrets: block using env now loads instead of failing at startup. Any other provider kind, including file and vault, is still refused. Values are read when the filter is built, so a changed value takes effect on the next restart.

    Changed

    • Clarify that the default Pingora shutdown grace period is capped at five seconds, including for streaming responses, regardless of a larger shutdown_timeout_secs value.

    • Bodyless requests on LLM policies, such as GET /v1/models, now run HTTP authorization, delegation and request assertions before they reach the upstream: a matching http: route, or the global rules otherwise. Before, a valid identity alone admitted them. Migration: a global rule that requires llm.request now denies discovery; move inference-only rules into llm: routes or global.defaults.llm. A startup warning names the llm.require_model: false and require_protocol_metadata: false fallbacks, which still admit on identity alone.

    • The policy filter refuses to build when a JWT trusted issuer enables DPoP (dpop.mode: optional or required) without dpop.external_base_url, so the proof’s htu never depends on the client-sent Host header. The error names the plugin and the issuer. Set the URL clients address, such as https://api.example.com. A reload with such a document is rejected and the previous pipeline keeps serving.

    • A Policy crypto backend failure (no SHA-256 provider, non-FIPS OpenSSL defaults under FIPS JWT, or another jsonwebtoken provider installed first) now fails policy filter construction with a policy.crypto_failed error naming the remedy, at startup and on reload, instead of surfacing as request-time denials.

    • PRAXIS_REQUIRE_FIPS judges a registered policy filter by Policy’s compiled crypto capability report instead of refusing it outright. It still refuses the default build, any host policy plugin factory, and the unvalidated combination of policy-experimental-ratelimit with policy-crypto-fips. The default FIPS build stays policy-free.

    • Default accumulated bodies and buffered subrequest responses to a 64 MiB cap, configurable through body_limits.max_buffer_bytes. The cap covers explicit filter limits, runtime-selected buffering, nested pipelines, and iterative-router state, including after reload. Request and response transfer limits retain their 10 MiB defaults and remain independent for streams. Larger JSON, policy, gRPC-Web, and iterative-router buffer settings are accepted subject to the configured cap.

    • Keep Pingora uploads open while runtime-selected buffering withholds non-final chunks, instead of sending a premature upstream end marker.

    • The policy engine is updated to PPE 0.6.0. Its OAuth delegate(...) validation is stricter by default: a token-exchange response must name an access-token or JWT issued_token_type, unrequested scopes outside allowed_extra_scopes are refused, and a minted JWT’s aud and sub must match. strict_response_validation: false turns these checks off. JWTs with an unsupported crit header are rejected, an env secret provider with unused settings fails to load, and CEL size() and exists() change in ways that can allow requests that were denied. See docs/filters/http/security/policy.md.

    • KvStoreRegistry::register adds a caller-supplied KvBackend under a name, rejecting duplicates with KvRegistryError::AlreadyRegistered.

    • KvStoreRegistry::get_or_create_memory deliberately creates an in-memory store.

    • Breaking: every sticky_sessions cluster now requires a storage field, and startup fails with missing field 'storage' when it is omitted. The only value is local, which keeps session bindings in the proxy process: they are not shared between replicas and do not survive a restart, so stickiness behind a load balancer is per-process. That was already the behaviour; it is now a stated choice rather than a silent default. Add storage: local to each cluster to keep the current behaviour. See docs/filters/http/traffic_management/sticky_sessions.md.

    • FilterPipeline::build_with_chains takes a new required top_level_clusters: &[Cluster] argument. Rust callers pass the config’s top-level clusters: list, or &[] when none exists.

    Removed

    • KvStoreRegistry::get_or_create, which silently created an in-memory store for any unknown name. Use get to look up a configured store, or get_or_create_memory to choose memory explicitly.

    Fixed

    • Pingora sub-request connections now respect the cluster idle_timeout_ms when returned to the pool, avoiding reuse of idle connections silently dropped by NAT or firewall state.

    • The policy filter resolves http.client_address through trusted_proxies on every request path.

    • On inference requests a ratelimit.post_identity limiter can bind llm.model_id, llm.provider and custom.llm.*; such a limiter used to deny every request.

    • Remove forbidden Content-Length and Transfer-Encoding headers from 204 responses after response filters run, preserving valid downstream framing for the following response.

    • Preserve valid Content-Length metadata on Hyper HTTP/1 304 responses while keeping them bodyless, including responses with huge hypothetical lengths.

    • Count an original request-body prefix once across Pingora retries while continuing to count newly received tail bytes. Stale-connection retries also respect the 64 KiB original and final transformed body retention ceiling. Requests whose streaming writer output was not retained now return the upstream error instead of retrying with an unsafe reconstruction.

    • Decode grpc-web-text request bodies during pre-read inspection before forwarding them to HTTP/2 backends. Invalid base64 now follows the filter rejection policy even before request-phase state is initialized.

    • Flush small HTTP/1.1 server-sent events promptly when the upstream supplies Content-Length. Body-bearing event streams use chunked downstream framing; the upstream length still detects truncated responses.

    • A delegated credential is sent with its own prefix rather than always Bearer , so a Vault credential with no scheme_prefix goes out bare and a custom prefix such as token is kept.

    • A request header asserted from secret.<name> stays redacted in the views that request-body and response policy hooks receive, rather than reaching those plugins and PDPs in plaintext.

    • Request-body limit rejections log structured warnings and return JSON 413 responses across buffering and streaming paths. Body-phase rejections for requests armed by grpc_status return gRPC Trailers-Only responses instead. Oversized declared Content-Length values, including validated matching comma-separated lengths, are rejected before reading the body or sending 100 Continue. Local body-limit rejections are not retried upstream, even when 413 is configured as retriable. HEAD rejection responses retain representation headers without sending payload bytes, including over HTTP/2. Streaming rejections also cancel HTTP/2 upstream streams promptly instead of waiting for an upstream response or allowing it to replace the rejection.

    • Early HTTP/1 responses with unread uploads use Pingora’s write-side shutdown and bounded cleanup before closing, including authentication and rate-limit rejections and successful terminal responses. Cleanup has a 30-second deadline and a 128 MiB discard budget checked between body reads. Streaming rejections release the upstream before responding; access logs and request duration metrics are recorded before downstream cleanup. Expected client-error filter rejections no longer produce a duplicate Pingora error log.

    • The FIPS runtime probe selects the Pingora backend when compiling its listener tests with default features disabled.

    • The Hyper backend rejects reserved client trailer names before forwarding or retaining them for replay, including streamed and pre-read uploads.

    • The Hyper backend applies the retry policy to failures on pooled connections, preventing POST replays without opt-in and enforcing the configured retry limit.

    • The Hyper backend stops the runtime if a required listener exits during startup or serving, including a failed socket in a TCP listener group.

    • The Hyper backend preserves request trailers through pre-read and retries to HTTP/2 upstreams, and rejects unsupported HTTP/1 uploads with trailers.

    • The Hyper backend rejects strict HTTP/2 TLS upstreams that do not negotiate h2 through ALPN. Automatic HTTP version selection still allows HTTP/1.1.

    Security

    • trusted_proxies in the policy and forwarded_headers filters matches a proxy range only within its address family. 0.0.0.0/0 no longer trusts IPv6 peers (nor ::/0 IPv4 ones), so on a dual-stack listener a direct client of the other family cannot set X-Forwarded-For to choose its client address.

    • Updated ctutils to address RUSTSEC-2026-0385.

    • The policy filter no longer forwards a delegated token while the caller’s credential sits where it cannot be stripped from the upstream request, such as a query parameter. That request now receives HTTP 500 (policy.unstrippable_credential) instead of reaching the upstream with both credentials. A policy that reads a query credential and also delegates fails to load.

    • Every policy hook now sees the request as the client sent it: the raw query, the effective client address as http.client_address (the TCP peer, or with trusted_proxies the rightmost untrusted X-Forwarded-For hop; absent when a trusted chain cannot be resolved because of a malformed hop, which denies address-keyed rate limits), the validated bare host as http.host (lowercased, no port), and a scheme taken from the downstream TLS state, never from X-Forwarded-Proto. Before, response and body-phase hooks rebuilt this from a request that earlier phases could already have changed, and the scheme was usually missing. Place policy before path_rewrite, url_rewrite and header-rewriting filters.

    • A policy with request assertions but no http.request rules and no entity routes now applies its header set and strip rules instead of admitting the request on identity alone.

    • A delegation where no minted token forms a valid upstream header now receives HTTP 500 (policy.delegation_failed) instead of forwarding the inbound credential.

    • With PRAXIS_REQUIRE_FIPS set, building the policy filter refuses a build that is not FIPS-capable (such as a host plugin factory registered after startup), so that reload fails and the previous pipeline stays in place.

    • Apply the policy filter’s configured failure mode when a classified tool response is malformed JSON or lacks both a result and a valid JSON-RPC error. Policies with tool response hooks no longer silently skip those inputs; fail-closed pipelines stop delivery before the buffered payload escapes.

    • Validate the complete input’s UTF-8 before json_body rewrites or json_body_field header promotion. Invalid bytes in ignored JSON values can no longer produce trusted metadata or bypass the configured invalid-input behavior.

    • Disable TLS session resumption on listeners with client authentication and TLS hot-reload. A handshake authenticated before a CA/CRL reload could finish afterward and cache stale authentication, allowing new connections to bypass the updated trust. New connections now perform full certificate verification; static mTLS and non-mTLS listeners retain resumption.

    Release on GitHubv0.8.0 docs

  2. v0.7.5
    Show changes in v0.7.5

    Added

    • policy filter accepts context_headers and context_meta configuration. context_headers maps reserved-prefix HTTP headers to typed agent.* / framework.* extension fields (via a closed ContextField enum) so APL rules can reference host-injected values. context_meta stamps operator- defined scope, tags, and properties onto every policy evaluation; scope feeds the PPE’s scoped route resolver for both authentication and authorization. (#1388)
    • A network backend contract, so an alternative to Pingora can be dropped in behind a Cargo feature: praxis_core::server::ServerRuntime, praxis_core::egress::{PeerSpec, Connector, Session}, praxis_protocol::http::health::AdminRequest, and the backend modules in praxis-proxy-core and praxis-proxy-protocol that resolve to the selected backend. docs/developing/adding-backends.md describes what a backend implements. (#1407)
    • With the hedged-requests feature, an eligible idempotent request is raced across healthy endpoints and the first 2xx, 3xx, or 4xx response is returned. The feature is off by default; when it is off, a configured hedge_policy is still parsed and every request stays on one upstream. (#1372)
    • Clusters accept an optional slow_start (window_ms, aggression) when built with the slow-start feature. Round robin, random, least-connections, and power-of-two-choices apply the ramp, including inside subset, priority, and zone-aware selection. Hash strategies keep the configured weight. (#1364, #1406, #110)
    • FIPS crypto-readiness settings that let an operator require and verify FIPS-mode cryptography, with tests covering the readiness checks. (#1365)
    • A request-head filter lifecycle phase and a head_classifier filter that run on the request head before the body phase. (#1380)

    Changed

    • Breaking: the Pingora backend is now the pingora Cargo feature of praxis-proxy, praxis-proxy-protocol and praxis-proxy-core, on by default. A --no-default-features build (the FIPS build included) names it: --features pingora,config-reload,admin-api. A build with no backend feature refuses to compile the binary. (#1407)
    • Breaking: sub-request peers are praxis_core::egress::PeerSpec instead of Pingora’s HttpPeer: SubRequestClient::execute, send_streaming, HttpFilterContext::execute_subrequest, send_streaming_subrequest and PreparedSubrequest::{peers, peer_at} take or return it, and SubRequestClient::with_upstream_ca takes the cached CA certificates rather than Pingora’s parsed form. praxis-proxy-filter no longer depends on Pingora. (#1407)
    • Breaking: Protocol::register takes &mut praxis_core::backend::Runtime (the same type as before under the default feature). The admin, health and metrics listeners are registered through praxis_protocol::backend::admin; the *_to_pingora_server functions remain for callers holding a raw Pingora Server. The Praxis-owned health, metrics and KV modules are reachable as praxis_protocol::http::{health, metrics, kv}. (#1407)
    • Breaking: Rust API: SubResponse has a new public version field, so struct literals need version. (#1372)

    Fixed

    • praxis-proxy-filter exposes the streaming body mode after a buffered body is released. (#1382)
    • A stalled per-call DNS lookup is bounded so it no longer holds its admission slot indefinitely. (#1383)
    • The policy filter dispatches prompt and resource post hooks on the response. (#1356)

    Security

    • Updated rustls-webpki to 0.103.16 to reject certificate paths containing distrusted emSign intermediate public keys (RUSTSEC-2026-0382).
    • rustls is 0.23.46, which fixes buffered application data sent after ECH rejection, Brotli certificate decompression allocating before authentication, an unauthenticated ServerHello downgrading later connections, and Debug impls exposing TLS secrets (RUSTSEC-2026-0347, RUSTSEC-2026-0348, RUSTSEC-2026-0349, RUSTSEC-2026-0346).
    • URL-mode sub-requests no longer include their path in debug connection events. Paths supplied by clients can contain bearer tokens or signed download identifiers; the actual outbound request target is unchanged. (#1419)

    Release on GitHub

  3. v0.7.4
    Show changes in v0.7.4

    Added

    • Named filter chains take a conditions: list that every filter in the chain inherits, ANDed with the filter’s own conditions, wherever the chain is used (listeners, branch chains, outbound bindings). (#1286)
    • access_log takes an optional template that renders each record as one text line from {field} placeholders, such as '{method} {path} {status} {duration_ms}ms'. It can’t be combined with fields. (#1323)
    • access_log takes an optional sink that writes records to stdout or to a file opened for append, as NDJSON (or the template line, if one is set), bypassing the tracing subscriber. Delivery is best effort: if the writer falls behind, records are dropped rather than blocking requests. (#1324)
    • url_rewrite has a preserve_query_params_only operation that keeps only the listed query parameters and drops the rest. (#1339)
    • With the otel feature and an OTLP exporter, Praxis continues a valid inbound W3C traceparent and exports a client span for each upstream attempt, so traces link across Praxis hops. The forwarded traceparent now names that client span instead of a synthetic hop ID. (#1347)
    • Filter conditions take headers_present, a list of header names that must all be present (any value), in both request and response conditions. (#1348)
    • Rust API: praxis-proxy-filter adds the ClientResponseHeadersCommitted and StreamBodySuppressed request extension markers, a typed CalloutResponseTooLarge error, and FilteredSubrequestExecutor::for_callout_with_limits for separate buffered and streaming callout limits. (#1349)
    • router routes accept an optional hedge_policy (initial_requests, max_attempts, per_try_timeout_ms, budget_percent), validated at load. The policy is parsed but, without the hedged-requests feature, every request still stays on one upstream. (#1361)

    Changed

    • Breaking: /healthy, /ready and /metrics moved off admin.address to their own listener, admin.metrics_address, which may bind a non-loopback address without insecure_options.allow_public_admin. Set it and move probes and scrapes there. The container image now exposes and health-checks port 9902 instead of 9901. (#1342)
    • Config validation rejects an admin.address or admin.metrics_address that overlaps the other or a proxy listener. (#1342)
    • Breaking: Rust API: ConditionMatch and ResponseConditionMatch have a new public headers_present field, so struct literals need headers_present: None. (#1348)

    Removed

    • Breaking: Rust API: praxis-proxy-protocol drops add_admin_endpoints_to_pingora_server and add_admin_endpoints_to_pingora_server_with_recorder. Use add_admin_api_to_pingora_server, add_health_endpoint_to_pingora_server_with_pipelines and add_prometheus_upkeep_to_pingora_server. (#1342)
    • Breaking: Rust API: praxis-proxy-filter drops set_policy_subrequest_connector and registered_policy_subrequest_connector. Call FilterRegistry::set_policy_connector on the registry you build pipelines from. (#1344)

    Fixed

    • HTTP/1.1 responses with a body go out chunked when a response filter removes the upstream Content-Length. Before, they were delimited by closing the connection, so clients couldn’t reuse it. (#1284)
    • A retry that moves to another endpoint keeps the SNI the first attempt took from the cluster authority or the client Host, instead of using the new endpoint’s address (or no SNI at all for an IP endpoint). (#1343)
    • Policy filters built for two runtimes in one process no longer end up on each other’s sub-request pool, admission limit and circuit breaker. (#1344)
    • A TLS cluster that reaches an IP endpoint without tls.sni now verifies it against the certificate’s IP SAN; before, every request failed with a 502, verify on or off. authority: { from: endpoint } with IP endpoints no longer needs allow_tls_without_sni. (#1345)
    • Rust API: Config::from_yaml and Config::validate reject a bad runtime.log_overrides entry. Before, such a config loaded fine and failed later unless the caller ran the logging validators itself. (#1346)
    • Bodies buffered in StreamBuffer mode now hold memory in proportion to the payload. Before, lots of tiny chunks (small HTTP/2 DATA frames, say) could keep far more memory alive than the body limit allowed. (#1351)

    Security

    • --dump and the admin /api/pipelines view now redact credential-looking header matcher values (authorization, x-session-id and the like) in filter and chain conditions, and --dump redacts credential_injection values nested in iterative_request_router steps. Both used to print them as configured. (#1286)

    Releases 0.1.0 through 0.7.3 came out before this file existed; their notes are on GitHub Releases.

    Release on GitHub

Policy

  1. v0.7.0Docs on this site

    Added

    • Typed metadata source dispatch. MetadataFetchHook, MetadataFetchRequest and MetadataFetchResult let callers select one configured source and invoke its metadata.fetch handler through the normal executor, with capability filtering and error handling. The framework owns validation, provenance stamping and installation of acquired facts. (#281)
    • APL metadata fetching. fetch(name) acquires immutable facts in authorization.pre_invocation and makes them available immediately to later predicates and PDPs under metadata.<name>.*. Sources are validated at load; each source may be fetched once per compiled route, and fetches cannot run in parallel. on_error: fail stops authorization without publishing a record; ignore publishes a valid source error record and continues. Malformed or missing records and framework failures always fail closed. praxis_policy_apl_core::step adds FetchStep, MetadataFetchOutcome and MetadataFetchError. The new PluginInvoker::fetch_metadata method defaults to rejecting unsupported fetches, preserving existing implementations. AcquiredFacts::validate() exposes the core record validation rules. (#287)

    Changed

    • Breaking for Rust callers: Effect adds Fetch; downstream exhaustive matches must handle the new variant. RouteDispatchPlan adds metadata_entries; exhaustive struct literals must initialize it or use ..Default::default(), and exhaustive destructuring must name the field or use ... Both types are also reachable through the praxis_policy facade’s crate re-exports. RoutePluginEntry::pick_entry takes a new leading requested_family argument; pass the dispatching hook’s HookTypeDef::NAME. (#287)
    • Breaking for metadata sources: a plugin reached by APL fetch(name) must use mode: sequential; transform and other modes cannot return the awaited typed record required for publication. Sources must declare metadata.fetch and use on_error: fail or ignore. (#287)

    Fixed

    • APL step dispatch picked hooks across families. A plugin that registered a CMF hook alongside an unphased hook such as metadata.fetch, identity.resolve or token.delegate could have a run() step dispatched to the unphased hook, depending on hash order, and denied with a payload type mismatch. Step dispatch now also matches the hook family. (#287)
    • Experimental rate-limiter dependency maintenance. Updated Limitador to 0.14.1, removing its Postcard default-feature dependency on unmaintained heapless 0.7.17 and the unused transitive dependencies it pulled in. (#355)

    Internal

    • Documented revocation and transaction-token requirements, including proposed enforcement points, signal freshness, credential lineage and phased delivery. This is a design document; runtime enforcement is not implemented. (#284)
    • Added supply-chain maintenance exceptions for unmaintained chrono and chrono-tz (RUSTSEC-2026-0543 and RUSTSEC-2026-0555), which remain runtime dependencies of the engine and bundled PDPs with no patched release.

    Release on GitHubv0.7.0 docs

  2. v0.6.0
    Show changes in v0.6.0

    Added

    • JWT and DPoP under FIPS. The jwt-openssl-fips feature verifies identity/jwt tokens and DPoP proofs with system OpenSSL under the FIPS provider, while jsonwebtoken keeps parsing, JWKS selection and claim validation. It requires fips and cannot be combined with jwt, which keeps AWS-LC. RS256 to RS512, PS256 to PS512, ES256 and ES384 are supported, with RSA keys of 2048 to 8192 bits and a FIPS 186-5 public exponent, and EC keys on P-256 or P-384. Other inline and file keys are refused at load, other JWKS entries are skipped on refresh, and other client-supplied DPoP proof keys are refused when the proof is verified. The DPoP ath hash and JWK thumbprint use the shared SHA-256 backend. fips,jwt-openssl-fips passes fips_profile_is_safe(), with or without api-key. Building a resolver checks that the FIPS provider is the OpenSSL default and refuses a conflicting jsonwebtoken provider, with policy_crypto_failure.

    • Backend-selected randomness. praxis_policy_core::crypto::random_bytes draws secret material from the OS under crypto-rustcrypto and from OpenSSL’s private DRBG under fips, failing unless the FIPS provider is the default. The OAuth cache-key secret uses it.

    • Shared crypto failure code. CRYPTO_FAILED_CODE (policy.crypto_failed) is exported from core and the facade, for plugins that deny on a backend failure.

    • FIPS graph classification. make check-fips-graph and make check-crypto-consumer fail on an unclassified crypto crate and print the accepted ones (uuid, getrandom, signature).

    • Raw HTTP query strings reach policy. Hosts populate HttpExtension.query separately from the path, and APL, CEL and OPA read it as http.query; Cedar templates can project it into context. Plugin views require read_query. Debug output, HTTP serialization and built-in PDP diagnostics redact it because a query can carry credentials. (#222)

    • Audit record exporters. praxis_policy_core::audit::export provides AuditExporter and stderr, stdout and append-only file exporters. The reference audit/ocsf sink accepts an exporters: list, including a tracing exporter, and sends the same serialized record to each destination. (#226)

    • Selectable crypto backend. Policy’s SHA-256 operations (content digests, decision-cache keys, session ids, instruction digests and API-key hashing) use crypto-rustcrypto, the default, or fips, which uses OpenSSL with the fips=yes property. The FIPS profile is default-features = false with fips; api-key and jwt-openssl-fips are optional identity builtins, and an engine-only fips build is supported. Exactly one backend must be selected; none or both is a build error.

    • FIPS startup checks. crypto_capability_report() describes the compiled backend and the builtins that use other crypto (ordinary JWT, OAuth, Vault delegation, Valkey); fips_profile_is_safe() is false while any of them is enabled, and does not require an API-key builtin. validate_crypto_backend(), exported from core and the facade without requiring API-key, checks shared SHA-256 availability. PolicyEngine::initialize() calls this check before resolving secrets or initializing plugins. Hosts still check the capability report and their own crypto requirements.

    • Crypto failure alarm. A hashing failure on the request path logs alarm = "policy_crypto_failure" with the operation; shared-backend startup failures emit the same alarm with op = "initialize". An APL route that cannot hash its attribute bag denies with policy.crypto_failed.

    • Pre- and post-identity rate-limit hooks. ratelimit.pre_identity runs before the first identity.resolve and ratelimit.post_identity after the last, once per request. A rate_limits: list at global, global.defaults.<entity>, groups.<name> and routes[] selects the plugins they run, with the forms and inheritance of authentication:. A step’s config: override gets its own instance, built once per loaded config. A base limiter listed at two layers runs once per request, and the load warns with alarm rate_limit_listed_twice. A step’s config: must be a mapping. The engine denies with ratelimit.unavailable (503, http.status in details) when a step’s limiter is missing, including after the plugin is unregistered, and raises alarm rate_limit_stage_skipped, naming the route, when a host resolves identity without the pre-identity call.

    • Host-supplied client address. HttpExtension::set_client_address sets a trusted address, read back with HttpExtension::client_address and exposed to read_headers plugins as http.client_address. ClientAddress normalizes it: the port is stripped, IPv4-mapped IPv6 becomes IPv4, other IPv6 becomes its /64 prefix, and an invalid value is dropped. The /64 form parses back, so a serialized address round-trips. Debug output hides it, but serialized HttpExtension output, which audit sinks read, includes the normalized address.

    • Experimental in-process request rate limiting. The ratelimit/limitador plugin, behind the experimental-ratelimit feature, runs at the one rate-limit hook its hooks: declares, from rate_limits:. It counts requests against embedded Limitador limits and denies with ratelimit.exceeded, status 429 and client-safe details. It requires on_error: fail and mode: sequential, rejects identity bindings before identity and pre-identity counters keyed on caller-influenced attributes (http.request_headers.*, http.query, http.path, http.host, agent.*, args.*, custom.*, llm.input.*, meta.properties.*, provenance.*, request.*), and refuses to load in a panic = "abort" build. A matching limit whose computed counter key cannot resolve denies with ratelimit.check_failed (503) before this limiter changes its counters. Windows above 9,223,372,036,854 seconds fail at load, before Limitador could overflow its microsecond expiry timestamp during a request. Counters are per instance and reset on restart or reload. It is excluded from builtins.

    • Unavailable CIBA approval state returns -32122. A store read or write failure denies with elicitation.store_unavailable and JSON-RPC -32122. Check and validate responses include the elicitation id to identify the failed flow, including a first visit after dispatch. Store failures halt even under on_error: continue; a failed write can still require a new elicitation. ELICITATION_UNAVAILABLE_CODE is exported. (#236)

    • CIBA approvals can be shared across replicas. The elicitation/ciba plugin accepts store: { kind: memory | valkey }. A Valkey store can use its own connection or reference global.session_store, with overrides for credentials, key prefix, and timeouts. Poll claims and redemption are atomic across replicas; an ambiguous or expired poll claim requires a new elicitation. (#236)

    • Valkey passwords can come from an environment variable or file. Both stores accept password: { env: NAME } or { file: PATH } alongside a string. (#236)

    • PluginFactory::create_with receives a scoped FactoryContext when its factory requests session-store metadata. The context contains only safe connection fields. CIBA requests it for a reference and requires its own password; full URL endpoints cannot be referenced. Valkey scripts use EVALSHA with a cache-miss load. create_with defaults to create. (#236)

    • Added DPoP (RFC 9449) proof verification to identity/jwt, configured per trusted issuer with dpop: { mode: off | optional | required }. A bound token must carry a valid proof for the request’s method and URL, signed by the key in its cnf.jkt, and each proof is accepted once. A verified binding is visible to policy as subject.key_binding, client.key_binding or caller_workload.key_binding. The default replay guard is per instance; hosts can share a store through JwtIdentityFactory::with_replay_guard or JwtIdentityResolver::with_replay_guard, and the valkey feature supplies ValkeyReplayGuard. The generic host-managed store service remains tracked by #127. When an IdP refuses to exchange a DPoP-bound token, delegator/oauth’s delegation.idp_rejected reason says which token was bound and what to change, and names it in details.bound_tokens. (#204)

    • reference/plugins/transcript-scanner reads typed prior turns through read_agent, including resource blobs decoded as UTF-8 with replacement, and denies with transcript.detected on a configured content match. (#70)

    • llm: routes can read the request. One gated Extensions.llm_request carrier holds the optional parsed body and normalized parts. The body reaches PDPs at llm.request; reported parts emit llm.input.* bag keys, including a role-aware instruction digest and candidate count. Model and completion facts emit canonical llm.model.* and llm.output.* keys. Published llm.model_id, llm.provider, llm.capabilities, and completion.* remain value-identical aliases. The carrier is never serialized and requires read_llm_request for plugins. Hosts constructing Extensions or OwnedExtensions with exhaustive literals must update them. (#70)

    • docs/content/llm-routes.md documents canonical keys, missing-key behavior, host obligations, and a tested worked config. (#70)

    • Added immutable, framework-owned acquired metadata records under metadata.<instance>.*. Plugins in the same invocation need read_metadata to receive the typed slot or its APL projection, and cannot add, replace, or remove records; Extensions::for_child_request starts a child policy invocation without parent records. This is the protected context foundation for the external metadata PIP tracked by #184.

    • APL attribute paths accept one leading $ on a segment after the first, so policies read provenance leaves such as metadata.account.$outcome. Route predicates read metadata.* without a host grant: the synthetic APL handler holds read_metadata intrinsically.

    • Typed credential locations for the identity/jwt plugin. The plugin can now extract bearer JWTs from HTTP headers, cookies, or query parameters — one location per resolver instance. A new credential: config block names a kind (header, cookie, or query_param) and a name. Cookie and query-string values are parsed by PPE itself (ppe-core::http_credential), not by whichever HTTP framework the host runs, so the same request resolves the same credential regardless of which proxy sits in front of it. DPoP requires a header credential; cookie and query parameter locations are refused at load when an issuer enables DPoP. The legacy YAML header: setting remains supported but logs a deprecation warning when the resolver is built. Existing configurations need no change. New configurations should use credential:; the two settings cannot be combined:

      # Legacy (still supported)
      plugins:
        - name: user-jwt
          kind: identity/jwt
          config:
            header: "Authorization"
            trusted_issuers: [...]
      
      # Preferred
      plugins:
        - name: user-jwt
          kind: identity/jwt
          config:
            credential:
              kind: header
              name: Authorization
            trusted_issuers: [...]
      

      Omitting both settings defaults to the Authorization header.

      Runtime deny codes for credential extraction: auth.missing_credential (no value at the configured location), auth.empty_credential (no token in the named value), auth.ambiguous_credential (duplicate configured name or differently cased header keys), and auth.malformed_credential (parse failure). Malformed JWTs use auth.malformed_credential at every credential location.

      Query credentials require read_query at configuration load for both JWT and API-key resolvers. Header and cookie credential names must be valid HTTP tokens. A literal query credential name alongside a percent-encoded copy is rejected as ambiguous.

      Security note: a resolver configured for credential: { kind: query_param } logs a one-time notice at construction, because a query-parameter token routinely appears in infrastructure logs (access logs, CDN logs, browser history) outside PPE’s control — PPE’s own logging never prints the token value, in either the old or the new field. (#64)

    Changed

    • Breaking Rust API: HTTP query support. HttpExtension adds query; exhaustive struct literals must initialize it or use ..Default::default(). Capability adds ReadQuery, requiring a new arm in exhaustive matches. read_headers does not grant access to the raw query; plugins need read_query. Serialized HTTP state contains a redacted query placeholder, so hosts must carry the live query between hooks without a JSON round trip.

    • OAuth needs the FIPS default under fips. The OAuth cache-key secret now comes from random_bytes, so with fips an OAuth delegator fails to build unless the FIPS provider is the OpenSSL default. This affects fips,api-key,oauth builds that use no JWT. OAuth stays reported unsafe under FIPS because its cache key is still an HMAC.

    • HMAC and EdDSA JWTs are refused under jwt-openssl-fips. HS256, HS384, HS512, EdDSA and decoding_key: { kind: secret } fail config load with that feature. Ordinary jwt keeps these algorithms unchanged.

    • Breaking Rust API: DPoP hashing is fallible. jwk_thumbprint returns Result<String, ThumbprintError>, separating an unsupported key (Unsupported) from a backend failure (Crypto); access_token_hash returns Result<String, CryptoError>.

    • Breaking Rust API: new CryptoError variants. NonFipsDefault and ProviderConflict under fips, and Random under crypto-rustcrypto. The enum is #[non_exhaustive].

    • Breaking Rust API: crypto initialization errors. PluginError adds Crypto { source: CryptoError }; exhaustive matches need a new arm. PolicyEngine::initialize() refuses startup when the shared SHA-256 backend is unavailable, without resolving secrets or starting plugins.

    • Breaking Rust API: hashing is fallible. resolve_session returns Result<Option<(String, SessionSource)>, CryptoError>, instruction_digest returns Result<String, CryptoError>, and extract_llm_request, extract_extensions and BagBuilder::with_extensions return Result<_, CryptoError>. Propagate the error with ?, or deny: a hashing failure must not fall back to an unhashed value. CryptoError is #[non_exhaustive] and its variants depend on the backend. See the hashing migration.

    • Breaking for builds without default features: praxis-policy, praxis-policy-core, -apl-cmf and -apl-runtime with default-features = false must name crypto-rustcrypto or fips. For example, --no-default-features --features jwt now fails; use jwt,crypto-rustcrypto. praxis-policy-builtins now defaults to crypto-rustcrypto, so features = ["jwt"] still builds.

    • Composing a FIPS build: Cargo features only add, so a dependency that leaves Policy’s defaults on selects crypto-rustcrypto and the FIPS build fails with both backends. Every Policy dependency in a FIPS graph, plugin crates included, must disable defaults. A plugin crate forwards its own backend features to core, as the reference plugins do.

    • The FIPS profile rejects configurations that enable keyed content provenance, which requires HMAC. Plain SHA-256 provenance remains available by explicitly selecting content_provenance_key: unkeyed, which lets anyone holding a record test guesses at the payload.

    • A rate-limit check that fails because the request cannot be hashed denies the request, and the throttled failure log reads “rate limit check failed” instead of naming Limitador.

    • A run(name) step whose plugin has no hook for the request’s context fails with a PluginError::Dispatch message that now names the remedy: move the step, or use a plugin with a hook for that context.

    • Breaking: new ConfigScope variants. ConfigScope::RateLimits and ConfigScope::RateLimitsStep cover the rate_limits: block and its steps. An exhaustive match on ConfigScope outside this crate needs the two arms, and ConfigScope::ALL grows from 11 to 13 entries.

    • Breaking: HttpExtension adds client_address, and GlobalConfig, PolicyGroup and RouteEntry add rate_limits. Hosts using exhaustive struct literals must initialize them or use ..Default::default().

    • Breaking: PluginContextTable adds a private field, so it can no longer be built with a struct literal outside this crate, even with ..Default::default(). Use PluginContextTable::new() or Default, then set global_state and local_states.

    • Breaking Rust API for embedders: RawInboundToken.source_header: String becomes RawInboundToken.source: Credential; its constructor now takes a Credential instead of a header name. JwtIdentityResolverConfig.header changes from String to Option<String>, and struct literals must set the new credential: Option<Credential> field. Use header: None with credential: Some(Credential::Header { name }) for new Rust callers. The YAML header: setting remains supported with a deprecation warning.

    • Breaking Rust API for API-key embedders: identity_api_key::Extraction is no longer exported, and CredentialLocation::extract and CredentialLocation::presented are removed. Use CredentialLocation::raw(&headers, raw_query_string) or CredentialLocation::raw_from_ext(&headers, &ext); success is Ok(String) and failures use ExtractionError. Move successful key bytes into PresentedKey::new(raw.into_bytes()) before a directory lookup.

    • Breaking serialized shapes for embedders: RawInboundToken now emits {"source":{"kind":"header","name":"Authorization"}} instead of {"source_header":"Authorization"}. Migrate persisted or wire JSON that reads the old shape. IdentityPayload.headers is now #[serde(skip)], so headers no longer appear in serialized payloads or survive a round trip. Out-of-process hosts needing headers must read them from the request. RawInboundToken’s Debug still redacts the token; IdentityPayload’s Debug now redacts header values as well.

    • Breaking for the reference audit plugins: audit/logger requires destination: and audit/ocsf requires destination: or exporters:. Neither falls back to stderr any more: an entry that names no output fails the load with the options listed, so an incomplete audit configuration no longer looks like a working one. stderr is still available and has to be named. (#237)

    • Breaking: CIBA config rejects unknown fields. A misspelled key such as stroe now fails at load and names the field. (#236)

    • Breaking: CIBA config requires store. An elicitation/ciba plugin without a store: block now fails at load instead of keeping approvals in process memory. Add store: { kind: memory } to keep the previous behaviour, or configure kind: valkey to share approvals across replicas. (#236)

    • Breaking Rust API changes. CorrelationStore is async and fallible, and implementers must provide claim_poll, release_poll, complete_poll, and abandon_poll; ValkeyConfig.password is a PasswordSource, and CibaConfig has a store field. Construct StoreError with StoreError::new; ValkeyCorrelationStore::from_settings returns SettingsError. Build ValkeyConfig with from_value so its password is resolved and validated once before pool construction; direct struct literals are no longer available. FactoryContext, StoreConfig, PasswordSource, and SettingsError are #[non_exhaustive]. Trait implementations, config struct literals, and exhaustive matches may need updates. (#236)

    • DPoP proofs are idempotent within a request. identity/jwt records each accepted proof in the request’s PluginContextTable, so resolving identity again with the table the host threads through the request, for example at the HTTP gate and then at the tool, reuses the proof instead of denying it as auth.dpop_replay. Every other proof check still runs. A route config: override instance reuses the record when it shares the base instance’s replay guard. A new table is a new request and still hits the replay guard. DpopVerifier::verify_in exposes the same check. A resolver with DPoP turned on in a mode other than sequential or transform is refused at load, because those modes do not keep the record.

    • Breaking: SubjectExtension, ClientExtension, and WorkloadIdentity add key_binding. Hosts using exhaustive struct literals must initialize it or use ..Default::default(). TrustedIssuerConfig adds dpop; exhaustive literals must set it, for example to DpopConfig::default().

    • Breaking: ConversationContext.history is Vec<Message>, was Vec<serde_json::Value>. Each entry is a CMF message, the same type as the current turn’s payload. A host that sent free-form summary objects must now send turns in CMF message shape; anything else fails to deserialize rather than being carried unread. History is still not flattened into the attribute bag; policy reaches it through a plugin. (#70)

    • Breaking: Extensions and OwnedExtensions add metadata; exhaustive struct literals must initialize it (or use ..Default::default()). Capability adds ReadMetadata and SlotName adds Metadata, so exhaustive matches need a new arm. Extensions.metadata is never serialized. The new metadata enums are #[non_exhaustive].

    Fixed

    • & and | no longer abort when one operand cannot be ordered and another already settles the expression. A true | operand or a false & operand decides the same way in either order, so some phases that denied on an unparseable value now evaluate normally. An unorderable result is still fail-closed when no operand settles. (#69)
    • Enabled audit sinks without policy hooks load under dispatch: policy; they receive verdicts without a run(name) step and are exempt from the plugin reachability error. Disabled sinks remain subject to that check. (#210)
    • Crypto and rate-limit alarm throttling uses a monotonic clock, so a backward wall-clock adjustment cannot silence failure logs. Forged JWT and DPoP signatures deny without raising a crypto-backend alarm; verification setup and hashing failures still raise the throttled alarm.

    Release on GitHub

  3. v0.5.0
    Show changes in v0.5.0

    Added

    • Added the opt-in delegator/vault builtin to retrieve downstream credentials from Vault KV v2 for a user, client, or workload. Place authorization before delegation in a route. (#168)
    • Added integration, resilience, and security test suites that exercise policy decisions through the reference host, including dependency failures, concurrency, credential leaks, and environment-gated live services. (#180)
    • Added secret.<name>, an assertion source for a static upstream credential. A target sitting behind a shared API key had no path short of a token delegator, which is per-request exchange machinery that a static credential does not need. A request entry can now read a value declared under secrets.values, and the engine renders the header: no plugin and no PDP holds the bytes, and the value reaches the asserted header and nothing else. The path names a declared secret and never a provider or a raw reference, which is what keeps the addressable set finite and readable from the document instead of being whatever a provider’s credentials can reach. An unknown name is a config error naming what is declared, and so is a response entry naming a secret, since a response asserts toward the client and the credential is the upstream’s. The read is synchronous from the value resolved at startup, so nothing fetches on the request path, and it goes through the store at the point of use, so a rotation reaches the wire on the next request after a refresh. The effective-policy artifact prints the name and never the value, and says that no plugin capability reads the slot rather than naming one. (#93, #174)
    • MCP annotations now reach policy as mcp.tool.annotations.<name> and the same under mcp.resource and mcp.prompt, flattened through the JSON walker that already carries custom.*, framework.metadata.* and claim.*. This is where readOnlyHint and destructiveHint live, so a rule can refuse a destructive tool. They had been withheld for being free-form JSON, which does not distinguish them from the four maps already on the bag. The tool and output schemas and the prompt’s argument list stay off, now with the reason recorded: they describe the shape of a call rather than a fact about this one, and the argument values already reach policy as args.*. (#78)
    • caller_workload.attested_at and this_workload.attested_at now reach policy, rendered as RFC3339 with second precision and a literal Z. The fixed width makes the string sort the way the instant does, which CEL and Rego can use. APL cannot: its order comparison is numeric and fails closed on an operand that will not coerce to a finite f64, so attested_at < "..." denies every request there rather than testing freshness. caller_workload.attested_at_epoch and this_workload.attested_at_epoch carry the same instant as Unix seconds for that reason, which APL orders on its exact integer path, so an event-pinned floor such as attested_at_epoch < 1790812800: deny is writable: “reject anything attested before the CA rotation” never goes stale. A rolling window still is not writable, because APL compares an attribute against a literal with no arithmetic and no now(); that is tracked separately. Both keys truncate one value to seconds, so they cannot describe different instants, and truncation is toward the past so a freshness rule errs toward stale. Tests through the evaluator pin both what APL can and cannot do here. These are the only instants the engine formats; request.timestamp and completion.created_at are host-supplied strings with no format guarantee. (#78)
    • Added reference/plugins/ocsf-audit, an audit sink that renders every decision the engine finalizes as an OCSF API Activity event (class 6003, the ai_operation and security_control profiles), with the per-plugin steps, span, taint, content digests and stream stamps under unmapped. With chain: true each record carries an attestation whose fingerprint binds it to its predecessor, and a signing key adds a DSSE signature over the same bytes, so a verifier checks a record offline from the emitted JSON and the public key alone, with no access to the engine. It consumes the audit seam like any sink and never changes a verdict. The record format is specified separately as AID-EMIT-1, pinned from the crate, and the three SAMPLE-OUTPUT*.md files next to it are that specification’s conformance vectors, reproduced byte for byte by the crate’s examples. It joins pii-scanner and audit-logger as a reference plugin: built, linted and tested here, publish = false, outside the builtins umbrella, and a host registers it under audit/ocsf. Decisions only for now; effect records keep the trait’s ignoring default. (#12)

    Changed

    • Breaking for secret health alarms: secrets_last_success(provider) now retains the last successful refresh time after a failure instead of returning None. Hosts that used None to detect an outage should check secrets_health(provider) for failing and use the retained timestamp to measure staleness. (#191)
    • Breaking for env secret provider config: settings the provider does not use now cause a config error instead of being ignored. Remove those settings from the env provider declaration. (#191)
    • Breaking for secret config reloads: after secret resolution, a reload that changes the secrets: block is refused; restart the engine to apply new provider or value declarations. Reloads with unchanged secret declarations remain supported. (#191)
    • Breaking for hosts using CelResolver::with_functions: registration callbacks now return Result<(), cel::DeclarationError>, and with_functions returns Result<Self, BuildError>. CEL 0.15 rejects a custom function whose name conflicts with a standard-library overload; the resolver reports this at construction. A later registration failure denies even with on_error: allow. Hosts that need such an overload must migrate it to a CEL Env overload.
    • Behavior change for CEL policy authors: CEL 0.15 counts Unicode code points rather than UTF-8 bytes in string size(), so a size(text) <= N condition can admit more bytes of non-ASCII text. exists() now returns true when one element matches even if evaluating another element errors, so some requests previously denied on that error may now allow. (#185)
    • Breaking: HttpExtension adds secret_headers; exhaustive struct literals must initialize it (or use ..Default::default()). Hosts must preserve this provenance when carrying HTTP state between hooks. Debug and generic serialization redact marked request headers; forwarding uses the canonical in-memory header map.
    • Breaking for Rust callers of praxis_policy_core::assertions: the secret source widened four signatures and the SourcePath enum. This also affects callers using praxis-policy, which re-exports praxis_policy_core, including assertions.
      • SourcePath::capability returns Option<Capability> instead of Capability. A secret answers None, because no plugin-facing read of a declared secret exists for a capability to gate, and naming one would tell an operator that some grant reaches the value.
      • SourcePath::resolve and assertions::render each take the resolved SecretStore as a further argument, where None is a host that resolved none. AssertionsConfig::validate takes the document’s SecretsConfig, which is what makes an undeclared name a load error.
      • SourcePath gains a Secret(String) variant and is now #[non_exhaustive], so an out-of-crate match on it needs a _ arm. Marking it in the same release that already changes the enum means the next source added is not a breaking change. (#93)
    • Behavior change for hosts parsing JSON through the engine: floats now parse to the double their digits name. serde_json is built with float_roundtrip, where the default parser can land one ULP away. That corrected value can change a policy result at an exact numeric boundary, although the comparison operators themselves are unchanged. It also changes re-serialization: a verifier that re-parsed an emitted audit record and recomputed its RFC 8785 fingerprint could otherwise report an untouched record as tampered. (#171)

    Removed

    • Breaking for Rust callers of praxis_policy_apl_cmf::constants: removed CAP_READ_META, CAP_READ_REQUEST, CAP_READ_LLM, CAP_READ_MCP, CAP_READ_COMPLETION, CAP_READ_PROVENANCE, CAP_READ_FRAMEWORK and CAP_READ_CUSTOM, along with their capability_namespaces entries. None is a Capability in praxis-policy-core: these are the eight slots core leaves unrestricted, so no capability gates them and there is nothing to name. Declaring one in a plugin’s capabilities: granted nothing, and known_read_capabilities offered it to a config validator as recognised. capability_namespaces still answers with no prefixes for these names, now through its unknown-capability path. A test deserializes every remaining CAP_* through core’s own serde impl, so a rename in core fails here instead of drifting. (#78)
    • Breaking for Rust callers of praxis_policy_apl_cmf::constants: removed BAG_META_PREFIX, BAG_REQUEST_PREFIX, BAG_LLM_PREFIX, BAG_MCP_PREFIX, BAG_COMPLETION_PREFIX, BAG_PROVENANCE_PREFIX and BAG_FRAMEWORK_PREFIX. Their only consumer was the capability table, which no longer names them because those slots are unrestricted, and they cannot serve the drift prevention the module header promised: every key in those namespaces is a fixed string, so a prefix constant would guard only the first segment of mcp.tool.name. The bag keys themselves are unchanged and remain readable from any policy; only the Rust constants are gone. BAG_CUSTOM_PREFIX stays and is now used by its extractor, which composes custom.<name> and so wants the prefix. (#78)

    Fixed

    • Rejected JWTs with unsupported critical headers. OAuth token exchange now validates the issued token type, granted scopes, and JWT audience and subject by default. Empty scope requests accept IdP defaults, and allowed_extra_scopes permits named defaults alongside requested scopes. (#188)
    • Bound CIBA approvals to the selected policy route, tool, and authenticated requester, with atomic single-use redemption within a plugin instance. Backchannel and poll failures no longer expose OP response bodies that may contain client credentials. (#188)
    • Made non-scalar numeric policy comparisons fail closed. Structured JSON redaction now matches keys without case sensitivity, supports recursive paths, and preserves keys containing dots; recursive traversal is bounded. (#188)
    • Secret assertion headers are redacted in plugin and audit views across subsequent hooks, config reloads, and header case normalization. Provenance travels with the HTTP extension. Plugin header writes preserve the original credential while allowing unrelated header changes. (#93)
    • capability_namespaces no longer claims that read_request, read_provenance, read_completion, read_llm, read_framework, read_mcp, read_meta and read_custom unlock bag namespaces. Those eight slots are AccessPolicy::Unrestricted in filter_extensions, so every plugin receives them whatever it declared, and the table was telling an operator that withholding a capability would withhold the data. All eight now report no prefixes, and the page says which slots capabilities actually withhold. A test filters a fully populated Extensions through filter_extensions and asserts the gating each key declares, so the description is checked against the behaviour rather than against another hand-maintained list. (#78)
    • read_teams now unlocks the flattened team.* prefix alongside subject.teams. The bridge has always written team.<name> for each team, the way read_roles and read_permissions cover their own flattened aliases, but capability_namespaces named only the set. An operator reading the table to answer what a plugin can see was told less than the plugin actually receives. (#78)

    Documentation

    • Defined requirements for audit serialization, delivery, and offline verification. (#173)
    • The per-slot key tables in docs/content/cmf-extensions.md are now checked against the bridge rather than maintained by hand. crates/ppe-apl-cmf/tests/key_catalog/ declares every key the bridge emits with its type, its slot and the capability that gates it, and asserts that flattening a fully populated Extensions emits exactly those keys, that the tables list exactly those keys under the right slot, and that capability_namespaces agrees. The page also now records that auth_method and security.classification are the two keys no capability gates, since filter_extensions includes them whatever a plugin declared. (#78, #175)
    • Recorded why client.teams is set-only where subject.teams also carries the flattened team.<name> boolean. The flattened form cannot hold a dotted name, so it is lossy wherever one occurs while the set always holds every member; the five collections that carry it predate the sets and the list is closed. Both namespaces already have the complete form, so what subject.* has in addition is sugar rather than a capability client.* lacks. A test pins it, because the two loops beside it in extract_client do flatten and completing the pattern is the obvious wrong edit. (#78)

    Tests

    • Covered authorization on glob and wildcard entity routes, including route specificity. (#122)

    Release on GitHub

  4. v0.4.1
    Show changes in v0.4.1

    Added

    • Optional bounded PDP decision cache. A cache: block on a global.pdp[] entry stores Allow and Deny for a positive TTL and a positive entry cap. Omission leaves evaluation unchanged. Keys are a digest of dialect, call arguments, the full attribute bag, and structured request input, so request data is not retained. Dispatch errors are never stored, expired entries are never returned, FIFO eviction stays inside the cap, and a PPE configuration generation change drops the map. External PDP policy can still go stale until the TTL expires; docs/pdp-decision-cache.md states that. (#67)
    • PDPs can evaluate host-supplied LLM request JSON and native tool arguments. (#144)
    • Added verdict audit sinks, durable effect logs, and keyed content provenance. (#84)

    Changed

    • Breaking: OPA and CEL now use native JSON for tool: route args; RoutePayload struct literals require structured. See migration guidance. (#144)
    • Breaking: cloned extensions drop HTTP transport, and effects are limited to sequential and transform modes. (#84)
    • Missing required LLM requests and overly deep structured input now deny. (#144)
    • PDP-generated errors hide input values; Cedar schemas require structured_context: true for structured input. (#144)
    • The reference audit logger uses sink mode when hooks: is absent. (#84)
    • Serial and transform plugin panics are contained and report plugin_panic. (#84)

    Documentation

    • Documented Kuadrant/PPE attribute mapping and policy parity. (#131)

    Release on GitHub

  5. v0.4.0
    Show changes in v0.4.0

    Added

    • Added a secrets: configuration with named providers and values, fail-fast startup resolution, and host-driven refresh. The built-in file and env providers support local and Kubernetes-mounted credentials. (#97)
    • Added a Vault KV v2 secret provider behind the secrets-vault feature. It reads through the host HttpTransport, supports Kubernetes and AppRole auth, renews tokens lazily, and reauthenticates once after a 403. (#103)
    • Added an opt-in quota policy plugin backed by Limitador. It checks a per-principal token budget before an LLM call and reports usage afterward. (#116)
    • Added the ibmverify JWT claim mapper preset for tenant-provisioned scalar or array collection claims. (#134)
    • Added the identity/api-key resolver with hash-indexed file and HTTP directories, shared identity mapping, and bounded lookup caching. The facade exposes it through the api-key feature. Its backend is configured with provider:; the identity and delegation guide documents both backends and denial behavior. (#125, #135, #136)
    • Documented how to add and test provider-specific JWT claim mapper presets. (#128)

    Changed

    • Consolidated the nine bundled extensions into one published crate, praxis-policy-builtins, each behind its own Cargo feature. The facade’s features, install_builtins, its re-exports, and every policy kind string are unchanged, so hosts reaching these through praxis-policy need no change. A dependency naming one of the retired crates directly should be replaced by praxis-policy-builtins with the matching feature: keeping both links two copies of the same implementation registering the same kind, and the registry is last-write-wins. Versions up to 0.3.1 of the old crates stay on crates.io; later releases publish only the consolidated crate. See Crates for the mapping. (#140)

    • Config-load errors from the JWT, OAuth and CIBA extensions now name the plugin kind (identity/jwt, delegator/oauth, elicitation/ciba) instead of the crate they used to live in. Operators matching on that text in logs or alerts need to update the pattern. (#140)

    • Moved the configurable identity claim mapper from praxis-policy-plugin-identity-jwt to praxis_policy_core::identity::mapping. Breaking for Rust callers using the JWT plugin’s module paths (claim_map_config, claim_path, configured_mapper, or claim_map::{ClaimMap, ClaimMapper}): import those items from core instead. ConfiguredClaimMap::new now requires a MappingProfile with the reserved names and attestor for the verified credential; JWT callers can use praxis_policy_builtins::plugins::identity_jwt::claim_map::JWT_MAPPING_PROFILE. The JWT module’s re-exports and the operator’s claim_map: config remain available. (#119)

    • Exposed execute_with_retry so a SecretProvider using the host transport can use the same retry policy as plugins. (#103)

    • Replaced deprecated serde_yaml with the maintained yaml_serde fork and updated regorus from 0.11.0 to 0.12.0. (#121, #114)

    Fixed

    • Prevented dotted subject and client membership names from creating ambiguous flattened policy aliases. (#126)
    • Sized Vault login JSON buffers before serialization so large credentials do not leave bytes behind in a reallocated buffer. Added an optional live Vault KV v2 integration test. (#141)

    Internal

    • Updated the Criterion benchmark dependency from 0.7.0 to 0.8.2. (#113)

    Release on GitHubv0.4.0 docs

  6. v0.3.1
    Show changes in v0.3.1

    Changed

    • Lowered the MSRV to 1.92 to match Red Hat’s rust-toolset, which the FIPS build compiles against.
    • Upgraded the cel and redis dependencies.

    Release on GitHubv0.3.1 docs

Earlier releases in CHANGELOG.md

Grid

Grid v0.3.2 does not ship a changelog file. Each release's notes are on GitHub.

  1. v0.3.2Docs on this site
  2. v0.3.1
  3. v0.3.0
  4. v0.2.2
  5. v0.2.1
  6. v0.2.0