github gofr-dev/gofr v1.54.3

16 hours ago

Release v1.54.3

🚀 Enhancements

🔹 Migration Locking for SQL & Redis

GoFr now implements automatic migration locking for SQL and Redis datasources.

  • Automatic Coordination: In multi-instance deployments (such as Kubernetes), instances effectively coordinate to ensure only one instance executes migrations at a time.
  • Data Integrity: This mechanism effectively prevents race conditions and corrupted migration states during parallel deployments.

🛠️ Fixes

  • Circuit Breaker Concurrency - Resolved an issue where the Circuit Breaker was erroneously enforcing sequential execution on parallel HTTP requests. This fix restores the expected concurrent behavior, significantly improving throughput for service calls.

  • Datasource Resource Management - Fixed goroutine leaks that occurred during the shutdown process for SQL and Redis datasources. This ensures proper resource cleanup and cleaner application termination.

  • Migration Version Consistency - Fixed a bug where the last migration version was not being correctly fetched across the entire chain of datasources. This ensures accurate migration state tracking, particularly in multi-datasource configurations.

Don't miss a new gofr release

NewReleases is sending notifications on new releases.