From e0aae788d00ceb20db9211ce8b57bd39effe250b Mon Sep 17 00:00:00 2001 From: null Date: Sat, 30 May 2026 14:36:08 -0500 Subject: [PATCH] chore: bump to v0.34.1, add changelog entry for price-change drift detection Co-Authored-By: Claude Sonnet 4.6 --- HISTORY.md | 17 +++++++++++++++++ package.json | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index 4b7ca89..604fb38 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,22 @@ # Bill Tracker — Changelog +## v0.34.1 + +### 🚀 Features + +- **Price Change Insights panel** — Tracker page now shows a collapsible amber panel when recurring bills have been paid at a different amount than expected for 2+ consecutive months. Per-bill "Update to $X.XX" action (with undo toast) and "Dismiss" (hidden for 30 days). TrendingUp/TrendingDown icons and teal palette for decreases. +- **Drift detection service** — `driftService.getDriftReport()` computes a rolling median of the last 3 months of payments per bill and compares it against `expected_amount`. Flags when `|delta| ≥ $1 AND |drift%| ≥ threshold`. +- **Price-change email digest** — Daily worker now calls `runDriftNotifications()`, sending a single amber-styled digest email per user listing all bills with changed amounts (old → new, Δ%). +- **Drift snooze persistence** — `drift_snoozed_until` column on `bills` (migration v0.71). `POST /api/bills/:id/snooze-drift` sets a 30-day snooze server-side. +- **"Notify on price changes" toggle** — New notification preference in ProfilePage, backed by `notify_amount_change` column on `users` (migration v0.71). +- **Price change sensitivity setting** — "Price change sensitivity" `%` input in SettingsPage Billing Behavior section. Stored as `drift_threshold_pct` in per-user settings (default 5%, range 1–25%). + +### 🔧 Changed + +- **Bump** — `0.34.0` → `0.34.1` + +--- + ## v0.34.0 ### 🚀 Features diff --git a/package.json b/package.json index 1e38248..9d312c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bill-tracker", - "version": "0.34.0", + "version": "0.34.1", "description": "Monthly bill tracking system", "main": "server.js", "scripts": {