Open
Description
Feature Request
Is your feature request related to a problem? Please describe
The new major release would allow us to do some cleanup of deprecated logic.
High priority
Most of the options below could lead to serious issues and / or have caused confusion about how the driver should be used.
Here is a list of the candidates:
- follow up to cancelCommandsOnReconnectFailure should have appropriate warnings. #1787
we should completely remove thecancelCommandsOnReconnectFailure option
- follow up to Deprecate lettuce DNS support classes #1527
we should completely remove thednsResolver
option - follow up to Introduce DecodeBufferPolicy to reduce memory usage #1314
we should completely remove thebufferUsageRatio
- follow up to Deprecate StatefulConnection.reset() #907
we should remove the option to callRedisChannelWriter#reset()
- follow up to Deprecate
AbstractRedisClient.setDefaultTimeout(…)
to avoid ambiguity withRedisURI.getTimeout()
#1868
we should remove the get/set default timeout options in theAbstractRedisClient
- follow up to Deprecate connection-related methods on commands API #2028
clean up the connection-related APIs, e.g.BaseRedisCommands
Lower priority
The options below are mostly tech-dept, that should not be considered critical.
The list below is order in a cherry-pick friendly order (higher up the list means a good candidate for quick change):
- follow up to Deprecate Utf8StringCodec in favor or StringCodec.UTF8 #1137
we should remove theUtf8StringCodec
class - follow up to Migrate tests to JUnit 5 #430
we should remove thewasRolledBack()
inTransactionResult
- follow up to Adapt to changed terminology for master/replica #845
- follow up to Add support for
SENTINEL REPLICAS
command #2144 - follow up to Add support for
REPLICAOF
andCLUSTER REPLICAS
commands #2020
we should remove the references to master / slave - follow up to Move SocketAddress resolution from RedisURI to SocketAddressResolver #1157 (and other related stories)
we should remove allRedisURI
methods that are deprecated - follow up to Switch to Duration for timeouts #570
we should remove allTimeUnit
-based APIs, e.g.SocketOptions.connectTimeout
, etc. - follow up to Allow client to pick a specific TLS version and introduce PEM-based configuration #1167
we should clean up theSslOptions
interface - follow up to Deprecate the STRALGO command and implement the LCS in its place #3037
we should remove the STRALGO in favor of LCS - follow up to Add FlushMode to FLUSHALL and FLUSHDB, and to SCRIPT FLUSH #1608
we should remove deprecated methods related to flushing the database - follow up to Provide a more conceise API for Sorted Set query operations using Range/Limit #363
we should clean up the RedisSortedSetCommands API
Describe the solution you'd like
Remove:
- the options form the API
- any related logic in the application associated with them
- any integration or unit tests associated with them
- any documentation associated with them
- any templates that are used to generate command interfaces
Describe alternatives you've considered
N/A
Teachability, Documentation, Adoption, Migration Strategy
N/A