diff --git a/backend/app/core/config.py b/backend/app/core/config.py index 0e183e1..05ff433 100644 --- a/backend/app/core/config.py +++ b/backend/app/core/config.py @@ -7,7 +7,7 @@ from pydantic_settings import BaseSettings, SettingsConfigDict # title, /api/health (which the frontend reads to show it in Settings), and # embedded in exported backups so an old file can be told apart from a # current one. -APP_VERSION = "1.1.0" +APP_VERSION = "1.1.1" class Settings(BaseSettings): diff --git a/backend/app/services/net_worth_service.py b/backend/app/services/net_worth_service.py index 8b5b932..617cc22 100644 --- a/backend/app/services/net_worth_service.py +++ b/backend/app/services/net_worth_service.py @@ -2,11 +2,15 @@ asset class. Design note: "Cash" is not stored anywhere — it's derived live from -Account/Transaction data (checking/savings/cash accounts only) so the +Account/Transaction data (checking/savings/cash/investment accounts) so the Transactions feature stays the single source of truth for liquid money. -Every other class (investments, crypto, real estate, vehicles, precious -metals, other) is tracked manually via Asset/AssetValuation rows. Both are -collapsed into one +Investment accounts count here too: their balance is uninvested/unallocated +money sitting on the account, not the market value of what's actually +invested — that value is still tracked manually via Asset/AssetValuation, +same as every other class (investments, crypto, real estate, vehicles, +precious metals, other). Without this, money deposited into an investment +account but not yet turned into a valued Asset silently disappeared from +net worth. Both halves are collapsed into one daily, forward-filled series so the chart reads as one continuous line even though the two halves are updated at very different cadences. """ @@ -32,7 +36,7 @@ from app.schemas.net_worth import ( RiskLevelSummary, ) -CASH_ACCOUNT_TYPES = {AccountType.CHECKING, AccountType.SAVINGS, AccountType.CASH} +CASH_ACCOUNT_TYPES = {AccountType.CHECKING, AccountType.SAVINGS, AccountType.CASH, AccountType.INVESTMENT} RANGE_DAYS = {"30d": 30, "90d": 90, "1y": 365, "5y": 365 * 5} diff --git a/frontend/package.json b/frontend/package.json index ed56531..c45bd32 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "aurum-frontend", "private": true, - "version": "1.1.0", + "version": "1.1.1", "type": "module", "scripts": { "dev": "vite",