Skip to content

v0.7.0

Pre-release
Pre-release

Choose a tag to compare

@araujof araujof released this 20 Nov 19:08
· 6 commits to main since this release
156d253

Added

  • Added typed metadata.fetch dispatch through MetadataFetchHook, MetadataFetchRequest, and MetadataFetchResult, letting callers invoke one named source with executor capability filtering and error handling. (#281)
  • Added APL fetch(name) in authorization.pre_invocation. Acquired facts become available immediately to subsequent predicates and PDPs under metadata.<name>.*. Source records are validated and stamped with trusted provenance before publication. (#287)
  • Added fetch source validation and error handling: fail stops authorization without publishing a record; ignore publishes a valid source error record and continues. Malformed records, missing results, and framework failures always fail closed. (#287)

Changed

  • Breaking Rust API: Effect adds Fetch, and RouteDispatchPlan adds metadata_entries; update exhaustive matches, struct literals, and destructuring. These types are also reachable through the facade’s crate re-exports. (#287)
  • Breaking Rust API: RoutePluginEntry::pick_entry takes a new leading requested_family argument; pass the dispatching hook’s HookTypeDef::NAME. (#287)
  • Breaking metadata source configuration: APL fetch sources must declare metadata.fetch, use mode: sequential, and select on_error: fail or ignore. Each source may be fetched once per compiled route; fetches cannot run inside parallel. (#287)
  • Added maintenance exceptions for unmaintained runtime dependencies chrono and chrono-tz, covering RUSTSEC-2026-0543 and RUSTSEC-2026-0555 while no patched releases are available. (8ccc5ad)

Fixed

  • APL step dispatch now matches hook families, preventing run() from selecting an unrelated unphased handler and denying with a payload type mismatch. (#287)
  • Updated Limitador to 0.14.1, removing the experimental rate limiter’s dependency on unmaintained heapless 0.7.17 and unused transitive dependencies. (#355)

Documentation and tests

  • Documented metadata source dispatch and APL fetching, with regression coverage for source isolation, capability boundaries, publication, and failure handling. (#281, #287)
  • Documented proposed revocation and transaction-token requirements, including enforcement points, signal freshness, credential lineage, and phased delivery. Runtime enforcement is not implemented. (#284)

New Contributors

Contributors

Full Changelog: v0.6.0...v0.7.0