Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: grpc-ecosystem/go-grpc-middleware
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.3.0
Choose a base ref
...
head repository: grpc-ecosystem/go-grpc-middleware
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.4.0
Choose a head ref
  • 19 commits
  • 25 files changed
  • 18 contributors

Commits on Apr 23, 2021

  1. Do not stop retrying based on earlier good message from the stream (#313

    )
    
    - Usually the pattern is to establish a stream and read messages
    in the loop until io.EOF. If the server become unavailable after
    sending a good message in the stream, the client has to retry from
    establish stream and handle the backoff logic.
    kartlee authored Apr 23, 2021
    Configuration menu
    Copy the full SHA
    3d8607d View commit details
    Browse the repository at this point in the history

Commits on May 24, 2021

  1. Deprecate the server interceptor chain helpers (#423)

    google.golang.org/grpc now implements the functionality directly.
    CAFxX authored May 24, 2021
    Configuration menu
    Copy the full SHA
    1778d41 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2021

  1. Simplify chain interceptors (#421)

    The four (client/server, unary/stream) interceptors have to wrap a slice
    of interceptors in functions which satisfy the handler interface, but
    which are closures over the other parameters an interceptor is expected
    to have.
    
    The previous approach accomplished this goal with recursion. This had
    two drawbacks: first, the code was difficult to understand, as most
    recursion attempts to fully encode state in function parameters, but
    here state was necessarily also encoded in the closure; and second,
    the recursive base-case meant that even the innermost interceptor was
    not calling the bare handler, it was calling a wrapped handler.
    
    This new approach instead iteratively constructs wrappers from the
    inside out. It results in fewer lines of code, with fewer variables
    held in each closure. Hopefully this results in higher readability.
    aarongable authored May 26, 2021
    Configuration menu
    Copy the full SHA
    6465c16 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2021

  1. Configuration menu
    Copy the full SHA
    a63f4c4 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2021

  1. logging/zap/ctxzap: add caller skip to shorthand functions (#429)

    The caller annotations made by the shorthand logging functions are
    `ctxzap/context.go:xx` regardless of where the shorthands are called.
    
    This commit adds caller skip so that each log message has the correct
    caller annotation.
    jkawamoto authored Jun 19, 2021
    Configuration menu
    Copy the full SHA
    995de2a View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2021

  1. grpc_zap: fix caller annotation (#431)

    Since `zapGrpcLoggerV2` wraps a zap's logger, caller annotations always
    point `grpclogger.go` instead of the expected file. This commit adds
    caller skip so that each log message has the correct annotation.
    
    This commit also upgrades zap's version to v1.18.1 to use `zap.OnFatal`
    in tests. That function is necessary to catch fatal level log messages.
    jkawamoto authored Jul 2, 2021
    Configuration menu
    Copy the full SHA
    93b7816 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. fix: Corrected slack link (#446)

    Signed-off-by: Rajiv Ranjan Singh <rajivperfect007@gmail.com>
    iamrajiv authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    ef12d48 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2021

  1. Configuration menu
    Copy the full SHA
    317f251 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2021

  1. Configuration menu
    Copy the full SHA
    b7b1ffc View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2021

  1. Configuration menu
    Copy the full SHA
    b6d97fa View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2021

  1. Fix: middleware unary chain order (#464)

    Co-authored-by: Amir_Ali97 <Amir@fenix.life>
    AmirQadir and Amir_Ali97 authored Oct 19, 2021
    Configuration menu
    Copy the full SHA
    560829f View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2022

  1. Configuration menu
    Copy the full SHA
    68c8cdc View commit details
    Browse the repository at this point in the history

Commits on May 10, 2022

  1. fix some typos (#493)

    Signed-off-by: cuishuang <imcusg@gmail.com>
    cuishuang authored May 10, 2022
    Configuration menu
    Copy the full SHA
    6aeac52 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Fix memory leakage in kit.PayloadUnaryServerInterceptor (#501)

    * Fix memory leakage in kit.PayloadUnaryServerInterceptor
    
    
    Closes issue #498
    
    A wrong assign creates multiple object for GC, and with every call appends new objects, so GC have to walk through thousands of objects. This causes high increasing memory and CPU usage. We saw in our services that it leads to CPU throttling and increasing of a memory usage.
    
    * Fix logging in PayloadUnaryServerInterceptor
    
    Issue #498
    r3code authored Jul 14, 2022
    Configuration menu
    Copy the full SHA
    7fdae0e View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. Configuration menu
    Copy the full SHA
    854bd94 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Configuration menu
    Copy the full SHA
    7c811bc View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

  1. Configuration menu
    Copy the full SHA
    99612e8 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. Configuration menu
    Copy the full SHA
    da1b13e View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. v1: Mentioned v2 in README; fixed CI; removed changelog (we will use …

    …release notes for this). (#542)
    
    * v1: Mentioned v2 in README and removed changelog (we will use release notes for this).
    
    Signed-off-by: bwplotka <bwplotka@gmail.com>
    
    * Fixed CI.
    
    Signed-off-by: bwplotka <bwplotka@gmail.com>
    
    ---------
    
    Signed-off-by: bwplotka <bwplotka@gmail.com>
    bwplotka authored Mar 15, 2023
    Configuration menu
    Copy the full SHA
    d42ae9d View commit details
    Browse the repository at this point in the history
Loading