Skip to content

Commit 02daa6f

Browse files
authored
Release notes v5.1.0-preview1 (#1788)
1 parent 1e9cd3a commit 02daa6f

File tree

5 files changed

+131
-0
lines changed

5 files changed

+131
-0
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,31 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66

7+
## [Preview Release 5.1.0-preview1.22279.3] - 2022-10-19
8+
9+
This update brings the below changes over the previous release:
10+
11+
### Fixed
12+
13+
- Fixed `ReadAsync()` behavior to register Cancellation token action before streaming results. [#1781](https://github.com/dotnet/SqlClient/pull/1781)
14+
- Fixed `NullReferenceException` when assigning `null` to `SqlConnectionStringBuilder.Encrypt`. [#1778](https://github.com/dotnet/SqlClient/pull/1778)
15+
- Fixed missing `HostNameInCertificate` property in .NET Framework Reference Project. [#1776](https://github.com/dotnet/SqlClient/pull/1776)
16+
- Fixed async deadlock issue when sending attention fails due to network failure. [#1766](https://github.com/dotnet/SqlClient/pull/1766)
17+
- Fixed failed connection requests in ConnectionPool in case of PoolBlock. [#1768](https://github.com/dotnet/SqlClient/pull/1768)
18+
- Fixed hang on infinite timeout and managed SNI. [#1742](https://github.com/dotnet/SqlClient/pull/1742)
19+
- Fixed Default UTF8 collation conflict. [#1739](https://github.com/dotnet/SqlClient/pull/1739)
20+
21+
### Changed
22+
23+
- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET Core/Standard dependency) version to `5.1.0-preview1.22278.1`. [#1787](https://github.com/dotnet/SqlClient/pull/1787) which includes TLS 1.3 Support and fix for AppDomain crash in issue [#1418](https://github.com/dotnet/SqlClient/issues/1418)
24+
- Changed the `SqlConnectionEncryptOption` string parser to public. [#1771](https://github.com/dotnet/SqlClient/pull/1771)
25+
- Converted `ExecuteNonQueryAsync` to use async context object. [#1692](https://github.com/dotnet/SqlClient/pull/1692)
26+
- Code health improvements [#1604](https://github.com/dotnet/SqlClient/pull/1604) [#1598](https://github.com/dotnet/SqlClient/pull/1598) [#1595](https://github.com/dotnet/SqlClient/pull/1595) [#1443](https://github.com/dotnet/SqlClient/pull/1443)
27+
28+
### Known issues
29+
30+
- When using `Encrypt=Strict` with TLS v1.3, the TLS handshake occurs twice on initial connection on .NET Framework due to a timeout during the TLS handshake and a retry helper re-establishes the connection; however, on .NET Core, it will throw a `System.ComponentModel.Win32Exception (258): The wait operation timed out.` and is being investigated. If you're using Microsoft.Data.SqlClient with .NET Core on Windows 11, you will need to enable the managed SNI on Windows context switch using following statement `AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.UseManagedNetworkingOnWindows", true);` to use TLS v1.3 or disabling TLS 1.3 from the registry by assigning `0` to the following `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Client\Enabled` registry key and it'll use TLS v1.2 for the connection. This will be fixed in a future release.
31+
732
## [Stable release 5.0.1] - 2022-10-07
833

934
### Fixed
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Release Notes
2+
3+
## Microsoft.Data.SqlClient 5.1.0-preview1.22279.3 released 19 October 2022
4+
5+
This update brings the below changes over the previous release:
6+
7+
8+
### Fixed
9+
10+
- Fixed `ReadAsync()` behavior to register Cancellation token action before streaming results. [#1781](https://github.com/dotnet/SqlClient/pull/1781)
11+
- Fixed `NullReferenceException` when assigning `null` to `SqlConnectionStringBuilder.Encrypt`. [#1778](https://github.com/dotnet/SqlClient/pull/1778)
12+
- Fixed missing `HostNameInCertificate` property in .NET Framework Reference Project. [#1776](https://github.com/dotnet/SqlClient/pull/1776)
13+
- Fixed async deadlock issue when sending attention fails due to network failure. [#1766](https://github.com/dotnet/SqlClient/pull/1766)
14+
- Fixed failed connection requests in ConnectionPool in case of PoolBlock. [#1768](https://github.com/dotnet/SqlClient/pull/1768)
15+
- Fixed hang on infinite timeout and managed SNI. [#1742](https://github.com/dotnet/SqlClient/pull/1742)
16+
- Fixed Default UTF8 collation conflict. [#1739](https://github.com/dotnet/SqlClient/pull/1739)
17+
18+
### Changed
19+
20+
- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET Core/Standard dependency) version to `5.1.0-preview1.22278.1`. [#1787](https://github.com/dotnet/SqlClient/pull/1787) which includes TLS 1.3 Support and fix for AppDomain crash in issue [#1418](https://github.com/dotnet/SqlClient/issues/1418)
21+
- Changed the `SqlConnectionEncryptOption` string parser to public. [#1771](https://github.com/dotnet/SqlClient/pull/1771)
22+
- Converted `ExecuteNonQueryAsync` to use async context object. [#1692](https://github.com/dotnet/SqlClient/pull/1692)
23+
- Code health improvements [#1604](https://github.com/dotnet/SqlClient/pull/1604) [#1598](https://github.com/dotnet/SqlClient/pull/1598) [#1595](https://github.com/dotnet/SqlClient/pull/1595) [#1443](https://github.com/dotnet/SqlClient/pull/1443)
24+
25+
### Known issues
26+
27+
- When using `Encrypt=Strict` with TLS v1.3, the TLS handshake occurs twice on initial connection on .NET Framework due to a timeout during the TLS handshake and a retry helper re-establishes the connection; however, on .NET Core, it will throw a `System.ComponentModel.Win32Exception (258): The wait operation timed out.` and is being investigated. If you're using Microsoft.Data.SqlClient with .NET Core on Windows 11, you will need to enable the managed SNI on Windows context switch using following statement `AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.UseManagedNetworkingOnWindows", true);` to use TLS v1.3 or disabling TLS 1.3 from the registry by assigning `0` to the following `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Client\Enabled` registry key and it'll use TLS v1.2 for the connection. This will be fixed in a future release.
28+
29+
## Target Platform Support
30+
31+
- .NET Framework 4.6.2+ (Windows x86, Windows x64)
32+
- .NET Core 3.1+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)
33+
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)
34+
35+
### Dependencies
36+
37+
#### .NET Framework
38+
39+
- Microsoft.Data.SqlClient.SNI 5.1.0.preview1.22278.1
40+
- Azure.Identity 1.6.0
41+
- Microsoft.Identity.Client 4.45.0
42+
- Microsoft.IdentityModel.JsonWebTokens 6.21.0
43+
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.21.0
44+
- System.Buffers 4.5.1
45+
- System.Configuration.ConfigurationManager 5.0.0
46+
- System.IO 4.3.0
47+
- System.Runtime.InteropServices.RuntimeInformation 4.3.0
48+
- System.Security.Cryptography.Algorithms 4.3.1
49+
- System.Security.Cryptography.Primitives 4.3.0
50+
- System.Text.Encoding.Web 4.7.2
51+
52+
#### .NET Core
53+
54+
- Microsoft.Data.SqlClient.SNI 5.1.0.preview1.22278.1
55+
- Azure.Identity 1.6.0
56+
- Microsoft.Identity.Client 4.45.0
57+
- Microsoft.IdentityModel.JsonWebTokens 6.21.0
58+
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.21.0
59+
- Microsoft.SqlServer.Server 1.0.0
60+
- Microsoft.Win32.Registry 5.0.0
61+
- System.Buffers 4.5.1
62+
- System.Configuration.ConfigurationManager 5.0.0
63+
- System.Diagnostics.DiagnosticSource 5.0.0
64+
- System.IO 4.3.0
65+
- System.Runtime.Caching 5.0.0
66+
- System.Text.Encoding.CodePages 5.0.0
67+
- System.Text.Encodings.Web 4.7.2
68+
- System.Resources.ResourceManager 4.3.0
69+
- System.Security.Cryptography.Cng 5.0.0
70+
- System.Security.Principal.Windows 5.0.0
71+
72+
#### .NET Standard
73+
74+
- Microsoft.Data.SqlClient.SNI 5.1.0.preview1.22278.1
75+
- Azure.Identity 1.6.0
76+
- Microsoft.Identity.Client 4.45.0
77+
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.21.0
78+
- Microsoft.IdentityModel.JsonWebTokens 6.21.0
79+
- Microsoft.SqlServer.Server 1.0.0
80+
- Microsoft.Win32.Registry 5.0.0
81+
- System.Buffers 4.5.1
82+
- System.Configuration.ConfigurationManager 5.0.0
83+
- System.IO 4.3.0
84+
- System.Runtime.Caching 5.0.0
85+
- System.Text.Encoding.CodePages 5.0.0
86+
- System.Text.Encodings.Web 4.7.2
87+
- System.Runtime.Loader 4.3.0
88+
- System.Resources.ResourceManager 4.3.0
89+
- System.Security.Cryptography.Cng 5.0.0
90+
- System.Security.Principal.Windows 5.0.0

release-notes/5.1/5.1.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Microsoft.Data.SqlClient 5.1 Releases
2+
3+
The following Microsoft.Data.SqlClient 5.1 preview releases have been shipped:
4+
5+
| Release Date | Version | Notes |
6+
| :-- | :-- | :--: |
7+
| 2022/10/19 | 5.1.0-preview1.22279.3 | [release notes](5.1.0-preview1.md) |

release-notes/5.1/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Microsoft.Data.SqlClient 5.1 Releases
2+
3+
The following Microsoft.Data.SqlClient 5.1 preview releases have been shipped:
4+
5+
| Release Date | Version | Notes |
6+
| :-- | :-- | :--: |
7+
| 2022/10/19 | 5.1.0-preview1.22279.3 | [release notes](5.1.0-preview1.md) |
8+

release-notes/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ The latest stable release is [Microsoft.Data.SqlClient 5.0](5.0).
44

55
## Release Information
66

7+
- [Microsoft.Data.SqlClient 5.1](5.1)
78
- [Microsoft.Data.SqlClient 5.0](5.0)
89
- [Microsoft.Data.SqlClient 4.1](4.1)
910
- [Microsoft.Data.SqlClient 4.0](4.0)

0 commit comments

Comments
 (0)