Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 11 Dec 12:24

1.0.0 (2024-12-11)

Bug Fixes

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.