All Versions
111
Latest Version
Avg Release Cycle
19 days
Latest Release
782 days ago
Changelog History
Page 7
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 adisconnect
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 namedautoOpen
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
anddataCallback
- π Renamed
serialportlist
toserialport-list
- π Renamed
serialportterm
toserialport-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)
- π Requiring
-
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)
chore
π₯ BREAKING CHANGES
- π 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 blockingstatSync
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)