Skip to content

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

Merged
aduh95 merged 1 commit intonodejs:v22.x-stagingfrom
aduh95:backport-tls-refactor
Mar 16, 2026
Merged

[v22.x backport] lib: backport _tls_common and _tls_wrap refactors#62231
aduh95 merged 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

PR-URL: #57643

@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 <[email protected]>
Co-authored-by: =?UTF-8?q?Micha=C3=ABl=20Zasso?= <[email protected]>
@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

@aduh95 aduh95 merged commit 5a72c80 into nodejs:v22.x-staging Mar 16, 2026
53 checks passed
@aduh95
Copy link
Contributor Author

aduh95 commented Mar 16, 2026

Landed in 5a72c80

@aduh95 aduh95 deleted the backport-tls-refactor branch March 16, 2026 19:00
aduh95 added a commit that referenced this pull request Mar 16, 2026
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: #57643
Backport-PR-URL: #62231
Co-authored-by: Antoine du Hamel <[email protected]>
Co-authored-by: =?UTF-8?q?Micha=C3=ABl=20Zasso?= <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
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.

5 participants