8000 Release/v1.42.0 by Umang01-hash · Pull Request #1874 · gofr-dev/gofr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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 106 commits into from
Jun 19, 2025
Merged

Release/v1.42.0 #1874

merged 106 commits into from
Jun 19, 2025

Conversation

Umang01-hash
Copy link
Member
@Umang01-hash Umang01-hash commented Jun 19, 2025

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:

DB_DIALECT=cockroachdb
DB_HOST=localhost
DB_PORT=26257
DB_USER=root
DB_PASSWORD=your-password
DB_NAME=defaultdb
DB_SSL_MODE=require

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:

GRPC_ENABLE_REFLECTION=true

🔍 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 concurrent SetGauge and metric reads.

3. App Name & Version Initialization Bug

Fixed a configuration issue where AppName and AppVersion were incorrectly defaulting to gofr-app and dev, even when explicitly provided by the user. These values now correctly reflect user-specified configuration during startup.

Ignasius Wahy 8000 udi and others added 30 commits June 4, 2025 09:59
…ferences/gofr-cli/ folder to eliminate duplication - Kept original docs/references/gofrcli/ folder - Fixes #1832
Umang01-hash and others added 27 commits June 17, 2025 19:29
…urce/mongo/go.mongodb.org/mongo-driver-1.17.4
…/datasource/mongo/go.mongodb.org/mongo-driver-1.17.4
@Umang01-hash Umang01-hash merged commit 276922e into main Jun 19, 2025
19 checks passed
@Umang01-hash Umang01-hash deleted the release/v1.42.0 branch June 19, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants
0