Skip to content

Commit db73b4b

Browse files
authored
Release notes v5.1.0-preview2 (#1832)
1 parent f0f36f2 commit db73b4b

File tree

4 files changed

+125
-0
lines changed

4 files changed

+125
-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-preview2.22314.2] - 2022-11-10
8+
9+
This update brings the below changes over the previous release:
10+
11+
### Breaking changes over preview release v5.1.0-preview1
12+
13+
- Add support for .NET 6.0 and Dropped support for .NET Core 3.1. [#1704](https://github.com/dotnet/SqlClient/pull/1704) [#1823](https://github.com/dotnet/SqlClient/pull/1823)
14+
15+
### Added
16+
17+
- Added support for `DateOnly` and `TimeOnly` for `SqlParameter` value and `GetFieldValue`. [#1813](https://github.com/dotnet/SqlClient/pull/1813)
18+
- Added support for TLS 1.3 for .NET Core and SNI Native. [#1821](https://github.com/dotnet/SqlClient/pull/1821)
19+
- Added `ServerCertificate` support for `Encrypt=Mandatory` or `Encrypt=Strict`. [#1822](https://github.com/dotnet/SqlClient/pull/1822)
20+
- Added Windows ARM64 support when targeting .NET Framework. [#1828](https://github.com/dotnet/SqlClient/pull/1828)
21+
22+
### Fixed
23+
24+
- Fixed memory leak regression from [#1781](https://github.com/dotnet/SqlClient/pull/1781) using a `DisposableTemporaryOnStack` struct. [#1818](https://github.com/dotnet/SqlClient/pull/1818)
25+
26+
### Changed
27+
28+
- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET Core/Standard dependency) version to `5.1.0-preview2.22311.2`. [#1831](https://github.com/dotnet/SqlClient/pull/1831) which includes the fix for the TLS 1.3 timeout and double handshake issue, removal of ARM32 binaries, and support for the `ServerCertificate` option. [#1822](https://github.com/dotnet/SqlClient/issues/1822)
29+
- Reverted "Excluding unsupported TLS protocols" for issue [#1151](https://github.com/dotnet/SqlClient/issues/1151) (i.e. removed `Switch.Microsoft.Data.SqlClient.EnableSecureProtocolsByOS`) by adding support for TLS 1.3. [#1824](https://github.com/dotnet/SqlClient/issues/1824)
30+
- Code health improvements [#1812](https://github.com/dotnet/SqlClient/pull/1812) [#1520](https://github.com/dotnet/SqlClient/pull/1520)
31+
732
## [Preview Release 5.1.0-preview1.22279.3] - 2022-10-19
833

934
This update brings the below changes over the previous release:
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# Release Notes
2+
3+
## Microsoft.Data.SqlClient 5.1.0-preview2.22314.2 released 10 November 2022
4+
5+
This update brings the below changes over the previous release:
6+
7+
### Breaking changes over preview release v5.1.0-preview1
8+
9+
- Add support for .NET 6.0 and Dropped support for .NET Core 3.1. [#1704](https://github.com/dotnet/SqlClient/pull/1704) [#1823](https://github.com/dotnet/SqlClient/pull/1823)
10+
11+
### Added
12+
13+
- Added support for `DateOnly` and `TimeOnly` for `SqlParameter` value and `GetFieldValue`. [#1813](https://github.com/dotnet/SqlClient/pull/1813)
14+
- Added support for TLS 1.3 for .NET Core and SNI Native. [#1821](https://github.com/dotnet/SqlClient/pull/1821)
15+
- Added `ServerCertificate` support for `Encrypt=Mandatory` or `Encrypt=Strict`. [#1822](https://github.com/dotnet/SqlClient/pull/1822) [Read more](#server-certificate-support)
16+
- Added Windows ARM64 support when targeting .NET Framework. [#1828](https://github.com/dotnet/SqlClient/pull/1828)
17+
18+
### Fixed
19+
20+
- Fixed memory leak regression from [#1781](https://github.com/dotnet/SqlClient/pull/1781) using a `DisposableTemporaryOnStack` struct. [#1818](https://github.com/dotnet/SqlClient/pull/1818)
21+
22+
### Changed
23+
24+
- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET Core/Standard dependency) version to `5.1.0-preview2.22311.2`. [#1831](https://github.com/dotnet/SqlClient/pull/1831) which includes the fix for the TLS 1.3 timeout and double handshake issue, removal of ARM32 binaries, and support for the `ServerCertificate` option. [#1822](https://github.com/dotnet/SqlClient/issues/1822) [Read more](#server-certificate-support)
25+
- Reverted "Excluding unsupported TLS protocols" for issue [#1151](https://github.com/dotnet/SqlClient/issues/1151) (i.e. removed `Switch.Microsoft.Data.SqlClient.EnableSecureProtocolsByOS`) by adding support for TLS 1.3. [#1824](https://github.com/dotnet/SqlClient/issues/1824)
26+
- Code health improvements [#1812](https://github.com/dotnet/SqlClient/pull/1812) [#1520](https://github.com/dotnet/SqlClient/pull/1520)
27+
28+
## New features
29+
30+
### Server Certificate Support
31+
The default value of the `ServerCertificate` connection setting is an empty string. When `Encrypt` is set to `Mandatory` or `Strict`, `ServerCertificate` can be used to specify a path on the file system to a certificate file to match against the SQL Server's TLS/SSL certificate. For this to be valid, the certificate specified must be an exact match. The accepted certificate formats are `PEM`, `DER`, and `CER`. Here is an usage example:
32+
33+
```cs
34+
"Data Source=...;Encrypt=Strict;ServerCertificate=C:\\certificates\\server.cer"
35+
```
36+
37+
## Target Platform Support
38+
39+
- .NET Framework 4.6.2+ (Windows x86, Windows x64)
40+
- .NET 6.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)
41+
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)
42+
43+
### Dependencies
44+
45+
#### .NET Framework
46+
47+
- Microsoft.Data.SqlClient.SNI 5.1.0.preview2.22311.2
48+
- Azure.Identity 1.7.0
49+
- Microsoft.Identity.Client 4.47.2
50+
- Microsoft.IdentityModel.JsonWebTokens 6.24.0
51+
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.24.0
52+
- System.Buffers 4.5.1
53+
- System.Configuration.ConfigurationManager 6.0.1
54+
- System.IO 4.3.0
55+
- System.Runtime.InteropServices.RuntimeInformation 4.3.0
56+
- System.Security.Cryptography.Algorithms 4.3.1
57+
- System.Security.Cryptography.Primitives 4.3.0
58+
- System.Text.Encoding.Web 6.0.0
59+
60+
#### .NET
61+
62+
- Microsoft.Data.SqlClient.SNI 5.1.0.preview2.22311.2
63+
- Azure.Identity 1.7.0
64+
- Microsoft.Identity.Client 4.47.0
65+
- Microsoft.IdentityModel.JsonWebTokens 6.24.0
66+
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.24.0
67+
- Microsoft.SqlServer.Server 1.0.0
68+
- Microsoft.Win32.Registry 5.0.0
69+
- System.Buffers 4.5.1
70+
- System.Configuration.ConfigurationManager 6.0.1
71+
- System.Diagnostics.DiagnosticSource 6.0.0
72+
- System.IO 4.3.0
73+
- System.Runtime.Caching 6.0.0
74+
- System.Text.Encoding.CodePages 6.0.0
75+
- System.Text.Encodings.Web 6.0.0
76+
- System.Resources.ResourceManager 4.3.0
77+
- System.Security.Cryptography.Cng 5.0.0
78+
- System.Security.Principal.Windows 5.0.0
79+
80+
#### .NET Standard
81+
82+
- Microsoft.Data.SqlClient.SNI 5.1.0.preview2.22311.2
83+
- Azure.Identity 1.6.0
84+
- Microsoft.Identity.Client 4.47.2
85+
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.24.0
86+
- Microsoft.IdentityModel.JsonWebTokens 6.24.0
87+
- Microsoft.SqlServer.Server 1.0.0
88+
- Microsoft.Win32.Registry 5.0.0
89+
- System.Buffers 4.5.1
90+
- System.Configuration.ConfigurationManager 6.0.1
91+
- System.IO 4.3.0
92+
- System.Runtime.Caching 6.0.0
93+
- System.Text.Encoding.CodePages 6.0.0
94+
- System.Text.Encodings.Web 6.0.0
95+
- System.Runtime.Loader 4.3.0
96+
- System.Resources.ResourceManager 4.3.0
97+
- System.Security.Cryptography.Cng 5.0.0
98+
- System.Security.Principal.Windows 5.0.0

release-notes/5.1/5.1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ The following Microsoft.Data.SqlClient 5.1 preview releases have been shipped:
44

55
| Release Date | Version | Notes |
66
| :-- | :-- | :--: |
7+
| 2022/11/10 | 5.1.0-preview2.22314.2 | [release notes](5.1.0-preview2.md) |
78
| 2022/10/19 | 5.1.0-preview1.22279.3 | [release notes](5.1.0-preview1.md) |

release-notes/5.1/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ The following Microsoft.Data.SqlClient 5.1 preview releases have been shipped:
44

55
| Release Date | Version | Notes |
66
| :-- | :-- | :--: |
7+
| 2022/11/10 | 5.1.0-preview1.22314.2 | [release notes](5.1.0-preview2.md) |
78
| 2022/10/19 | 5.1.0-preview1.22279.3 | [release notes](5.1.0-preview1.md) |
89

0 commit comments

Comments
 (0)