Skip to content

Fix Version supported file - #637

Closed
susmithavytla wants to merge 7 commits into
weaviate:mainfrom
susmithavytla:main
Closed

susmithavytla wants to merge 7 commits into
weaviate:mainfrom
susmithavytla:main

Conversation

@susmithavytla

Copy link
Copy Markdown

No description provided.

@orca-security-eu orca-security-eu Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@weaviate-git-bot

Copy link
Copy Markdown

To avoid any confusion in the future about your contribution to Weaviate, we work with a Contributor License Agreement. If you agree, you can simply add a comment to this PR that you agree with the CLA so that we can merge.

beep boop - the Weaviate bot 👋🤖

PS:
Are you already a member of the Weaviate Forum?

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the major/minor version comparison update.

No open issues 🎉

What changed in this PR

Fixes version-support checks in the Java client by comparing major and minor version numbers separately rather than concatenating them.

Changes:

  • Compares major versions first, then minor versions when majors match.
  • Adds test cases for compatibility from 1.32 to 2.0.0 and matching 2.0.0 versions.
File Description
src/​test/​java/​io/​weaviate/​client6/​v1/​internal/​VersionSupportTest.java Adds cross-major and equal-version test cases.
src/​main/​java/​io/​weaviate/​client6/​v1/​internal/​VersionSupport.java Corrects major/minor version comparison.

Review effort: Balanced

@dudanogueira

Copy link
Copy Markdown

Hi @susmithavytla !

I will close this in favor of #636 and invite you to join our efforts there!

Thanks 🙏

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants