From 4a2114f125651dc47a9ef53d84c34e889b6e2f9d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 12:36:12 +0000 Subject: [PATCH] ci(release): version packages --- .changeset/initial-changesets-adoption.md | 5 ----- .changeset/price-history-snapshots.md | 5 ----- CHANGELOG.md | 13 +++++++++++++ package.json | 2 +- 4 files changed, 14 insertions(+), 11 deletions(-) delete mode 100644 .changeset/initial-changesets-adoption.md delete mode 100644 .changeset/price-history-snapshots.md diff --git a/.changeset/initial-changesets-adoption.md b/.changeset/initial-changesets-adoption.md deleted file mode 100644 index 35a1f53a..00000000 --- a/.changeset/initial-changesets-adoption.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"lens": patch ---- - -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. diff --git a/.changeset/price-history-snapshots.md b/.changeset/price-history-snapshots.md deleted file mode 100644 index 813834e2..00000000 --- a/.changeset/price-history-snapshots.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"lens": minor ---- - -Add `/prices/history` endpoint backed by 1-minute price snapshots. A new `price_snapshots` table is appended to every minute by a snapshot ingester, queryable over a `[from, to]` window with optional `5m`/`1h` aggregation. A retention job prunes snapshots older than 30 days. diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fd27e9d..10a1b1cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 0.2.0 + +### Minor Changes + +- bbe48e4: Add `/prices/history` endpoint backed by 1-minute price snapshots. A new `price_snapshots` table is appended to every minute by a snapshot ingester, queryable over a `[from, to]` window with optional `5m`/`1h` aggregation. A retention job prunes snapshots older than 30 days. + +### Patch Changes + +- 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](https://keepachangelog.com/en/1.1.0/). @@ -7,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] ### Added + - CI pipeline (`.github/workflows/ci.yml`) running Prisma generate, typecheck, and build on every PR - Contributor documentation, issue templates, PR template - This changelog @@ -14,6 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [0.1.0] — 2025 initial deployment ### Added + - Fastify REST API with `GET /price/:assetA/:assetB`, `GET /status`, `GET /pools` - GraphQL endpoint via Mercurius - SDEX trade ingestion with checkpoint tracking @@ -26,6 +38,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). - Deployed on Render at https://lens-ldtu.onrender.com ### Fixed + - `bestRoute.ts` AMM lookup — was using broken `code:code` join format; now queries via `pool_id` - Prisma binary target on Render (`debian-openssl-3.0.x`) - Supabase SSL cert error (scoped to supabase.com hosts) diff --git a/package.json b/package.json index e8e351b4..5c0813ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lens", - "version": "0.1.0", + "version": "0.2.0", "description": "Unified Stellar price API — aggregates SDEX + AMM prices", "main": "dist/index.js", "scripts": {