Calculates the hash code value for the object based on major, minor, and patch components.
Thanks for your feedback!