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 dependency redis.clients:jedis to v5 #124

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 5, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
redis.clients:jedis 4.4.6 -> 5.0.2 age adoption passing confidence

Release Notes

redis/jedis (redis.clients:jedis)

v5.0.2: 5.0.2

Compare Source

Changes

🐛 Bug Fixes

  • Fix SORTABLE argument when creating a Search index using FT.CREATE (#​3584)
  • Fix binary variants of XRANGE and XREAD commands (#​3571)

🚀 New Features

  • Added broadcast support for FUNCTION LOAD methods (#​3557)
  • Support GEOSHAPE field type in RediSearch (#​3561)

🧰 Maintenance

v5.0.1: 5.0.1

Compare Source

Changes

🔥 Breaking Changes

  • Encode map in encoded object (#​3555)
    • In the 5.0.0 release, the encoded/String variants of scripting methods return List<KeyValue<>> for a map reply - those now return Map<>.

🚀 New Features

  • Extend CLIENT SETINFO support with added suffix rules (#​3509, #​3536)
  • Added quote escaping helper functions for search queries (#​3544)

🧰 Maintenance

  • Re-enabled FT.DROPINDEX and FT.ALTER in pipeline (#​3549)
  • Added JavaDoc for GeoRadiusResponse (#​3542)

Contributors

We'd like to thank all the contributors who worked on this release!

@​sazzad16

v5.0.0: 5.0.0

Compare Source

What's New?

Automatic Cross-Cluster Failover

We're happy to introduce the Cross-Cluster Failover feature in Jedis. This feature provides high availability and resilience by allowing seamless transitions between Redis clusters during unforeseen failures or downtimes. It's a built-in tool to minimize manual intervention and downtime and ensure a more resilient application infrastructure.
Learn more about how you can automate the failover process in our documentation.

Full Redis 7.2 and RESP3 Support

Examples to enable RESP3 are included later in this release note.


Changes

🔥 Breaking Changes (Listed here)

🚀 New Features

🧪 Experimental Features

  • Cross cluster failover (#​3310)
  • Allow setting default dialect for RediSearch module (#​3452)
  • Support JSON.MERGE command (#​3429)
  • Support TOPK.LIST with WITHCOUNT option (#​3495)

🐛 Bug Fixes

  • Fix return value of HRANDFIELD with values when count is negative (#​3425, #​3430)
  • Return List instead of Set in ZDIFF, ZINTER, ZUNION commands (#​3431)

🧰 Maintenance


RESP3 Examples

This release introduces enabling RESP3 Redis connection, when the Redis server supports it.

  1. Enable RESP3 to a UnifiedJedis object:
import redis.clients.jedis.DefaultJedisClientConfig;
import redis.clients.jedis.HostAndPort;
import redis.clients.jedis.UnifiedJedis;

class DoResp3 {
    public static void main() {
        HostAndPort hnp = HostAndPort.from("localhost:6379");
        UnifiedJedis c =  UnifiedJedis(hnp, DefaultJedisClientConfig.builder().resp3().build());
        c.set("foo", "value!");
        c.get("foo");
    }
}
  1. Enable RESP3 to a Jedis object:
import redis.clients.jedis.DefaultJedisClientConfig;
import redis.clients.jedis.HostAndPort;
import redis.clients.jedis.Jedis;

class DoResp3 {
    public static void main() {
        HostAndPort hnp = HostAndPort.from("localhost:6379");
        Jedis c =  Jedis(hnp, DefaultJedisClientConfig.builder().resp3().build());
        c.set("foo", "value!");
        c.get("foo");
    }
}

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/redis.clients-jedis-5.x branch 2 times, most recently from 2ee6e48 to ce9fa0b Compare October 25, 2023 21:32
@renovate renovate bot changed the base branch from 3.1.x to 4.0.x October 26, 2023 07:53
@renovate renovate bot force-pushed the renovate/redis.clients-jedis-5.x branch from ce9fa0b to 885c070 Compare October 26, 2023 07:53
@puneetbehl puneetbehl merged commit 49dbe24 into 4.0.x Oct 26, 2023
1 check passed
@renovate renovate bot deleted the renovate/redis.clients-jedis-5.x branch October 26, 2023 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant