Release v1.47.1
📊 Enhancements
🔹 Unified Datasource Histogram Buckets
GoFr now uses a shared getDefaultDatasourceBuckets() across SQL, Redis, and other datasources.
Benefits:
- Standardized buckets from 0.05ms → 30s
- Consistent observability across datasources
- Improved monitoring fidelity in Prometheus/Grafana
- Easier cross-datasource latency comparison
🔹 ArangoDB v2.1.6 Compatibility & API Upgrade
Updated GoFr’s ArangoDB datasource to align with the latest github.com/arangodb/go-driver/v2 v2.1.6 driver. This upgrade ensures smooth integration with modern ArangoDB clusters and removes legacy API inconsistencies.
Key Highlights:
- Migrated collection creation to CreateCollectionV2 / CreateCollectionWithOptionsV2
- Ensures correct handling of edge and document collection types
🛠️ Bug Fixes
ArangoDB Database Creation – No More False Failures
Previously, calling CreateDatabase() on an existing DB caused unnecessary user-visible errors.
Fix Summary:
- Added an existence check before creating databases
- Prevents duplicate-create errors
- Ensures smooth provisioning flows during app startup or migrations
ArangoDB Collection Type Handling Corrected
Edge collections were previously misconfigured due to missing or incorrect Type assignment.
Fix Summary -
- Explicit
Typehandling added for edge vs document collections - Ensures correct metadata and relationship behavior
- Updated tests to validate collection-type correctness