@@ -5,6 +5,58 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 0.0.15] - 2025-11-19
9+
10+ ### Added
11+
12+ - ** Runtime Configuration** : Application now supports runtime environment variables, enabling "build once, deploy anywhere"
13+ - Set ` FLOWDROP_API_BASE_URL ` (and other ` FLOWDROP_* ` variables) at runtime instead of build time
14+ - New ` /api/config ` endpoint serves configuration from server
15+ - New exports: ` fetchRuntimeConfig() ` , ` getRuntimeConfig() ` , ` initRuntimeConfig() ` , ` RuntimeConfig ` type
16+ - ** Docker Support** : Production-ready Dockerfile and docker-compose.yml included
17+ - Multi-stage build with optimized image size
18+ - Health checks and non-root user security
19+ - See ` DOCKER.md ` for quick start
20+ - ** Documentation** : Added deployment guides (` DEPLOYMENT.md ` , ` DOCKER.md ` , ` QUICK_START.md ` , ` MIGRATION_GUIDE.md ` )
21+
22+ ### Changed
23+
24+ - ** Environment Variables** : Production now uses ` FLOWDROP_* ` prefix instead of ` VITE_* `
25+ - ` FLOWDROP_API_BASE_URL ` : Your backend API URL
26+ - ` FLOWDROP_THEME ` : UI theme (light/dark/auto)
27+ - ` FLOWDROP_TIMEOUT ` : Request timeout in milliseconds
28+ - ` FLOWDROP_AUTH_TYPE ` : Authentication type
29+ - ` FLOWDROP_AUTH_TOKEN ` : Authentication token
30+ - Development mode still supports ` VITE_* ` variables for backward compatibility
31+
32+ ### Fixed
33+
34+ - ** Critical** : Fixed race condition where API requests used wrong URL (localhost instead of configured URL)
35+ - Configuration now loads on server before page render
36+ - All API requests now use correct configured URL from first request
37+
38+ ### Breaking Changes
39+
40+ - If using ` getDevConfig() ` or ` getDevApiConfig() ` directly, these are now async functions
41+ - Update environment variables from ` VITE_* ` to ` FLOWDROP_* ` for production deployments
42+ - See ` MIGRATION_GUIDE.md ` for detailed migration steps
43+
44+ ### Usage
45+
46+ ** Docker (Recommended):**
47+ ``` bash
48+ docker run -p 3000:3000 \
49+ -e FLOWDROP_API_BASE_URL=https://your-api.com/api/flowdrop \
50+ flowdrop-ui:latest
51+ ```
52+
53+ ** Environment Variables:**
54+ ``` bash
55+ export FLOWDROP_API_BASE_URL=https://your-api.com/api/flowdrop
56+ npm run build
57+ node build
58+ ```
59+
860## [ 0.0.14] - 2025-11-12
961
1062### Fixed
@@ -275,7 +327,15 @@ import '@d34dman/flowdrop/styles/base.css';
275327
276328---
277329
278- [ Unreleased ] : https://github.com/d34dman/flowdrop/compare/v0.0.7...HEAD
330+ [ Unreleased ] : https://github.com/d34dman/flowdrop/compare/v0.0.15...HEAD
331+ [ 0.0.15 ] : https://github.com/d34dman/flowdrop/compare/v0.0.14...v0.0.15
332+ [ 0.0.14 ] : https://github.com/d34dman/flowdrop/compare/v0.0.13...v0.0.14
333+ [ 0.0.13 ] : https://github.com/d34dman/flowdrop/compare/v0.0.12...v0.0.13
334+ [ 0.0.12 ] : https://github.com/d34dman/flowdrop/compare/v0.0.11...v0.0.12
335+ [ 0.0.11 ] : https://github.com/d34dman/flowdrop/compare/v0.0.10...v0.0.11
336+ [ 0.0.10 ] : https://github.com/d34dman/flowdrop/compare/v0.0.9...v0.0.10
337+ [ 0.0.9 ] : https://github.com/d34dman/flowdrop/compare/v0.0.8...v0.0.9
338+ [ 0.0.8 ] : https://github.com/d34dman/flowdrop/compare/v0.0.7...v0.0.8
279339[ 0.0.7 ] : https://github.com/d34dman/flowdrop/compare/v0.0.6...v0.0.7
280340[ 0.0.6 ] : https://github.com/d34dman/flowdrop/compare/v0.0.5...v0.0.6
281341[ 0.0.5 ] : https://github.com/d34dman/flowdrop/compare/v0.0.4...v0.0.5
0 commit comments