lib: promote process.binding/_tickCallback to runtime deprecation by jasnell · Pull Request #50687 · nodejs/node

@jasnell added the semver-major

PRs that contain breaking changes and should be released in the next major version.

label

Nov 12, 2023

@nodejs-github-bot nodejs-github-bot added c++

Issues and PRs that require attention from people who are familiar with C++.

lib / src

Issues and PRs related to general changes in the lib or src directory.

needs-ci

PRs that need a full CI run.

labels

Nov 12, 2023

targos

targos

jasnell

@jasnell

These have been pendingDeprecation for long enough.

This also adds the `--deprecated-process-binding` (and matching
`--no-deprecated-process-binding`) CLI option as a future transition
path for when we do ultimately remove `process.binding()`.

`--deprecated-process-binding` ensures that `process.binding(...)`
is available and is currently the default. In the future, when we
are ready to begin moving `process.binding(...)` to EOF, we can
flip the default so that `process.binding('...')` is unavailable
by default *but still able to be switched back on if necessary*,
giving users an escape hatch if they really need it. This will give
us a more nuanced path than abruptly removing it completely.

mcollina

joyeecheung

joyeecheung

Qard

Qard approved these changes Nov 15, 2023

RafaelGSS

This was referenced

Dec 19, 2023

This was referenced

Jan 15, 2024