Skip to content

Conversation

@ramonsmits
Copy link
Member

The following prior PR does a fixed minor/major comparison between client and server:

However, the PR description hints that it follows the RavenDB guidance:

It now verifies that the server product version is >= client product version. This aligns with the RavenDB Client/Server Compatibility statement.

This PR fixes this. It parses the version numbers and then compares by only using the Major.Minor.

@ramonsmits ramonsmits removed their assignment Sep 8, 2025
@bording bording force-pushed the ravendb-version-check-server-higher branch from 9ef2931 to d39a2cd Compare September 8, 2025 16:25
@bording bording force-pushed the ravendb-version-check-server-higher branch from d39a2cd to ea8e0bb Compare September 8, 2025 16:26
@ramonsmits ramonsmits requested a review from bording September 9, 2025 09:19
@ramonsmits ramonsmits marked this pull request as ready for review September 9, 2025 09:20
@ramonsmits
Copy link
Member Author

Thanks @bording, that is actually much simpler than doing all the parsing I did in the 1st commit.

@bording bording changed the title Check that server major/minor is higher than client Check that server major/minor is greater than or equal to the client Sep 9, 2025
@bording bording changed the title Check that server major/minor is greater than or equal to the client Check that server version is greater than or equal to the client Sep 9, 2025
@ramonsmits ramonsmits added this to the vNext milestone Sep 9, 2025
@ramonsmits ramonsmits merged commit 96f3b32 into master Sep 10, 2025
32 checks passed
@ramonsmits ramonsmits deleted the ravendb-version-check-server-higher branch September 10, 2025 11:15
@bartekwasielak bartekwasielak modified the milestones: vNext, 6.8.0 Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants