Skip to content

Commit

Permalink
lib: add static identifier codes for all deprecations
Browse files Browse the repository at this point in the history
Assigns a static identifier code to all runtime and documentation
only deprecations. The identifier code is included in the emitted
DeprecationWarning.

Also adds a deprecations.md to the API docs to provide a central
location where deprecation codes can be referenced and explained.

PR-URL: #10116
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Michal Zasso <[email protected]>
Reviewed-By: Fedor Indutny <[email protected]>
  • Loading branch information
jasnell committed Jan 30, 2017
1 parent 03e89b3 commit 5de3cf0
Show file tree
Hide file tree
Showing 24 changed files with 636 additions and 45 deletions.
1 change: 1 addition & 0 deletions doc/api/_toc.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* [Console](console.html)
* [Crypto](crypto.html)
* [Debugger](debugger.html)
* [Deprecated APIs](deprecations.html)
* [DNS](dns.html)
* [Domain](domain.html)
* [Errors](errors.html)
Expand Down
Loading

0 comments on commit 5de3cf0

Please sign in to comment.