Repository navigation
v0.0.1-alpha.40
Immutable
release. Only release title and notes can be modified.
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.
OutputValuesholds one nullable column per output, absent exactly in rows without values, andOutputValues::to_struct_arrayandfrom_struct_arrayconvert it to and from an Arrow struct array.RequestBatchgains the same pair, andinput_fieldsandoutput_fieldsare 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, andrecord_metadatabuild its schema: aninputsstruct and anoutputsstruct beside any application fields.RecordSchema::decoderestores the recordedSessionSchemaand 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:ResultBatchErroris replaced byOutputValuesError,ResultBatch::columns()andcolumn()are replaced byResultBatch::values(), andResultDecodeErrorreports output decoding errors throughOutputDecodeErrorand a status that disagrees with the values asMissingValuesorUnexpectedValues. (#2146)
Dependency, Toolchain, and Workflow Maintenance
- Updated Rust crate
tokioto v1.54.0. (#2152) - Updated Vite+ to v1.3.0. (#2145)
- Updated
zensicalto v0.0.70. (#2149) - Updated GitHub Actions:
taiki-e/install-actionto v2.87.28 andleanprover/lean-actionto v1.6.2. (#2144, #2150) - Refreshed lock files. (#2143)
Internal
- Added the v0.0.1-alpha.40 notes to
CHANGELOG.mdand 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 | shInstall 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/graphcalYou 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