Skip to content

Commit af4207b

Browse files
committed
changelog updates re path separator handling
1 parent 0049e9a commit af4207b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

changelog.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
## 8.0
22

33
- Only support node v12 and higher
4+
- `\` is now **only** used as an escape character, and never as a
5+
path separator in glob patterns, so that Windows users have a
6+
way to match against filenames containing literal glob pattern
7+
characters.
8+
- Glob pattern paths **must** use forward-slashes as path
9+
separators, since `\` is an escape character to match literal
10+
glob pattern characters.
11+
- (8.0.2) `cwd` and `root` will always be automatically coerced
12+
to use `/` as path separators on Windows, as they cannot
13+
contain glob patterns anyway, and are often supplied by
14+
`path.resolve()` and other methods that will use `\` path
15+
separators by default.
416

517
## 7.2
618

0 commit comments

Comments
 (0)