You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMHO we should have explicit policy for handling these endpoints. Specifically, should they be documented or deprecated, and how. A few discussion points come to mind:
semverity - can these endpoints be "doc-only" deprecated immediately (considered semver-patch)
usefulness - should there be a standard process to assess their use (Gzemnid/GitHub search/google/SO/twitter survey)?
Recently some undocumented "public" endpoints have been surfaced:
partial list
(update from @jasnell on 2018-08-10, this API has been since deprecated)tls.parseCertString()- tls: move parseCertString to internal #14218, doc, tls: mark parseCertString() as deprecated #14245(update from @jasnell on 2018-08-10, this API has been documented and deprecated)REPLServer.parseREPLKeyword- repl: deprecate REPLServer.parseREPLKeyword #14223(update from @jasnell on 2018-08-10, this API has been since removed)tls.convertNPNProtocols()- tls: remove Next Protocol Negotiation? [rfc] #14602(update from @jasnell on 2018-08-10, this API has been since deprecated)ServerResponse.prototype.writeHeader()- http: docs deprecate ServerResponse.prototype.writeHeader() #11355(update from @jasnell 2018-08-10, this API has been documented)subprocess.killed- doc: add documentation forkilledproperty of ChildProcess instance #14578IMHO we should have explicit policy for handling these endpoints. Specifically, should they be documented or deprecated, and how. A few discussion points come to mind:
killedproperty of ChildProcess instance #14578, cluster: remove deprecated API #13702)/cc @nodejs/documentation @nodejs/release @nodejs/ctc @nodejs/testing @nodejs/community-committee