Skip to content

Commit c1477b9

Browse files
committed
doc: add changelogs for path
PR-URL: #11489 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Italo A. Casas <[email protected]>
1 parent ac10a3b commit c1477b9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/api/path.md

+17
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ path.posix.basename('/tmp/myfile.html');
5757
## path.basename(path[, ext])
5858
<!-- YAML
5959
added: v0.1.25
60+
changes:
61+
- version: v6.0.0
62+
pr-url: https://github.com/nodejs/node/pull/5348
63+
description: Passing a non-string as the `path` argument will throw now.
6064
-->
6165

6266
* `path` {String}
@@ -114,6 +118,10 @@ process.env.PATH.split(path.delimiter)
114118
## path.dirname(path)
115119
<!-- YAML
116120
added: v0.1.16
121+
changes:
122+
- version: v6.0.0
123+
pr-url: https://github.com/nodejs/node/pull/5348
124+
description: Passing a non-string as the `path` argument will throw now.
117125
-->
118126

119127
* `path` {String}
@@ -134,6 +142,10 @@ A [`TypeError`][] is thrown if `path` is not a string.
134142
## path.extname(path)
135143
<!-- YAML
136144
added: v0.1.25
145+
changes:
146+
- version: v6.0.0
147+
pr-url: https://github.com/nodejs/node/pull/5348
148+
description: Passing a non-string as the `path` argument will throw now.
137149
-->
138150

139151
* `path` {String}
@@ -408,6 +420,11 @@ of the `path` methods.
408420
## path.relative(from, to)
409421
<!-- YAML
410422
added: v0.5.0
423+
changes:
424+
- version: v6.8.0
425+
pr-url: https://github.com/nodejs/node/pull/8523
426+
description: On Windows, the leading slashes for UNC paths are now included
427+
in the return value.
411428
-->
412429

413430
* `from` {String}

0 commit comments

Comments
 (0)