diff --git a/.changeset/analytics-processor-batch-watch-queries.md b/.changeset/analytics-processor-batch-watch-queries.md deleted file mode 100644 index b4db67b..0000000 --- a/.changeset/analytics-processor-batch-watch-queries.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@beesolve/analytics-processor": minor ---- - -The hourly processor now computes all watch entries for an hour with one Athena query instead of one query per entry. Athena bills a 10 MB minimum per query and hourly partitions are tiny, so a site with ~60 watched URLs dropped from ~66 to ~4 billed queries per hour (about 94% less Athena cost). Results are identical to the per-entry queries. Adds `processWatchHourBatch` and `buildWatchHourBatchQuery`; `processWatchHour` is unchanged. diff --git a/.changeset/analytics-processor-hourly-interval.md b/.changeset/analytics-processor-hourly-interval.md deleted file mode 100644 index 2986f73..0000000 --- a/.changeset/analytics-processor-hourly-interval.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@beesolve/analytics-processor": minor ---- - -Add `hourlyIntervalHours` (1-12, default 1) to control how often the hourly processor runs. Each run processes every hour since the previous run, so no data is skipped. diff --git a/packages/analytics-processor/CHANGELOG.md b/packages/analytics-processor/CHANGELOG.md index e5fd832..2c0411e 100644 --- a/packages/analytics-processor/CHANGELOG.md +++ b/packages/analytics-processor/CHANGELOG.md @@ -1,5 +1,12 @@ # @beesolve/analytics-processor +## 1.1.0 + +### Minor Changes + +- dbcbd5c: The hourly processor now computes all watch entries for an hour with one Athena query instead of one query per entry. Athena bills a 10 MB minimum per query and hourly partitions are tiny, so a site with ~60 watched URLs dropped from ~66 to ~4 billed queries per hour (about 94% less Athena cost). Results are identical to the per-entry queries. Adds `processWatchHourBatch` and `buildWatchHourBatchQuery`; `processWatchHour` is unchanged. +- dbcbd5c: Add `hourlyIntervalHours` (1-12, default 1) to control how often the hourly processor runs. Each run processes every hour since the previous run, so no data is skipped. + ## 1.0.0 ### Major Changes diff --git a/packages/analytics-processor/package.json b/packages/analytics-processor/package.json index d29b15c..41d581f 100644 --- a/packages/analytics-processor/package.json +++ b/packages/analytics-processor/package.json @@ -1,6 +1,6 @@ { "name": "@beesolve/analytics-processor", - "version": "1.0.0", + "version": "1.1.0", "description": "CloudFront analytics processor — Athena-to-DynamoDB hourly totals, breakdowns, and rollups", "homepage": "https://github.com/BeeSolve/packages/tree/main/packages/analytics-processor#readme", "license": "MIT",