sksamuel / cohort

Ktor/Vertx spring-actuator style library - healthchecks, logging, database
Apache License 2.0
121 stars 6 forks source link

Update dependency redis.clients:jedis to v5 #76

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

redis/jedis (redis.clients:jedis) ### [`v5.1.4`](https://togithub.com/redis/jedis/releases/tag/v5.1.4): 5.1.4 [Compare Source](https://togithub.com/redis/jedis/compare/v5.1.3...v5.1.4) ### Changes #### ๐Ÿ”ฅ Breaking Changes - Address change in JSON.GET command without path ([#​3858](https://togithub.com/redis/jedis/issues/3858)) - Modify and fail-fast GeoSearchParam ([#​3827](https://togithub.com/redis/jedis/issues/3827)) #### ๐Ÿš€ New Features - Support Hash field expiration ([#​3826](https://togithub.com/redis/jedis/issues/3826)) - Support issuing Latency commands ([#​3729](https://togithub.com/redis/jedis/issues/3729)) - Add support for the NOVALUES option of HSCAN command ([#​3741](https://togithub.com/redis/jedis/issues/3741), [#​3746](https://togithub.com/redis/jedis/issues/3746)) - Add support for CLIENT TRACKINGINFO command ([#​3751](https://togithub.com/redis/jedis/issues/3751)) - Support IGNORE and other optional arguments for timeseries commands ([#​3860](https://togithub.com/redis/jedis/issues/3860), [#​3863](https://togithub.com/redis/jedis/issues/3863)) - Add last entry id for XREADs and support XREADs reply as map ([#​3791](https://togithub.com/redis/jedis/issues/3791)) - Support the MAXAGE option for CLIENT KILL ([#​3754](https://togithub.com/redis/jedis/issues/3754)) - Support ADDSCORES argument in FT.AGGREGATE ([#​3908](https://togithub.com/redis/jedis/issues/3908)) - Support \[S]PUBLISH in pipelines and transactions ([#​3859](https://togithub.com/redis/jedis/issues/3859)) #### ๐Ÿ› Bug Fixes - Ensure closing connection in Pipeline ([#​3865](https://togithub.com/redis/jedis/issues/3865)) - Address change in JSON.GET command without path ([#​3858](https://togithub.com/redis/jedis/issues/3858)) #### ๐Ÿงฐ Maintenance - Add methods in CommandArguments and RawableFactory ([#​3834](https://togithub.com/redis/jedis/issues/3834)) - Modify and fail-fast GeoSearchParam ([#​3827](https://togithub.com/redis/jedis/issues/3827)) #### Contributors We'd like to thank all the contributors who worked on this release! [@​sazzad16](https://togithub.com/sazzad16), [@​cemasma](https://togithub.com/cemasma), [@​Lcarrot](https://togithub.com/Lcarrot), [@​gerzse](https://togithub.com/gerzse) and [@​uglide](https://togithub.com/uglide) ### [`v5.1.3`](https://togithub.com/redis/jedis/releases/tag/v5.1.3): 5.1.3 ### Changes #### ๐Ÿš€ New Features - Custom connection pool to MultiClusterPooledConnectionProvider ([#​3801](https://togithub.com/redis/jedis/issues/3801)) #### ๐Ÿ› Bug Fixes - Consider null values in empty StreamPendingSummary ([#​3793](https://togithub.com/redis/jedis/issues/3793)) - Fix UnifiedJedis pexpireAt glitch ([#​3782](https://togithub.com/redis/jedis/issues/3782)) - Use expiryOption in PipelineBase.expireAt ([#​3777](https://togithub.com/redis/jedis/issues/3777)) #### ๐Ÿงฐ Maintenance - Add TS.INFO \[DEGUB] and CF.MEXISTS in pipelined commands ([#​3787](https://togithub.com/redis/jedis/issues/3787)) - Fix typo in SetPipelineCommands method name ([#​3773](https://togithub.com/redis/jedis/issues/3773)) - Bump jackson.version from 2.16.1 to 2.16.2 ([#​3762](https://togithub.com/redis/jedis/issues/3762)) #### Contributors We'd like to thank all the contributors who worked on this release! [@​gerzse](https://togithub.com/gerzse), [@​sazzad16](https://togithub.com/sazzad16), [@​thachlp](https://togithub.com/thachlp) and [@​jarkus4](https://togithub.com/jarkus4) ### [`v5.1.2`](https://togithub.com/redis/jedis/releases/tag/v5.1.2): 5.1.2 [Compare Source](https://togithub.com/redis/jedis/compare/v5.1.1...v5.1.2) ### Changes #### ๐Ÿ› Bug Fixes - Stop connection fetching before sync/exec in multi cluster failover mode ([#​3756](https://togithub.com/redis/jedis/issues/3756)) ### [`v5.1.1`](https://togithub.com/redis/jedis/releases/tag/v5.1.1): 5.1.1 [Compare Source](https://togithub.com/redis/jedis/compare/v5.1.0...v5.1.1) ### Changes #### ๐Ÿ› Bug Fixes - Avoid NPE in MultiNodePipelineBase.java ([#​3697](https://togithub.com/redis/jedis/issues/3697)) - Fix probable missing (RESP3) protocol processing ([#​3692](https://togithub.com/redis/jedis/issues/3692)) - Use circuit breaker fallback exception list ([#​3664](https://togithub.com/redis/jedis/issues/3664)) #### ๐Ÿงฐ Maintenance - Access Reducer attributes ([#​3637](https://togithub.com/redis/jedis/issues/3637)) - Replace deprecated set-output command with environment file ([#​3622](https://togithub.com/redis/jedis/issues/3622)) - Bump jackson.version from 2.16.0 to 2.16.1 ([#​3666](https://togithub.com/redis/jedis/issues/3666)) - Bump jackson databind and jsr310 to 2.16.0 ([#​3655](https://togithub.com/redis/jedis/issues/3655)) - Bump com.kohlschutter.junixsocket:junixsocket-core from 2.8.1 to 2.8.3 ([#​3647](https://togithub.com/redis/jedis/issues/3647)) #### Contributors We'd like to thank all the contributors who worked on this release! [@​dependabot](https://togithub.com/dependabot), [@​dependabot](https://togithub.com/dependabot)\[bot], [@​jongwooo](https://togithub.com/jongwooo), [@​sazzad16](https://togithub.com/sazzad16) and [@​stillerrr](https://togithub.com/stillerrr) ### [`v5.1.0`](https://togithub.com/redis/jedis/releases/tag/v5.1.0): 5.1.0 [Compare Source](https://togithub.com/redis/jedis/compare/v5.0.2...v5.1.0) ### Changes #### ๐Ÿ”ฅ Breaking Changes - Adding Pipeline & Transaction with failover to multi cluster ([#​3602](https://togithub.com/redis/jedis/issues/3602)) - Move JedisMetaInfo into parent package and made private ([#​3590](https://togithub.com/redis/jedis/issues/3590)) - Encode map in encoded object ([#​3555](https://togithub.com/redis/jedis/issues/3555)) #### ๐Ÿงช Experimental Features - Pipeline & Transaction with failover to multi cluster ([#​3602](https://togithub.com/redis/jedis/issues/3602)) - Support GEOSHAPE field type in RediSearch ([#​3561](https://togithub.com/redis/jedis/issues/3561)) - Re-add FT.DROPINDEX and FT.ALTER in pipeline ([#​3549](https://togithub.com/redis/jedis/issues/3549)) #### ๐Ÿš€ New Features - Add CLUSTER SHARDS command support ([#​2984](https://togithub.com/redis/jedis/issues/2984)) ([#​3598](https://togithub.com/redis/jedis/issues/3598)) - Added HSET variants to ease complex objects ([#​3605](https://togithub.com/redis/jedis/issues/3605)) - Introducing periodic topology mechanism for JedisCluster ([#​3596](https://togithub.com/redis/jedis/issues/3596)) - Support RESET command ([#​3015](https://togithub.com/redis/jedis/issues/3015)) - Broadcast FUNCTION LOAD command methods ([#​3557](https://togithub.com/redis/jedis/issues/3557)) - Feature: Triggers and functions commands ([#​3531](https://togithub.com/redis/jedis/issues/3531)) - Escape utils for RediSearch queries ([#​3544](https://togithub.com/redis/jedis/issues/3544)) - Address further CLIENT SETINFO suffix rules ([#​3536](https://togithub.com/redis/jedis/issues/3536)) - Extend CLIENT SETINFO support ([#​3509](https://togithub.com/redis/jedis/issues/3509)) #### ๐Ÿ› Bug Fixes - Direct FT.CREATE to proper node in LIGHT search mode ([#​3593](https://togithub.com/redis/jedis/issues/3593)) - Fix binary variants of XRANGE and XREAD commands ([#​3571](https://togithub.com/redis/jedis/issues/3571)) #### ๐Ÿงฐ Maintenance - Use simple version of HSET ([#​3587](https://togithub.com/redis/jedis/issues/3587)) - Linking to Redis learning resources ([#​3583](https://togithub.com/redis/jedis/issues/3583)) - Added support for releasing minor version snapshots ([#​3578](https://togithub.com/redis/jedis/issues/3578)) - Allow getting schema field name ([#​3576](https://togithub.com/redis/jedis/issues/3576)) - Encoded map in encoded object ([#​3555](https://togithub.com/redis/jedis/issues/3555)) - Improved Triggers and functions tests ([#​3554](https://togithub.com/redis/jedis/issues/3554)) - Different variable names for json v1 and v2 interfaces ([#​3553](https://togithub.com/redis/jedis/issues/3553)) - Fixed Search/Gears test regression ([#​3552](https://togithub.com/redis/jedis/issues/3552)) - Improved Triggers and functions commands ([#​3551](https://togithub.com/redis/jedis/issues/3551)) - Added JavaDoc for GeoRadiusResponse ([#​3542](https://togithub.com/redis/jedis/issues/3542)) - Disabling doctests on tag ([#​3524](https://togithub.com/redis/jedis/issues/3524)) - Move pom.properties file into redis.clients.jedis package ([#​3589](https://togithub.com/redis/jedis/issues/3589)) - Bump org.json:json from [`2023061`](https://togithub.com/redis/jedis/commit/20230618) to [`2023101`](https://togithub.com/redis/jedis/commit/20231013) ([#​3586](https://togithub.com/redis/jedis/issues/3586)) - Bump org.apache.commons:commons-pool2 from 2.11.1 to 2.12.0 ([#​3565](https://togithub.com/redis/jedis/issues/3565)) - Bump junixsocket-core to 2.8.1 ([#​3573](https://togithub.com/redis/jedis/issues/3573)) - Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.0 ([#​3539](https://togithub.com/redis/jedis/issues/3539)) - Bump mockito-inline from 3.12.4 to 4.11.0 ([#​3232](https://togithub.com/redis/jedis/issues/3232)) - Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.1 to 3.2.2 ([#​3611](https://togithub.com/redis/jedis/issues/3611)) - Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.0 to 3.6.2 ([#​3612](https://togithub.com/redis/jedis/issues/3612)) - Bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.2 to 3.2.1 ([#​3600](https://togithub.com/redis/jedis/issues/3600)) #### Contributors We'd like to thank all the contributors who worked on this release! [@​bsbodden](https://togithub.com/bsbodden), [@​chayim](https://togithub.com/chayim), [@​dependabot](https://togithub.com/dependabot), [@​dependabot](https://togithub.com/dependabot)\[bot], [@​ihaohong](https://togithub.com/ihaohong), [@​sazzad16](https://togithub.com/sazzad16), [@​wormogig](https://togithub.com/wormogig) and [@​yangbodong22011](https://togithub.com/yangbodong22011) ### [`v5.0.2`](https://togithub.com/redis/jedis/releases/tag/v5.0.2): 5.0.2 [Compare Source](https://togithub.com/redis/jedis/compare/v5.0.1...v5.0.2) ### Changes #### ๐Ÿ› Bug Fixes - Fix SORTABLE argument when creating a Search index using FT.CREATE ([#​3584](https://togithub.com/redis/jedis/issues/3584)) - Fix binary variants of XRANGE and XREAD commands ([#​3571](https://togithub.com/redis/jedis/issues/3571)) #### ๐Ÿš€ New Features - Added broadcast support for FUNCTION LOAD methods ([#​3557](https://togithub.com/redis/jedis/issues/3557)) - Support GEOSHAPE field type in RediSearch ([#​3561](https://togithub.com/redis/jedis/issues/3561)) #### ๐Ÿงฐ Maintenance - Bump org.json:json from [`2023061`](https://togithub.com/redis/jedis/commit/20230618) to [`2023101`](https://togithub.com/redis/jedis/commit/20231013) ([#​3586](https://togithub.com/redis/jedis/issues/3586)) - Move pom.properties file into redis.clients.jedis package ([#​3589](https://togithub.com/redis/jedis/issues/3589)) - Warning about JedisMetaInfo movement ([#​3591](https://togithub.com/redis/jedis/issues/3591)) - Allow getting schema field name ([#​3576](https://togithub.com/redis/jedis/issues/3576)) ### [`v5.0.1`](https://togithub.com/redis/jedis/releases/tag/v5.0.1): 5.0.1 [Compare Source](https://togithub.com/redis/jedis/compare/v5.0.0...v5.0.1) ### Changes #### ๐Ÿ”ฅ Breaking Changes - Encode map in encoded object ([#​3555](https://togithub.com/redis/jedis/issues/3555)) - In the 5.0.0 release, the encoded/String variants of scripting methods return `List>` for a map reply - those now return `Map<>`. #### ๐Ÿš€ New Features - Extend CLIENT SETINFO support with added suffix rules ([#​3509](https://togithub.com/redis/jedis/issues/3509), [#​3536](https://togithub.com/redis/jedis/issues/3536)) - Added quote escaping helper functions for search queries ([#​3544](https://togithub.com/redis/jedis/issues/3544)) #### ๐Ÿงฐ Maintenance - Re-enabled FT.DROPINDEX and FT.ALTER in pipeline ([#​3549](https://togithub.com/redis/jedis/issues/3549)) - Added JavaDoc for GeoRadiusResponse ([#​3542](https://togithub.com/redis/jedis/issues/3542)) #### Contributors We'd like to thank all the contributors who worked on this release! [@​sazzad16](https://togithub.com/sazzad16) ### [`v5.0.0`](https://togithub.com/redis/jedis/releases/tag/v5.0.0): 5.0.0 [Compare Source](https://togithub.com/redis/jedis/compare/v4.4.8...v5.0.0) ### 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](https://togithub.com/redis/jedis/blob/master/docs/failover.md). #### Full [Redis 7.2](https://redis.com/blog/introducing-redis-7-2/) and [RESP3](https://togithub.com/redis/redis-specifications/blob/master/protocol/RESP3.md) Support Examples to enable RESP3 are included later in this release note. *** ### Changes #### ๐Ÿ”ฅ Breaking Changes ([Listed here](https://togithub.com/redis/jedis/blob/master/docs/breaking-5.md)) #### ๐Ÿš€ New Features - Support RESP3 ([#​3293](https://togithub.com/redis/jedis/issues/3293), [#​3387](https://togithub.com/redis/jedis/issues/3387), [#​3388](https://togithub.com/redis/jedis/issues/3388), [#​3389](https://togithub.com/redis/jedis/issues/3389), [#​3403](https://togithub.com/redis/jedis/issues/3403), [#​3507](https://togithub.com/redis/jedis/issues/3507)) - Support Sharded PubSub ([#​3396](https://togithub.com/redis/jedis/issues/3396)) - Introduce PipelineBase for Pipeline and multi node pipeline classes ([#​3437](https://togithub.com/redis/jedis/issues/3437), [#​3442](https://togithub.com/redis/jedis/issues/3442)) - 'double' timeout parameter for BLMPOP and BZMPOP commands ([#​3444](https://togithub.com/redis/jedis/issues/3444)) #### ๐Ÿงช Experimental Features - Cross cluster failover ([#​3310](https://togithub.com/redis/jedis/issues/3310)) - Allow setting default dialect for RediSearch module ([#​3452](https://togithub.com/redis/jedis/issues/3452)) - Support JSON.MERGE command ([#​3429](https://togithub.com/redis/jedis/issues/3429)) - Support TOPK.LIST with WITHCOUNT option ([#​3495](https://togithub.com/redis/jedis/issues/3495)) #### ๐Ÿ› Bug Fixes - Fix return value of HRANDFIELD with values when count is negative ([#​3425](https://togithub.com/redis/jedis/issues/3425), [#​3430](https://togithub.com/redis/jedis/issues/3430)) - Return List instead of Set in ZDIFF, ZINTER, ZUNION commands ([#​3431](https://togithub.com/redis/jedis/issues/3431)) #### ๐Ÿงฐ Maintenance - Deprecate RedisJSON v1 support ([#​3503](https://togithub.com/redis/jedis/issues/3503)) - Deprecate RedisGraph support ([#​3504](https://togithub.com/redis/jedis/issues/3504)) - Deprecate Sharding/Sharded feature ([#​3386](https://togithub.com/redis/jedis/issues/3386)) - Bump org-json:json from [`2023022`](https://togithub.com/redis/jedis/commit/20230227) to [`2023061`](https://togithub.com/redis/jedis/commit/20230618) ([#​3472](https://togithub.com/redis/jedis/issues/3472)) *** #### RESP3 Examples This release introduces enabling RESP3 Redis connection, when the Redis server supports it. 1. Enable RESP3 to a UnifiedJedis object: ```java 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"); } } ``` 2. Enable RESP3 to a Jedis object: ```java 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"); } } ``` ### [`v4.4.8`](https://togithub.com/redis/jedis/releases/tag/v4.4.8): 4.4.8 [Compare Source](https://togithub.com/redis/jedis/compare/v4.4.7...v4.4.8) ### Changes #### ๐Ÿ› Bug Fixes - Fix ZREVRANGE versions with max/min swapped in MultiNodePipelineBase ([#​3784](https://togithub.com/redis/jedis/issues/3784)) - Use expiryOption in PipelineBase.expireAt ([#​3777](https://togithub.com/redis/jedis/issues/3777)) - Fix UnifiedJedis pexpireAt glitch ([#​3782](https://togithub.com/redis/jedis/issues/3782)) - Consider null values in empty StreamPendingSummary ([#​3793](https://togithub.com/redis/jedis/issues/3793)) #### Contributors We'd like to thank all the contributors who worked on this release! [@​sazzad16](https://togithub.com/sazzad16) and [@​keeferrourke](https://togithub.com/keeferrourke) ### [`v4.4.7`](https://togithub.com/redis/jedis/releases/tag/v4.4.7): 4.4.7 [Compare Source](https://togithub.com/redis/jedis/compare/v4.4.6...v4.4.7) ### Changes #### ๐Ÿš€ New Features - Added HSET variants to ease complex objects ([#​3605](https://togithub.com/redis/jedis/issues/3605)) #### ๐Ÿ› Bug Fixes - Avoid NPE in MultiNodePipelineBase.java ([#​3697](https://togithub.com/redis/jedis/issues/3697)) - Direct FT.CREATE to proper node in LIGHT search mode ([#​3593](https://togithub.com/redis/jedis/issues/3593)) #### ๐Ÿงฐ Maintenance - Use simple version of HSET ([#​3587](https://togithub.com/redis/jedis/issues/3587)) - Deprecate RediSearchUtil#ToByteArray #### Contributors We'd like to thank all the contributors who worked on this release! [@​sazzad16](https://togithub.com/sazzad16) and [@​stillerrr](https://togithub.com/stillerrr) ### [`v4.4.6`](https://togithub.com/redis/jedis/releases/tag/v4.4.6): 4.4.6 [Compare Source](https://togithub.com/redis/jedis/compare/v4.4.5...v4.4.6) ### Changes #### ๐Ÿ› Bug Fixes - Fix SORTABLE argument when creating a Search index using FT.CREATE ([#​3584](https://togithub.com/redis/jedis/issues/3584)) - Fix binary variants of XRANGE and XREAD commands ([#​3571](https://togithub.com/redis/jedis/issues/3571)) #### ๐Ÿš€ New Features - Added broadcast support for FUNCTION LOAD methods ([#​3557](https://togithub.com/redis/jedis/issues/3557)) - Support GEOSHAPE field type in RediSearch ([#​3561](https://togithub.com/redis/jedis/issues/3561)) - Support TOPK.LIST with WITHCOUNT option ([#​3495](https://togithub.com/redis/jedis/issues/3495)) #### ๐Ÿงฐ Maintenance - Bump org.json:json from [`2023022`](https://togithub.com/redis/jedis/commit/20230227) to [`2023101`](https://togithub.com/redis/jedis/commit/20231013) ([#​3472](https://togithub.com/redis/jedis/issues/3472), [#​3586](https://togithub.com/redis/jedis/issues/3586)) - Move pom.properties file into redis.clients.jedis package ([#​3589](https://togithub.com/redis/jedis/issues/3589)) - Warning about JedisMetaInfo movement ([#​3591](https://togithub.com/redis/jedis/issues/3591)) - Allow getting schema field name ([#​3576](https://togithub.com/redis/jedis/issues/3576)) ### [`v4.4.5`](https://togithub.com/redis/jedis/releases/tag/v4.4.5): 4.4.5 [Compare Source](https://togithub.com/redis/jedis/compare/v4.4.4...v4.4.5) ### Changes #### ๐Ÿš€ New Features - Extend CLIENT SETINFO support with added suffix rules ([#​3509](https://togithub.com/redis/jedis/issues/3509), [#​3536](https://togithub.com/redis/jedis/issues/3536)) - Added quote escaping helper functions for search queries ([#​3544](https://togithub.com/redis/jedis/issues/3544)) #### ๐Ÿงฐ Maintenance - Added JavaDoc for GeoRadiusResponse ([#​3542](https://togithub.com/redis/jedis/issues/3542)) #### Contributors We'd like to thank all the contributors who worked on this release! [@​sazzad16](https://togithub.com/sazzad16)

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.



This PR was generated by Mend Renovate. View the repository job log.