Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 2.33 KB

CHANGELOG.md

File metadata and controls

55 lines (36 loc) · 2.33 KB

node-semver Release Changelog

2.1.0 (2022-09-21)

Features

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

2.0.1 (2022-09-04)

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)

2.0.0 (2021-09-26)

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

1.0.1 (2021-09-24)

Bug Fixes

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

1.0.0 (2021-09-24)

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)