Skip to content

Commit

Permalink
doc: add changelogs for process
Browse files Browse the repository at this point in the history
PR-URL: #11489
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
  • Loading branch information
addaleax committed Feb 24, 2017
1 parent c1477b9 commit df30bc8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,14 @@ to detect application failures and recover or restart as needed.
### Event: 'unhandledRejection'
<!-- YAML
added: v1.4.1
changes:
- version: v7.0.0
pr-url: https://github.com/nodejs/node/pull/8217
description: Not handling Promise rejections has been deprecated.
- version: v6.6.0
pr-url: https://github.com/nodejs/node/pull/8223
description: Unhandled Promise rejections have been will now emit
a process warning.
-->

The `'unhandledRejection`' event is emitted whenever a `Promise` is rejected and
Expand Down Expand Up @@ -1130,6 +1138,10 @@ is no entry script.
## process.memoryUsage()
<!-- YAML
added: v0.1.16
changes:
- version: v7.2.0
pr-url: https://github.com/nodejs/node/pull/9587
description: Added `external` to the returned object.
-->

* Returns: {Object}
Expand Down Expand Up @@ -1165,6 +1177,10 @@ objects managed by V8.
## process.nextTick(callback[, ...args])
<!-- YAML
added: v0.1.26
changes:
- version: v1.8.1
pr-url: https://github.com/nodejs/node/pull/1077
description: Additional arguments after `callback` are now supported.
-->

* `callback` {Function}
Expand Down Expand Up @@ -1284,6 +1300,10 @@ console.log(`This platform is ${process.platform}`);
## process.release
<!-- YAML
added: v3.0.0
changes:
- version: v4.2.0
pr-url: https://github.com/nodejs/node/pull/3212
description: The `lts` property is now supported.
-->

The `process.release` property returns an Object containing metadata related to
Expand Down Expand Up @@ -1646,6 +1666,10 @@ console.log(`Version: ${process.version}`);
## process.versions
<!-- YAML
added: v0.2.0
changes:
- version: v4.2.0
pr-url: https://github.com/nodejs/node/pull/3102
description: The `icu` property is now supported.
-->

* {Object}
Expand Down

0 comments on commit df30bc8

Please sign in to comment.