pub_semver 1.1.0 copy "pub_semver: ^1.1.0" to clipboard
pub_semver: ^1.1.0 copied to clipboard

outdatedDart 1 only

Versions and version constraints implementing pub's versioning policy. This is very similar to vanilla semver, with a few corner cases.

1.1.0 #

  • Add support for the ^ operator for compatible versions according to pub's notion of compatibility. ^1.2.3 is equivalent to >=1.2.3 <2.0.0; ^0.1.2 is equivalent to >=0.1.2 <0.2.0.

  • Add Version.nextBreaking, which returns the next version that introduces breaking changes after a given version.

  • Add new VersionConstraint.compatibleWith(), which returns a range covering all versions compatible with a given version.

  • Add a custom VersionRange.hashCode to make it properly hashable.

1.0.0 #

  • Initial release.
114
likes
0
pub points
100%
popularity

Publisher

verified publishertools.dart.dev

Versions and version constraints implementing pub's versioning policy. This is very similar to vanilla semver, with a few corner cases.

Repository
View/report issues

License

unknown (LICENSE)

Dependencies

collection

More

Packages that depend on pub_semver