Skip to content

v5.9.0

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Oct 11:31

Added

  • Failure-inclusive metering (Engine::evaluate_metered_report and
    Session::eval_metered_report, #87).
    Both return
    Metered<Result<..>> instead of Result<Metered<..>>, so ops_used
    and bytes_used are reported whether evaluation succeeds or stops with
    an error (OpBudgetExceeded, EvalMemoryExceeded, MaxDepthExceeded,
    Thrown, and operator errors). Hosts enforcing a shared operation or
    arena byte budget across multiple rules in one request can deduct the
    work a failing rule consumed before stopping. Metered::transpose
    converts Metered<Result<T>> into Result<Metered<T>>, and
    evaluate_metered / eval_metered remain unchanged.

Fixed

  • Windows: catalogue_gates_match_cargo_features handles CRLF line
    endings (#86).
    The test split Cargo.toml on "\n[", which missed
    section headers under core.autocrlf=true and swept dependency features
    into the [features] set. It now scans .lines().

Changed

  • Dependency updates. Core crate: datavalue-rs 0.3.3. All workspace
    and binding lockfiles are refreshed, and install snippets in the book
    and the binding READMEs pin 5.9.0.

Every binding passes the same conformance battery: 66 suites / 2,128 cases.
Try rules live in the playground.
Running datalogic-rs in production? Add your project.