-
Notifications
You must be signed in to change notification settings - Fork 277
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
Release/v1.30.0 #1378
Merged
Merged
Release/v1.30.0 #1378
Conversation
This file contains 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
…_env_overrides_others
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.69.0 to 1.69.2. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.69.0...v1.69.2) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
…olang.org/grpc-1.69.2 Bump google.golang.org/grpc from 1.69.0 to 1.69.2
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.27.0 to 0.28.0. - [Commits](golang/term@v0.27.0...v0.28.0) --- updated-dependencies: - dependency-name: golang.org/x/term dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
…rg/x/term-0.28.0 Bump golang.org/x/term from 0.27.0 to 0.28.0
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.24.0 to 0.25.0. - [Commits](golang/oauth2@v0.24.0...v0.25.0) --- updated-dependencies: - dependency-name: golang.org/x/oauth2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
…rg/x/oauth2-0.25.0 Bump golang.org/x/oauth2 from 0.24.0 to 0.25.0
aryanmehrotra
approved these changes
Jan 10, 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.
Release v1.30.0
🚀 Features
1. GoFr's Context Support in gRPC Handlers
Introduced context integration for gRPC handlers, enabling efficient dependency and tracing management.
Key Features:
Automatically generates gRPC handler templates with built-in support for
gofr's context
using thegofr wrap grpc
command.Customizable gRPC server implementation provided in the generated
{ServiceName}_server.go
file.Auto-generated file
{ServiceName}_gofr.go
handles context logic (Do not modify this file).Example: This file,
hello_server.go
demonstrates the generated template implementing gRPC methods for theHello
service with embeddedgofr.Context
.Prerequisites:
Install GoFr CLI:
Generate gRPC Handlers:
Run
gofr wrap grpc -proto=<path_to_proto_file>
after generating.pb.go
and_grpc.pb.go
files usingprotoc
.Register gRPC Service:
Integrate the generated server into your GoFr app:
Note: For details on setting up Protocol Buffers and gRPC in GoFr, visit the official GoFr.dev Documentation.
🔧 Fixes
1.
ExpectSelect
Update in SQL MocksRefactored the
ExpectSelect
function in SQL mocks. Users can now set expected responses using theReturnsResponse
method, ensuring accurate mock behavior during tests.Example Usage:
2. Environment Variable Handling
.env
,.<APP_ENV>.env
configurations, ensuring consistent behaviour across environments.3. Improved Logging
uri
withhost
.4. Security Fixes
golang.org/x/crypto
to v0.31.0 to resolve potential authorization bypass issues.go.mod
inpkg/gofr/datasource/mongo
for compatibility with Go commands.