Conversation
|
This should not be semver-major. The whole point of having the error codes as they are is to change the message when ever we feel like it without the need to declare it semver-major. |
|
@BridgeAR That was the intention, yes, but the |
|
The code property has already changed by using the new error types in general. As soon as that is in place, changing the message again should AFAIK be semver- |
|
@BrigeAR Acknowledged, adding semver-minor in that case. |
|
Sorry, I meant semver-patch. |
|
At some point, @nodejs/tsc decided that message changes were still semver-major even though codes had been introduced because (it was believed) there is so much message-sniffing code out there. I'm personally OK with that rule being rescinded, but @-mentioning TSC here in case there's anyone who feels differently. |
|
Landed in a1a0c59. |
PR-URL: #22687 Refs: #20816 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
PR-URL: #22687 Refs: #20816 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
The error code was added in #20816 and I assume it couldn't be fixed in that PR because changing the error message would have made the change semver-major.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes