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