Skip to content

Commit a4eec43

Browse files
committed
update
1 parent 0fcb6a9 commit a4eec43

36 files changed

+3254
-858
lines changed

CHANGELOG.md

Lines changed: 60 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,65 @@
11
# Changelog
22

3-
## \[2.0.1]
3+
All notable changes to this project will be documented in this file.
44

5-
- update deps
6-
- update available_ports_direct logic
7-
- update test ui
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
87

9-
## \[2.0.0-rc.3]
8+
## [2.1.0] - 2024-11-01
109

11-
- add available_ports_direct
10+
### Added
11+
- New serial port control methods:
12+
- `set_baud_rate`: Set the baud rate
13+
- `set_data_bits`: Set the data bits configuration
14+
- `set_flow_control`: Set the flow control mode
15+
- `set_parity`: Set the parity checking mode
16+
- `set_stop_bits`: Set the stop bits configuration
17+
- `set_timeout`: Set the timeout duration
18+
- `write_request_to_send`: Set RTS control signal
19+
- `write_data_terminal_ready`: Set DTR control signal
20+
- `read_clear_to_send`: Read CTS signal state
21+
- `read_data_set_ready`: Read DSR signal state
22+
- `read_ring_indicator`: Read RI signal state
23+
- `read_carrier_detect`: Read CD signal state
24+
- `bytes_to_read`: Get available bytes to read
25+
- `bytes_to_write`: Get bytes waiting to be written
26+
- `clear_buffer`: Clear input/output buffers
27+
- `set_break`: Start break signal
28+
- `clear_break`: Stop break signal
29+
- Comprehensive test suite with mocks
30+
- New permissions for all added methods
31+
- Enhanced error handling for serial port operations
32+
33+
### Changed
34+
- Improved error handling system
35+
- Restructured project architecture
36+
- Enhanced documentation for all methods
37+
- Updated TypeScript definitions with JSDoc comments
38+
39+
### Fixed
40+
- Error conversion between serialport and internal errors
41+
- Type conversion issues in serial port operations
42+
43+
## [2.0.2] - 2023-12-20
44+
45+
### Added
46+
- Support for direct port scanning on Windows, Linux, and macOS
47+
48+
### Changed
49+
- Updated dependencies to latest versions
50+
- Improved error messages
51+
52+
### Fixed
53+
- Port detection issues on various platforms
54+
55+
## [2.0.1] - 2023-12-10
56+
57+
### Changed
58+
- Updated dependencies
59+
- Improved available_ports_direct logic
60+
- Updated test UI
61+
62+
## [2.0.0-rc.3] - 2023-12-01
63+
64+
### Added
65+
- Initial implementation of available_ports_direct

Cargo.lock

Lines changed: 38 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tauri-plugin-serialplugin"
3-
version = "2.0.2"
3+
version = "2.1.0"
44
description = "Access the current process of your Tauri application."
55
edition = "2021"
66
authors = ["Tauri Programme within The Commons Conservancy"]
@@ -19,8 +19,8 @@ tauri-plugin = { version = "2.0.2", features = [ "build" ] }
1919
[dependencies]
2020
serialport = "4.6.0"
2121
tauri = "2.0.6"
22-
serde = { version = "1.0.213", features = ["derive"] }
23-
thiserror = "1.0.65"
22+
serde = { version = "1.0.214", features = ["derive"] }
23+
thiserror = "1.0.66"
2424

2525
[profile.release]
2626
panic = "abort"

0 commit comments

Comments
 (0)