Changelog

nodejs/node · · 3 commits

Node adds official SSL_CTX addon API

A new native addon API exposes OpenSSL contexts, alongside doc fixes and safer Windows child_process guidance.

Official SSL_CTX access for native addons (pimterry2263b4d)

Node now exports node::crypto::GetSSLCtx(), giving addons an official way to retrieve an SSL_CTX* from a tls.createSecureContext() object instead of relying on unsupported internal fields. The new API is documented in node.h and comes with addon tests to validate both successful extraction and failure cases.

Safer Windows .bat/.cmd guidance (kovan22fc52b)

The child_process docs were updated to stop recommending spawn() with shell: true for .bat and .cmd files, and now explicitly call out the deprecation and injection risk. The examples were simplified to favor exec() or direct cmd.exe spawning.

Other misc changes

  • Doc typo fix in CLI/manual: “guranteed” -> “guaranteed” (lilianakatrina684-a11y7f8019e)
  • Add addon test skip for ibmi (pimterry2263b4d)