- Coerce numbers to strings when passed to semver.coerce()
- Add
rtloption to coerce from right to left
- Handle X-ranges properly in includePrerelease mode
- Do not throw when testing invalid version strings
- Add options support for semver.coerce()
- Handle undefined version passed to Range.test
- Add semver.compareBuild function
- Support
*in semver.intersects
-
Fix
intersectslogic.This is technically a bug fix, but since it is also a change to behavior that may require users updating their code, it is marked as a major version increment.
- Add
minVersionmethod
- Move boolean
looseparam to an options object, with backwards-compatibility protection. - Add ability to opt out of special prerelease version handling with
the
includePrereleaseoption flag.
- Add version coercion capabilities
- Add intersection checking
- Add
minSatisfyingmethod
- Add
prerelease(v)that returns prerelease components
- Add Backus-Naur for ranges
- Remove excessively cute inspection methods
- Remove AMD/Browserified build artifacts
- Fix ltr and gtr when using the
*range - Fix for range
*with a prerelease identifier