Skip to content

v0.0.1-alpha.34

Choose a tag to compare

@github-actions github-actions released this 09 Oct 12:26
Immutable release. Only release title and notes can be modified.
40b4717

This release redesigns the interactive report UI and fixes several defects in the Vega-Lite specs generated for plots.
It also fixes bugs around included DAGs and multi-declarations in reports, evaluation output, DAG calls, and the formatter, and it validates constructor field constraints on temporary values during constant evaluation.
The English documentation now lives under /docs/en/.

Some existing Graphcal source programs may need to be modified. The breaking change rejects programs that were previously accepted only because of a bug. See Breaking Changes.

Breaking Changes

  • A constrained constructor field is now validated even when the constructed value is temporary in constant evaluation, in declaration bounds, or in field bounds.
    Before, a value discarded by projection or pattern matching was never checked, so const node BAD: Mass = Spec(mass: 5000.0 kg).mass; compiled even though Spec.mass is declared as Mass(max: 2000.0 kg).
    Such programs are now rejected with C001, which names the field and points at the offending argument.
    (#2014)

Interactive Report Redesign

  • A header block in interactive reports summarizes checks, lists overridden inputs with a Reset action, and shows the engine status. It replaces the corner chip and the top banner. Clicking the check summary opens the Checks tab. (#1989)
  • Result tabs show counts. Values, plots, and checks can be pinned to a resizable pinned area. (#1989)
  • Values changed by the last run are marked, and stale results are dimmed while edits are pending or rejected. (#1989)
  • Each input row shows its domain hint, a slider when the input is bounded, its description, and override and draft markers. Quantity fields show the canonical SI unit tag, such as [kg]. An Apply button appears when Auto run is off. (#1989)
  • Sliders appear only for literals written in their canonical SI unit. Before, 2.0 km on a 0–5000 m slider sat at 0, and touching the slider wrote 0.0 m. (#1989)
  • Reports have a dark mode, all text meets WCAG AA contrast, and charts follow the report theme. (#1989)
  • The Advanced controls and the raw-literal entry are removed. The per-input ⋯ menu remains. (#1989)
  • The same UI is used by graphcal report pages and the playground's Report tab. The playground loads the report scripts on first render. (#1989)

Bug Fixes

  • Plots:
    • Sample points are visible again. Boolean mark properties such as filled: true were emitted as strings, which Vega-Lite drew as transparent points. (#1989)
    • Index-label axes keep declaration order instead of being sorted alphabetically. (#1989)
    • Quantity axes without a -> display unit show the canonical SI unit of the plotted values, for example "Time (s)" instead of "Time". Placeholder x and y titles are removed. (#1989)
    • Nominal x-axis labels stay horizontal when there is enough room. (#1989)
  • Reports list only externally bindable entry parameters under Inputs and Baseline. Parameters of included DAGs that the caller binds now appear under Values. (#1997)
  • Plots from included DAGs have their documentation captions again in HTML and Markdown reports, including aliased projections and nested file includes. (#1998)
  • A /// documentation comment on a slot of a multi-declaration now attaches only to that slot. Before, undocumented slots inherited the first slot's comment in hovers and report captions. (#2005)
  • Categorized graphcal eval JSON output lists only externally bindable entry parameters under param. Included DAG input ports are listed under node. (#2011)
  • A DAG call expression such as @facade(x: 1.0 m)::y can project a public alias that re-exports an include output (include ...::{ pub y }), as a selective include already could. Before, it was rejected with G005. (#2000)
  • graphcal format no longer drops the leading pub of a multi-declaration slot that has a comment, and it keeps per-slot documentation directly above its slot while aligning headers and table cells. (#1999, #2012)

Documentation

  • The English documentation moved from /docs/ to /docs/en/, alongside the Japanese edition at /docs/ja/. The site root and /docs/ redirect to /docs/en/, but old English deep links no longer work. The language selector keeps you on the same page. (#2016)
  • The Index Keys and argmax examples use node instead of param, so they compile with a private index. (#2013)
  • The report guide in the tutorial and the CLI reference describe the redesigned report UI. (#1989)

Dependency, Toolchain, and Workflow Maintenance

  • Updated the pinned Rust toolchain to v1.99.0. The minimum supported Rust version stays at 1.95. (#2017)
  • rust-toolchain.toml declares the wasm32-unknown-unknown target, so rustup installs it automatically for source builds. (#2020)
  • Updated Rust crates: jiff to v0.2.38, jiff-tzdb to v0.1.9 (bundled IANA time zone database 2026e), gix to v0.89.0, and toml to v1.1.8. (#2008, #2007, #2019, #2018, #2021)
  • Updated Zensical to v0.0.67, pnpm to v12.10.0, and @types/node to v26.6.4. The documentation workflows pin Zensical v0.0.68. (#1986, #2015, #2016, #1987, #2001, #2022, #1984)
  • Updated taiki-e/install-action to v2.87.22, leanprover/lean-action to v1.6.1, and the pre-commit hooks for rumdl, typos, and zizmor. (#2006, #2023, #1988)
  • Refreshed lock files. (#1985)
  • The report engine toolchain action supports Linux arm64, macOS arm64, and macOS x86_64 runners, as preparation for prebuilt binaries. Workflows use GitHub's self-repository uses: $/... syntax for local actions. (#1981)

Internal

  • Simplified the bilingual documentation build: removed the custom theme overrides, the localization checkers, and the translation manifest, and left language switching to Zensical. (#2016)
  • Bumped the workspace version to v0.0.1-alpha.34. (#2024)

Full Changelog: v0.0.1-alpha.33...v0.0.1-alpha.34