Skip to content

Commit a9c2dba

Browse files
authored
Release notes 5.0.2 (#1979)
1 parent 102ebb7 commit a9c2dba

File tree

4 files changed

+88
-0
lines changed

4 files changed

+88
-0
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,16 @@ This update brings the below changes over the previous release:
8282

8383
- 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.
8484

85+
## [Stable release 5.0.2] - 2023-03-31
86+
87+
### Fixed
88+
89+
- Fixed memory leak regression from [#1785](https://github.com/dotnet/SqlClient/pull/1785) using a `DisposableTemporaryOnStack` struct. [#1980](https://github.com/dotnet/SqlClient/pull/1980)
90+
- Fixed `TransactionScope` connection issue when `Enlist` is `enabled`, `Pooling` is `disabled`, and `Network Connection Type` is set to `Redirect`. [#1978](https://github.com/dotnet/SqlClient/pull/1978)
91+
- Fixed an incorrect exception when a symmetric key fails to decrypt a column using Always Encrypted. [#1977](https://github.com/dotnet/SqlClient/pull/1977)
92+
- Fixed TDS RPC error on large queries in `SqlCommand.ExecuteReaderAsync`. [#1976](https://github.com/dotnet/SqlClient/pull/1976)
93+
- Fixed deadlock when using SinglePhaseCommit with distributed transactions. [#1975](https://github.com/dotnet/SqlClient/pull/1975)
94+
8595
## [Stable release 5.0.1] - 2022-10-07
8696

8797
### Fixed

release-notes/5.0/5.0.2.md

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Release Notes
2+
3+
## Microsoft.Data.SqlClient 5.0.2 released 31 March 2023
4+
5+
This update includes the following changes over the 5.0.1 release:
6+
7+
### Fixed
8+
9+
- Fixed memory leak regression from [#1785](https://github.com/dotnet/SqlClient/pull/1785) using a `DisposableTemporaryOnStack` struct. [#1980](https://github.com/dotnet/SqlClient/pull/1980)
10+
- Fixed `TransactionScope` connection issue when `Enlist` is `enabled`, `Pooling` is `disabled`, and `Network Connection Type` is set to `Redirect`. [#1978](https://github.com/dotnet/SqlClient/pull/1978)
11+
- Fixed an incorrect exception when a symmetric key fails to decrypt a column using Always Encrypted. [#1977](https://github.com/dotnet/SqlClient/pull/1977)
12+
- Fixed TDS RPC error on large queries in `SqlCommand.ExecuteReaderAsync`. [#1976](https://github.com/dotnet/SqlClient/pull/1976)
13+
- Fixed deadlock when using SinglePhaseCommit with distributed transactions. [#1975](https://github.com/dotnet/SqlClient/pull/1975)
14+
15+
## Target Platform Support
16+
17+
- .NET Framework 4.6.2+ (Windows x86, Windows x64)
18+
- .NET Core 3.1+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)
19+
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)
20+
21+
### Dependencies
22+
23+
#### .NET Framework
24+
25+
- Microsoft.Data.SqlClient.SNI 5.0.1
26+
- Azure.Identity 1.6.0
27+
- Microsoft.Identity.Client 4.45.0
28+
- Microsoft.IdentityModel.JsonWebTokens 6.21.0
29+
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.21.0
30+
- System.Buffers 4.5.1
31+
- System.Configuration.ConfigurationManager 5.0.0
32+
- System.IO 4.3.0
33+
- System.Runtime.InteropServices.RuntimeInformation 4.3.0
34+
- System.Security.Cryptography.Algorithms 4.3.1
35+
- System.Security.Cryptography.Primitives 4.3.0
36+
- System.Text.Encoding.Web 4.7.2
37+
38+
#### .NET Core
39+
40+
- Microsoft.Data.SqlClient.SNI.runtime 5.0.1
41+
- Azure.Identity 1.6.0
42+
- Microsoft.Identity.Client 4.45.0
43+
- Microsoft.IdentityModel.JsonWebTokens 6.21.0
44+
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.21.0
45+
- Microsoft.SqlServer.Server 1.0.0
46+
- Microsoft.Win32.Registry 5.0.0
47+
- System.Buffers 4.5.1
48+
- System.Configuration.ConfigurationManager 5.0.0
49+
- System.Diagnostics.DiagnosticSource 5.0.0
50+
- System.IO 4.3.0
51+
- System.Runtime.Caching 5.0.0
52+
- System.Text.Encoding.CodePages 5.0.0
53+
- System.Text.Encodings.Web 4.7.2
54+
- System.Resources.ResourceManager 4.3.0
55+
- System.Security.Cryptography.Cng 5.0.0
56+
- System.Security.Principal.Windows 5.0.0
57+
58+
#### .NET Standard
59+
60+
- Microsoft.Data.SqlClient.SNI.runtime 5.0.1
61+
- Azure.Identity 1.6.0
62+
- Microsoft.Identity.Client 4.45.0
63+
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.21.0
64+
- Microsoft.IdentityModel.JsonWebTokens 6.21.0
65+
- Microsoft.SqlServer.Server 1.0.0
66+
- Microsoft.Win32.Registry 5.0.0
67+
- System.Buffers 4.5.1
68+
- System.Configuration.ConfigurationManager 5.0.0
69+
- System.IO 4.3.0
70+
- System.Runtime.Caching 5.0.0
71+
- System.Text.Encoding.CodePages 5.0.0
72+
- System.Text.Encodings.Web 4.7.2
73+
- System.Runtime.Loader 4.3.0
74+
- System.Resources.ResourceManager 4.3.0
75+
- System.Security.Cryptography.Cng 5.0.0
76+
- System.Security.Principal.Windows 5.0.0

release-notes/5.0/5.0.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ The following Microsoft.Data.SqlClient 5.0 stable releases have been shipped:
44

55
| Release Date | Version | Notes |
66
| :-- | :-- | :--: |
7+
| 2023/03/31 | 5.0.2 | [release notes](5.0.2.md) |
78
| 2022/10/07 | 5.0.1 | [release notes](5.0.1.md) |
89
| 2022/08/05 | 5.0.0 | [release notes](5.0.0.md) |
910

release-notes/5.0/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ The following Microsoft.Data.SqlClient 5.0 stable releases have been shipped:
44

55
| Release Date | Version | Notes |
66
| :-- | :-- | :--: |
7+
| 2023/03/31 | 5.0.2 | [release notes](5.0.2.md) |
78
| 2022/10/07 | 5.0.1 | [release notes](5.0.1.md) |
89
| 2022/08/05 | 5.0.0 | [release notes](5.0.0.md) |
910

0 commit comments

Comments
 (0)