Skip to content

[v22.x backport] lib: backport _tls_common and _tls_wrap refactors#62231

Open
aduh95 wants to merge 1 commit intonodejs:v22.x-stagingfrom
aduh95:backport-tls-refactor
Open

[v22.x backport] lib: backport _tls_common and _tls_wrap refactors#62231
aduh95 wants to merge 1 commit intonodejs:v22.x-stagingfrom
aduh95:backport-tls-refactor

Conversation

@aduh95
Copy link
Contributor

@aduh95 aduh95 commented Mar 12, 2026

This is the same as the original change (#57643, #61044), minus the process.emitWarning calls and unit tests that expect the deprecation warnings

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/crypto
  • @nodejs/net
  • @nodejs/startup

@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. v22.x Issues that can be reproduced on v22.x or PRs targeting the v22.x-staging branch. labels Mar 12, 2026
@nodejs-github-bot

This comment was marked as outdated.

This is the same as the original change, minus the `process.emitWarning`
calls and unit tests that expect the deprecation warnings.

Original commit message:
    lib: deprecate _tls_common and _tls_wrap

    runtime deprecate the _tls_common and _tls_wrap
    modules, users should use nust node:tls insteal
    and internally internal/tls/commond and
    internal/tls/wrap should be used instead

PR-URL: nodejs#57643
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: =?UTF-8?q?Micha=C3=ABl=20Zasso?= <targos@protonmail.com>
@aduh95 aduh95 force-pushed the backport-tls-refactor branch from c1d364a to 6bc7a51 Compare March 12, 2026 15:33
@nodejs-github-bot
Copy link
Collaborator

@aduh95 aduh95 changed the title lib: backport _tls_common and _tls_wrap refactors [v22.x backport] lib: backport _tls_common and _tls_wrap refactors Mar 12, 2026
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. v22.x Issues that can be reproduced on v22.x or PRs targeting the v22.x-staging branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants