Skip to content

SerialPortStream Library - 2.4.0

Compare
Choose a tag to compare
@jcurl jcurl released this 31 Dec 20:05
· 122 commits to master since this release
release/2.4.0.0

This is the most stable version with various bugfixes.

Supported Platforms:

  • Windows XP SP3 x86, .NET 4.0
  • Windows Vista or later, architecture x86 or x64, with .NET 4.0 or .NET 4.5 or compatible
  • Windows 10 or later, .NET Standard 1.5

Tested On:

  • Windows 10 + Ubuntu 20.04, .NET 4.8 and Mono (current)
  • Windows 10 + Ubuntu 20.04. .NET Core 3.1

Installation Notes

The DLL is compiled with strong signing. You can install the DLL alongside your application or in the GAC. It is not specific to a particular architecture.

Changes since Version 2.3.1

This is a bugfix release, and one of the final releases for this branch. Bugfixes, as reported and fixed may still be applied to this branch (v2.x).

Features

  • Updated project style to .NET Core SDK (.NET 4.0, 4.5 and .NET Standard 2.1) (DOTNET-329, DOTNET-331, DOTNET-334, DOTNET-420)
  • .NET Core now can take an ILogger for logging internal details. The user must provide the logging framework for .NET Core (DOTNET-328, DOTNET-419)

Bugfixes

  • Clean up the ISerialPortStream interface (DOTNET-333)
  • Clean up dead code for SerialBuffer.IsPinnedBuffer
  • Clean up dead code for SerialBuffer.Reset()
  • Linux: Fix race condition for read/write buffers (DOTNET-423)
  • Linux: DiscardOutputBuffer now actually discards data (DOTNET-422)
  • BytesToWrite tries to be more accurate on the number of bytes still to write. (DOTNET-425)
  • BeginRead now results in exceptions being raised properly in EndRead (DOTNET-441)
  • Capture exceptions during an event. On .NET Core your program would otherwise just exit (.NET Framework would ignore the exception) (DOTNET-463)