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
+31-14Lines changed: 31 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,26 @@ 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-2024-4067 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**
43
+
- Updated braces to v3.0.3 to avoid CVE-2024-4068
44
+
- does NOT break API compatibility
45
+
46
+
## [4.0.6] - 2024-05-21
47
+
48
+
- Added `hasBraces` to check if a pattern contains braces.
49
+
- Fixes CVE-2024-4067
50
+
-**BREAKS API COMPATIBILITY**
51
+
- Should be labeled as a major release, but it's not.
52
+
53
+
## [4.0.1 - 4.0.5]
54
+
35
55
## [4.0.0] - 2019-03-20
36
56
37
57
### Added
@@ -40,7 +60,6 @@ Changelog entries are classified using the following labels _(from [keep-a-chang
40
60
- Adds support for `options.onIgnore`. See the readme for details
41
61
- Adds support for `options.onResult`. See the readme for details
42
62
43
-
44
63
### Breaking changes
45
64
46
65
- Require Node.js >= 8.6
@@ -56,9 +75,9 @@ Changelog entries are classified using the following labels _(from [keep-a-chang
56
75
57
76
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
77
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.
78
+
- micromatch results are directly compared to bash results
79
+
- in rare cases, when micromatch and bash disagree, micromatch's results are compared to minimatch's results
80
+
- micromatch is much more accurate than minimatch, so there were cases where I had to make assumptions. I'll try to document these.
62
81
63
82
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
83
@@ -73,20 +92,20 @@ Here are those sub-modules with links to related prs on those modules if you wan
73
92
74
93
**Added**
75
94
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
95
+
- 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).
96
+
- parser is exposed, so that implementors can customize or override specific micromatch parsers if necessary
97
+
- compiler is exposed, so that implementors can customize or override specific micromatch compilers if necessary
79
98
80
99
**Fixed**
81
100
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
101
+
- 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)
102
+
- 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
103
85
104
**Changed**
86
105
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
106
+
- 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:
107
+
- out of an abundance of caution due to the large amount of code changed in this release
108
+
- 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