You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(docs): update install version to v0.2.15
Bump the version in the installation instructions from v0.2.14 to v0.2.15
to reflect the latest release. This ensures users install the most recent
version of the package.
chore(docs): update install version to v0.2.14 in README
Bump the installation instruction in README.md to use the latest released
version v0.2.14 instead of v0.2.13. This ensures users install the most
recent features and fixes.
docs(readme): add note about WithRealIP and realip usage
Clarified in the usage example that you can add the WithRealIP option to
enable retrieving the user's IP address via realip.FromContext. This helps
users understand how to access the real client IP in their handlers.
feat(server): add WithRealIP option to ServerConfig
Introduce the WithRealIP boolean option in ServerConfig to enable the
realip.UnaryServerInterceptor for gRPC servers. This allows the server
to extract the real client IP address when needed. The interceptor is
conditionally added based on the WithRealIP flag, improving flexibility
in server configuration.
feat(realip): add gRPC interceptor for real client IP
Introduce the realip package to extract the real client IP address from
gRPC requests in Google Cloud Run environments. The package provides a
unary server interceptor that reads the X-Forwarded-For header and
injects the first IP (guaranteed by Cloud Run to be the client IP) into
the request context. Includes documentation and tests for both the
interceptor and context extraction functions. Integrates the interceptor
into the main server setup.
docs(readme): update install version to v0.2.12
Update the README installation instructions to use the latest version
v0.2.12, ensuring users install the most recent release.
chore(docs): update install version to v0.2.10
Bump the version in the README install instructions from v0.2.9 to v0.2.10
to reflect the latest release. This ensures users install the most recent
version with bug fixes and improvements.