Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2022

Bumps jedis from 3.7.0 to 4.0.1.

Release notes

Sourced from jedis's releases.

4.0.1

🐛 Bug Fixes

  • Fix the zrevrangeByScore max/min parameter order problem in the transaction (#2765)

🧰 Maintenance

  • Add RediSearch Pipeline Commands (#2770)

Contributors

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

@​leonchen83, @​yangbodong22011, @​AvitalFineRedis.

4.0.0

🚀 New Features

  • Introduced JedisPooled An alternative to JedisPool which implements the same interfaces as JedisCluster, allowing easy switching between JedisCluster and JedisPooled.
  • Introduced JedisSharding
  • Introduced ClusterPipeline and ShardedPipeline
  • Introduced ReliableTransaction
  • Introduced UnifiedJedis UnifiedJedis can be anything depending on the ConnectionProvider or CommandExecutor. Currently, this is the base for JedisCluster, JedisPooled and JedisSharding.
  • Introduced ConnectionProvider interface and few implementations
  • Introduced CommandExecutor interface and few implementations
  • Added RedisJSON and RedisJSON 2 commands
  • Added RediSearch commands
  • Support exclusive range in XRANGE command (#2719)
  • Added ACL DELUSER and ACL GENPASS with bits option (#2697)

🔥 Breaking Changes (see all)

  • JedisCluster constructors with GenericObjectPoolConfig<Jedis> now accept GenericObjectPoolConfig<Connection>.
  • Most SortedSet methods are changed to return Java List instead of Set (#2709) See Full List
  • Many methods now return primitive values (long/boolean/double instead of Long/Boolean/Double) See Full List
  • ShardedJedisPool, Sharded, ShardedJedis, BinaryShardedJedis, ShardInfo, JedisShardInfo classes are removed.
  • BinaryJedis and BinaryJedisCluster classes are removed. Methods of these classes are available in Jedis and JedisCluster classes respectively.
  • Client and BinaryClient classes are removed.
  • redis.clients.jedis.commands package is reimplemented, meaning Commands interfaces are restructured.
  • Removed Sentinel class (#2744) (since 4.0.0-rc2) Sentinel methods are moved in Jedis class (just like Jedis 3.x)

🧰 Maintenance

  • Upgraded dependency org.slf4j:slf4j-api to version 1.7.32
  • Added dependency org.json:json version 20211205
  • Added dependency com.google.code.gson:gson version 2.8.9

... (truncated)

Commits

Dependabot compatibility score

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 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Bumps [jedis](https://github.com/redis/jedis) from 3.7.0 to 4.0.1.
- [Release notes](https://github.com/redis/jedis/releases)
- [Commits](redis/jedis@v3.7.0...v4.0.1)

---
updated-dependencies:
- dependency-name: redis.clients:jedis
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested review from bsideup, kiview and rnorth as code owners January 1, 2022 22:00
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java labels Jan 1, 2022
@kiview
Copy link
Member

kiview commented Jan 4, 2022

Seems to be a breaking change in the Jedis API:

/home/runner/work/testcontainers-java/testcontainers-java/modules/junit-jupiter/src/test/java/org/testcontainers/junit/jupiter/inheritance/InheritedTests.java:15: error: long cannot be dereferenced
        assertEquals(1, redisPerClass.getJedis().incr("key").longValue());

Since this is just a test dependency, I will fix it by hand.

Use `long` primitive instead of boxed type.
@kiview kiview mentioned this pull request Jan 4, 2022
@kiview kiview merged commit 95b56e4 into master Jan 4, 2022
@delete-merged-branch delete-merged-branch bot deleted the dependabot/gradle/modules/junit-jupiter/redis.clients-jedis-4.0.1 branch January 4, 2022 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants