@@ -3153,6 +3153,8 @@ Type: Documentation-only
3153
3153
3154
3154
The [ ` --trace-atomics-wait ` ] [ ] flag is deprecated.
3155
3155
3156
+ <!-- md-lint skip-deprecation DEP0166 -->
3157
+
3156
3158
### DEP0167: Weak ` DiffieHellmanGroup ` instances (` modp1 ` , ` modp2 ` , ` modp5 ` )
3157
3159
3158
3160
<!-- YAML
@@ -3171,12 +3173,34 @@ details.
3171
3173
These groups might be removed in future versions of Node.js. Applications that
3172
3174
rely on these groups should evaluate using stronger MODP groups instead.
3173
3175
3176
+ ### DEP0168: Unhandled exception in Node-API callbacks
3177
+
3178
+ <!-- YAML
3179
+ changes:
3180
+ - version:
3181
+ - v18.3.0
3182
+ - v16.17.0
3183
+ pr-url: https://github.com/nodejs/node/pull/36510
3184
+ description: Runtime deprecation.
3185
+ -->
3186
+
3187
+ Type: Runtime.
3188
+
3189
+ The implicit suppression of uncaught exceptions in Node-API callbacks is now
3190
+ deprecated.
3191
+
3192
+ Set the flag [ ` --force-node-api-uncaught-exceptions-policy ` ] [ ] to force Node.js
3193
+ to emit an [ ` 'uncaughtException' ` ] [ ] event if the exception is not handled in
3194
+ Node-API callbacks.
3195
+
3174
3196
[ Legacy URL API ] : url.md#legacy-url-api
3175
3197
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
3176
3198
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
3177
3199
[ RFC 8247 Section 2.4 ] : https://www.rfc-editor.org/rfc/rfc8247#section-2.4
3178
3200
[ WHATWG URL API ] : url.md#the-whatwg-url-api
3179
3201
[ `"exports"` or `"main"` entry ] : packages.md#main-entry-point-export
3202
+ [ `'uncaughtException'` ] : process.md#event-uncaughtexception
3203
+ [ `--force-node-api-uncaught-exceptions-policy` ] : cli.md#--force-node-api-uncaught-exceptions-policy
3180
3204
[ `--pending-deprecation` ] : cli.md#--pending-deprecation
3181
3205
[ `--throw-deprecation` ] : cli.md#--throw-deprecation
3182
3206
[ `--trace-atomics-wait` ] : cli.md#--trace-atomics-wait
0 commit comments