Skip to content

Commit b868468

Browse files
committed
doc: add changelogs for util
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 93e7639 commit b868468

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

doc/api/util.md

+18
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ util.format(1, 2, 3); // '1 2 3'
136136
## util.inherits(constructor, superConstructor)
137137
<!-- YAML
138138
added: v0.3.0
139+
changes:
140+
- version: v5.0.0
141+
pr-url: https://github.com/nodejs/node/pull/3455
142+
description: The `constructor` parameter can refer to an ES6 class now.
139143
-->
140144

141145
_Note: usage of `util.inherits()` is discouraged. Please use the ES6 `class` and
@@ -203,6 +207,20 @@ stream.write('With ES6');
203207
## util.inspect(object[, options])
204208
<!-- YAML
205209
added: v0.3.0
210+
changes:
211+
- version: v6.6.0
212+
pr-url: https://github.com/nodejs/node/pull/8174
213+
description: Custom inspection functions can now return `this`.
214+
- version: v6.3.0
215+
pr-url: https://github.com/nodejs/node/pull/7499
216+
description: The `breakLength` option is supported now.
217+
- version: v6.1.0
218+
pr-url: https://github.com/nodejs/node/pull/6334
219+
description: The `maxArrayLength` option is supported now; in particular,
220+
long arrays are truncated by default.
221+
- version: v6.1.0
222+
pr-url: https://github.com/nodejs/node/pull/6465
223+
description: The `showProxy` option is supported now.
206224
-->
207225

208226
* `object` {any} Any JavaScript primitive or Object.

0 commit comments

Comments
 (0)