code: func IsCompatible(client, server string) bool {
  	if isUnreleased(client) || isUnreleased(server) {
  		return true
  	}
  	cv, err := semver.NewVersion(client)
  	if err != nil {
  		return false
  	}
  	sv, err := semver.NewVersion(server)
  	if err != nil {
  		return false
  	}
  
  	constraint := fmt.Sprintf("^%d.%d.x", cv.Major(), cv.Minor())
  	if cv.Prerelease() != "" || sv.Prerelease() != "" {
  		constraint = cv.String()
  	}
  
  	return IsCompatibleRange(constraint, server)
  }
docs: // IsCompatible tests if a client and server version are compatible.