Skip to content

Graphrt 0.3.1

Choose a tag to compare

@BimaPangestu28 BimaPangestu28 released this 20 Nov 02:14
· 221 commits to main since this release

Loading large workflows is fast again. 0.3.0's strict validation did redundant work, so graphrt run / validate on a 1,000-node workflow took ~54 ms instead of 0.2.0's ~14 ms. No behaviour changes, and errors are reported exactly as in 0.3.0.

Added

  • The iOS sample app is verified on a physical iPhone (iOS 18.3). Its README has the device build, install and launch steps.
  • Plugin SDKs 0.2.0 on PyPI and npm (graphrt-plugin): tool handlers can return images (tool_images), as shipped in graphrt 0.3.0.

Changed

  • Every crate now declares Rust 1.89 as its MSRV (was 1.85 for most).
    • The declaration was wrong, not the code: graphrt-core's default yaml feature has needed 1.89 since 0.2.0 through serde-saphyr 2, and the CLI, FFI and RAG crates already declared it.
    • The MSRV CI job (and scripts/ci-local.sh) now checks the whole workspace on 1.89.

Performance

  • Validation compiles a clean document from the nodes it already built and checked, instead of building and checking them again in Graph::build.
  • Source positions are computed only when there is something to report.
  • Graph::fingerprint is computed on first use and cached: only snapshots, run records and traces need it. Values are unchanged.
  • graphrt run on a 1,000-node chain (macOS arm64, min-size build): 0.3.0 55 ms, 0.3.1 16 ms, 0.2.0 15 ms.

Install

curl -fsSL https://github.com/Graphrt/graphrt/releases/download/v0.3.1/install.sh | sh
brew install graphrt/graphrt/graphrt
cargo install graphrt-cli
docker pull ghcr.io/bimapangestu28/graphrt:0.3.1

The container image of this release was published at ghcr.io/bimapangestu28/graphrt and stays there. Starting with the next release, images are published at ghcr.io/graphrt/graphrt.

  • Windows (experimental): graphrt-x86_64-pc-windows-gnu.zip is cross-compiled and has not been run on Windows yet.

Full changelog: CHANGELOG.md · v0.3.0...v0.3.1