Skip to content

Latest commit

 

History

History
102 lines (67 loc) · 3.08 KB

CHANGELOG.md

File metadata and controls

102 lines (67 loc) · 3.08 KB

Changelog

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.

[v2.4.0] - 2022-02-12

  • Added Available() method to return number of bytes ready to be read from the receive buffer (thanks lotricekCZ).
  • Added CMake option for shared library (thanks lotricekCZ).

[v2.3.0] - 2021-12-23

  • Added support for setting the num. data bits.
  • Added support for setting the parity.
  • Added support for setting the num. stop bits.

[v2.2.1] - 2021-12-06

  • Fixed a build error by changing the branch cmake downloads googletest from master to main.

[v2.2.0] - 2021-12-03

  • ReadBinary() and WriteBinary() added to read/write raw data, instead of having to use strings (thanks to @RolandHughes for adding this).

[v2.1.2] - 2021-07-01

  • Removed download of gtest if tests are not built.
  • Install headers correctly when used as a cmake submodule (FetchContent).

Big thanks to https://github.com/MadsAndreasen-Zoetis for these improvements.

[v2.1.1] - 2021-04-05

  • Fixed bug where echo was not being set correctly.

[v2.1.0] - 2020-11-08

Added

  • Support for custom baud rates.
  • Support for all standard UNIX baud rates.
  • Improved Doxygen documentation.
  • Improved README.md documentation.

Removed

  • Dependencies from the README, they weren't that useful and were not accurate anyway.

[v2.0.3] - 2020-10-13

Added

  • Added example of how to use the library to the README.

Fixed

  • Fixed CMake not using C++14 by specifying set(CMAKE_CXX_STANDARD 14) rather than just add_definitions(-std=c++14).

Removed

  • Removed all unit tests that were using virtual serial ports for testing, as these are broken due to a changing TravisCI OS environment. This needs fixing at a later date.

[v2.0.2] - 2020-07-07

Added

  • Sphinx documentation.
  • Unit tests for testing SetTimeout().

Fixed

  • Serial port state is set to CLOSED on initialization.
  • Fixed build commands in README.

v2.0.1 - 2017-11-27

Fixed

  • Fixed link to TravisCI image in README.

v2.0.0 - 2017-11-27

Added

  • Added CMake build support.
  • Added basic, config and read/write unit tests using gtest.
  • Improved read() performance due to removal of buffer creation on every call.
  • TravisCI configuration file.
  • Build script under tools/.

Changed

  • Updated serial port to use C++14.
  • Changed library name from serial-port to CppLinuxSerial.
  • Updated Doxygen comments.

v1.0.1 - 2014-05-21

Changed

  • Added ability to enable/disable echo with 'SerialPort::EnableEcho()'.

[v1.0.0] - 2014-05-15

Added

  • Initial commit. serial-port-cpp library has basic functions up and running.