Skip to content

Commit ca028cd

Browse files
committed
Fixed dependency versions
1 parent f059c8c commit ca028cd

8 files changed

Lines changed: 29 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
7+
## [3.0.0] - 2026-07-16
88
### Added
99
- ClientSession for executing several commands as one atomic sequence.
1010
- Asynchronous Client, ClientSession and Stream operations.

Examples/ModbusClient/ModbusClient.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>WinExe</OutputType>
5-
<TargetFramework>net6.0-windows</TargetFramework>
5+
<TargetFramework>net10.0-windows</TargetFramework>
66
<Nullable>enable</Nullable>
77
<UseWindowsForms>true</UseWindowsForms>
88
<ImplicitUsings>enable</ImplicitUsings>
@@ -15,7 +15,7 @@
1515
<ItemGroup>
1616
<PackageReference Include="PL.Tree" Version="1.0.0" />
1717
<PackageReference Include="PL.Tree.WinForms" Version="1.0.0" />
18-
<PackageReference Include="System.IO.Ports" Version="7.0.0" />
18+
<PackageReference Include="System.IO.Ports" Version="10.0.10" />
1919
</ItemGroup>
2020

2121
<ItemGroup>

Examples/ModbusClient/Properties/PublishProfiles/FolderProfile.pubxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
99
<PublishDir>..\..\..\build</PublishDir>
1010
<PublishProtocol>FileSystem</PublishProtocol>
1111
<_TargetId>Folder</_TargetId>
12-
<TargetFramework>net6.0-windows</TargetFramework>
12+
<TargetFramework>net10.0-windows</TargetFramework>
1313
<SelfContained>false</SelfContained>
1414
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1515
<PublishSingleFile>true</PublishSingleFile>

Examples/ModbusMemoryTest/ModbusMemoryTest.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>WinExe</OutputType>
5-
<TargetFramework>net6.0-windows</TargetFramework>
5+
<TargetFramework>net10.0-windows</TargetFramework>
66
<Nullable>enable</Nullable>
77
<UseWindowsForms>true</UseWindowsForms>
88
<ImplicitUsings>enable</ImplicitUsings>
@@ -15,7 +15,7 @@
1515
<ItemGroup>
1616
<PackageReference Include="PL.Tree" Version="1.0.0" />
1717
<PackageReference Include="PL.Tree.WinForms" Version="1.0.0" />
18-
<PackageReference Include="System.IO.Ports" Version="7.0.0" />
18+
<PackageReference Include="System.IO.Ports" Version="10.0.10" />
1919
</ItemGroup>
2020

2121
<ItemGroup>

Examples/ModbusMemoryTest/Properties/PublishProfiles/FolderProfile.pubxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
99
<PublishDir>..\..\..\build</PublishDir>
1010
<PublishProtocol>FileSystem</PublishProtocol>
1111
<_TargetId>Folder</_TargetId>
12-
<TargetFramework>net6.0-windows</TargetFramework>
12+
<TargetFramework>net10.0-windows</TargetFramework>
1313
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1414
<SelfContained>false</SelfContained>
1515
<PublishSingleFile>true</PublishSingleFile>

Examples/ModbusSpeedTest/ModbusSpeedTest.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>WinExe</OutputType>
5-
<TargetFramework>net6.0-windows</TargetFramework>
5+
<TargetFramework>net10.0-windows</TargetFramework>
66
<Nullable>enable</Nullable>
77
<UseWindowsForms>true</UseWindowsForms>
88
<ImplicitUsings>enable</ImplicitUsings>
@@ -15,7 +15,7 @@
1515
<ItemGroup>
1616
<PackageReference Include="PL.Tree" Version="1.0.0" />
1717
<PackageReference Include="PL.Tree.WinForms" Version="1.0.0" />
18-
<PackageReference Include="System.IO.Ports" Version="7.0.0" />
18+
<PackageReference Include="System.IO.Ports" Version="10.0.10" />
1919
</ItemGroup>
2020

2121
<ItemGroup>

Examples/ModbusSpeedTest/Properties/PublishProfiles/FolderProfile.pubxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
99
<PublishDir>..\..\..\build</PublishDir>
1010
<PublishProtocol>FileSystem</PublishProtocol>
1111
<_TargetId>Folder</_TargetId>
12-
<TargetFramework>net6.0-windows</TargetFramework>
12+
<TargetFramework>net10.0-windows</TargetFramework>
1313
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1414
<SelfContained>false</SelfContained>
1515
<PublishSingleFile>true</PublishSingleFile>

PL.Modbus/PL.Modbus.csproj

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,25 @@
1010
<RepositoryUrl>https://github.com/plasmapper/modbus-dotnet</RepositoryUrl>
1111
<RepositoryType>git</RepositoryType>
1212
<PackageTags>modbus;client</PackageTags>
13-
<PackageReleaseNotes>Fixed
14-
- Package documentation.</PackageReleaseNotes>
13+
<PackageReleaseNotes>Added
14+
- ClientSession for executing several commands as one atomic sequence.
15+
- Asynchronous Client, ClientSession and Stream operations.
16+
17+
Changed
18+
- Client constructors to take a Stream instance instead of a SerialPort or IP address/port.
19+
- 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.
20+
- Renamed Exception to ModbusException.
21+
- Used FunctionCode enum instead of raw byte literals internally.
22+
- Replaced exception-based draining in ReadAvailableData with buffer-availability polling.
23+
- Replaced LINQ-based response trimming with Array.Copy.
24+
25+
Fixed
26+
- Partial TCP reads in NetworkStream.Read.
27+
- RTU write delay not updated on Protocol change.
28+
- NetworkStream.Open wrapping connection failures in AggregateException.
29+
- Stream.ReadTo not bounded by ReadTimeout.</PackageReleaseNotes>
1530
<PackageLicenseExpression>MIT</PackageLicenseExpression>
16-
<VersionPrefix>2.5.1</VersionPrefix>
31+
<VersionPrefix>3.0.0</VersionPrefix>
1732
</PropertyGroup>
1833

1934
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
@@ -31,7 +46,7 @@
3146
</ItemGroup>
3247

3348
<ItemGroup>
34-
<PackageReference Include="System.IO.Ports" Version="10.0.8" />
49+
<PackageReference Include="System.IO.Ports" Version="10.0.10" />
3550
</ItemGroup>
3651

3752
</Project>

0 commit comments

Comments
 (0)