All Versions
Latest Version
Avg Release Cycle
19 days
Latest Release
781 days ago

Changelog History
Page 7

  • v4.0.0 Changes

    August 05, 2019
    • πŸ—„ Requiring serialport now returns the SerialPort constructor function instead of a factory object. SerialPort.SerialPort is now deprecated.
    • SerialPort constructor now throws on argument errors immediately.
    • .write(writeCallback) now only calls it's callback once after the entire write operation, it used to be called for each write cycle and return the bytes written. This reduces the number of callbacks by hundreds of thousands over a megabyte at low bandwidth.
    • Disconnections now always attempt to close the port, and you'll always get a close event after a disconnect event
    • All callbacks are called in the context of the port, this now equals the port.
    • βœ‚ Removed openImmediately from the constructor's api, the functionality is now named autoOpen on the options object.
    • βœ‚ Removed extraneous flow control settings from the flowControl option, use the specific options to set these flags now.
    • βœ‚ Removed undocumented callbacks from the options object disconnectedCallback and dataCallback
    • πŸ“‡ Renamed serialportlist to serialport-list
    • πŸ“‡ Renamed serialportterm to serialport-term
    • βž• Added a contributors guide
    • βž• Added our first Arduino required integration tests
    • [unix] .drain and .set now properly report errors
    • πŸ”’ [unix] Ports are now locked by default with the new lock options matches windows default behavior
    • ⚑️ [windows] .update() now supports windows for changing baud rates
    • 🏁 [windows] Fixed a bug where we weren't properly opening ports (provides better support virtual com ports too) thanks to @RogerHardiman
    • πŸ”’ [windows] known issue lock: false doesn't work (no change in behavior)
  • v3.1.2 Changes

    • πŸ“š Documentation around "Illegal Instruction" errors
    • Resolve some ambiguities around publishing that was causing some issues on some versions and platforms of npm and node
    • 🐧 [linux] bug fix in .list() where we weren't filtering out non block devices that are named like serial ports
    • πŸ‘ [unix] Better unix error messages
    • πŸ”¨ [unix] Refactor setBaudrate for Unix making it easier for custom baudRate support
    • πŸ“š [unix] Update now has less memory leaks, documentation and better error messages
    • 🏁 [windows] Better error messages for opening ports
  • v3.1.1 Changes

    • πŸ›  fix an issue with bundled deps for node-pre-gyp on npm
  • v3.1.0 Changes

    • ⬆️ Upgrade nan and fix warnings for node 6.0
    • ⚑️ Update the cli tools. serialport-term can now list ports, serialport-list can now output in different formats
  • v3.0.1 Changes

    • πŸ”„ Change from BlueBird to es6-promise to save 9.5MB from the package size (19M -> 9.5) and 130k bundle size (186.1kb -> 55.2kb)
    • πŸ‘ Experimental node 6 support
  • v3.0.0 Changes

    May 16, 2019

    πŸ› Bug Fixes

    • βœ‚ remove PURGE_RXABORT flag on flush for Windows (#1817) (1daa919)
    • 🏁 RTS/CTS flow control for Windows (#1809) (cd112ca)


    • βœ‚ remove node6 support and upgrade codebase (#1851) (d4f15c0)


    • 🏁 flush behavior on windows no longer cancels inflight reads
    • bindings now use async functions so they’ll never throw, only reject
  • v2.1.2 Changes

    • ⬆️ Start bundling node-pre-gyp but upgrade it to the latest as the previous version doesn't install
  • v2.1.1 Changes

    • .list errors are consistent across platforms and no longer has blocking statSync calls
    • Stop bundling node-pre-gyp to prevent issues when it's already installed
    • Internal restructuring
  • v2.1.0 Changes

    • πŸ”¨ 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.
  • v2.0.8 Changes

    April 27, 2019

    πŸ› Bug Fixes

    • πŸ‘‰ make node 12 work! (00dc272)