- bbe48e4: Add
/prices/historyendpoint backed by 1-minute price snapshots. A newprice_snapshotstable is appended to every minute by a snapshot ingester, queryable over a[from, to]window with optional5m/1haggregation. A retention job prunes snapshots older than 30 days.
- 5a68745: Adopt changesets for versioning and release notes. Adds
@changesets/cli, a release GitHub Actions workflow that opens a "Version Packages" PR for pending changesets and tags releases on merge, and contributor docs for the workflow.
All notable changes to Lens are documented in this file.
The format is based on Keep a Changelog.
- CI pipeline (
.github/workflows/ci.yml) running Prisma generate, typecheck, and build on every PR - Contributor documentation, issue templates, PR template
- This changelog
0.1.0 — 2025 initial deployment
- Fastify REST API with
GET /price/:assetA/:assetB,GET /status,GET /pools - GraphQL endpoint via Mercurius
- SDEX trade ingestion with checkpoint tracking
- AMM pool snapshot ingestion
- Best-route price calculation across SDEX and AMM
- x402 micropayment gating via
@x402/stellar - Prisma schema for price points, pools, and checkpoints
- BullMQ aggregate refresh worker (optional, requires Redis)
- Supabase Postgres support with scoped SSL handling
- Deployed on Render at https://lens-ldtu.onrender.com
bestRoute.tsAMM lookup — was using brokencode:codejoin format; now queries viapool_id- Prisma binary target on Render (
debian-openssl-3.0.x) - Supabase SSL cert error (scoped to supabase.com hosts)
- BullMQ blocking startup — wrapped in try/catch, ingesters auto-restart