Skip to content

Commit d9dbd9a

Browse files
committed
feat: updated CHANGELOG
1 parent 2ab1315 commit d9dbd9a

File tree

1 file changed

+30
-14
lines changed

1 file changed

+30
-14
lines changed

CHANGELOG.md

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,25 @@ Changelog entries are classified using the following labels _(from [keep-a-chang
3232

3333
</details>
3434

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+
3554
## [4.0.0] - 2019-03-20
3655

3756
### Added
@@ -40,7 +59,6 @@ Changelog entries are classified using the following labels _(from [keep-a-chang
4059
- Adds support for `options.onIgnore`. See the readme for details
4160
- Adds support for `options.onResult`. See the readme for details
4261

43-
4462
### Breaking changes
4563

4664
- Require Node.js >= 8.6
@@ -56,9 +74,9 @@ Changelog entries are classified using the following labels _(from [keep-a-chang
5674

5775
Complete overhaul, with 36,000+ new unit tests validated against actual output generated by Bash and minimatch. More specifically, 35,000+ of the tests:
5876

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

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

@@ -73,20 +91,20 @@ Here are those sub-modules with links to related prs on those modules if you wan
7391

7492
**Added**
7593

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
7997

8098
**Fixed**
8199

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
84102

85103
**Changed**
86104

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
90108

91109
## [1.0.1] - 2016-12-12
92110

@@ -102,8 +120,6 @@ Stable release.
102120

103121
First release.
104122

105-
106123
[Unreleased]: https://github.com/jonschlinkert/micromatch/compare/0.1.0...HEAD
107124
[0.2.0]: https://github.com/jonschlinkert/micromatch/compare/0.1.0...0.2.0
108-
109125
[keep-a-changelog]: https://github.com/olivierlacan/keep-a-changelog

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy