Skip to content

CommandObjects refactoring Part 4: Backport deprecations to 7.5.x#4517

Merged
uglide merged 1 commit into
7.5.xfrom
im/backport-deprecations-for-co-refactoring
May 20, 2026
Merged

CommandObjects refactoring Part 4: Backport deprecations to 7.5.x#4517
uglide merged 1 commit into
7.5.xfrom
im/backport-deprecations-for-co-refactoring

Conversation

@uglide

@uglide uglide commented May 8, 2026

Copy link
Copy Markdown
Contributor

Note

Medium Risk
Enables HTTPS-style hostname verification by default for TLS sockets and changes cluster pipelining execution semantics, which can break existing deployments relying on permissive TLS or implicit executor lifecycle.

Overview
Bumps project version to 7.5.0-SNAPSHOT and continues the CommandObjects refactor by deprecating the no-arg constructors and setProtocol, steering callers to constructor-injected RedisProtocol (also deprecating AbstractClientBuilder.applyCommandObjectsConfiguration).

Adds opt-in support for shared ExecutorService usage in cluster pipelining: JedisCluster/RedisClusterClient gain pipelined(ExecutorService) and MultiNodePipelineBase now reuses a provided executor instead of always creating/shutting down its own; new tests cover shared-executor concurrency and lifecycle.

Hardens TLS behavior by defaulting DefaultJedisSocketFactory to enable hostname verification (SSLParameters endpoint identification HTTPS) when no custom parameters are provided, and expands TLS integration tests/endpoints to validate failure on wrong-host certificates and the ability to disable verification via custom SSLParameters.

Reviewed by Cursor Bugbot for commit ffb1917. Bugbot is set up for automated code reviews on this repo. Configure here.

@jit-ci

jit-ci Bot commented May 8, 2026

Copy link
Copy Markdown

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

@uglide uglide changed the base branch from master to 7.5.x May 8, 2026 10:38
@uglide uglide requested a review from ggivo May 8, 2026 10:39
@uglide uglide merged commit 9673859 into 7.5.x May 20, 2026
2 checks passed
@uglide uglide deleted the im/backport-deprecations-for-co-refactoring branch May 20, 2026 09:14
mergify Bot added a commit to ArcadeData/arcadedb that referenced this pull request May 31, 2026
Bumps [redis.clients:jedis](https://github.com/redis/jedis) from 7.5.0 to 7.5.2.
Release notes

*Sourced from [redis.clients:jedis's releases](https://github.com/redis/jedis/releases).*

> 7.5.2
> -----
>
> This is a maintenance release focused on improving the stability of the [**Automatic Failover** feature](https://redis.github.io/jedis/failover/) (`MultiDbClient`). Recommended for any deployment using `MultiDbClient` / multi-database failover.
>
> 🐛 Bug Fixes
> -----------
>
> * Fixes a connection pool leak in experimental multi-database failover when ping() fails during acquisition. [redis/jedis#4546](https://redirect.github.com/redis/jedis/pull/4546)
>
> 🧰 Maintenance
> -------------
>
> * CommandObjects refactoring Part 4: Backport deprecations to 7.5.x by [`@​uglide`](https://github.com/uglide) in [redis/jedis#4517](https://redirect.github.com/redis/jedis/pull/4517)


Commits

* [`e5c1e55`](redis/jedis@e5c1e55) Use validated flag to close connection
* [`9ccfe9f`](redis/jedis@9ccfe9f) Fix connection leak in MultiDbConnectionSupplier
* [`9673859`](redis/jedis@9673859) CommandObjects refactoring Part 4: Backport deprecations to 7.5.x ([#4517](https://redirect.github.com/redis/jedis/issues/4517))
* See full diff in [compare view](redis/jedis@v7.5.0...v7.5.2)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=redis.clients:jedis&package-manager=maven&previous-version=7.5.0&new-version=7.5.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants