Skip to content

Latest commit

 

History

History
179 lines (132 loc) · 6.56 KB

CHANGELOG.md

File metadata and controls

179 lines (132 loc) · 6.56 KB

Change log

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.

[5.0.3 and 5.0.4] 2023-01-12

  • update dependencies

[5.0.2] 2022-03-04

  • merged #28
  • update dependencies

[5.0.1] 2021-08-08

Minor update to README.md

Changed

  • Updated README.md example to use current release version of mio-serial

[5.0.0] 2021-08-08

Final release of version 5.0. No code changes since the previous 4.0.0-beta4.

Added

  • ColinFinck added as maintainer for mio-serial
  • estokes added as maintainer for mio-serial

[4.0.0] SKIPPED

A final release of version 4.0 is skipped due to version scheme (see this comment). This entry is just here for some clarifcation.

[4.0.0-beta4] 2021-07-23

Added

  • Check in CI tests for building against the MSRV (currently 1.41.0)

Changed

  • Error returned from SerialPort::try_clone changed back to std::io::ErrorKind::Other (had switched to std::io::ErrorKind::Unsupported). Unsupported requires MSRV of 1.53 which is too high. (fix #27)

[4.0.0-beta3] 2021-07-22

Added

  • Some logging hooks for debugging

Changed

  • Renamed SerialPortBuilderExt::open_async to SerialPortBuilderExt::open_native_async to reflect the original intention

[4.0.0-beta2] 2021-07-16

Added

  • AsRawHandle, FromRawHandle, and IntoRawHandle impls for SerialStream on Windows

Fixed

  • Potential double Drop issue on Windows between NamedPipe and COMPort

[4.0.0-beta1] 2021-07-13

This is a major update crossing two API-breaking dependency version jumps in mio and serialport-rs.

BREAKING CHANGES

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 and mio_serial::unix::Serial
  • Added mio_serial::SerialStream with platform specific requirements at compile time with #[cfg()]
  • Removed COMPort::from_path, use SerialStream::open
  • Removed TTYPort::from_path, use SerialStream::open
  • Removed TTYPort::from_serial. Replaced with impl of std::convert::TryFrom<serialport::TTYPort>
  • Removed SerialPortSettings, serialport-rs now uses the builder pattern

Changed

  • 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

Added

  • SerialStream structure as the common entry point for serial port IO.
  • SerialPortBuilderExt extension trait to add open_async method to serialport::SerialPortBuilder much like the already existing open method.

Other

  • 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.

[3.3.1] 2020-03-15

Added

  • @flosse added #derive Debug support for the Serial struct in #20
  • @vleesvlieg added automatic retrying for EINTR returns to file descriptors in #21

Changed

  • Bumped nix to 0.17

[3.3.0] 2019-08-23

[3.2.14] 2019-06-01

Changed

  • Bumped nix to 0.14 to address #17

[3.2] 2019-01-12

Changed

[3.1.1] 2019-01-12

Changed

  • Merged #16 @yuja fixed feature flags

[3.1] 2018-11-10

Added

  • Added "libudev" feature. Enabled by default, can be disabled for targets without udev support.

Changed

  • Bumped serialport-rs to 3.1
  • Merged #13 @dvtomas added some clarity to the example.

[3.0.1] - 2018-11-06

Changed

  • Restricted serialport-rs to 3.0 serialport-rs 3.1 contains API breaking changes.

[3.0.0] - 2018-10-06

Changed

  • 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.

Fixed

  • Merged #10 (thanks @yuja!). Addresses some windows timeout settings.

[0.8.0] - 2018-03-31

Changed

Added

  • 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

[0.7.0] - 2018-02-25

Changed

Added

  • Merged#4 @ndusart added windows support!
  • Added appveyor config to support new windows impl.

[0.6.0] - 2017-11-28

Added

  • Closed #3 Reexport serialport::Error for error handling without importing serialport crate. Thanks @Idanko

[0.5.0] - 2017-04-15

Added

Changed

  • Changed license back to MIT now that serialport-rs is MPL-2.0
  • Bumped serialport-rs dependency to 1.0

[0.4.0] - 2017-02-13

Changed

  • Changed to LGPL-3 for compliance with serialport dependency.

[0.3.0] - 2017-02-13 [YANKED]

Added

  • Bumped serialport dependency to 0.9