Skip to content

Commit c111e13

Browse files
committed
doc: add deprecation notice
PR-URL: #18395 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent 81aaab7 commit c111e13

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/api/deprecations.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,15 @@ Type: End-of-Life
923923
924924
The `--with-lttng` compile time option is removed.
925925
926+
<a id="DEP0102"></a>
927+
### DEP0102: Using `noAssert` in Buffer#(read|write) operations.
928+
929+
Type: End-of-Life
930+
931+
Using the `noAssert` argument has no functionality anymore. All input is going
932+
to be verified, no matter if it is set to true or not. Skipping the verification
933+
could lead to hard to find errors and crashes.
934+
926935
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
927936
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
928937
[`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array

0 commit comments

Comments
 (0)