From d1b64ac0b83f34b015da53e2361d68acb75d58e4 Mon Sep 17 00:00:00 2001 From: Arnas Donauskas Date: Mon, 8 Jun 2026 15:22:40 +0300 Subject: [PATCH] docs(changelog): note configurable default deal currency (#218) Adds the Unreleased entry for the per-account default currency under Added, plus a "Migration required" note for 021 with the apply-before-deploy warning. Co-Authored-By: Claude Opus 4.8 (1M context) --- CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 233022d..6e5d361 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -100,6 +100,15 @@ always did. ### Added +- **Configurable default deal currency.** Each account can now pick + its default currency under **Settings → Deals** (admin+); the app + previously hardcoded USD throughout. New deals default to it, and + pipeline-stage totals, the dashboard "Open Deals Value" card, the + pipeline-value donut, and automation-created deals all use it. + Existing deals keep the currency they were saved with — totals are + shown in the account default with no exchange-rate conversion (one + currency per account). Full guide: + [Default currency](https://wacrm.tech/docs/settings#deals). - **Members tab in Settings.** The user-facing surface for the multi-user APIs below, available to everyone (no beta flag). From Settings → **Members** an admin or owner can: see who's on the @@ -169,6 +178,12 @@ Apply against your Supabase project before deploying this version: `redeem_invitation` (authenticated atomic move + orphan cleanup, with a domain-data safety check). Both bypass the RLS that would otherwise block their reads/writes. Idempotent. +- `supabase/migrations/021_account_default_currency.sql` — adds + `accounts.default_currency` (`TEXT NOT NULL DEFAULT 'USD'`, with a + 3-letter-code `CHECK`) backing the configurable default currency. + Idempotent; existing accounts backfill to `USD`. **Apply before + deploying** — the app now reads this column when loading the + account, so an un-migrated database breaks account loading. ## [0.2.2] — 2026-05-29