Skip to content

Easy check for version compatibility? #21

@garretwilson

Description

@garretwilson

On first glance the library looks nice. But then I try to do something simple, one of the basic things of semantic versioning: check for minor-version compatibility. How do I do that?

For example:

if(ver1.isMinorVersionCompatible(ver2)) {
  //the APIs are compatible
}

Isn't that the whole point of semantic versioning? Maybe I missed such a comparison method in your documentation.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions