Skip to content

Conversation

@viktoriya-kutsarova
Copy link
Contributor

@viktoriya-kutsarova viktoriya-kutsarova commented Oct 28, 2025

This change introduces the support for expanded bitwise operations as BITOP DIFF, DIFF1, ANDOR, ONE as part of the features provided by the spring-data-redis project.

As part of the change the following expanded operations would be made available:

The expanded operations are available as part of the following interfaces:

  • RedisStringCommands#BitOperation
  • LettuceReactiveStringCommands / LettuceStringCommands

This feature is available starting from Redis OSS version 8.2.x and later


  • You have read the Spring Data contribution guidelines.
  • You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.
  • You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 28, 2025
Copy link

@bobymicroby bobymicroby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@onobc onobc self-assigned this Oct 28, 2025
@viktoriya-kutsarova viktoriya-kutsarova force-pushed the topic/expand-bitwise-operations branch from a86d3aa to 5635dac Compare October 30, 2025 09:24
@mp911de mp911de added the for: planning An issue we'd like to consider when planning our next release label Oct 30, 2025
Signed-off-by: viktoriya.kutsarova <viktoriya.kutsarova@redis.com>
@viktoriya-kutsarova viktoriya-kutsarova force-pushed the topic/expand-bitwise-operations branch from 5635dac to ace7c40 Compare October 30, 2025 13:32
@onobc onobc added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 6, 2025
onobc pushed a commit that referenced this pull request Nov 6, 2025
Original pull request #3250
Closes #3250

Signed-off-by: viktoriya.kutsarova <viktoriya.kutsarova@redis.com>
onobc added a commit that referenced this pull request Nov 6, 2025
Add author tags and issue number comment for new tests.

See #3250

Signed-off-by: Chris Bono <chris.bono@broadcom.com>
@onobc
Copy link
Contributor

onobc commented Nov 6, 2025

Thanks for the excellent contribution @viktoriya-kutsarova . Since main is in a holding phase (post RC - waiting on GA) I have created a feature branch that contains your commit and a small polish commit. We will merge this feature branch shortly after we release.

Closing in favor of 7e21112.

@onobc onobc closed this Nov 6, 2025
@mp911de mp911de reopened this Nov 7, 2025
@mp911de
Copy link
Member

mp911de commented Nov 7, 2025

Let's keep the PR open for planning visibility.

mp911de added a commit that referenced this pull request Nov 7, 2025
Add since tags, extract KeyUtil to replace duplicate calls to Arrays.copyOfRange(…) to split a concatenated list of elements into the first and remaining elements.

See #3250
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

for: planning An issue we'd like to consider when planning our next release type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants