serialport v2.1.0 Release Notes

    • ๐Ÿ”จ Major refactor, bug fixes and docs improvements thanks to @ecksun, @fivdi, @gfcittolin, @jacobrosenthal, @mhart, @nebrius, @pabigot, @paulkaplan, @reconbot, @rodovich, @rwaldron, @sayanee, @tigoe and everyone who reported and helped debug issues!
    • ๐Ÿ›  Fix binary paths to confirm with modern standards
    • โœ… Integration tests on CI's that support it or for the folks at home with an arduino handy
    • โฌ†๏ธ Upgrade to nan-2.2.1 for memory leak fixes and node 6 compatibility (still not supported)
    • Confirm nw.js and electron compatibility
    • ๐Ÿ“„ Make the outpout of .list consistent between platforms and docs
    • Define ambiguous flow control flags and document them
    • ๐Ÿ›  Fix support systems who provide 0 as a valid file descriptor
    • ๐Ÿ›  Fix race conditions when opening and closing ports that led to errors while reading and writing while closing or opening the port.
    • [unix] Fix a double open bug on unix that would cause opening and closing ports repetitively to error.
    • ๐Ÿง [unix] Listing serialports on linux now include more ports (including bluetooth devices eg. /dev/rfcommXX) and have less bugs in the output
    • ๐Ÿ [windows] Remove deprecated BuildCommDCB for windows 10 support
    • ๐Ÿ [windows] Fix a memory leak on windows
    • ๐Ÿ [windows] Fix a 100% cpu and possible hang bug when ports were disconnected on windows.