Skip to content

v0.4.0 — Remote Data Sources

Choose a tag to compare

@Fiyy Fiyy released this 03 Jun 18:35
· 20 commits to main since this release

@Directives at the head of any data section pull CSV/JSON/xlsx from URLs or files; inline rows act as fallback.

--- data ---
@source: https://api/sales.json
@format: json
@select: data.records
@cache: 1h

# Fallback used when remote fails
Region,Total
North,100
  • file:// always allowed, http(s):// gated by --allow-remote
  • Content-addressed TTL cache (SHA1 of url+headers+format+select)
  • JSON @select supports a.b.c[0] dot-path drilldown
  • 35 new tests covering fetch, cache, fallback semantics

See spec/SPEC.md §17.