-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Release/v1.42.0 #1874
8000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Release/v1.42.0 #1874
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ferences/gofr-cli/ folder to eliminate duplication - Kept original docs/references/gofrcli/ folder - Fixes #1832
…d-and-fix-a-bug-in-codebase
… of gauge storage and access logic
Release/v1.41.0
…urce/file/sftp/gofr.dev-1.41.0
…com/shifluxxc/gofr into fix-healthCheck-supabase-connection
…/datasource/file/sftp/gofr.dev-1.41.0
…urce/mongo/go.mongodb.org/mongo-driver-1.17.4
…/datasource/mongo/go.mongodb.org/mongo-driver-1.17.4
…urce/file/ftp/gofr.dev-1.41.0
…/datasource/file/ftp/gofr.dev-1.41.0
aryanmehrotra
approved these changes
Jun 19, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
v1.43.0
🚀 Features
1. CockroachDB Support
GoFr now supports CockroachDB, a distributed cloud-native SQL database.
Developers can now configure GoFr services to connect to CockroachDB using simple environment variables.
🔧 Configuration:
For more details, refer to the SQL usage guide.
🛠️ Improvements
1. gRPC Reflection Toggle via Config
GoFr now supports enabling/disabling gRPC server reflection using a simple config flag:
🔍 When to enable:
Development & Debugging: Use with tools like grpcurl, Postman, or Evans.
Internal Networks: Safe in private, trusted environments.
CI/CD Pipelines: Ideal for service discovery in automated setups.
This allows dynamic inspection of gRPC services while maintaining control over exposure.
🛠️ Fixes
1. Supabase Healthcheck Issue Resolved
Resolved an issue where Supabase-backed services were not responding properly to health checks due to incorrect handling of internal pings.
2. Fixed Data Race in Metrics Gauges
Addressed a concurrency bug where the internal
float64Gauge
map was accessed without synchronization. Proper locking is now in place around map access to avoid data races during concurrentSetGauge
and metric reads.3. App Name & Version Initialization Bug
Fixed a configuration issue where
AppName
andAppVersion
were incorrectly defaulting togofr-app
anddev
, even when explicitly provided by the user. These values now correctly reflect user-specified configuration during startup.