Releases: plasmapper/modbus-dotnet
Releases · plasmapper/modbus-dotnet
Release list
v3.0.0
Added
- ClientSession for executing several commands as one atomic sequence.
- Asynchronous Client, ClientSession and Stream operations.
Changed
- Client constructors to take a Stream instance instead of a SerialPort or IP address/port.
- Client and Stream locking to use SemaphoreSlim instead of Monitor; locking the underlying SerialPort object directly is no longer supported, share a Stream instance instead.
- Renamed Exception to ModbusException.
- Used FunctionCode enum instead of raw byte literals internally.
- Replaced exception-based draining in ReadAvailableData with buffer-availability polling.
- Replaced LINQ-based response trimming with Array.Copy.
Fixed
- Partial TCP reads in NetworkStream.Read.
- RTU write delay not updated on Protocol change.
- NetworkStream.Open wrapping connection failures in AggregateException.
- Stream.ReadTo not bounded by ReadTimeout.
v2.4.0
Changed
- Made timeouts client properties.
v2.3.1
Fixed
- Setting stream delay after stream change.
v2.3.0
Added
- Properties for communication settings.
v2.2.2
v2.2.1
v2.2.0
Changed
- .NET 6.0 target to .NET Standard 2.0.
v2.1.0
Added
- ConnectTimeout property.
Changed
- Disabled Nagle's algorithm.
v2.0.1
Added
- ExceptionCode enum.
- DelayAfterRead property.
Changed
- FunctionCode enum naming.
- Timeout property to ReadTimeout property.
Fixed
- ReadTimeout setting in examples.