Releases
v1.0.0
1.0.0 (2024-12-11)
Bug Fixes
a few warnings and deprecations (#1558 ) (a250f09 )
Add missing return
statement (#1911 ) (288e6ac )
Add missing asyncClose (#1946 ) (4a3d2a0 ), closes #1904
Add universal binary support (#18 ) (5eec7d1 )
binary modules on releases (abd977f )
bindings now error when closed during empty writes (#1872 ) (9d01492 )
bindings.close() should cause a canceled read error (#1972 ) (50f967e )
break out parity into platform specifc opts (#20 ) (bc587b3 )
build binaries on every lerna release (f400a90 )
build isn't using the right version on 32x (#1564 ) (f9953f2 )
build js before publishing (#4 ) (03595dd )
build steps again (a71cd81 )
builds by instalilng packages (7e27129 )
bump to release (6e964cb )
bump to v10 (9d07f48 )
cctalk wasn’t upgraded in serialport (3e568f7 )
changelog: drop the augular changelog as it misses commits (7d0ff88 )
cleanup build scripts (300d677 )
conflicting website npm script name (f6a800e )
deploy on merges to master and beta (246322b )
deprecated c++ functions for update to Node v12 (#1743 ) (1eecd60 )
deps for parser-readline need upgrading (aa7c0b2 )
deps: update dependency @serialport/bindings-interface to v1.2.2 (#70 ) (07da017 )
deps: update dependency @serialport/parser-readline to v11 (#113 ) (28bbf6a )
deps: update dependency node-addon-api to v5 (#74 ) (c2dcf3d )
deps: update dependency node-addon-api to v6.1.0 (#102 ) (cd65573 )
deps: update dependency node-addon-api to v7 (#121 ) (ed3df6a )
disconnects should now work again on unix based systems (#2120 ) (2801301 )
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: Put gitter link back (f8f3ce5 )
drop node 17 builds (#2356 ) (e2ad9fb )
electron 11 prebuilds were broken (#2237 ) (ac25b3a )
Electron 14+ installs (#2360 ) (9997085 )
enabling disabled tests rename all pkgs to lib (#1941 ) (b1cc840 )
exports (b8aceae )
find arduino (34ccc2e )
fix open colelctive link (#1928 ) (6426214 )
fix windows type and make name them per os (#26 ) (3de2969 )
Fixed typo in upgrade guide (#1321 ) (bf251a9 )
improve the options and output of terminal (#1962 ) (4b23928 )
learn now needs the package-lock.json files (4b8fc24 )
link to discussions (1738326 )
linux baudRate and latency errors (#2253 ) (015bc17 )
Linux low latency allow seting without changing low latency mode (#2241 ) (fb53b99 )
linux: Adds missing header file for musl libc (eg alpine) (#1487 ) (02e2bfe ), closes #1470
linux: The productID should be a number not a description string (#1279 ) (bf46f68 ), closes #1278
make node 12 work! (00dc272 )
memory leak in unix serialport poller (#1572 ) (9006bd6 )
missing maintainer name (a626103 )
mocha opts (e6742db )
No prebuilt binaries found with electron-builder (#2003 ) (16f9662 )
npm and git ignore for prebuild (fb565fd )
npm ignore (2292c6a )
npmignore should ignore .DS_Store files (#1954 ) (eb6b57b )
OSX List Make sure necessary cleanups such as uv_mutex_unlock are called always. (#2343 ) (fc93cb6 )
packages/bindings#write: do not call native binding for empty buffers (d347f3b )
packages: just-extend isn't necessary anymore (#1376 ) (8f650c3 )
package: update bindings to version 1.3.0 (38606f4 )
package: update debug to version 3.0.0 (#1292 ) (4987750 )
Parity option broken in bindings (#2377 ) (07a71f2 )
parser-slip-encoder had a breaking change (#2254 ) (c89b600 )
poller debug namespace (e7e31ca )
prebuild now pays attention to lerna tags (#1639 ) (d3d553f )
prebuild on mojave (#1759 ) (d4f5128 ), closes /github.com/nodejs/node/pull/23685#issuecomment-430408541
prebuild upload path to a glob (f2fc9b3 )
propagate async context in callbacks (#1765 ) (9b5dbdb ), closes #1751
readme badges and images for backers and contributors (#1881 ) (1fd88e1 )
reject on non-zero exit codes (#2046 ) (6ee5c84 )
releases by configuring branches (da52683 )
Remove a new Buffer() call (#1603 ) (e21fe7a )
remove PURGE_RXABORT flag on flush for Windows (#1817 ) (1daa919 )
RTS/CTS flow control for Windows (#1809 ) (cd112ca )
stop polling if the poller has an error (#1936 ) (c57b6e9 ), closes #1803
stream read not working past 1 read (#1925 ) (3a13279 )
stream required bindings-mock as a dep (#1970 ) (e978b7e )
support wchar_t and Unicode encoding in .list() parameters (#63 ) (b0a9aa1 )
tag filtering on build job (470bf1f )
terminal: specifying a port now behaves correctly (#1463 ) (1fa20e7 )
tests: fixup for #1279 (#1285 ) (56074f6 )
uncomment node shebang line in terminal package (#2023 ) (2a59726 )
unix reading (#1953 ) (c7ca08f )
update build tools and fix arm64 build for rpi (#111 ) (7a8b86f )
update to latest bindings and mock (#32 ) (dffcd66 )
upgrade node-gyp (#50 ) (dd3c724 )
upgrade npm on GitHub actions to fix bug (#1973 ) (d500a5b )
upload binaries to releases (again) (1ff33b8 )
uploading of binary modules (c8be7d1 )
use correct casts to/from HANDLE/int (#1766 ) (ce503b3 )
we weren’t running all the tests (#1937 ) (a5f7d60 )
while validating for offset, check for offset's value for NaN instead length (#2124 ) (4215122 )
windows: Add option to disable RTS (#1277 ) (5b8d163 )
windows: Asynchronous callbacks for reading and writing (#1328 ) (69de595 ), closes #1221
windows: Asynchronous callbacks for reading and writing on Windows (#1313 ) (2c2a8b6 ), closes #1221
windows: bad parameter for ReadThread (windows) (#1377 ) (6f3afbe )
windows: Fix async handle leak (#1367 ) (c1d9d88 ), closes #1363
windows: Fix read & write bugs for windows (#1364 ) (0e4b1f9 )
windows: Parse more types of pnpIds (#1288 ) (0b554d7 ), closes #1220
windows: Reset Buffer after write operations are complete to free memory (#1547 ) (a1eef11 )
writing issue on Linux (#1908 ) (a7d1937 )
chore
Features
add binary modules to releases (7bc4c11 )
add eslint mocha (#1922 ) (afbc431 )
add optional end event for piping (#1926 ) (275315a )
Add slip decoder to parser-slip-encoder (#2196 ) (85297bc )
Added packet timeout for cctalk parser (#1887 ) (714e438 )
Allow for RTS to be explicitly enabled on windows (#23 ) (0275292 )
BindingsError with a canceled property (53b5c25 )
change autodetect output to a function (d7a855d )
combine lint and test workflows and clean them up (#2261 ) (0461285 )
docs: Switch to JSDOC docs not in the readme (#1383 ) (60fc047 )
drop callback argument on SerialPort.list() (#1943 ) (145b906 )
first release (f9a0fac )
generators for new packages (#4 ) (94ede44 )
inter byte timeout parser (#1779 ) (cbb8e41 )
Introduce prebuildify (#2368 ) (d50673f )
linter: Added 'cc' to lint the C++ code on 'npm lint' (#1501 ) (59960a3 )
linux: Custom baud rates for linux (eg 250k baudrate) (#1464 ) (910438c )
Make it possible to compile on vanilla Android (#1912 ) (ba2b69c )
migrate to typescript (#3 ) (2a93f48 )
move cli tools to their own packages (#1664 ) (103498e ), closes #1659
namespace all packages in the new serialport npm org! (b722062 )
new binding interface (#19 ) (cf03d6d )
Node-API migration (#2305 ) (2fe7d43 )
open: Throw on incorrect baudrate option (#1347 ) (a3b8d35 )
parsers: Add cctalk parsers (#1342 ) (bcb492f )
parsers: Adding option to include delimiter in the DelimiterParser transform. (#1453 ) (6a3ab65 )
parsers: ByteLength is now more efficient (#1402 ) (f7eb2f0 )
Pin version numbers for all monorepo packages (#2275 ) (4fbb973 )
release a tarball of all the binary builds (61310f8 )
release with upgraded build tools (8182fdb )
reset info.serialNumber when resetting mock ports (#1899 ) (6acaac1 )
support Exar ttyXRUSB (#1893 ) (3d34d0f )
Test merges with master (#1952 ) (bfb47c7 )
test on node 12 (#1846 ) (46da21f )
test: tone down codecov comments (#1289 ) (749ffac )
update to node 18, build with node 20, drop node 12 (#110 ) (8d160c9 )
upgrade socket-io example to latest serialport and fix bug (#1505 ) (86e5ab0 )
Use GitHub actions for linting (#1927 ) (fb05c2d )
use lerna run! (#1643 ) (7b37a36 )
using ThreadSafeFunction instead of libuv (a20bc3e )
windows: Add ERROR_INVALID_PARAMETER to supported bindings errors (#1354 ) (4ff9c67 )
windows: Fetch USB serial number by lookups in win registry (#1483 ) (45b3a2f ), closes #1459
Reverts
Revert "fix(windows): Asynchronous callbacks for reading and writing on Windows" (#1323) (c7a3be4 ), closes #1323
BREAKING CHANGES
drop support for node v14 as it's end of life (serialport#127 )
Drop node 12
This release switches to NAPI which changes how many binaries are released and will potentially break your build system
Dropping node 8 and 32bit linux builds
flush behavior on windows no longer cancels inflight reads
bindings now use async functions so they’ll never throw, only reject
binaries: I'm considering this 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.
You can’t perform that action at this time.