Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update dependency redis.clients:jedis to v6#150

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
renovate wants to merge1 commit intodev
base:dev
Choose a base branch
Loading
fromrenovate/major-redis.clients.jedis

Conversation

renovate[bot]
Copy link
Contributor

@renovaterenovatebot commentedJun 5, 2024
edited
Loading

This PR contains the following updates:

PackageChangeAgeAdoptionPassingConfidence
redis.clients:jedis4.4.8 ->6.0.0ageadoptionpassingconfidence

Release Notes

redis/jedis (redis.clients:jedis)

v6.0.0: 6.0.0

Redis 8.0 support

Starting from version 8.0, Redis supports new data structures and capabilities such as JSON, Search & Query, and TimeSeries by default. This release improves Jedis compatibility with Redis 8.0.

Upgrading from previous releases
Search

This release introduces a client-side default dialect for Redis’ search and query capabilities. By default, the client now overrides the server-side dialect with version 2, automatically appendingDIALECT 2 to commands likeFT.AGGREGATE andFT.SEARCH.

Important: Be aware that the query dialect may impact the results returned. If needed, you can revert to a different dialect version by configuring the client accordingly.

UnifiedJedisjedis =newUnifiedJedis("redis://localhost:6379");jedis.setDefaultSearchDialect(1);// DIALECT 1

You can find further details in thequery dialect documentation.

Discontinued features

This release alsoremoves support for bothRedisGraph andTriggers & Functions(aka RedisGears v2).

