Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
MIT License
Bot releases are visible (Hide)
Published by reconbot about 7 years ago
Commits 6.0.0 (2017-10-09)
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.Published by reconbot about 7 years ago
This is a bug fix release that includes one of the best bug fixes we could ask for. @dustmop has rewritten our windows read/write subsystem! This should bring reads and writes down from 100% cpu to 1-2% cpu. Give it a try!
Published by reconbot about 7 years ago
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.Published by reconbot about 7 years ago
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 also introduced 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
Features
isOpen
is now a property #899SerialPort.list
now has more consistent output across all platforms.SerialPort.list
returns a promise if a callback is not provided thanks to @MikeKovarik for bug fixesserialport-repl
script for debugging and testing.#get
to retrieve modem status flags thanks to @jgillick!MockBinding
object for testing serialports in your project. Used internally too!.drain
now queue behind port open and in progress writes reported by and with lots of testing help from @tuna-f1shhighWaterMark
to 64k to match fs.ReadStream
require('serialport/test')
disconnect
event. The close
event now fires with a disconnect error object in the event of a disconnection.uglify-es
thanks to @rwaldronSerialPort.list
is now faster and less resource intensive thanks to @akaJes!ttyAP
subsystem to serialport list thanks to @fly19890211 for reporting itSerialPort.list
now returns the tty
instead of the cu
thanks to @kishinmanglaniopen()
to better support custom baudrates.list
for Windows so it's significantly smaller thanks to @ZenseyFixes
serialport-terminal
thanks to @radio-miskovice for reporting it!We also had help testing, debugging, and designing from; @alaq @arve0 @techninja @noopkat @HipsterBrown and more!
Published by reconbot about 7 years ago
Published by reconbot over 7 years ago
If we're lucky this will be the last of the betas. The remaining potentially blocking issues have to do with improving SerialPort.list
which would change their output. The two issues are #1220 and #1084. I need help on those two issues, if I'm not able to close them soon, I'll release anyway, and they'll be fixed for 6x. This release is large enough. -@reconbot
ttyAP
subsystem to serialport list thanks to @fly19890211 for reporting itPublished by reconbot over 7 years ago
disconnect
event. The close
event now fires with a disconnect error object in the event of a disconnection.serialport/test
Published by reconbot over 7 years ago
Version 5.0.0-beta6
disconnect
event now more reliable. Will be emitted as an error if there are no listeners.SerialPort.list
now returns a usable promise if a callback is not provided @MikeKovarikPublished by reconbot over 7 years ago
Published by reconbot over 7 years ago
Published by reconbot almost 8 years ago
#get
to retrieve modem status flags thanks to @jgillick!serialport-terminal
thanks to @radio-miskovice for reporting it!.list
for Windows so it's significantly smaller thanks to @ZenseyPublished by reconbot almost 8 years ago
serialport-terminal
thanks to @radio-miskovice for reporting it!SerialPort.list
to be a lot smaller and pickup vendorId, productId and locationId thanks to @zensey for #877!Published by reconbot almost 8 years ago
serialport 4.0.7-beta4
Published by reconbot almost 8 years ago
Published by reconbot almost 8 years ago
Update node-pre-gyp
Published by reconbot almost 8 years ago
Published by reconbot almost 8 years ago