Changelog
Current Version 3.0.0
Last updated: September 2026
Version history compiled from git log. Most recent changes first.
Version 3.0.0 Current
September 2026
Estimates
- Estimate bills feature —
is_estimate flag on bills, separate estimate list view
- No stock deduction, no payment recording, no ledger impact for estimates
- Convert estimate to bill workflow
WhatsApp Improvements
- WhatsApp quota system with monthly limits and addon plans
- Bill shop-name resolution for WhatsApp API messages via new RPC
- CORS fixes for edge functions (
x-client-info header allowlist, wildcard fallback)
August 2026
WhatsApp Status Tracking
- WhatsApp message status tracking: sending → sent / failed
- Failure-reason column for debugging failed deliveries
- Bill list WhatsApp status column with visual indicators
- Shared
useWhatsAppStatus hook for polling
July 2026
Returns & Transfers
- Bill returns system — partial and full returns with stock reversal
- Return credit balance tracking per farmer
- Stock transfers between branches with FIFO lot preservation
Transaction System
- Transaction events table for universal audit trail
- Universal undo with 48-hour window
- Farmer due reconciliation triggers (automatic recalculation on any change)
Security
- Staff PIN bcrypt hashing (replacing plaintext)
- Staff admin session security improvements — deploy coupling fix
- Security fixes batch 1 — multiple RLS and permission corrections
- Rate-limit trigger for staff PIN attempts
June 2026
Pricing & Billing
- FIFO lot pricing and rate adjustments
- Per-farmer per-product discount rates (rate memory)
- Bill editing with full audit trail
- Rate adjustment page for historical price changes
- Supplier charges tracking
Inventory
- Expiry processing automation
- Low stock alert thresholds
Earlier Releases Foundation
Core platform built from initial release through May 2026.
Core Platform
Schema & Data Layer
- Core schema: dealers, farmers, products, inventory, bills, payments
- Billing system with
create_bill_v2 RPC (FIFO lot consumption, payment allocation, ledger updates)
- Row Level Security on all core tables
- 48+ database tables with triggers and views
Frontend Application
- React 18 + TypeScript + Vite
- Dashboard with KPI widgets (revenue, dues, collections, stock value)
- React Query + IndexedDB persistence for offline support
- PWA with service worker for installability
- Code splitting with React.lazy for all route-level pages
- Responsive layout split at
lg: (1024px) — separate mobile and desktop flows
Admin & Operations
- Admin portal with dealer management and impersonation
- Staff access with PIN login and JSONB permissions
- Offline sync with
client_ref UUID idempotency
- 4-step onboarding wizard
Integrations & Tooling
- PostHog analytics + Sentry error tracking
- i18next internationalization (English + Telugu)
- Landing page and SEO pages
- Public farmer statement sharing via unique links