code: func (v Version) MinorUpgradeConstraintStr() ConstraintStr {
  	segments := v.raw.Segments()
  	return ConstraintStr(fmt.Sprintf("~> %d.%d", segments[0], segments[1]))
  }
docs: // MinorUpgradeConstraintStr returns a ConstraintStr that would permit
  // minor upgrades relative to the receiving version.