-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Remove long deprecated API and refine API #2276
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The API exposes now the renamed command terminology and no longer the deprecated one. Closes #2195
StreamInfo subtypes now implement Streamable. Switch from stream mapping to for/each style to avoid Java Stream creation. Introduce getRequired(…) methods to improve nullability experience.
DefaultedRedis…Connection is now deprecated to help with migration towards segregated/commands interface usage. The connection now exposes a commands() object providing access to RedisCommands so that a composite commands object can be accessed independently from the connection. Redis…Commands provider represent entry points to obtain segregated command interfaces.
Tweak Javadoc. Make tests less strict for random values test.
christophstrobl
pushed a commit
that referenced
this pull request
Mar 18, 2022
StreamInfo subtypes now implement Streamable. Switch from stream mapping to for/each style to avoid Java Stream creation. Introduce getRequired(…) methods to improve nullability experience. Original Pull Request: #2276
christophstrobl
pushed a commit
that referenced
this pull request
Mar 18, 2022
DefaultedRedis…Connection is now deprecated to help with migration towards segregated/commands interface usage. The connection now exposes a commands() object providing access to RedisCommands so that a composite commands object can be accessed independently from the connection. Redis…Commands provider represent entry points to obtain segregated command interfaces. See: #2273 Original Pull Request: #2276
christophstrobl
pushed a commit
that referenced
this pull request
Mar 18, 2022
Original Pull Request: #2276
christophstrobl
pushed a commit
that referenced
this pull request
Mar 18, 2022
Original Pull Request: #2276
christophstrobl
pushed a commit
that referenced
this pull request
Mar 18, 2022
Original Pull Request: #2276
christophstrobl
pushed a commit
that referenced
this pull request
Mar 18, 2022
Tweak Javadoc. Make tests less strict for random values test. Original Pull Request: #2276
merged to 3.0.x |
This was referenced Mar 18, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request removes long deprecated API and methods that should have been deprecated. Upon agreeing on which methods and API should be removed, we will deprecate these items in the 2.7 development line.
The defaulted Connection arrangement is now refined and will not be removed as removal will cause a difficult time for existing applications. Instead, using commands directly on the connection is now yielding a deprecation warning to guide users towards using the segregated command interfaces.
Also, this PR introduces a few suggestions towards bound keys API and
RedisTemplate
API refinements that should be split into another pull request once the deprecation removal is merged.Closes #2273