You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines
2.2 KiB

4 years ago
  1. # changes log
  2. ## 7.3.0
  3. * Add `subset(r1, r2)` method to determine if `r1` range is entirely
  4. contained by `r2` range.
  5. ## 7.2.3
  6. * Fix handling of `includePrelease` mode where version ranges like `1.0.0 -
  7. 2.0.0` would include `3.0.0-pre` and not `1.0.0-pre`.
  8. ## 7.2.2
  9. * Fix bug where `2.0.0-pre` would be included in `^1.0.0` if
  10. `includePrerelease` was set to true.
  11. ## 7.2.0
  12. * Add `simplifyRange` method to attempt to generate a more human-readable
  13. range expression that is equivalent to a supplied range, for a given set
  14. of versions.
  15. ## 7.1.2
  16. * Remove fancy lazy-loading logic, as it was causing problems for webpack
  17. users.
  18. ## 7.1.0
  19. * Add `require('semver/preload')` to load the entire module without using
  20. lazy getter methods.
  21. ## 7.0.0
  22. * Refactor module into separate files for better tree-shaking
  23. * Drop support for very old node versions, use const/let, `=>` functions,
  24. and classes.
  25. ## 6.3.0
  26. * Expose the token enum on the exports
  27. ## 6.2.0
  28. * Coerce numbers to strings when passed to semver.coerce()
  29. * Add `rtl` option to coerce from right to left
  30. ## 6.1.3
  31. * Handle X-ranges properly in includePrerelease mode
  32. ## 6.1.2
  33. * Do not throw when testing invalid version strings
  34. ## 6.1.1
  35. * Add options support for semver.coerce()
  36. * Handle undefined version passed to Range.test
  37. ## 6.1.0
  38. * Add semver.compareBuild function
  39. * Support `*` in semver.intersects
  40. ## 6.0
  41. * Fix `intersects` logic.
  42. This is technically a bug fix, but since it is also a change to behavior
  43. that may require users updating their code, it is marked as a major
  44. version increment.
  45. ## 5.7
  46. * Add `minVersion` method
  47. ## 5.6
  48. * Move boolean `loose` param to an options object, with
  49. backwards-compatibility protection.
  50. * Add ability to opt out of special prerelease version handling with
  51. the `includePrerelease` option flag.
  52. ## 5.5
  53. * Add version coercion capabilities
  54. ## 5.4
  55. * Add intersection checking
  56. ## 5.3
  57. * Add `minSatisfying` method
  58. ## 5.2
  59. * Add `prerelease(v)` that returns prerelease components
  60. ## 5.1
  61. * Add Backus-Naur for ranges
  62. * Remove excessively cute inspection methods
  63. ## 5.0
  64. * Remove AMD/Browserified build artifacts
  65. * Fix ltr and gtr when using the `*` range
  66. * Fix for range `*` with a prerelease identifier