I forgot to add the release information in the forum, better to do it before v0.3.0 come ![]()
v0.2.0 - 2025-01-16
🚀 Major API Enhancement
BREAKING CHANGE: Simplified JSON Structure
- Removed all_variables array from JSON output to eliminate duplication
- Expanded variable coverage of 361 total variables with canonical Aerofly SDK names
- Enhanced JSON structure now provides all variables with descriptive names (e.g., "Aircraft.Altitude", "Controls.Throttle")
Updated BuildDataJSON() Function
- Complete rewrite to include all 361 variables with canonical naming
- Eliminated redundant all_variables array that duplicated data
- Improved performance with cleaner, more efficient JSON payload
- Better developer experience with named variable access instead of numeric indices
Documentation Overhaul
- Updated all documentation files to reflect new 361-variable structure
- Removed references to deprecated all_variables array throughout docs
- Enhanced examples with canonical variable names
- Updated JSON schema to match simplified format
- Improved code examples across all tutorials and API reference
Benefits of v0.2.0
- ✅ No duplication - eliminated redundant all_variables array
- ✅ Descriptive names - Aircraft.Altitude vs numeric index access
- ✅ Better IDE support with autocompletion for variable names
- ✅ Reduced errors from hardcoded array indices
- ✅ More efficient JSON payload without duplicate data
- ✅ Enhanced maintainability with self-documenting variable names
Migration Guide
Before (v0.1.0):
Code
const altitude = data.all_variables[1]; // Index-based access
const throttle = data.all_variables[28]; // Hard to remember indices
After (v0.2.0):
Code
const altitude = data.variables["Aircraft.Altitude"]; // Self-documenting
const throttle = data.variables["Controls.Throttle"]; // Clear and maintainable
Files Updated
- aerofly_bridge_dll.cpp - Enhanced BuildDataJSON() with 361 variables
- AeroflyBridge.dll file
- docs/ - Complete documentation update for new structure
- reference/json_schema.json - Updated schema without all_variables