Skip to content

Commit 5cebfbe

Browse files
author
Javad
authored
5.0.0-preview1 release notes (dotnet#1538)
1 parent 0a0c160 commit 5cebfbe

File tree

5 files changed

+169
-3
lines changed

5 files changed

+169
-3
lines changed

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,29 @@
33
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/)
6+
## [Preview Release 5.0.0-preview1.22069.1] - 2022-03-09
7+
8+
### Added
9+
10+
- Added SqlDataSourceEnumerator. [#1430](https://github.com/dotnet/SqlClient/pull/1430)
11+
- Added new attestation protocol `None` option to forgo enclave attestation when using VBS enclaves. [#1425](https://github.com/dotnet/SqlClient/pull/1425) and [#1419](https://github.com/dotnet/SqlClient/pull/1419)
12+
- Added a new AppContext switch to suppress insecure TLS warnings. [#1457](https://github.com/dotnet/SqlClient/pull/1457)
13+
14+
### Fixed
15+
16+
- Fixed all documentation paths to Unix format path. [#1442](https://github.com/dotnet/SqlClient/pull/1442)
17+
- Fixed thread safety issue for `GetEnclaveProvider` by converting dictionary to concurrent dictionary. [#1451](https://github.com/dotnet/SqlClient/pull/1451)
18+
19+
### Changed
20+
- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET Core/Standard dependency) version to `v5.0.0-preview1.22062.1`. [#1537](https://github.com/dotnet/SqlClient/pull/1537)
21+
- Modernized style in ValueUtilSmi. [#1351](https://github.com/dotnet/SqlClient/pull/1351)
22+
- Changed SQL server codenames to version names. [#1439](https://github.com/dotnet/SqlClient/pull/1439)
23+
- Prevented subtype generation in project files. [#1452](https://github.com/dotnet/SqlClient/pull/1452)
24+
- Changed `Array.Copy` to `Buffer.BlockCopy` for byte arrays. [#1366](https://github.com/dotnet/SqlClient/pull/1366)
25+
- Changed files in csproj to be alphabetically sorted in netfx and netcore. [#1364](https://github.com/dotnet/SqlClient/pull/1364)
26+
- Sqlstream, SqlInternalTransaction and MetaDataUtilsSmi are moved to shared folder. [#1337](https://github.com/dotnet/SqlClient/pull/1337), [#1346](https://github.com/dotnet/SqlClient/pull/1346) and [#1339](https://github.com/dotnet/SqlClient/pull/1339)
27+
- Various code improvements: [#1197](https://github.com/dotnet/SqlClient/pull/1197), [#1313](https://github.com/dotnet/SqlClient/pull/1313),[#1330](https://github.com/dotnet/SqlClient/pull/1330),[#1366](https://github.com/dotnet/SqlClient/pull/1366), [#1435](https://github.com/dotnet/SqlClient/pull/1435),[#1478](https://github.com/dotnet/SqlClient/pull/1478)
28+
629
## [Stable release 4.1.0] - 2022-01-31
730

831
### Added

release-notes/5.0/5.0.0-preview1.md

+136
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
# Release Notes
2+
3+
## Microsoft.Data.SqlClient 5.0.0-preview1.22069.1 released 9 March 2022
4+
5+
This update brings the below changes over the previous release:
6+
7+
### Added
8+
9+
- Added SqlDataSourceEnumerator. [#1430](https://github.com/dotnet/SqlClient/pull/1430), [Read more](#sql-data-source-enumerator-support)
10+
- Added new attestation protocol `None` option to forgo enclave attestation when using VBS enclaves. [#1425](https://github.com/dotnet/SqlClient/pull/1425) and [#1419](https://github.com/dotnet/SqlClient/pull/1419), [Read more](#new-attestation-protocol-none)
11+
- Added a new AppContext switch to suppress insecure TLS warnings. [#1457](https://github.com/dotnet/SqlClient/pull/1457), [Read more](#suppress-insecure-tls-warnings)
12+
13+
### Fixed
14+
15+
- Fixed all documentation paths to Unix format path. [#1442](https://github.com/dotnet/SqlClient/pull/1442)
16+
- Fixed thread safety issue for `GetEnclaveProvider` by converting dictionary to concurrent dictionary. [#1451](https://github.com/dotnet/SqlClient/pull/1451)
17+
18+
### Changed
19+
- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET Core/Standard dependency) version to `v5.0.0-preview1.22062.1`. [#1537](https://github.com/dotnet/SqlClient/pull/1537)
20+
- Modernized style in ValueUtilSmi. [#1351](https://github.com/dotnet/SqlClient/pull/1351)
21+
- Changed SQL server codenames to version names. [#1439](https://github.com/dotnet/SqlClient/pull/1439)
22+
- Prevented subtype generation in project files. [#1452](https://github.com/dotnet/SqlClient/pull/1452)
23+
- Changed `Array.Copy` to `Buffer.BlockCopy` for byte arrays. [#1366](https://github.com/dotnet/SqlClient/pull/1366)
24+
- Changed files in csproj to be alphabetically sorted in netfx and netcore. [#1364](https://github.com/dotnet/SqlClient/pull/1364)
25+
- Sqlstream, SqlInternalTransaction and MetaDataUtilsSmi are moved to shared folder. [#1337](https://github.com/dotnet/SqlClient/pull/1337), [#1346](https://github.com/dotnet/SqlClient/pull/1346) and [#1339](https://github.com/dotnet/SqlClient/pull/1339)
26+
- Various code improvements: [#1197](https://github.com/dotnet/SqlClient/pull/1197), [#1313](https://github.com/dotnet/SqlClient/pull/1313),[#1330](https://github.com/dotnet/SqlClient/pull/1330),[#1366](https://github.com/dotnet/SqlClient/pull/1366), [#1435](https://github.com/dotnet/SqlClient/pull/1435),[#1478](https://github.com/dotnet/SqlClient/pull/1478)
27+
28+
### SQL Data Source Enumerator support
29+
Provides a mechanism for enumerating all available instances of SQL Server within the local network.
30+
```cs
31+
using Microsoft.Data.Sql;
32+
33+
static void Main()
34+
{
35+
// Retrieve the enumerator instance and then the data.
36+
SqlDataSourceEnumerator instance =
37+
SqlDataSourceEnumerator.Instance;
38+
System.Data.DataTable table = instance.GetDataSources();
39+
40+
// Display the contents of the table.
41+
DisplayData(table);
42+
43+
Console.WriteLine("Press any key to continue.");
44+
Console.ReadKey();
45+
}
46+
47+
private static void DisplayData(System.Data.DataTable table)
48+
{
49+
foreach (System.Data.DataRow row in table.Rows)
50+
{
51+
foreach (System.Data.DataColumn col in table.Columns)
52+
{
53+
Console.WriteLine("{0} = {1}", col.ColumnName, row[col]);
54+
}
55+
Console.WriteLine("============================");
56+
}
57+
}
58+
```
59+
60+
### New Attestation protocol `None`
61+
new attestation protocol called `None` will be allowed in the connection string. This protocol will allow users to forgo enclave attestation for `VBS` enclaves. When this protocol is set, the enclave attestation URL property is optional.
62+
63+
Connection string example:
64+
65+
```cs
66+
//Attestation protocol NONE with no URL
67+
"Data Source = {server}; Initial Catalog = {db}; Column Encryption Setting = Enabled; Attestation Protocol = None;"
68+
69+
```
70+
71+
### Suppress insecure TLS warnings
72+
A security warning is ouptput on the console if the TLS version less than 1.2 is used to negotiate with the server. This warning could be suppressed on SQL connection while `Encrypt = false` by enabling the following AppContext switch on the application startup:
73+
```cs
74+
Switch.Microsoft.Data.SqlClient.SuppressInsecureTLSWarning
75+
```
76+
77+
## Target Platform Support
78+
79+
- .NET Framework 4.6.1+ (Windows x86, Windows x64)
80+
- .NET Core 3.1+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)
81+
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)
82+
83+
### Dependencies
84+
85+
#### .NET Framework
86+
87+
- Microsoft.Data.SqlClient.SNI 5.0.0.preview1.22062.1
88+
- Azure.Identity 1.3.0
89+
- Microsoft.Identity.Client 4.22.0
90+
- Microsoft.IdentityModel.JsonWebTokens 6.8.0
91+
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0
92+
- System.Buffers 4.5.1
93+
- System.Configuration.ConfigurationManager 5.0.0
94+
- System.IO 4.3.0
95+
- System.Runtime.InteropServices.RuntimeInformation 4.3.0
96+
- System.Security.Cryptography.Algorithms 4.3.1
97+
- System.Security.Cryptography.Primitives 4.3.0
98+
- System.Text.Encodings.Web 4.7.2
99+
100+
#### .NET Core
101+
102+
- Microsoft.Data.SqlClient.SNI.runtime 5.0.0.preview1.22062.1
103+
- Azure.Identity 1.3.0
104+
- Microsoft.Identity.Client 4.22.0
105+
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0
106+
- Microsoft.IdentityModel.JsonWebTokens 6.8.0
107+
- Microsoft.Win32.Registry 5.0.0
108+
- System.Buffers 4.5.1
109+
- System.Configuration.ConfigurationManager 5.0.0
110+
- System.Diagnostics.DiagnosticSource 5.0.0
111+
- System.IO 4.3.0
112+
- System.Runtime.Caching 5.0.0
113+
- System.Text.Encoding.CodePages 5.0.0
114+
- System.Text.Encodings.Web 4.7.2
115+
- System.Resources.ResourceManager 4.3.0
116+
- System.Security.Cryptography.Cng 5.0.0
117+
- System.Security.Principal.Windows 5.0.0
118+
119+
#### .NET Standard
120+
121+
- Microsoft.Data.SqlClient.SNI.runtime 5.0.0.preview1.22062.1
122+
- Azure.Identity 1.3.0
123+
- Microsoft.Identity.Client 4.22.0
124+
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0
125+
- Microsoft.IdentityModel.JsonWebTokens 6.8.0
126+
- Microsoft.Win32.Registry 5.0.0
127+
- System.Buffers 4.5.1
128+
- System.Configuration.ConfigurationManager 5.0.0
129+
- System.IO 4.3.0
130+
- System.Runtime.Caching 5.0.0
131+
- System.Text.Encoding.CodePages 5.0.0
132+
- System.Text.Encodings.Web 4.7.2
133+
- System.Resources.ResourceManager 4.3.0
134+
- System.Runtime.Loader 4.3.0
135+
- System.Security.Cryptography.Cng 5.0.0
136+
- System.Security.Principal.Windows 5.0.0

release-notes/5.0/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The following Microsoft.Data.SqlClient 5.0 preview releases have been shipped:
2+
3+
| Release Date | Version | Notes |
4+
| :-- | :-- | :--: |
5+
| 2022/03/09 | 5.0.0-preview1.22069.1 | [release notes](5.0.0-preview1.md) |

release-notes/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The latest stable release is [Microsoft.Data.SqlClient 4.1](4.1).
44

55
## Release Information
6-
6+
- [Microsoft.Data.SqlClient 5.0](5.0)
77
- [Microsoft.Data.SqlClient 4.1](4.1)
88
- [Microsoft.Data.SqlClient 4.0](4.0)
99
- [Microsoft.Data.SqlClient 3.0](3.0)

roadmap.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ The Microsoft.Data.SqlClient roadmap communicates project priorities for evolvin
1313
|---------------------------|--------------|---------------|
1414
| Microsoft.Data.SqlClient v1.1 (servicing) | As needed (see also [1.1 releases](https://github.com/dotnet/sqlclient/blob/master/release-notes/1.1)) | Closed |
1515
| Microsoft.Data.SqlClient v2.1 (servicing) | As needed (see also [2.1 releases](https://github.com/dotnet/sqlclient/blob/master/release-notes/2.1)) | Closed |
16-
| Microsoft.Data.SqlClient v3.0 (servicing) | As needed (see also [3.0 releases](https://github.com/dotnet/sqlclient/blob/master/release-notes/3.0) | Closed |
17-
| Microsoft.Data.SqlClient v4.0 | GA (General Availability) estimated for November 2021 | [SqlClient 4.0.0](https://github.com/dotnet/SqlClient/projects/8)
16+
| Microsoft.Data.SqlClient v3.0 (servicing) | As needed (see also [3.0 releases](https://github.com/dotnet/sqlclient/blob/master/release-notes/3.0)) | Closed |
17+
| Microsoft.Data.SqlClient v4.0 (servicing) | As needed (see also [4.0 releases](https://github.com/dotnet/sqlclient/blob/master/release-notes/4.0)) | Closed |
18+
| Microsoft.Data.SqlClient v4.1 (servicing) | As needed (see also [4.1 releases](https://github.com/dotnet/sqlclient/blob/master/release-notes/4.1)) | Closed |
19+
| Microsoft.Data.SqlClient v5.0 | GA (General Availability) estimated for May 2022 | [SqlClient 5.0.0](https://github.com/dotnet/SqlClient/projects/9)
1820

1921
> Note: Dates are calendar year (as opposed to fiscal year).
2022

0 commit comments

Comments
 (0)