eris icon indicating copy to clipboard operation
eris copied to clipboard

Use process warnings for deprecations

Open eritbh opened this issue 4 years ago • 1 comments

Addresses #1274. Adds process warning emits alongside existing deprecation-related client warn emits. To avoid emitting the same process warning multiple times, uses a wrapper around process.emitWarning that checks if the given warning code has already been used, and if so, skips emitting the warning again.

eritbh avatar Sep 07 '21 21:09 eritbh

Rewrote the rest of the warning descriptions to be consistent with each other. I've elected not to copy these changes to warnings emitted on the client to avoid potentially breaking things, but if it's desired anyway, I can copy my changes to those as well. Please double check my grammar and format.

eritbh avatar Sep 20 '21 18:09 eritbh

Merged latest dev in again and this branch still appears to work fine for me, though I'd guess there are additional deprecated behaviors that have been introduced in the meantime which will need to be handled in a successive PR.

eritbh avatar Jan 05 '24 06:01 eritbh