🔥 Breaking Changes

  • Make default client side search dialect to 2 (#​4060)
  • Remove Graph module support (#​4073)
  • Change FT.PROFILE to return generic object (#​4067)
  • Remove Triggers and Functions feature (#​3969)
  • COMMAND INFO reply contains subcommand detail (#​4022)

🧪 Experimental Features

  • Support warning messages in search/aggregation query results (#​3958)
  • Add SslOptions (#​3980)

🚀 New Features

  • Add tests for vector search INT8/UINT8 types (#​4091)
  • Support for new HFE API, hgetdel hgetex hsetex commands (#​4095)
  • Propagate cause for "Cluster retry deadline exceeded" exception (#​4103)
  • Support INFO command in UnifiedJedis (simplified) (#​4079)
  • [code cleanup] Jedis client to implement CommandCommands interface (#​4077)
  • Extend EXECABORT with "previous errors"#​4084 (#​4090)
  • Add SslOptions (#​3980)
  • Token based authentication integration with core extension (#​4011)
  • Implement command (no arg) (#​4026)

🐛 Bug Fixes

  • Fix for bug#​4003. Better message instead of ArrayIndexOutOfBoundsExce (#​4109)
  • Fix pubsub when cache enabled (#​4086)
  • Bump org.apache.commons:commons-pool2 from 2.12.0 to 2.12.1 (#​4080)
  • COMMAND INFO reply contains subcommand detail (#​4022)

🧰 Maintenance

  • Bump test infra to 8.0-RC2 (#​4155)
  • DOC-5110 added hash search examples (#​4151)
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.2 to 3.5.3 (#​4136)
  • Bump org.jacoco:jacoco-maven-plugin from 0.8.12 to 0.8.13 (#​4137)
  • Speed up cluster tests (#​4150)
  • Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.4.2 to 5.4.4 (#​4153)
  • Fix for connectionAuthWithExpiredTokenTest (#​4142)
  • Migrate test to JUnit5 (#​4139)
  • Document pgp keys (#​4125)
  • Bump jackson.version from 2.18.2 to 2.18.3 (#​4106)
  • Add tests for setGet with Parameters (#​4127)
  • Fix failing network partition test (#​4118)
  • Test support for DefaultAzureCredential (#​4113)
  • Update redis server test versions (#​4114)
  • Update stale issue workflow (#​4101)
  • Bump net.revelc.code.formatter:formatter-maven-plugin from 2.11.0 to 2.16.0 (#​4098)
  • Basic documention for TBA support with some examples (#​4102)
  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.13.0 to 3.14.0 (#​4097)
  • Bump org.awaitility:awaitility from 4.2.2 to 4.3.0 (#​4099)
  • Enforce code style format (#​4087)
  • Update redisjson.md (#​4083)
  • Bump org.json:json from2024030 to2025010 (#​4049)
  • Bump com.google.code.gson:gson from 2.11.0 to 2.12.1 (#​4082)
  • Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.4.1 to 5.4.2 (#​4081)
  • Bump org.apache.commons:commons-pool2 from 2.12.0 to 2.12.1 (#​4080)
  • Fix the Java example code for Lists using RPUSH (#​4074)
  • Use v4 of few GitHub actions workflow artifacts (#​4075)
  • Change FT.PROFILE to return generic object (#​4067)
  • Remove SearchConfigTest (#​4072)
  • Test modules CONFIG support (#​4043)
  • Test modules ACL support (#​4042)
  • Test with 8.0-M04-pre (#​4069)
  • Fix TBA cluster integration tests (#​4068)
  • DOC-4445 server management command examples (#​4056)
  • Update actions/checkout, actions/setup-java and codecov/codecov-action (#​4066)
  • DOC-4732 added geo index examples (#​4059)
  • DOC-4440 added auth command examples using Jedis class (#​4058)
  • Revert failing GitHub artifacts for Publish Docs (#​4065)
  • Use v3 of GitHub deploy-pages for Publish Docs (#​4064)
  • Use v3 of GitHub upload-pages-artifact for Publish Docs (#​4063)
  • Upgrade GitHub Python artifact for Publish Docs (#​4062)
  • Use v4 of upload artifact (#​4061)
  • DOC-4475 examples for llen, lpop, lpush, lrange, rpop, and rpush (#​4054)
  • DOC-4495 sadd and smembers examples (#​4052)
  • Fix sporadic test failing with OOM (#​4053)
  • Introduces test matrix based on Redis versions [8.0-M1, 7.4.1, 7.2.6, 6.2.16] (#​4015)
  • Remove List tests asserting timeouts (#​4051)
  • DOC-4450 added hgetall and hvals command examples (#​4050)
  • Minor fix with Token-Based-Authentication integration tests (#​4044)
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.1 to 3.11.2 (#​4039)
  • DOC-4560 pipe/transaction examples for docs (#​4038)
  • Bump jackson.version from 2.18.1 to 2.18.2 (#​4034)
  • Make reply of COMMAND INFO compatible with older Redis versions (#​4031)
  • Make reply of ACL LOG compatible with older Redis versions (#​4030)
  • Add examples and tutorials page (#​4024)
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.1 to 3.11.1 (#​4007)
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.1 to 3.5.2 (#​4008)
  • DOC-4345 added JSON search examples for home page (#​4010)
  • Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.4 to 5.4.1 (#​4009)
  • Bump jackson.version from 2.18.0 to 2.18.1 (#​4006)
  • Mkdocs unify docs (#​3999)
  • Update links in README (#​3974)
  • Codecove has released beta version of Test Analytics feature (#​3996)
  • Fix flaky tests with 'await' (#​3972)
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.0 to 3.10.1 (#​3994)
  • Add javadoc to clear up implicit behavior (#​3991)
  • Fix JavaDoc warnings (#​3990)
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.0 to 3.5.1 (#​3989)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.6 to 3.2.7 (#​3976)
  • Bump com.kohlschutter.junixsocket:junixsocket-core from 2.10.0 to 2.10.1 (#​3978)
  • Bump jackson.version from 2.17.2 to 2.18.0 (#​3977)
  • DOC-4317 fixed flaky tests (#​3984)
  • Jedis 5.2.0 is released; bump snapshot version to 5.3.0 (#​3975)

Contributors

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

@​andy-stark-redis,@​atakavci,@​ggivo,@​joshrotenberg,@​ozennou,@​sanaulla123,@​sazzad16,@​smadasu,@​thachlp,@​tishun and@​uglide

v5.2.0: 5.2.0 GA

Compare Source

Enhanced Client-side caching

We are happy to announce that improvedserver-assisted, client-side caching is now generally available! Special thanks to all our beta testers for their valuable feedback, which helped us refine and improve the initial implementation.

Client-side caching is supported exclusively with the RESP3 protocol with Redis >= 7.4 and is available in UnifiedJedis, JedisPooled, and JedisCluster and other classes.

How to try Client-Side Caching
  1. Install Jedis5.2.0
  2. Use the following code example to get started:
publicclassCSCExampleTest {publicstaticvoidmain() {HostAndPortnode =HostAndPort.from("localhost:6379");JedisClientConfigclientConfig =DefaultJedisClientConfig.builder()        .resp3()// RESP3 protocol is required for client-side caching//.user("myuser")       // Redis server username (optional)//.password("mypass")   // Redis user's password (optional)        .build();CacheConfigcacheConfig =getCacheConfig();Cachecache =CacheFactory.getCache(cacheConfig);try (UnifiedJedisclient =newUnifiedJedis(node,clientConfig,cache)) {client.set("foo","bar");client.get("foo");client.get("foo");// Cache hitSystem.out.println("Cache size: " +cache.getSize());// 1System.out.println(cache.getStats().toString());//Let's change the value of "foo" to invalidate the value stored in the local cacheclient.mset("foo","new_value","ignore_me:1","another_value");Thread.sleep(1000);// wait for the cache invalidation to happenSystem.out.println(client.get("foo"));// Cache missSystem.out.println(cache.getStats().toString());client.get("ignore_me:1");// Client will ignore this keySystem.out.println("Cache size: " +cache.getSize());// still 1// check the cache statsSystem.out.println(cache.getStats().toString());    }catch (InterruptedExceptione) {thrownewRuntimeException(e);    }  }privatestaticCacheConfiggetCacheConfig() {// This is a simple cacheable implementation that ignores keys starting with "ignore_me"Cacheablecacheable =newDefaultCacheable() {finalStringIGNORE_PREFIX ="ignore_me";@&#8203;OverridepublicbooleanisCacheable(ProtocolCommandcommand,List<Object>keys) {// assuming we'll only execute methods with string keysList<String>stringKeys =keys.stream()            .filter(obj ->objinstanceofString)            .map(obj -> (String)obj)            .collect(Collectors.toList());for (Stringkey :stringKeys) {if (key.startsWith(IGNORE_PREFIX)) {returnfalse;          }        }returnisDefaultCacheableCommand(command);      }    };// Create a cache with a maximum size of 10000 entriesreturnCacheConfig.builder()        .maxSize(10000)        .cacheable(cacheable)        .build();  }}

It is possible to limit or ignore commands or keys for client-side caching. ThegetCacheConfig method presented above provides an example of how to achieve that.

🔥 Breaking Changes
  • JedisConnectionException contains HostAndPort from DefaultJedisSocketFactory (#​3896)
  • Address change in JSON.GET command without path (#​3858)
  • Modify and fail-fast GeoSearchParam (#​3827)
  • Support transaction from UnifiedJedis without calling multi first (#​3804)
  • Reduce the log level of validateObject to WARN (#​3750)
🧪 Experimental Features
  • Support automatic namespacing (#​3781)
  • Added support for ADDSCORES argument in FT.AGGREGATE (#​3908)
  • Support IGNORE and other optional arguments for timeseries commands (#​3860)
🚀 New Features
  • Support Hash field expiration (#​3826)
  • Add equals and hashCode to Timeseries Params classes (#​3959)
  • Decoding FT.SEARCH reply can be disabled at field level (#​3926)
  • Get enriched Connection information (#​3745)
  • Support execute the read-only command on replica nodes (#​3848)
  • JedisConnectionException contains HostAndPort from DefaultJedisSocketFactory (#​3896)
  • Support [S]PUBLISH in pipelines and transactions (#​3859)
  • Support Hash field expiration (#​3826)
  • Custom connection pool to MultiClusterPooledConnectionProvider (#​3801)
  • PubSub handle array of messages for RESP2 (#​3811)
  • Support transaction from UnifiedJedis without calling multi first (#​3804)
  • Add last entry id for XREADs and support XREADs reply as map (#​3791)
  • Add Experimental, Internal and VisibleForTesting annotations (#​3790)
  • Implement equals and hashcode in Params classes (#​3728)
  • Add support for redis command: CLIENT TRACKINGINFO (#​3751)
  • Support the MAXAGE option for CLIENT KILL (#​3754)
  • Polish#​3741 (#​3746)
  • Add support for the NOVALUES option of HSCAN (#​3741)
  • Support issuing Latency commands (#​3729)
🐛 Bug Fixes
  • Accept null replies for BZPOPMAX and BZPOPMIN commands (#​3930)
  • Fix empty LUA table reply (#​3924)
  • Ensure closing connection in Pipeline (#​3865)
  • Address change in JSON.GET command without path (#​3858)
  • Consider null values in empty StreamPendingSummary (#​3793)
  • Fix UnifiedJedis pexpireAt glitch (#​3782)
  • Use expiryOption in PipelineBase.expireAt (#​3777)
  • Stop connection fetching before sync/exec (#​3756)
  • Check for thread interrupt in subscribe process of PubSub (#​3726)
  • Avoid NPE in MultiNodePipelineBase.java (#​3697)
  • Fix probable missing (RESP3) protocol processing (#​3692)
  • Use circuit breaker fallback exception list (#​3664)
🧰 Maintenance
  • Deprecate Triggers and Functions feature (#​3968)
  • Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.3.1 to 5.4 (#​3962)
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.1 to 3.5.0 (#​3950)
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.8.0 to 3.10.0 (#​3949)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.5 to 3.2.6 (#​3957)
  • Added JavaDoc for basic JedisCluster constructors (#​3304)
  • Bump org.locationtech.jts:jts-core from 1.19.0 to 1.20.0 (#​3948)
  • Add A-A failover scenario test (#​3935)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.4 to 3.2.5 (#​3936)
  • Fix codecov upload (#​3933)
  • Rename readonly config param to specify Redis Cluster (#​3932)
  • Modify Connection.toIdentityString and test (#​3931)
  • Revert "Creating CODEOWNERS for the examples (#​3570)" (#​3897)
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.5 to 3.3.1 (#​3891)
  • Bump org.hamcrest:hamcrest from 2.2 to 3.0 (#​3914)
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.7.0 to 3.8.0 (#​3909)
  • Bump net.javacrumbs.json-unit:json-unit from 2.38.0 to 2.40.1 (#​3903)
  • Bump org.apache.maven.plugins:maven-release-plugin from 3.0.1 to 3.1.1 (#​3890)
  • Fixed typo in Javadoc (#​3917)
  • Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.1 to 3.4.2 (#​3910)
  • Bump com.kohlschutter.junixsocket:junixsocket-core from 2.9.1 to 2.10.0 (#​3901)
  • Bump jackson.version from 2.17.1 to 2.17.2 (#​3902)
  • Add Scenario tests (#​3847)
  • Modify the judgment that reads a response as empty to isEmpty method (#​3888)
  • Replacesynchronized withj.u.c.l.ReentrantLock for Loom (#​3480)
  • Extract messages of unsupported exception as constants (#​3887)
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.7.0 (#​3851)
  • Bump org.sonatype.plugins:nexus-staging-maven-plugin from 1.6.13 to 1.7.0 (#​3850)
  • Bump com.google.code.gson:gson from 2.10.1 to 2.11.0 (#​3842)
  • Merge doc tests into main branch to keep in-sync with the code (#​3861)
  • Deprecate unused Set builders (#​3857)
  • Disable Redis Graph tests (#​3856)
  • Introduce EndpointConfig and load endpoint settings from the endpoints.json file (#​3836)
  • Address Gears test fail - Cleanup Function libraries (#​3840)
  • Bump jackson.version from 2.17.0 to 2.17.1 (#​3833)
  • Add methods in CommandArguments and RawableFactory (#​3834)
  • Modify and fail-fast GeoSearchParam (#​3827)
  • Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.0 to 3.4.1 (#​3822)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.3 to 3.2.4 (#​3823)
  • Bump org.apache.maven.plugins:maven-jar-plugin from 3.3.0 to 3.4.0 (#​3819)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.2 to 3.2.3 (#​3818)
  • Add more tests for the CommandObjects class (#​3809)
  • Resolve compile warnings (#​3810)
  • Bump com.kohlschutter.junixsocket:junixsocket-core from 2.9.0 to 2.9.1 (#​3806)
  • Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.12 (#​3805)
  • Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1 (#​3807)
  • Deprecate unused JSON.ARRAPPEND in CommandObjects (#​3798)
  • Extensive unit tests for the CommandObjects class (#​3796)
  • Add extensive tests for UnifiedJedis (#​3788)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.1 to 3.2.2 (#​3794)
  • Add Experimental, Internal and VisibleForTesting annotations (#​3790)
  • Add TS.INFO [DEGUB] and CF.MEXISTS in pipelined commands (#​3787)
  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1 to 3.13.0 (#​3786)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.0 to 3.2.1 (#​3785)
  • Pipelined tests for lists and sets, and API typo fix (#​3772)
  • Extensive unit tests for PipeliningBase (#​3778)
  • Bump jackson.version from 2.16.2 to 2.17.0 (#​3776)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.1.0 to 3.2.0 (#​3775)
  • Fix typo in SetPipelineCommands method name (#​3773)
  • Streamline test execution (#​3760)
  • Add pipelined tests for sorted sets (#​3771)
  • Geo pipelined tests (#​3767)
  • Reenable clustering tests (#​3764)
  • GETSET command is deprecated since Redis 6.2.0 (#​3768)
  • Add tests for Stream pipelined commands (#​3763)
  • Bump jackson.version from 2.16.1 to 2.16.2 (#​3762)
  • Bump org.json:json from2024020 to2024030 (#​3752)
  • Add Hashes pipeline commands unit tests (#​3288)
  • Add unit tests for pipelining - migrate and db commands (#​3759)
  • Reduce the log level of validateObject to WARN (#​3750)
  • Bump org.json:json from2023101 to2024020 (#​3706)
  • Bump com.kohlschutter.junixsocket:junixsocket-core from 2.8.3 to 2.9.0 (#​3724)
  • Running doctests also on emb-examples (#​3693)
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.3 to 3.2.5 (#​3688)
  • Run integration workflow for 5.2.0 branch (#​3681)
  • Bump jackson.version from 2.16.0 to 2.16.1 (#​3666)
  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.12.1 (#​3665)
  • Spellcheck as part of CI (#​3492)
  • Adding stale issues workflow (#​3528)
  • Creating CODEOWNERS for documentation (#​3570)
  • Unifying GitHub tokens (#​3650)
  • Replace deprecated set-output command with environment file (#​3622)
  • Fixing GPG key usage (#​3670)
  • Bump maven-surefire-plugin to 3.2.3 (#​3656)
  • Bump org.jacoco:jacoco-maven-plugin from 0.8.5 to 0.8.11 (#​3653)
  • Bump jackson databind and jsr310 to 2.16.0 (#​3655)
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.2 to 3.6.3 (#​3639)
  • Bump com.kohlschutter.junixsocket:junixsocket-core from 2.8.1 to 2.8.3 (#​3647)
  • Access Reducer attributes (#​3637)
  • Address RediSearch profile change (#​3636)
Contributors

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

@​Gandalf1783,@​Lcarrot,@​SoilChang,@​andy-stark-redis,@​ascdi,@​babanin,@​cemasma,@​chayim,@​dependabot,@​dependabot[bot],@​gerzse,@​jjz921024,@​jongwooo,@​sazzad16,@​stillerrr,@​thachlp,@​uglide,@​vanta and@​zyfx595701088

v5.1.5: 5.1.5

Changes

🐛 Bug Fixes

  • Accept null replies for BZPOPMAX and BZPOPMIN commands (#​3930)
  • Fix empty LUA table reply (#​3924)

Contributors

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

@​JW-Vinay,@​ngavrailov and@​sazzad16

v5.1.4: 5.1.4

Compare Source

Changes
🔥 Breaking Changes
  • Address change in JSON.GET command without path (#​3858)
  • Modify and fail-fast GeoSearchParam (#​3827)
🚀 New Features
  • Support Hash field expiration (#​3826)
  • Support issuing Latency commands (#​3729)
  • Add support for the NOVALUES option of HSCAN command (#​3741,#​3746)
  • Add support for CLIENT TRACKINGINFO command (#​3751)
  • Support IGNORE and other optional arguments for timeseries commands (#​3860,#​3863)
  • Add last entry id for XREADs and support XREADs reply as map (#​3791)
  • Support the MAXAGE option for CLIENT KILL (#​3754)
  • Support ADDSCORES argument in FT.AGGREGATE (#​3908)
  • Support [S]PUBLISH in pipelines and transactions (#​3859)
🐛 Bug Fixes
  • Ensure closing connection in Pipeline (#​3865)
  • Address change in JSON.GET command without path (#​3858)
🧰 Maintenance
  • Add methods in CommandArguments and RawableFactory (#​3834)
  • Modify and fail-fast GeoSearchParam (#​3827)
Contributors

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

@​sazzad16,@​cemasma,@​Lcarrot,@​gerzse and@​uglide

v5.1.3: 5.1.3

Compare Source

Changes

🚀 New Features

  • Custom connection pool to MultiClusterPooledConnectionProvider (#​3801)

🐛 Bug Fixes

  • Consider null values in empty StreamPendingSummary (#​3793)
  • Fix UnifiedJedis pexpireAt glitch (#​3782)
  • Use expiryOption in PipelineBase.expireAt (#​3777)

🧰 Maintenance

  • Add TS.INFO [DEGUB] and CF.MEXISTS in pipelined commands (#​3787)
  • Fix typo in SetPipelineCommands method name (#​3773)
  • Bump jackson.version from 2.16.1 to 2.16.2 (#​3762)

Contributors

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

@​gerzse,@​sazzad16,@​thachlp and@​jarkus4

v5.1.2: 5.1.2

Changes

🐛 Bug Fixes

  • Stop connection fetching before sync/exec in multi cluster failover mode (#​3756)

v5.1.1: 5.1.1

Changes

🐛 Bug Fixes

  • Avoid NPE in MultiNodePipelineBase.java (#​3697)
  • Fix probable missing (RESP3) protocol processing (#​3692)
  • Use circuit breaker fallback exception list (#​3664)

🧰 Maintenance

  • Access Reducer attributes (#​3637)
  • Replace deprecated set-output command with environment file (#​3622)
  • Bump jackson.version from 2.16.0 to 2.16.1 (#​3666)
  • Bump jackson databind and jsr310 to 2.16.0 (#​3655)
  • Bump com.kohlschutter.junixsocket:junixsocket-core from 2.8.1 to 2.8.3 (#​3647)

Contributors

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

@​dependabot,@​dependabot[bot],@​jongwooo,@​sazzad16 and@​stillerrr

v5.1.0: 5.1.0

Changes

🔥 Breaking Changes

  • Adding Pipeline & Transaction with failover to multi cluster (#​3602)
  • Move JedisMetaInfo into parent package and made private (#​3590)
  • Encode map in encoded object (#​3555)

🧪 Experimental Features

  • Pipeline & Transaction with failover to multi cluster (#​3602)
  • Support GEOSHAPE field type in RediSearch (#​3561)
  • Re-add FT.DROPINDEX and FT.ALTER in pipeline (#​3549)

🚀 New Features

  • Add CLUSTER SHARDS command support (#​2984) (#​3598)
  • Added HSET variants to ease complex objects (#​3605)
  • Introducing periodic topology mechanism for JedisCluster (#​3596)
  • Support RESET command (#​3015)
  • Broadcast FUNCTION LOAD command methods (#​3557)
  • Feature: Triggers and functions commands (#​3531)
  • Escape utils for RediSearch queries (#​3544)
  • Address further CLIENT SETINFO suffix rules (#​3536)
  • Extend CLIENT SETINFO support (#​3509)

🐛 Bug Fixes

  • Direct FT.CREATE to proper node in LIGHT search mode (#​3593)
  • Fix binary variants of XRANGE and XREAD commands (#​3571)

🧰 Maintenance

  • Use simple version of HSET (#​3587)
  • Linking to Redis learning resources (#​3583)
  • Added support for releasing minor version snapshots (#​3578)
  • Allow getting schema field name (#​3576)
  • Encoded map in encoded object (#​3555)
  • Improved Triggers and functions tests (#​3554)
  • Different variable names for json v1 and v2 interfaces (#​3553)
  • Fixed Search/Gears test regression (#​3552)
  • Improved Triggers and functions commands (#​3551)
  • Added JavaDoc for GeoRadiusResponse (#​3542)
  • Disabling doctests on tag (#​3524)
  • Move pom.properties file into redis.clients.jedis package (#​3589)
  • Bump org.json:json from2023061 to2023101 (#​3586)
  • Bump org.apache.commons:commons-pool2 from 2.11.1 to 2.12.0 (#​3565)
  • Bump junixsocket-core to 2.8.1 (#​3573)
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.0 (#​3539)
  • Bump mockito-inline from 3.12.4 to 4.11.0 (#​3232)
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.1 to 3.2.2 (#​3611)
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.0 to 3.6.2 (#​3612)
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.2 to 3.2.1 (#​3600)

Contributors

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

@​bsbodden,@​chayim,@​dependabot,@​dependabot[bot],@​ihaohong,@​sazzad16,@​wormogig and@​yangbodong22011

v5.0.2: 5.0.2

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

Changes

🔥 Breaking Changes

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

🚀 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 inour documentation.

FullRedis 7.2 andRESP3 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:
importredis.clients.jedis.DefaultJedisClientConfig;importredis.clients.jedis.HostAndPort;importredis.clients.jedis.UnifiedJedis;classDoResp3 {publicstaticvoidmain() {HostAndPorthnp =HostAndPort.from("localhost:6379");UnifiedJedisc =UnifiedJedis(hnp,DefaultJedisClientConfig.builder().resp3().build());c.set("foo","value!");c.get("foo");    }}
  1. Enable RESP3 to a Jedis object:
importredis.clients.jedis.DefaultJedisClientConfig;importredis.clients.jedis.HostAndPort;importredis.clients.jedis.Jedis;classDoResp3 {publicstaticvoidmain() {HostAndPorthnp =HostAndPort.from("localhost:6379");Jedisc =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 was generated byMend Renovate. View therepository job log.

@renovaterenovatebotforce-pushed therenovate/major-redis.clients.jedis branch from6c2176d to5910580CompareJuly 29, 2024 14:31
@renovaterenovatebotforce-pushed therenovate/major-redis.clients.jedis branch from5910580 toaac9affCompareAugust 22, 2024 11:52
@renovaterenovatebotforce-pushed therenovate/major-redis.clients.jedis branch 2 times, most recently from3a61981 to2913f20CompareSeptember 27, 2024 16:02
@renovaterenovatebotforce-pushed therenovate/major-redis.clients.jedis branch from2913f20 tob92aba1CompareDecember 2, 2024 12:23
@renovaterenovatebotforce-pushed therenovate/major-redis.clients.jedis branch fromb92aba1 toc2dc2a2CompareDecember 15, 2024 11:43
@renovaterenovatebotforce-pushed therenovate/major-redis.clients.jedis branch fromc2dc2a2 toa8793d1CompareFebruary 8, 2025 12:15
@renovaterenovatebotforce-pushed therenovate/major-redis.clients.jedis branch 2 times, most recently fromd86a7d2 to59a245cCompareApril 22, 2025 05:18
@renovaterenovatebotforce-pushed therenovate/major-redis.clients.jedis branch 3 times, most recently fromdcf83c4 to4abf6eeCompareApril 30, 2025 13:00
@renovaterenovatebot changed the titleUpdate dependency redis.clients:jedis to v5Update dependency redis.clients:jedis to v6Apr 30, 2025
@renovaterenovatebotforce-pushed therenovate/major-redis.clients.jedis branch from4abf6ee to8a2479dCompareMay 27, 2025 18:28
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

0 participants

[8]ページ先頭

©2009-2025 Movatter.jp