All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- update dependencies
- merged #28
- update dependencies
Minor update to README.md
- Updated README.md example to use current release version of mio-serial
Final release of version 5.0. No code changes since the previous 4.0.0-beta4.
- ColinFinck added as maintainer for
mio-serial
- estokes added as maintainer for
mio-serial
A final release of version 4.0 is skipped due to version scheme (see this comment). This entry is just here for some clarifcation.
- Check in CI tests for building against the MSRV (currently
1.41.0
)
- Error returned from
SerialPort::try_clone
changed back tostd::io::ErrorKind::Other
(had switched tostd::io::ErrorKind::Unsupported
).Unsupported
requires MSRV of1.53
which is too high. (fix #27)
- Some logging hooks for debugging
- Renamed
SerialPortBuilderExt::open_async
toSerialPortBuilderExt::open_native_async
to reflect the original intention
- AsRawHandle, FromRawHandle, and IntoRawHandle impls for SerialStream on Windows
- Potential double Drop issue on Windows between NamedPipe and COMPort
This is a major update crossing two API-breaking dependency version jumps in mio
and
serialport-rs
.
This release contains multiple API breaking changes with the move to serialport-rs v4.
Additional breaking changes were made to make the API more like mio/tokio where platform-specific
implimentation details are provided with #cfg[]
guards instead of discrete structures like in serialport-rs
Specifically:
- Removed platform-specific
mio_serial::windows::Serial
andmio_serial::unix::Serial
- Added
mio_serial::SerialStream
with platform specific requirements at compile time with#[cfg()]
- Removed
COMPort::from_path
, useSerialStream::open
- Removed
TTYPort::from_path
, useSerialStream::open
- Removed
TTYPort::from_serial
. Replaced with impl ofstd::convert::TryFrom<serialport::TTYPort>
- Removed
SerialPortSettings
,serialport-rs
now uses the builder pattern
- Removed "libudev" from the default features. Still available for use when desired.
- Bumped nix to 0.22
- Bumped mio to 0.7
- Bumped serialport-rs to 4.0.0
- Changed CHANGELOG from asciidoc to markdown
SerialStream
structure as the common entry point for serial port IO.SerialPortBuilderExt
extension trait to addopen_async
method toserialport::SerialPortBuilder
much like the already existingopen
method.
- Switched CI to appveyor for Windows, OSX, and Linux. It doesn't test as many targets, but some checks are better than none now that travis-ci is no longer an option.
- @flosse added #derive Debug support for the Serial struct in #20
- @vleesvlieg added automatic retrying for EINTR returns to file descriptors in #21
- Bumped nix to 0.17
- Bumped serialport-rs to 3.3
- Bumped serialport-rs to 3.2
- Merged #16 @yuja fixed feature flags
- Added "libudev" feature. Enabled by default, can be disabled for targets without udev support.
- Bumped serialport-rs to 3.1
- Merged #13 @dvtomas added some clarity to the example.
- Restricted serialport-rs to 3.0 serialport-rs 3.1 contains API breaking changes.
- Bumped serialport-rs to 3.0 serialport-rs 3.0 contains breaking changes.
- Bumped nix to 0.11
mio-serial
version number will now track upstream serialport-rs. mio-serial is mostly feature complete at this point (at least for *nix) and this should help reduce confusion.
- Merged #10 (thanks @yuja!). Addresses some windows timeout settings.
- Bumped serialport-rs to 2.3
- Merged#5 @ndusart added
try_clone
implementations as requred by the serialport trait as of 2.3 - Closed#6 @snorp also drew attention to the
try_clone
addition
- Bumped serialport-rs to 2.1
- Merged#4 @ndusart added windows support!
- Added appveyor config to support new windows impl.
- Closed #3 Reexport serialport::Error for error handling without importing serialport crate. Thanks @Idanko
- Added trust based ci
- Changed license back to MIT now that
serialport-rs
is MPL-2.0 - Bumped
serialport-rs
dependency to 1.0
- Changed to LGPL-3 for compliance with
serialport
dependency.
- Bumped
serialport
dependency to 0.9