Skip to content

Relay 0.2.1 — Furnished schemas and cleaner installation

Latest

Choose a tag to compare

@devkyato devkyato released this 29 Jul 14:00
d9b1e2a

Relay 0.2.1

After publishing 0.2.0, I went through the project again from the point of view of somebody who
had not built it locally. The analyser was there, the wheel worked, and the report format had a
version—but an integration still had to infer the contract from examples. I thought too on that
point that “stable” should mean Relay can hand you the exact schema, not only tell you its number.

What I furnished

Relay now bundles two JSON Schemas:

  • report validates machine-readable relay check --format json output with schema version
    2.0;
  • config describes the data model produced by parsing relay.toml.

You can print either schema or write it atomically:

relay schema report --output relay-report.schema.json
relay schema config --output relay-config.schema.json

Oh! On this part, I kept runtime validation authoritative. The configuration schema is useful for
editors and CI, while Relay still checks relationships such as the aggregate byte limit being at
least as large as the per-file limit.

Installation and compatibility

The README now begins with a directly installable GitHub release wheel instead of treating an
editable development checkout as the normal installation path. The schemas are included inside
that wheel and tested through the installed command.

This patch also accepts supported pathspec 1.x releases while retaining a <2 upper bound. The
dependency update passed Relay’s complete Python 3.9–3.14 matrix before it was merged.

Clean repository state

The example commands create relay-report.md and timing-summary.md locally. Those generated
files no longer live in version control, and the documented root-level names are ignored so trying
Relay does not leave a dirty checkout.

Compatibility

  • Relay runtime: Python 3.9–3.14
  • Analysed languages: Python, C, C++, Arduino, JavaScript, TypeScript, Java, C#, Go, Rust,
    Kotlin, Swift, Ruby, and PHP
  • JSON report schema: 2.0 (unchanged)
  • SARIF: 2.1.0 (unchanged)
  • Operation: local and offline after installation

This remains an alpha review assistant, not a compiler, scheduler simulator, hardware model, or
safety certification system. The patch makes Relay easier to install and integrate without making
its semantic claims any larger.