Tags: rafatahmed/FlahaCalc
Tags
feat: Target Persistence Architecture v1.1 Implements immutable weather snapshots, dual-link calculation strategy, validation summary persistence, and full audit trail. Phase 1: Schema Extension - weather_snapshots, calculation_input_snapshots, calculation_versions tables - Dual-link fields (inputRefId + weatherSnapshotId) on calculations - Validation summary fields on calculations (NOT on ET tables) - ET table linkage (parentCalculationId, engineVersion, dayOfMonth/hourOfDay) Phase 2: Service Layer - WeatherSnapshotService (SHA-256 dedup, immutable, no update/delete) - CalculationInputSnapshotService (immutable input state) - TransactionService 7-step atomic persistence - EToTableService parentCalculationId + engineVersion wiring Phase 3: Validation Persistence - Canonical payload hashing (recursive key sorting) - Validation write-back to calculations (status, score, date, method) - Lifecycle: NOT_VALIDATED -> PENDING -> PASS/WARNING/FAIL Phase 4: API & UI - getCalculationsByIds: 9 v1.1 fields with null fallbacks - CalculationResult: ValidationStatus + WeatherSourceType types - CalculationTable: Status column with color-coded chips All fields optional. Fully backward compatible. Zero TypeScript errors.
FlahaCalc v1.0.0: Enterprise Baseline Enterprise-grade ETo calculation platform with: - FAO-56 and ASCE calculation methods (hourly, daily, monthly) - React 18/TypeScript frontend with Redux Toolkit and Material-UI - Node.js/Express/TypeScript backend with Prisma ORM and PostgreSQL - PyET validation integration with intermediate value storage - 12 Prisma schema models with 6 migrations - Secure session authentication, rate limiting, Helmet CSP security - PM2 process management with Nginx reverse proxy This tag marks the last stable state before implementing: - weather_snapshots and calculation_input_snapshots - calculation_versions and engine version tracking - immutable snapshot persistence with dual-link architecture - recalculation lineage and validation persistence improvements
FlahaCalc v0.5.0: Unified Architecture & Enterprise-Grade Consolidation Major release featuring: - Unified authentication system - Consolidated tier management - Professional documentation - Eliminated 978+ lines of orphaned code - Enterprise-grade architecture Breaking changes: - Standardized tier names - Unified authentication only - Centralized configuration
🏷️ FlahaCalc v0.4.0: Baseline Assessment & FAO-56 Compliance Audit 🎯 RELEASE HIGHLIGHTS: - Comprehensive FAO-56 compliance audit (32% baseline) - Strategic implementation roadmap (3-phase approach) - Enhanced OpenWeatherMap API integration - Advanced codebase optimization - Production-ready infrastructure 📊 COMPLIANCE STATUS: - Current: 32% FAO-56 compliance - Target Phase 1: 70% compliance - Target Phase 2: 85% compliance - Target Phase 3: 95% compliance 🚀 KEY DELIVERABLES: - Complete audit report (100+ pages) - Implementation decision guide - Strategic planning framework - Technical enhancement roadmap This release establishes the baseline for professional-grade agricultural software development.