Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@zkat zkat released this 26 Sep 22:57
· 14 commits to main since this release
f609022

This is an almost full rewrite of the Range parser to make it work much more
closely to how the JS node-semver parser works. Not by using regex,
fortunately.

As such, this is potentially a pretty breaking change, but it's a breaking
change in the direction of compatibility.

Please file issues for any compatibility issues you find and we'll fix them
asap!

Features

  • loose: rewrite to support loose mode better (#5) (20fb02d8)
    • BREAKING CHANGE: This accepts (and rejects) some semver strings that
      were valid before, and I'm not comfortable just calling thos e bugs. It
      also vastly reduces the number of "bad" semver parses by outright throwing
      out bad-looking data without warning you. This is literally what the
      JavaScript node-semver does. And so...