Skip to content

v0.0.1-alpha.40

Choose a tag to compare

@github-actions github-actions released this 20 Oct 14:36
Immutable release. Only release title and notes can be modified.
8fc3ef9

Release Notes

This release lets applications that store batch evaluations encode and decode output values and read a stored session back without the model.
It contains no language changes.

No existing Graphcal source programs need to be modified.
The batch evaluation protocol version stays 2, and the request and result wire formats are unchanged.

Batch Evaluation

  • Output values can be encoded and decoded on their own, without the protocol's row outcomes, so an application can store them with its own outcome vocabulary. OutputValues holds one nullable column per output, absent exactly in rows without values, and OutputValues::to_struct_array and from_struct_array convert it to and from an Arrow struct array. RequestBatch gains the same pair, and input_fields and output_fields are now public. (#2146)
  • A session record, a stored stream of request rows joined with their output values, can be read back without the model. record_inputs_field, record_outputs_field, and record_metadata build its schema: an inputs struct and an outputs struct beside any application fields. RecordSchema::decode restores the recorded SessionSchema and checks its port names, domains, unit scales, and protocol version. A restored session keeps the record's port order and carries the recorded fingerprint. (#2147)
  • Rust API changes in graphcal-model-protocol: ResultBatchError is replaced by OutputValuesError, ResultBatch::columns() and column() are replaced by ResultBatch::values(), and ResultDecodeError reports output decoding errors through OutputDecodeError and a status that disagrees with the values as MissingValues or UnexpectedValues. (#2146)

Dependency, Toolchain, and Workflow Maintenance

  • Updated Rust crate tokio to v1.54.0. (#2152)
  • Updated Vite+ to v1.3.0. (#2145)
  • Updated zensical to v0.0.70. (#2149)
  • Updated GitHub Actions: taiki-e/install-action to v2.87.28 and leanprover/lean-action to v1.6.2. (#2144, #2150)
  • Refreshed lock files. (#2143)

Internal

  • Added the v0.0.1-alpha.40 notes to CHANGELOG.md and bumped the workspace version to v0.0.1-alpha.40. (#2151)

Full Changelog: v0.0.1-alpha.39...v0.0.1-alpha.40

Install graphcal 0.0.1-alpha.40

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/graphcal-lang/graphcal/releases/download/v0.0.1-alpha.40/graphcal-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/graphcal-lang/graphcal/releases/download/v0.0.1-alpha.40/graphcal-installer.ps1 | iex"

Download graphcal 0.0.1-alpha.40

File Platform Checksum
graphcal-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
graphcal-x86_64-apple-darwin.tar.gz Intel macOS checksum
graphcal-x86_64-pc-windows-msvc.zip x64 Windows checksum
graphcal-aarch64-unknown-linux-musl.tar.gz ARM64 MUSL Linux checksum
graphcal-x86_64-unknown-linux-musl.tar.gz x64 MUSL Linux checksum

Verifying GitHub Artifact Attestations

The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:

gh attestation verify <file-path of downloaded artifact> --repo graphcal-lang/graphcal

You can also download the attestation from GitHub and verify against that directly:

gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo graphcal-lang/graphcal