You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+30-14Lines changed: 30 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,25 @@ Changelog entries are classified using the following labels _(from [keep-a-chang
32
32
33
33
</details>
34
34
35
+
## [4.0.8] - 2024-08-22
36
+
37
+
- backported CVE fix (from v4.0.6) over to 4.x branch
38
+
39
+
## [4.0.7] - 2024-05-22
40
+
41
+
- this is basically v4.0.5, with some README updates
42
+
-**it is vulnerable to CVE-2024-4067 & CVE-2024-4068**
43
+
- does NOT break API compatibility
44
+
45
+
## [4.0.6] - 2024-05-21
46
+
47
+
- Added `hasBraces` to check if a pattern contains braces.
48
+
- Fixes CVE-2024-4067 & CVE-2024-4068
49
+
-**BREAKS API COMPATIBILITY**
50
+
- Should be labeled as a major release, but it's not.
51
+
52
+
## [4.0.1 - 4.0.4]
53
+
35
54
## [4.0.0] - 2019-03-20
36
55
37
56
### Added
@@ -40,7 +59,6 @@ Changelog entries are classified using the following labels _(from [keep-a-chang
40
59
- Adds support for `options.onIgnore`. See the readme for details
41
60
- Adds support for `options.onResult`. See the readme for details
42
61
43
-
44
62
### Breaking changes
45
63
46
64
- Require Node.js >= 8.6
@@ -56,9 +74,9 @@ Changelog entries are classified using the following labels _(from [keep-a-chang
56
74
57
75
Complete overhaul, with 36,000+ new unit tests validated against actual output generated by Bash and minimatch. More specifically, 35,000+ of the tests:
58
76
59
-
- micromatch results are directly compared to bash results
60
-
- in rare cases, when micromatch and bash disagree, micromatch's results are compared to minimatch's results
61
-
- micromatch is much more accurate than minimatch, so there were cases where I had to make assumptions. I'll try to document these.
77
+
- micromatch results are directly compared to bash results
78
+
- in rare cases, when micromatch and bash disagree, micromatch's results are compared to minimatch's results
79
+
- micromatch is much more accurate than minimatch, so there were cases where I had to make assumptions. I'll try to document these.
62
80
63
81
This refactor introduces a parser and compiler that are supersets of more granular parsers and compilers from other sub-modules. Each of these sub-modules has a singular responsibility and focuses on a certain type of matching that aligns with a specific part of the Bash "expansion" API.
64
82
@@ -73,20 +91,20 @@ Here are those sub-modules with links to related prs on those modules if you wan
73
91
74
92
**Added**
75
93
76
-
- source map support (optionally created when using parse or compile - I have no idea what the use case is yet, but they come for free) (note that source maps are not generated for brace expansion at present, since the braces compiler uses a different strategy. I'll update if/when this changes).
77
-
- parser is exposed, so that implementors can customize or override specific micromatch parsers if necessary
78
-
- compiler is exposed, so that implementors can customize or override specific micromatch compilers if necessary
94
+
- source map support (optionally created when using parse or compile - I have no idea what the use case is yet, but they come for free) (note that source maps are not generated for brace expansion at present, since the braces compiler uses a different strategy. I'll update if/when this changes).
95
+
- parser is exposed, so that implementors can customize or override specific micromatch parsers if necessary
96
+
- compiler is exposed, so that implementors can customize or override specific micromatch compilers if necessary
79
97
80
98
**Fixed**
81
99
82
-
- more accurate matching (passes 100% of Bash 4.3 of the brace expansion and extglob unit tests, as well as all Bash glob tests that are relevant to node.js usage, all minimatch tests, all brace-expansion tests, and also passes a couple of tests that bash fails)
83
-
- even safer - micromatch has always generated optimized patterns so it's not subject to DoS exploits like minimatch (completely different than the regex DoS issue, minimatch and multimatch are still openly exposed to being used for DoS attacks), but more safeguards were built into this refactor
100
+
- more accurate matching (passes 100% of Bash 4.3 of the brace expansion and extglob unit tests, as well as all Bash glob tests that are relevant to node.js usage, all minimatch tests, all brace-expansion tests, and also passes a couple of tests that bash fails)
101
+
- even safer - micromatch has always generated optimized patterns so it's not subject to DoS exploits like minimatch (completely different than the regex DoS issue, minimatch and multimatch are still openly exposed to being used for DoS attacks), but more safeguards were built into this refactor
84
102
85
103
**Changed**
86
104
87
-
- the public API of this library did not change in this version and should be safe to upgrade without changing implentor code. However, we have released this as a major version for the following reasons:
88
-
- out of an abundance of caution due to the large amount of code changed in this release
89
-
- we have improved parser accuracy to such a degree that some implementors using invalid globs have noted change in behavior. If this is the case for you, please check that you are using a valid glob expression before logging a bug with this library
105
+
- the public API of this library did not change in this version and should be safe to upgrade without changing implentor code. However, we have released this as a major version for the following reasons:
106
+
- out of an abundance of caution due to the large amount of code changed in this release
107
+
- we have improved parser accuracy to such a degree that some implementors using invalid globs have noted change in behavior. If this is the case for you, please check that you are using a valid glob expression before logging a bug with this library
0 commit comments