chore: bump to v0.34.1, add changelog entry for price-change drift detection

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
null 2026-05-30 14:36:08 -05:00
parent 5182754e0f
commit e0aae788d0
2 changed files with 18 additions and 1 deletions

View File

@ -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 125%).
### 🔧 Changed
- **Bump**`0.34.0``0.34.1`
---
## v0.34.0
### 🚀 Features

View File

@ -1,6 +1,6 @@
{
"name": "bill-tracker",
"version": "0.34.0",
"version": "0.34.1",
"description": "Monthly bill tracking system",
"main": "server.js",
"scripts": {