gitredis

Is the fix from commit 3995472 included in version 1.0.0 of redis-om-spring?


I’m using redis-om-spring and came across this commit: 3995472c39f661a21b5e81c063aa90b51c26073d

This looks like a fix I need, but I’m unsure if it is already part of the 1.0.0 release of redis-om-spring.

If not in 1.0.0, which version first includes it?

I couldn’t find clear information in the release notes, so any clarification would be helpful.


Solution

  • Git can help you answer this question.

    First, clone the repo:

    $ git clone https://github.com/redis/redis-om-spring.git
    

    Then, navigate to it using cd:

    $ cd redis-om-spring
    

    In this repo, each version has a tag, so you can use git tag to check which versions contain this commit:

    $ git tag --contains=3995472c39f661a21b5e81c063aa90b51c26073d
    

    This call will return an empty list, meaning that this commit is not part of any (tagged) version. We can confirm this by manually examining the git log:

    $ git log --oneline
    3995472c (HEAD -> main, origin/main, origin/HEAD) fix: complete NUMERIC_IN/NOT_IN implementation with proper query generation
    bcb74613 fix: Added the NUMERIC_IN query clause to manage the Spring-like methods 'In' for Redis repository.
    4d81d903 (tag: v1.0.0) release: Releasing version 1.0.0
    

    And you can see the commit you referenced is two commits ahead of the tip of the main branch (at the time of writing this answer).