Skip to content

v0.1.2

Choose a tag to compare

@rustyconover rustyconover released this 14 Nov 19:35
· 11 commits to main since this release

Patch release.

  • Fix: generated analytics examples were stale or failing. They used fixed September 2026 windows; the hourly/adaptive datasets only keep a few days of data, so Cloudflare rejected those examples ("cannot request data older than 3d1h"). Examples now use rolling windows: the last 7 full days (since := current_date - 7, until := current_date - 1) for daily data and the last 6 hours (date_trunc('hour', now()) - INTERVAL 6 HOUR … date_trunc('hour', now())) for hourly/event data.
  • The analytics functions' docs no longer say windows must be constants in a lateral call: current_date/now() expressions work there, and the docs now mention retention limits.
  • README analytics examples use the rolling window; a broken README sentence is fixed.

Install: uvx --from git+https://github.com/Query-farm/vgi-cloudflare@v0.1.2 vgi-cloudflare