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

Cherry pick for v5.0.2 #3159

Merged
merged 48 commits into from
Feb 26, 2024
Merged

Cherry pick for v5.0.2 #3159

merged 48 commits into from
Feb 26, 2024

Commits on Feb 22, 2024

  1. Bump actions/checkout from 3 to 4 (#2969)

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and dvora-h committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    db03189 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. Bump rojopolis/spellcheck-github-actions from 0.33.1 to 0.34.0 (#2970)

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    e7cc3bb View commit details
    Browse the repository at this point in the history
  2. fix type hint (#2963)

    Co-authored-by: d184230 <dubkov.a@skbkontur.ru>
    2 people authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    0172ded View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    565171c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    697da37 View commit details
    Browse the repository at this point in the history
  5. Close various objects created during asyncio tests (#3005)

    * Close various objects created during asyncio tests
    
    * Fix resource leake in test_cwe_404.py
    Need to wait for individual handler tasks when shutting down server.
    kristjanvalur authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    9970fb4 View commit details
    Browse the repository at this point in the history
  6. Linking to Redis resources (#3006)

    chayim authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    194d710 View commit details
    Browse the repository at this point in the history
  7. Add GEOSHAPE field type for index creation of RediSearch (#2957)

    * first pass of geoshape index type
    
    * first attempt at test, but demonstrates the initial commit is broken
    
    * fix new field + fix tests
    
    * work on linter
    
    * more linter
    
    * try to mark test with correct fixture
    
    * fix linter
    sjpotter authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    b5e8e55 View commit details
    Browse the repository at this point in the history
  8. Better deal with "lost" connections for async Redis (#2999)

    * Allow tracking/reporting and closing of "lost" connections.
    ConnectionPool keeps a WeakSet of in_use connections, allowing lost ones to be collected.
    Collection produces a warning and closes the underlying transport.
    
    * Add tests for the __del__ handlers of async Redis and Connection objects
    
    * capture expected warnings in the test
    
    * lint
    kristjanvalur authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    30c1686 View commit details
    Browse the repository at this point in the history
  9. Update client.py sleep_time typing for run_in_thread function (#2977)

    Changed from 
    `sleep_time: int = 0`
    to
    `sleep_time: float = 0.0`
    To avoid Pylance complaining: 
    `Argument of type "float" cannot be assigned to parameter "sleep_time" of type "int" in function "run_in_thread"
      "float" is incompatible with "int"`
    danielzhangau authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    63239fa View commit details
    Browse the repository at this point in the history
  10. Fix BlockingConnectionPool.from_url parsing of timeout in query args #…

    …2983 (#2984)
    
    Co-authored-by: Romain Fliedel <romain@oqee.tv>
    2 people authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    e2127e4 View commit details
    Browse the repository at this point in the history
  11. Fix parsing resp3 dicts (#2982)

    kristjanvalur authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    45e858a View commit details
    Browse the repository at this point in the history
  12. Update ocsp.py (#3022)

    AniketP04 authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    63b562f View commit details
    Browse the repository at this point in the history
  13. Bump rojopolis/spellcheck-github-actions from 0.34.0 to 0.35.0 (#3060)

    Bumps [rojopolis/spellcheck-github-actions](https://github.com/rojopolis/spellcheck-github-actions) from 0.34.0 to 0.35.0.
    - [Release notes](https://github.com/rojopolis/spellcheck-github-actions/releases)
    - [Changelog](https://github.com/rojopolis/spellcheck-github-actions/blob/master/CHANGELOG.md)
    - [Commits](rojopolis/spellcheck-github-actions@0.34.0...0.35.0)
    
    ---
    updated-dependencies:
    - dependency-name: rojopolis/spellcheck-github-actions
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    a9306e3 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9402c30 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ab82697 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    f2fa734 View commit details
    Browse the repository at this point in the history
  17. Fix typos. (#3016)

    AYMENJD authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    c1a881e View commit details
    Browse the repository at this point in the history
  18. Fix parsing of FT.PROFILE result (#3063)

    * Fix parsing of ft.profile result
    
    * test
    dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    7c13191 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    3f4f5e3 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    f29a7d7 View commit details
    Browse the repository at this point in the history
  21. Allow the parsing of the asking command to forward original options (#…

    …3012)
    
    Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
    tbbream and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    7573448 View commit details
    Browse the repository at this point in the history
  22. Fix Specifying Target Nodes broken hyperlink (#3072)

    The typo cause hyperlinks to fail.
    enjoy-binbin authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    b7dbb7e View commit details
    Browse the repository at this point in the history
  23. Fix return types in json commands (#3071)

    * Fix return types in JSONCommands class
    
    * Update CHANGES
    parmenashp authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    ce6d7b4 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    6116c38 View commit details
    Browse the repository at this point in the history
  25. Bump github/codeql-action from 2 to 3 (#3096)

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@v2...v3)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    d9d3054 View commit details
    Browse the repository at this point in the history
  26. Bump actions/upload-artifact from 3 to 4 (#3097)

    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/upload-artifact
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    4f8c7d2 View commit details
    Browse the repository at this point in the history
  27. Bump actions/setup-python from 4 to 5 (#3095)

    Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-python
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    8f45068 View commit details
    Browse the repository at this point in the history
  28. Always sending codecov (#3101)

    chayim authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    813187e View commit details
    Browse the repository at this point in the history
  29. filter commits for main branch (#3036)

    chayim authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    5c94a95 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    7b1965a View commit details
    Browse the repository at this point in the history
  31. Fix typing for HashCommand.hdel (#3029)

    Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
    dmkulazhenko and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    d63ba59 View commit details
    Browse the repository at this point in the history
  32. Adding lock_name to LockError (#3023)

    * Adding lock_name to LockError
    
    * Adding lock_name to LockError
    
    ---------
    
    Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
    TheBlusky and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    33450d9 View commit details
    Browse the repository at this point in the history
  33. Fix objlen type hint (#2966)

    * Fix objlen type hint
    
    * Update redis/commands/json/commands.py
    
    Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
    
    * linters
    
    ---------
    
    Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
    trkwyk and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    a32b513 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    a0b820d View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    316667e View commit details
    Browse the repository at this point in the history
  36. Fix possible pipeline connections leak (#3104)

    * Update cluster.py
    
    When Executing "n.write()" may generate some unknown errors(e.g. DataError), which could result in the connection not being released.
    
    * Update cluster.py
    
    * Update cluster.py
    
    release connection move to "try...finally"
    
    * Update cluster.py
    
     fix the linters
    
    * fix problems of code review
    ING-XIAOJIAN authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    4528726 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    8e5020e View commit details
    Browse the repository at this point in the history
  38. Fix grammer in BlockingConnectionPool class documentation (#3120)

    Co-authored-by: ahmedabdou14 <root@xps>
    2 people authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    3f23fff View commit details
    Browse the repository at this point in the history
  39. release already acquired connections on ClusterPipeline, when get_con…

    …nection raises an exception (#3133)
    
    Signed-off-by: zach.lee <zach.lee@sendbird.com>
    zakaf authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    101a28d View commit details
    Browse the repository at this point in the history
  40. Bump actions/stale from 3 to 9 (#3132)

    Bumps [actions/stale](https://github.com/actions/stale) from 3 to 9.
    - [Release notes](https://github.com/actions/stale/releases)
    - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
    - [Commits](actions/stale@v3...v9)
    
    ---
    updated-dependencies:
    - dependency-name: actions/stale
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    c6dfc91 View commit details
    Browse the repository at this point in the history
  41. Bump codecov/codecov-action from 3 to 4 (#3131)

    Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    a54617c View commit details
    Browse the repository at this point in the history
  42. Allow to control the minimum SSL version (#3127)

    * Allow to control the minimum SSL version
    
    It's useful for applications that has strict security requirements.
    
    * Add tests for minimum SSL version
    
    The commit updates test_tcp_ssl_connect for both sync and async
    connections. Now it sets the minimum SSL version. The test is ran with
    both TLSv1.2 and TLSv1.3 (if supported).
    
    A new test case is test_tcp_ssl_version_mismatch. The test added for
    both sync and async connections. It uses TLS 1.3 on the client side,
    and TLS 1.2 on the server side. It expects a connection error. The
    test is skipped if TLS 1.3 is not supported.
    
    * Add example of using a minimum TLS version
    poiuj authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    e868a11 View commit details
    Browse the repository at this point in the history
  43. docs: Add timeout parameter for get_message example (#3129)

    The `get_message()` method in asyncio PubSub has a `timeout` argument that defaults to 0.0, causing it to immediately return. This can cause high CPU usage with the given code example and should not be recommended. By setting `timeout=None`, it works with much more efficient resource usage.
    hongqn authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    87a4d8a View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    b3f4710 View commit details
    Browse the repository at this point in the history
  45. Update connection.py (#3149)

    Exception ignored in: <function Redis.__del__ at ...>
    Traceback ....
    TypeError: 'NoneType' object cannot be interpreted as an integer.
    
    This happens when closing the connection within a spawned Process (multiprocess).
    wKollendorf authored and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    7fa3bd4 View commit details
    Browse the repository at this point in the history
  46. Fix retry logic for pubsub and pipeline (#3134)

    * Fix retry logic for pubsub and pipeline
    
    Extend the fix from bea7299 to apply to
    pipeline and pubsub as well.
    
    Fixes #2973
    
    * fix isort
    
    ---------
    
    Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
    w-miller and dvora-h committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    5dff4ef View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    3b18dc0 View commit details
    Browse the repository at this point in the history