From d562e1ede8624514ef751d9c86e9be52d15433a5 Mon Sep 17 00:00:00 2001 From: Wayne Sutton Date: Sat, 20 Dec 2025 14:41:55 -0800 Subject: [PATCH] docs: add v1.11.0 entry to changelog page for aggregate component --- content/pages/changelog-page.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/content/pages/changelog-page.md b/content/pages/changelog-page.md index e4b70c1..c0b5259 100644 --- a/content/pages/changelog-page.md +++ b/content/pages/changelog-page.md @@ -7,6 +7,22 @@ order: 5 All notable changes to this project. +## v1.11.0 + +Released December 20, 2025 + +**Aggregate component for efficient stats** + +- Replaced O(n) table scans with O(log n) aggregate counts +- Uses `@convex-dev/aggregate` package for TableAggregate +- Three aggregates: totalPageViews, pageViewsByPath, uniqueVisitors +- Backfill mutation for existing page view data +- Updated `convex/convex.config.ts` with aggregate component registration +- Updated `convex/stats.ts` to use aggregate counts in getStats query +- Updated `prds/howstatsworks.md` with old vs new implementation comparison + +Performance improvement: Stats queries now use pre-computed counts instead of scanning all page view records. + ## v1.10.0 Released December 20, 2025