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

Changelog History
Page 6

  • v6.0.3 Changes

    October 22, 2017

    ๐Ÿ› Bug Fixes

    • ๐Ÿ windows: Fix async handle leak (#1367) (c1d9d88), closes #1363
    • ๐Ÿ windows: Fix read & write bugs for windows (#1364) (0e4b1f9)
  • v6.0.0 Changes

    October 09, 2017

    ๐Ÿ”‹ Features

    • open: Throw on incorrect baudrate option (#1347) (a3b8d35)
    • ๐Ÿ“œ parsers: Add cctalk parsers (#1342) (bcb492f)
    • โœ… test: tone down codecov comments (#1289) (749ffac)
    • ๐Ÿ windows: Add ERROR_INVALID_PARAMETER to supported bindings errors (#1354) (4ff9c67)

    ๐Ÿ› Bug Fixes

    • ๐Ÿ“„ docs: Add a note about windows support (76b7191), closes #1299
    • ๐Ÿ“„ docs: add missing parsers to properties list (3faadac)
    • ๐Ÿ“„ docs: correct default highWaterMark to 65536 bytes (e83ec4e)
    • ๐Ÿ“„ docs: Fixed typo in upgrade guide (#1321) (bf251a9)
    • ๐Ÿง linux: The productID should be a number not a description string (#1279) (bf46f68)
    • ๐Ÿ“ฆ package: update debug to version 3.0.0 (#1292) (4987750)
    • โœ… tests: fixup for #1279 (#1285) (56074f6)
    • ๐Ÿ windows: Add option to disable RTS (#1277) (5b8d163)
    • ๐Ÿ windows: Asynchronous callbacks for reading and writing (#1328) (69de595), closes #1221
    • ๐Ÿ windows: Parse more types of pnpIds (#1288) (0b554d7), closes #1220



    • binaries: We switched to prebuild a breaking change because it's substantially changes our install processes. It's also possible the install flags to ensure downloading or building from source has changed slightly. That's not our api per say, but it's enough.
    • ๐Ÿ windows: We previously hard coded to have RTS on for windows at all times it now default to off.
  • v5.0.0 Changes

    ๐ŸŽ Nearly a year in the making Node SerialPort 5.0.0 is a major rewrite that improves stability, compatibility and performance. The api surface is similar to version 4 there have been a number of changes to ensure consistent error handling and operation of a serial port. Notably we are now a Stream! We can also introduce a bindings layer. A small low level api to provide access to underlying hardware. External bindings written in other languages or targeting other platforms can now be used.

    ๐ŸŽ Some major cpu performance gains on unix platforms can be found and we're less buggy and better performing on Windows too.

    ๐Ÿš€ With this release we are now only supporting LTS nodejs platforms and we are dropping NodeJS 0.10, 0.12, 5 and 7 support. We loved directly supporting so many platforms but it was getting in the way making a solid library.

    โฌ†๏ธ See our [upgrade guide](./ for detail on what to change to upgrade your app to use [email protected]. It's not much!

    ๐Ÿ“š Thank you to the 25 people who committed code and documentation and every person who submitted bug reports and tested changes!

    Notable Changes

    • [all] Streams rewrite, node serialport is now a node stream! ๐ŸŽ‰
    • ๐Ÿ‘ [all] Drop NodeJS 0.10, 0.12, 5, and 7 support
    • ๐Ÿ‘ [all] Add node 8 support (we now only support LTS node versions)
    • [all] Introduce a binding layer to provide a common low level interface to work with different platforms.
    • [unix] New read/write subsystem. Write CPU dropped from 100% to 0-2%. @reconbot (Thanks to @indutny for getting me unstuck many times!)
    • ๐Ÿ [windows] Rewrite reading so it's pausable thanks to @munyirik
    • ๐Ÿ“„ [docs] An overhaul how we document the api leveraging JSDOC
    • ๐Ÿ“„ [docs] An overhaul of the format and language in our docs thanks to @LappleApple

    ๐Ÿ”‹ Features

    • [all] isOpen is now a property #899
    • [all] SerialPort.list now has more consistent output across all platforms.
    • ๐Ÿ›  [all] SerialPort.list returns a promise if a callback is not provided thanks to @MikeKovarik for bug fixes
    • โœ… [all] A promise aware serialport-repl script for debugging and testing.
    • [all] add #get to retrieve modem status flags thanks to @jgillick!
    • โœ… [all] Add a MockBinding object for testing serialports in your project. Used internally too!
    • [all] Add electron precompiled binaries thanks to @Mike-Dax
    • โœ… [all] Add regex stream parser and tests @jessicaquynh
    • [all] Allow reopening after an open error #910
    • โœ… [all] calls to .drain now queue behind port open and in progress writes reported by and with lots of testing help from @tuna-f1sh
    • ๐Ÿ“œ [all] Change parsers to be transform streams #922
    • 0๏ธโƒฃ [all] Change the default highWaterMark to 64k to match fs.ReadStream
    • [all] Conform to NodeJS error message formats
    • โœ… [all] Exposed mocking serialport via require('serialport/test')
    • [all] Have drain wait for pending JS write operations before calling system drain thanks to @digitalhack for reporting it
    • [all] port.path is now read only #898
    • ๐Ÿ”จ [all] Refactor internals to make use of es6 and promises
    • ๐Ÿšš [all] Remove lowercase options #898
    • ๐Ÿšš [all] Remove the c++ write queue
    • ๐Ÿšš [all] Remove unnecessary dependencies and polyfills thanks to @mscdex
    • ๐Ÿšš [all] Remove v8 deprecation warnings thanks to @indutny again
    • ๐Ÿšš [all] Removed the disconnect event. The close event now fires with a disconnect error object in the event of a disconnection.
    • [all] SerialPort can now be compressed with uglify-es thanks to @rwaldron
    • โšก๏ธ [all] update bindings to version 1.3.0
    • โฌ†๏ธ [all] Upgrade debug and node-pre-gyp
    • โฌ†๏ธ [all] Upgrade to non deprecated buffer methods
    • ๐Ÿ [docs] Add more installation notes on sudo, windows 10, electron and node 7
    • ๐Ÿ“„ [docs] Add socketio example @jessicaquynh
    • ๐Ÿ— [docs] Electron build docs #965 via @chalkers
    • ๐Ÿ“„ [docs] Mark new features in 5.0.0 with the fact they started in 5.0.0
    • โšก๏ธ [docs] Update parser docs to be correct #970 via @jacobq
    • ๐Ÿง [linux] SerialPort.list is now faster and less resource intensive thanks to @akaJes!
    • ๐Ÿง [linux] Add the ttyAP subsystem to serialport list thanks to @fly19890211 for reporting it
    • [osx] SerialPort.list now returns the tty instead of the cu thanks to @kishinmanglani
    • [unix] Flush now gives errors and flushes tx and rx #900
    • ๐Ÿšš [unix] Move setting up the baudrate to the end of the open() to better support custom baudrates
    • ๐Ÿ”จ [windows] Refactoring of .list for Windows so it's significantly smaller thanks to @Zensey

    ๐Ÿ›  Fixes

    • ๐Ÿ“œ [all] Fix baud rate parsing in serialport-terminal thanks to @radio-miskovice for reporting it!
    • [all] Fix memory leak during opening a port thanks to @indutny
    • ๐Ÿ›  [all] fixed a crash when pausing while reading thanks to @bminer and @baffo32 and others to debug and fix this
    • โฌ†๏ธ [all] Upgrade nan to fix compile issues on some platforms thanks to @thom-nic
    • ๐Ÿ›  [docs] fixed a typo thanks to @amilajack
    • ๐Ÿ›  [docs] Spelling fixes via @Awk34
    • [unix] fix a bug when poller errors would be unhandled thanks to @thiago-sylvain for reporting
    • ๐Ÿ [windows] Fix file handle leak during opens when errors occur thanks to @enami
    • ๐Ÿ [windows] Fix flush behavior using PurgeComm fixing #962 via @samisaham
    • ๐Ÿ [windows] Fix unhandled promise rejection when calling read on Windows
    • ๐Ÿ [windows] Remove read and write timeouts solving #781 via @giseburt

    โœ… We also had help testing, debugging, and designing from; @alaq @arve0 @techninja @noopkat @HipsterBrown and more!

  • v4.0.7 Changes

    • ๐Ÿ“œ [all] Fix baud rate parsing in serialport-terminal thanks to @radio-miskovice for reporting it!
    • ๐Ÿ”จ [windows] Refactor SerialPort.list to be a lot smaller and pickup vendorId, productId and locationId thanks to @zensey for #877!
  • v4.0.6 Changes

    • โฌ†๏ธ [all] Upgrade nan to fix compile issues on some platforms thanks to @thom-nic
    • โฌ†๏ธ [all] Upgrade debug and node-pre-gyp
  • v4.0.5 Changes

    • ๐Ÿ [windows] Fix file handle leak during opens when errors occur thanks to @enami
    • [all] Fix memory leak during opening a port thanks to @indutny
  • v4.0.4 Changes

    • โž• Add precompiled binaries for node 7
  • v4.0.3 Changes

    • Switch to the lie promise library as it's smaller and mimics nodejs's promise closer
    • ๐Ÿ›  Fix a bug that prevented reopening a port after an open error
  • v4.0.2 Changes

    • [unix] Fix a bug when we'd crash when pausing during a read
  • v4.0.1 Changes

    • ๐Ÿง [linux] Do not replace the native Promise when it is available thanks to @zewish for the fix