Skip to content

Commit 9a826e5

Browse files
committed
add a little to the upgrade guide
1 parent 61e23d0 commit 9a826e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UPGRADE_GUIDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Upgrading from 4.x to 5.x
33
5.x is a major rewrite to make node serialport a NodeJS stream. While the api surface is similar there have been a number of changes to ensure more consistent error handling and operation of a serial port.
44

55
- Removed the `disconnect` event. The `close` event now fires with a disconnect error object in the event of a disconnection.
6+
- `drain` now waits for the current javascript write to complete before calling the system level drain.
67

78
The exact changes will go here see #1046
89

0 commit comments

Comments
 (0)