Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare release 4.3.0 #143

Merged
merged 6 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 11 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,25 @@ project adheres to [Semantic Versioning](https://semver.org/).

## [Unreleased]
### Added
### Changed
### Fixed
### Removed

## [4.3.0] - 2023-12-11

### Changed

* Raise MSRV from 1.56.1 to 1.59.0 and Rust edition from 2018 to 2021.
[#137](https://github.com/serialport/serialport-rs/pull/137)
* Update `bitflags` dependency to 2.4.0.
[#127](https://github.com/serialport/serialport-rs/pull/127)
- Open serial devices with `O_CLOEXEC` (Posix). This will close the device
* Open serial devices with `O_CLOEXEC` (Posix). This will close the device
handles when starting a child process. In particular this means that a serial
device can be reopened after making SW update of a Tauri application.
[#130](https://github.com/serialport/serialport-rs/pull/130)
* Prefer USB device manufacturer and model information from the actual USB
device over the information from udev's database.
[#137](https://github.com/serialport/serialport-rs/pull/137)
* Raise MSRV from 1.56.1 to 1.59.0.
[#137](https://github.com/serialport/serialport-rs/pull/137)

### Fixed
* Fixes a bug on Windows where composite devices would show a incorrect serial
Expand All @@ -34,8 +40,6 @@ project adheres to [Semantic Versioning](https://semver.org/).
[#112](https://github.com/serialport/serialport-rs/issues/112),
[#136](https://github.com/serialport/serialport-rs/pull/136)

### Removed

## [4.2.2] - 2023-08-03
### Fixed
* Fixes a bug on the Raspberry Pi 4, which results in USB-devices being detected as PCI-devices.
Expand Down Expand Up @@ -72,7 +76,6 @@ project adheres to [Semantic Versioning](https://semver.org/).
[#68](https://github.com/serialport/serialport-rs/pull/68)
* A number of memory leaks have been addressed when using serialport-rs.
[#98](https://github.com/serialport/serialport-rs/pull/98)
### Removed

## [4.2.0] - 2022-06-02
### Added
Expand All @@ -91,7 +94,6 @@ project adheres to [Semantic Versioning](https://semver.org/).
### Fixed
* Set port timeout to a non-zero value before performing loopback test.
[#45](https://github.com/serialport/serialport-rs/pull/45)
### Removed

## [4.1.0] - 2022-04-04
### Added
Expand All @@ -110,17 +112,14 @@ project adheres to [Semantic Versioning](https://semver.org/).
* Make sure fd is properly closed if initialization fails.
[#39](https://github.com/serialport/serialport-rs/pull/39)
[#41](https://github.com/serialport/serialport-rs/pull/41)
### Removed

## [4.0.1] - 2021-04-17
### Added
### Changed
* Update maintenance status to looking for a new maintainer.
### Fixed
* Properly initialize DCB structure on Windows. This fixes some non-functional
devices.
[!97](https://gitlab.com/susurrus/serialport-rs/-/merge_requests/97)
### Removed

## [4.0.0] - 2020-12-17
### Added
Expand Down Expand Up @@ -180,8 +179,6 @@ project adheres to [Semantic Versioning](https://semver.org/).
### Fixed
* Upgraded `sparc64-unknown-linux-gnu` to Tier 2 support.

### Removed

## [3.2.0] - 2019-01-01
### Added
* Port enumeration is now supported on FreeBSD.
Expand Down Expand Up @@ -379,7 +376,8 @@ Unreleased, happened due to a user error using `cargo-release`.
* Initial release.


[Unreleased]: https://github.com/serialport/serialport-rs/compare/v4.2.2...HEAD
[Unreleased]: https://github.com/serialport/serialport-rs/compare/v4.3.0...HEAD
[4.3.0]: https://github.com/serialport/serialport-rs/compare/v4.2.2...v4.3.0
[4.2.2]: https://github.com/serialport/serialport-rs/compare/v4.2.1...v4.2.2
[4.2.1]: https://github.com/serialport/serialport-rs/compare/v4.2.0...v4.2.1
[4.2.0]: https://github.com/serialport/serialport-rs/compare/v4.1.0...v4.2.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "serialport"
version = "4.2.3-alpha.0"
version = "4.3.1-alpha.0"
authors = [
"Bryant Mairs <[email protected]>",
"Jesse Braham <[email protected]>",
Expand Down
25 changes: 10 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,6 @@
[![GitHub workflow status](https://img.shields.io/github/actions/workflow/status/serialport/serialport-rs/ci.yaml?branch=main&logo=github)](https://github.com/serialport/serialport-rs/actions)
[![Minimum Stable Rust Version](https://img.shields.io/badge/Rust-1.59.0-blue?logo=rust)](https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html)

> **Note:** This is a fork of the original
[serialport-rs](https://gitlab.com/susurrus/serialport-rs) project on GitLab. Please note there have
been some changes to both the supported targets and which tier some targets are in, and there may be
further changes to this made. Additionally, all relevant issues have been migrated to this
repository.

Join the discussion on Matrix!
[#serialport-rs:matrix.org](https://matrix.to/#/#serialport-rs:matrix.org)

**This project is looking for maintainers! If you are interested please let us know on Matrix, or by
[creating a discussion](https://github.com/serialport/serialport-rs/discussions/new).**

# Introduction

`serialport-rs` is a general-purpose cross-platform serial port library for Rust. It provides a
Expand All @@ -23,6 +11,13 @@ blocking I/O interface and port enumeration on POSIX and Windows systems.
For async I/O functionality, see the [mio-serial](https://github.com/berkowski/mio-serial) and
[tokio-serial](https://github.com/berkowski/tokio-serial) crates.

Join the discussion on Matrix!
[#serialport-rs:matrix.org](https://matrix.to/#/#serialport-rs:matrix.org)

**This project is looking for maintainers! Especially for Windows. If you are interested please let
us know on Matrix, or by [creating a
discussion](https://github.com/serialport/serialport-rs/discussions/new).**

# Overview

The library exposes cross-platform serial port functionality through the `SerialPort` trait. This
Expand Down Expand Up @@ -183,8 +178,8 @@ without any additional terms or conditions.

# Acknowledgments

This is the continuation of the development at <https://gitlab.com/susurrus/serialport-rs>. Thanks
to susurrus and all other contributors to the original project on GitLab.

Special thanks to dcuddeback, willem66745, and apoloval who wrote the original serial-rs library
which this library heavily borrows from.

Additional thanks to susurrus and all other contributors to the original
[serialport-rs](https://gitlab.com/susurrus/serialport-rs) project on GitLab.
12 changes: 6 additions & 6 deletions doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Serial ports are some of the oldest external interfaces exposed by system kernel

## References

* https://github.com/pyserial/pyserial/blob/master/serial/serialposix.py#L354
* https://github.com/Fazecast/jSerialComm/blob/master/src/main/c/OSX/SerialPort_OSX.c#L241
* https://github.com/node-serialport/node-serialport/blob/master/src/serialport_unix.cpp#L137
* https://github.com/jacobsa/go-serial/blob/master/serial/open_darwin.go#L239
* https://github.com/nyholku/purejavacomm/blob/master/src/jtermios/macosx/JTermiosImpl.java#L434
* https://github.com/npat-efault/picocom/blob/master/termios2.txt
* <https://github.com/pyserial/pyserial/blob/master/serial/serialposix.py#L354>
* <https://github.com/Fazecast/jSerialComm/blob/v2.0.2/src/main/c/OSX/SerialPort_OSX.c#L241>
* <https://github.com/node-serialport/node-serialport/blob/a31078f054f23c47e9de7cc8b1c7e79d6e4e6c0c/src/serialport_unix.cpp#L137>
* <https://github.com/jacobsa/go-serial/blob/master/serial/open_darwin.go#L239>
* <https://github.com/nyholku/purejavacomm/blob/master/src/jtermios/macosx/JTermiosImpl.java#L434>
* <https://github.com/npat-efault/picocom/blob/master/termios2.txt>
Loading