Skip to content

Releases: profullstack/leaderboard

v0.3.1

Choose a tag to compare

@ralyodio ralyodio released this 06 Sep 03:14

Documents what a Next.js catch-all route cannot serve: <base>.json is a sibling of the base path rather than a child, so the catch-all never sees it and the documented index path silently falls through to whatever else matches. Use <base>/index.json, or give the JSON path its own route. Also notes that calling the exported GET directly in a test bypasses the router that makes this decision. Docs only.

v0.3.0

Choose a tag to compare

@ralyodio ralyodio released this 06 Sep 01:31

New projectionStore: build a leaderboard from tables you already have (sales, referral commissions, requests served) with no dual write. Read-only by construction; badges persist in a store you pass.

v0.2.0

Choose a tag to compare

@ralyodio ralyodio released this 06 Sep 01:29

Boards now declare which side of a transaction they rank: sell (money to the actor), buy (money from them), use (volume, no money). Sides are segregated in the index, the page, the share card and the widget, which shows one side at a time. New per-board actor names the column. A commission rate appears only on sell boards.

v0.1.0

Choose a tag to compare

@ralyodio ralyodio released this 06 Sep 01:10

First release: boards over counters, gauges and streaks; periods; badges awarded once and kept; commission ladder 20% to 80%; JSON + RSS + share card + embed page + widget script; memory and SQL stores; Hono and Next adapters.