Spaces:
Runtime error
Download CHANGELOG.md from CleanflowAI/cleanflowai: direct link, hf CLI and curl.
- Browser
- Download file 7.6 kB
-
https://huggingface.co/spaces/CleanflowAI/cleanflowai/resolve/main/CHANGELOG.md
- Command line
-
hf download hf://spaces/CleanflowAI/cleanflowai/CHANGELOG.md
-
curl -L -o CHANGELOG.md https://huggingface.co/spaces/CleanflowAI/cleanflowai/resolve/main/CHANGELOG.md
Changelog
All notable changes to the GDF to CDF Converter project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[2.0.0] - 2025-08-05
π Major Release: Enterprise ERP Support
This major release significantly expands the ERP coverage and enhances data mapping capabilities based on comprehensive ERP-CDF field analysis.
Added
π’ Enterprise ERP Systems Support
- Oracle Fusion - Complete field mappings for all entity types
- SAP ERP - Comprehensive support with table.field notation (e.g.,
VBAK.VBELN) - Microsoft Dynamics - Full business applications platform integration
- Workday - Cloud-based HCM and financial management support
- Infor M3 - Manufacturing and distribution ERP mappings
- Infor LN - Enterprise resource planning for manufacturing
- Epicor Kinetic - Manufacturing and distribution ERP support
- QAD ERP - Manufacturing ERP solution integration
- IFS Cloud - Enterprise resource planning and asset management
- Sage Intacct - Cloud-based financial management system
π Enhanced Customer Data Model
- 6 new address fields added to CustomerCDF model:
address_type- Address classification (billing, shipping, etc.)address_line1- Primary address linecity- City namestate- State/provincepostal_code- ZIP/postal codecountry- Country name
- 16 total standardized fields for comprehensive customer data
π§ Data Format Consistency
- Date field standardization: ISO
yyyy-MM-ddfor APIs/databases,dd-MMMM-yyyyfor human-readable files - Decimal precision: DECIMAL(18,2) for all currency and pricing fields
- Boolean consistency: Standardized
true/falsemapping across all ERP systems - Text encoding: UTF-8 support with proper escaping for CSV/JSON
π Field Mapping Coverage
- Sales Orders: 13 standardized CDF fields
- Customers: 16 standardized CDF fields (expanded from 10)
- Invoices: 14 standardized CDF fields
- Purchase Orders: 14 standardized CDF fields
- Inventory Items: 12 standardized CDF fields
Changed
π Template Structure Expansion
- template.json expanded from 1 to 11 ERP systems
- 833 new field mappings added across all entity types
- Complex field naming support for enterprise ERPs (e.g.,
HZ_PARTIES.PARTY_NAME,VBAK.VBELN)
π Enhanced Validation
- Updated Pydantic models with new field constraints
- Improved data type validation and conversion
- Enhanced error handling for complex field mappings
ποΈ Architecture Improvements
- Robust handling of enterprise-grade field naming conventions
- Enhanced ERP auto-detection with expanded template coverage
- Improved LLM fallback for unknown field mappings
Technical Details
Database Schema Updates
-- Customer table now supports full address data
ALTER TABLE customers ADD COLUMN address_type VARCHAR(32);
ALTER TABLE customers ADD COLUMN address_line1 VARCHAR(255);
ALTER TABLE customers ADD COLUMN city VARCHAR(128);
ALTER TABLE customers ADD COLUMN state VARCHAR(64);
ALTER TABLE customers ADD COLUMN postal_code VARCHAR(20);
ALTER TABLE customers ADD COLUMN country VARCHAR(64);
API Response Changes
- Customer entity responses now include 6 additional address fields
- Enhanced field validation with proper data type constraints
- Improved error messages for field mapping failures
Performance Improvements
- Optimized template loading for larger mapping structures
- Enhanced ERP detection algorithm for complex field patterns
- Improved memory usage for large-scale data conversions
Migration Guide
For Existing Users
Update Dependencies:
pip install -r requirements.txtDatabase Migration (if using customer data):
-- Add new address columns to existing customer tables ALTER TABLE customers ADD COLUMN address_type VARCHAR(32); ALTER TABLE customers ADD COLUMN address_line1 VARCHAR(255); ALTER TABLE customers ADD COLUMN city VARCHAR(128); ALTER TABLE customers ADD COLUMN state VARCHAR(64); ALTER TABLE customers ADD COLUMN postal_code VARCHAR(20); ALTER TABLE customers ADD COLUMN country VARCHAR(64);Code Updates:
# CustomerCDF model now includes address fields from mapper.models import CustomerCDF # New fields are optional, existing code continues to work customer = CustomerCDF( customer_id="CUST001", customer_name="Acme Corp", # ... existing fields ... # New optional address fields address_line1="123 Main St", city="New York", state="NY", postal_code="10001", country="USA" )Template Validation:
# Verify new ERP systems are available from mapper import GDFToCDFConverter converter = GDFToCDFConverter() erps = converter.template_loader.get_erp_names() print(f"Available ERPs: {erps}") # Should show all 11 ERP systems
Breaking Changes
β οΈ Minor Breaking Changes:
CustomerCDF Model: New optional fields added. Existing code continues to work, but serialized customer data may include additional null fields.
Template Structure: The template.json structure remains backward compatible, but custom templates may need updates to include new ERP systems.
Field Count: Customer entity now returns 16 fields instead of 10. Applications expecting exact field counts may need updates.
Validation Results
β System Validation:
- Template loads successfully with all 11 ERP systems
- All 5 entity types properly supported
- JSON structure validated and well-formed
- Python models handle all new fields correctly
- Data type conversions work as expected
Contributors
- Enhanced ERP mapping based on comprehensive field analysis
- Production-ready data format consistency implementation
- Enterprise-grade field naming convention support
[1.0.0] - 2025-07-30
Added
- Initial release of GDF to CDF Converter
- Support for NetSuite ERP system
- 5 entity types: sales_orders, customers, invoices, purchase_orders, inventory_items
- Template-driven mapping with ERP auto-detection
- LLM fallback using LangChain
- FastAPI backend with REST API endpoints
- CLI tool for batch processing
- Pydantic models for validation
- Comprehensive test suite
Features
- Jaccard similarity-based ERP detection
- OpenAI LLM integration for unknown mappings
- CSV/JSON file processing
- Interactive API documentation
- Production-ready error handling
Version Comparison
| Version | ERP Systems | Customer Fields | Total Mappings | Key Features |
|---|---|---|---|---|
| 1.0.0 | 1 (NetSuite) | 10 fields | ~50 mappings | Basic ERP conversion |
| 2.0.0 | 11 Enterprise | 16 fields | 883+ mappings | Enterprise-grade support |
Upcoming Features
[2.1.0] - Planned
- Additional ERP systems (Salesforce, HubSpot)
- Enhanced data validation rules
- Bulk processing optimizations
- Advanced field transformation functions
[3.0.0] - Future
- Real-time ERP integration APIs
- Machine learning-based field mapping
- Multi-tenant support
- Advanced data quality scoring
For detailed technical documentation, see README.md.
For API documentation, visit /docs when running the server.