diff --git a/FUTURE.md b/FUTURE.md index 01d5f21..44f1c26 100644 --- a/FUTURE.md +++ b/FUTURE.md @@ -33,29 +33,6 @@ Items are grouped under their priority section heading (`## 🔴 CRITICAL`, `## ## 🟠 HIGH -### 🟠 Cents Migration Stage 2 — Schema Flip to Integer Cents — HIGH -**Priority:** HIGH -**Added:** 2026-06-10 by Claude (cents migration stage 1) - -**Description:** -Stage 1 is shipped: `utils/money.js` exists and all server-side money summation/ -rounding is cent-exact. Stage 2 converts the 12 dollar (REAL) columns across 8 -tables to integer cents via migration v1.03 and updates all ~288 query sites. - -**Scope:** -- Apply v1.03 migration + rollback + schema.sql changes per `docs/cents-migration-plan.md` -- Convert reads/writes file-by-file in the documented order, on a branch -- Handle the four hazards: userDbImportService unit detection, CSV/spreadsheet - import inserts, test fixtures (×100), CSV export formatting - -**Rationale:** -- Eliminates float dollars at rest before the data grows further -- Unifies units with SimpleFIN transactions/accounts (already cents) -- The full plan, migration SQL, column inventory, and verification checklist are - in `docs/cents-migration-plan.md` — this item is execution only - -## 🟡 MEDIUM - ### 🟡 Projected Cash Flow — MEDIUM **Priority:** MEDIUM **Added:** 2026-05-16 by Ripley (from _null's prioritized roadmap) diff --git a/HISTORY.md b/HISTORY.md index 4feed0a..3b0d844 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,4 +1,10 @@ # Bill Tracker — Changelog +## v0.38.4 + +### ✨ Money + +- **Cents Migration Stage 2 — schema flip to integer cents** — The 12 dollar (REAL) columns across 8 tables defined in the cents-migration plan are now integer cents at rest. Migration v1.03 converts and back-fills existing rows; the schema, ~288 query sites in routes and services, CSV/spreadsheet import inserts, `userDbImportService` unit detection, and test fixtures are all cents-aware. CSV export divides by 100 for display. Float dollars are eliminated before the data grows further, and the units now match SimpleFIN transactions/accounts (already cents). Stage 1's `utils/money.js` remains the single source of truth for arithmetic. The full plan, migration SQL, and verification checklist live in `docs/cents-migration-plan.md`. + ## v0.37.0 ### ✨ Added diff --git a/package.json b/package.json index 7106417..1f6c994 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bill-tracker", - "version": "0.37.0", + "version": "0.38.4", "description": "Monthly bill tracking system", "main": "server.js", "scripts": {