Skip to content

Releases: felipesere/node-semver-rs

v2.2.0

07 Feb 01:52
aba6dae
Compare
Choose a tag to compare

Features

Bug Fixes

v2.1.0

07 Feb 01:51
018cdaa
Compare
Choose a tag to compare

Features

  • format: Include the build and prerelease when stringifying to maintain consistency (#9) (f2b2e44c)

v2.0.1

07 Feb 01:51
fac9dd0
Compare
Choose a tag to compare

Bug Fixes

  • satisfies: Fix .satisfies bug for higher major/minor/path pre-release versions (#8) (ee8376e7)
  • range: handle partial = ranges, which was causing panics (#7) (f0eef040)

v2.0.0

26 Sep 22:57
f609022
Compare
Choose a tag to compare

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...

v1.0.1

26 Sep 22:58
625650e
Compare
Choose a tag to compare

Bug Fixes

  • api: stop exporting anything but Range from range mod (4eeb862d)

v1.0.0

24 Sep 22:21
1dcbdcc
Compare
Choose a tag to compare

Features

  • error: upgrade miette and change error API a bit (82625fd3)
    • BREAKING CHANGE: This changes the error API a bit. You may need to update code that handles errors by hand
  • version: add .satisfies() method to Version (da70b187)