Skip to content
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

Update fork #2

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open

Update fork #2

wants to merge 36 commits into from

Commits on Dec 18, 2020

  1. chore: remove redundant type conversion (#541)

    Remove redundant []byte to string conversion
    imxyb authored Dec 18, 2020
    Configuration menu
    Copy the full SHA
    8a8dbfb View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2021

  1. chore: Remove unnecessary blank (_) identifier (#551)

    Remove unnecessary blank (_) identifier from redisx/muxConn.Close
    withshubh authored Feb 16, 2021
    Configuration menu
    Copy the full SHA
    e2bc6db View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2021

  1. chore: Enable golangci-lint and fix errors (#554)

    Enable golangci-lint checking in travis and fix errors identified by it.
    
    This mainly involves removing dead code and improving error checking
    such as:
    * activeConn.Close now returns any error from operations it performs
      instead of always returning nil.
    stevenh authored Feb 18, 2021
    Configuration menu
    Copy the full SHA
    dbd3ec6 View commit details
    Browse the repository at this point in the history
  2. chore(docs): update godoc links (#482)

    Update godoc links to point to pkg.go.dev
    yjhmelody authored Feb 18, 2021
    Configuration menu
    Copy the full SHA
    9e4eba0 View commit details
    Browse the repository at this point in the history
  3. chore: Add clog config (#555)

    Add config for clog which is used for generating release notes from our
    conventional commits.
    
    For details on the tool see: https://github.com/clog-tool/clog-cli
    stevenh authored Feb 18, 2021
    Configuration menu
    Copy the full SHA
    72af812 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2021

  1. fix: DialURL compatibility with redis-cli (#566)

    Fix compatibility of DialURL with respect for single component user-info
    records.
    
    This enables URLs such as redis://mypass@localhost/1 as supported by
    redis-cli to be used.
    stevenh authored Jun 10, 2021
    Configuration menu
    Copy the full SHA
    46992b0 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2021

  1. feat: implement DialURLContext(...) (#574)

    Add DialURLContext so that we consumers have
    control over cancelation and timeout
    
    Convert DialURL to call DialURLContext() and update
    docs to ensure consumers are aware of the new method,
    which should be preferred to ensure requests can't hang
    forever.
    cameronelliott authored Sep 30, 2021
    Configuration menu
    Copy the full SHA
    bf63cd5 View commit details
    Browse the repository at this point in the history
  2. feat: add DoContext and ReceiveContext (#537)

    Add support for context during the Do cycle of a request.
    
    This is supported by DoContext and ReceiveContext to control
    the command life by both context and read timeout.
    
    Co-authored-by: Mikhail Mazurskiy <[email protected]>
    Co-authored-by: Lilith Games <[email protected]>
    3 people authored Sep 30, 2021
    Configuration menu
    Copy the full SHA
    56d6448 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2021

  1. fix: DoContext call to DoWithTimeout (#576)

    Fix DoContext call to DoWithTimeout passing args as variadic.
    
    Fixes #575
    stevenh authored Oct 15, 2021
    Configuration menu
    Copy the full SHA
    574218b View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2021

  1. fix(modules): upgrade testify

    Upgrade testify to v1.7.0 eliminate security warning
    gkorland authored Dec 25, 2021
    Configuration menu
    Copy the full SHA
    cc6be48 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2022

  1. fix: retract tagged versions (#590)

    Retract unpublished versions from go tooling.
    Bump go version to 1.16 required for retract statement.
    
    Fixes #585
    stevenh authored Jan 4, 2022
    Configuration menu
    Copy the full SHA
    2fd670f View commit details
    Browse the repository at this point in the history
  2. fix: surface underlying error for slice / map helpers (#580)

    Surface the underlying error when processing results for slice and map
    helpers so that the user can see the real cause and not a type mismatch
    error.
    
    Also:
    * Formatting changes to improve error case separation.
    * Leverage %w in reply errors.
    
    Fixes: #579
    stevenh authored Jan 4, 2022
    Configuration menu
    Copy the full SHA
    a83ebbe View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. fix: correct instructions for detecting DialReadTimeout (#601)

    The actual string is "i/o timeout", but it's more clear to test error
    identity in the way documented for net.Conn.
    
    Fixes: #600
    pabigot authored Mar 14, 2022
    Configuration menu
    Copy the full SHA
    8eb5625 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. feat: add RequestContext to PubSubConn (#603)

    Add a wrapper that goes through the standard receiveInternal
    processing to match the API of the existing PubSubConn Receive
    methods.
    
    Fixes: #592
    pabigot authored Mar 23, 2022
    Configuration menu
    Copy the full SHA
    3eb0774 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2022

  1. feat: add Float64Map (#605)

    Add a Float64Map helper which can be used to convert a
    HGETALL responses to a map[string]float64.
    zuoshuwen authored Mar 24, 2022
    Configuration menu
    Copy the full SHA
    dbebed5 View commit details
    Browse the repository at this point in the history
  2. chore: add go test action (#607)

    Add a github action which runs go test so we can ensure that tests are
    passing before we merge changes.
    stevenh authored Mar 24, 2022
    Configuration menu
    Copy the full SHA
    dc67576 View commit details
    Browse the repository at this point in the history
  3. chore: refactor map helpers to reduce duplication (#606)

    Refactor the reply <type>Map helpers to reduce the code duplication in
    the body of those functions by creating a mapHelper along the same lines
    as the existing sliceHelper.
    stevenh authored Mar 24, 2022
    Configuration menu
    Copy the full SHA
    5b789c6 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. fix: update golangci-lint for golang 1.18 (#616)

    Update golangci-lint to a version compatible with golang 1.18.
    stevenh authored Jun 6, 2022
    Configuration menu
    Copy the full SHA
    222ca62 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. fix: error message for SlowLog conversion (#612)

    Fix incorrect offset in error message for SlowLog conversion.
    dmitri-lerko authored Jun 7, 2022
    Configuration menu
    Copy the full SHA
    bcef0d8 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2022

  1. fix: respect ctx in cmds run in DialContext (#620)

    Update DialContext() to use the new DoContext() methods (added in v1.8.6)
    when configuring auth/clientName/db during connection creation.
    
    This prevents DialContex() from blocking for a long time if the redis server is
    unresponsive.
    mitchsw authored Jul 1, 2022
    Configuration menu
    Copy the full SHA
    95c091f View commit details
    Browse the repository at this point in the history
  2. chore: remove go1.7 and below support (#623)

    Remove go1.7 support which hasn't been maintained for a long time now.
    stevenh authored Jul 1, 2022
    Configuration menu
    Copy the full SHA
    2c2a5c2 View commit details
    Browse the repository at this point in the history
  3. fix: correct do script error check (#563)

    Correct the error check in the Do method so it's more idiomatic.
    wenpeng authored Jul 1, 2022
    Configuration menu
    Copy the full SHA
    d3b4cc3 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2022

  1. fix: Anonymous field pointers (#622)

    Fix panic using ArgsFlat or ScanStruct on structs with nil Anonymous
    field pointers.
    
    Catch the anonymous struct recursion and prevent it. In the case of
    ScanStruct an error will be returned, in the case of ArgsFlat it will
    panic with a nice error.
    stevenh authored Jul 6, 2022
    Configuration menu
    Copy the full SHA
    f1e923c View commit details
    Browse the repository at this point in the history
  2. feat: add support for latency command parsing (#614)

    Add support for LATENCY LATEST, LATEST HISTORY command parsing.
    dmitri-lerko authored Jul 6, 2022
    Configuration menu
    Copy the full SHA
    d685447 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. fix: test goroutine leaks (#643)

    Ensure that goroutines started by tests are cleaned up on termination.
    
    Also:
    * make TestLatencyHistories compatible with -count=X.
    * Update to the supported versions of go 1.19 and 1.20.
    * Update golangci-lint to v1.15.2
    
    Fixes #641
    stevenh authored May 11, 2023
    Configuration menu
    Copy the full SHA
    78e255f View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2023

  1. chore: update testify (#653)

    Update testify to eliminate security issue in dependent package
    gopkg.in/yaml.v3.
    
    Fixes #652
    stevenh authored Aug 20, 2023
    Configuration menu
    Copy the full SHA
    a60882b View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. core: update github actions and fix tests (#657)

    Update GitHub actions to use the latest versions and add go mod
    tidy check.
    
    This bumps go version for tests to 1.20 and 1.21 the currently
    supported versions.
    
    Update checks to validate against Redis 7.2 and 7.0, removing 5.0 and
    4.0 which may still work but haven't been updated since 2020.
    
    Fix pubsub test instability due to unsubscribe notifications ordering
    not being guaranteed.
    
    Fix latency tests on Redis 7 due to DEBUG being disabled by default.
    stevenh authored Jan 29, 2024
    Configuration menu
    Copy the full SHA
    9129745 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2024

  1. chore: run test server with enable-debug-command (#654)

    Run the Redis test server with --enable-debug-command local on Redis >= 7.0
    which disables MODULE and DEBUG commands by default for better security.
    
    Without this, some unit tests fail on later Redis versions.
    elboulangero authored Feb 3, 2024
    Configuration menu
    Copy the full SHA
    8b1c13e View commit details
    Browse the repository at this point in the history
  2. chore: remove debug check (#659)

    Remove debug check now we run the test server with debug enabled if
    needed.
    stevenh authored Feb 3, 2024
    Configuration menu
    Copy the full SHA
    9f0d2e9 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. feat: add TestOnBorrowContext (#660)

    Add TestOnBorrowContext to the Pool struct for checking the
    health of the idle connection with a given context.
    vasayxtx authored Feb 20, 2024
    Configuration menu
    Copy the full SHA
    1d393b3 View commit details
    Browse the repository at this point in the history
  2. ci: add goreleaser, update action and go versions (#662)

    Add goreleaser to automate the generation of release notes and bump
    the versions of github actions golang go the latest versions.
    stevenh authored Feb 20, 2024
    Configuration menu
    Copy the full SHA
    1bfd3c1 View commit details
    Browse the repository at this point in the history
  3. ci: remove deprecated goreleaser option (#663)

    Remove deprecated goreleaser option --rm-dist and use --clean instead
    to prevent deprecation warning.
    stevenh authored Feb 20, 2024
    Configuration menu
    Copy the full SHA
    cfabb1f View commit details
    Browse the repository at this point in the history
  4. chore: retract v1.8.10 (#664)

    Retract v1.8.10 which was tagged incorrectly for a feature release and
    only available for a few minutes. v1.9.0 is identical.
    stevenh authored Feb 20, 2024
    Configuration menu
    Copy the full SHA
    162ed02 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. fix: bump go version to 1.17 (#666)

    Due to our test dependency requiring 1.17 minimum and the 1.16 being
    well out of support, currently only 1.21 and 1.22 are support releases,
    bump our required go version to 1.16.
    
    Fixes #665
    stevenh authored Feb 25, 2024
    Configuration menu
    Copy the full SHA
    e05a63b View commit details
    Browse the repository at this point in the history
  2. ci: fix go caching (#667)

    Move checkout before go-setup so caching works.
    stevenh authored Feb 25, 2024
    Configuration menu
    Copy the full SHA
    4c535aa View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. chore: fix function name in comment (#668)

    Signed-off-by: rustfix <[email protected]>
    rustfix authored Apr 15, 2024
    Configuration menu
    Copy the full SHA
    247f6c0 View commit details
    Browse the repository at this point in the history