|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -## \[2.0.1] |
| 3 | +All notable changes to this project will be documented in this file. |
4 | 4 |
|
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). |
8 | 7 |
|
9 |
| -## \[2.0.0-rc.3] |
| 8 | +## [2.1.0] - 2024-11-01 |
10 | 9 |
|
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 |
0 commit comments