Skip to content

Commit b98a08e

Browse files
Release notes for Preview release v2.0.0-preview1 (#392)
1 parent 166a79e commit b98a08e

File tree

5 files changed

+135
-0
lines changed

5 files changed

+135
-0
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,30 @@ 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 2.0.0-preview1.20021.1] - 2020-01-21
8+
9+
### Added
10+
- Added support to allow large UDT buffer size (_upto_ `Int.MaxValue`) as supported by SQL Server starting TDS 7.3 [#340](https://github.com/dotnet/SqlClient/pull/340)
11+
12+
### Fixed
13+
- Fixed issues with `SqlCommandSet` not working with Byte Array parameters [#360](https://github.com/dotnet/SqlClient/pull/360)
14+
- Fixed Statement command cancellation in Managed SNI [#248](https://github.com/dotnet/SqlClient/pull/248) - Ported [dotnet/corefx#38271](https://github.com/dotnet/corefx/pull/38271)
15+
- Fixed zero connection timeout issue in Managed SNI [#332](https://github.com/dotnet/SqlClient/pull/332)
16+
- Fixed "DataType" metadata information for TinyInt datatype to be `System.Byte` [#338](https://github.com/dotnet/SqlClient/pull/338)
17+
- Fixed driver behavior to use `CancellationTokenResource` only for non-infinite timeout and cleanup after usage [#339](https://github.com/dotnet/SqlClient/pull/338)
18+
- Fixed `ConnectionTime` and `ClientConnectionId` reported by `SqlStatistics` when connection is closed [#341](https://github.com/dotnet/SqlClient/pull/341)
19+
- Fixed deadlock issues by reverting async changes to `SNIPacket` [#349](https://github.com/dotnet/SqlClient/pull/349)
20+
21+
### Changes
22+
- Improved performance of Managed SNI by removing double fetch of domain name [#366](https://github.com/dotnet/SqlClient/pull/366)
23+
- Improved performance of Async Method Allocations in Managed SNI [#328](https://github.com/dotnet/SqlClient/pull/328)
24+
- Improved performance of Managed SNI by enhancing utilization of resources [#173](https://github.com/dotnet/SqlClient/pull/173) - Ported [dotnet/corefx#35363](https://github.com/dotnet/corefx/pull/35363) and [dotnet/corefx#40732](https://github.com/dotnet/corefx/pull/40732)
25+
- Improved performance of Managed SNI RPC Parameter Usage [#209](https://github.com/dotnet/SqlClient/pull/209) - Ported [dotnet/corefx#34049](https://github.com/dotnet/corefx/pull/34049)
26+
- Changed enclave key map to be lazy initialized [#372](https://github.com/dotnet/SqlClient/pull/372)
27+
- Changed `Recieve()` and `ReceiveAsync()` implementation to receive null packets on failure [#350](https://github.com/dotnet/SqlClient/pull/350)
28+
- Changed `EnclaveProviderBase` caching implementation to support Async Scenarios _(Introduces breaking changes)_ [#346](https://github.com/dotnet/SqlClient/pull/346)
29+
30+
731
## [Stable Release 1.1.0] - 2019-11-20
832

933
### Added
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
# Release Notes
2+
3+
## Microsoft.Data.SqlClient 2.0.0-preview1.20021.1 released 21 January 2020
4+
5+
This update brings the below changes over the previous release:
6+
7+
### Added
8+
- Added support to allow large UDT buffer size (_upto_ `Int.MaxValue`) as supported by SQL Server starting TDS 7.3 [#340](https://github.com/dotnet/SqlClient/pull/340)
9+
10+
### Fixed
11+
- Fixed issues with `SqlCommandSet` not working with Byte Array parameters [#360](https://github.com/dotnet/SqlClient/pull/360)
12+
- Fixed Statement command cancellation in Managed SNI [#248](https://github.com/dotnet/SqlClient/pull/248) - Ported [dotnet/corefx#38271](https://github.com/dotnet/corefx/pull/38271)
13+
- Fixed zero connection timeout issue in Managed SNI [#332](https://github.com/dotnet/SqlClient/pull/332)
14+
- Fixed "DataType" metadata information for TinyInt datatype to be `System.Byte` [#338](https://github.com/dotnet/SqlClient/pull/338)
15+
- Fixed driver behavior to use `CancellationTokenResource` only for non-infinite timeout and cleanup after usage [#339](https://github.com/dotnet/SqlClient/pull/338)
16+
- Fixed `ConnectionTime` and `ClientConnectionId` reported by `SqlStatistics` when connection is closed [#341](https://github.com/dotnet/SqlClient/pull/341)
17+
- Fixed deadlock issues by reverting async changes to `SNIPacket` [#349](https://github.com/dotnet/SqlClient/pull/349)
18+
19+
### Changes
20+
- Improved performance of Managed SNI by removing double fetch of domain name [#366](https://github.com/dotnet/SqlClient/pull/366)
21+
- Improved performance of Async Method Allocations in Managed SNI [#328](https://github.com/dotnet/SqlClient/pull/328)
22+
- Improved performance of Managed SNI by enhancing utilization of resources [#173](https://github.com/dotnet/SqlClient/pull/173) - Ported [dotnet/corefx#35363](https://github.com/dotnet/corefx/pull/35363) and [dotnet/corefx#40732](https://github.com/dotnet/corefx/pull/40732)
23+
- Improved performance of Managed SNI RPC Parameter Usage [#209](https://github.com/dotnet/SqlClient/pull/209) - Ported [dotnet/corefx#34049](https://github.com/dotnet/corefx/pull/34049)
24+
- Changed enclave key map to be lazy initialized [#372](https://github.com/dotnet/SqlClient/pull/372)
25+
- Changed `Recieve()` and `ReceiveAsync()` implementation to receive null packets on failure [#350](https://github.com/dotnet/SqlClient/pull/350)
26+
- Changed `EnclaveProviderBase` caching implementation to support Async Scenarios _(Introduces breaking changes)_ [#346](https://github.com/dotnet/SqlClient/pull/346)
27+
28+
### Breaking Changes
29+
- Public APIs in `SqlColumnEncryptionEnclaveProvider` have been modified in PR [#346](https://github.com/dotnet/SqlClient/pull/346) as under:
30+
31+
_[Applies to both .NET Framework and .NET Core targeting applications]_
32+
33+
#### `CreateEnclaveSession()`
34+
35+
```cs
36+
// Old Definition
37+
public abstract void CreateEnclaveSession(byte[] enclaveAttestationInfo, System.Security.Cryptography.ECDiffieHellmanCng clientDiffieHellmanKey, string attestationUrl, string servername, out Microsoft.Data.SqlClient.SqlEnclaveSession sqlEnclaveSession, out long counter);
38+
39+
// New Definition
40+
public abstract void CreateEnclaveSession(byte[] enclaveAttestationInfo, System.Security.Cryptography.ECDiffieHellmanCng clientDiffieHellmanKey, string attestationUrl, string servername, byte[] customData, int customDataLength, out Microsoft.Data.SqlClient.SqlEnclaveSession sqlEnclaveSession, out long counter);
41+
```
42+
43+
#### `GetAttestationParameters()`
44+
45+
```cs
46+
// Old Definition
47+
public abstract Microsoft.Data.SqlClient.SqlEnclaveAttestationParameters GetAttestationParameters();
48+
49+
// New Definition
50+
public abstract Microsoft.Data.SqlClient.SqlEnclaveAttestationParameters GetAttestationParameters(string attestationUrl, byte[] customData, int customDataLength);
51+
```
52+
53+
#### `GetEnclaveSession()`
54+
55+
```cs
56+
// Old Definition
57+
public abstract void GetEnclaveSession(string serverName, string attestationUrl, out Microsoft.Data.SqlClient.SqlEnclaveSession sqlEnclaveSession, out long counter);
58+
59+
// New Definition
60+
public abstract void GetEnclaveSession(string serverName, string attestationUrl, bool generateCustomData, out Microsoft.Data.SqlClient.SqlEnclaveSession sqlEnclaveSession, out long counter, out byte[] customData, out int customDataLength);
61+
```
62+
63+
## Target Platform Support
64+
65+
- .NET Framework 4.6+
66+
- .NET Core 2.1+ (Windows x86, Windows x64, Linux, macOS)
67+
- .NET Standard 2.0+ (Windows x86, Windows x64, Linux, macOS)
68+
69+
### Dependencies
70+
71+
#### .NET Framework
72+
73+
- System.Data.Common 4.3.0
74+
- Microsoft.Data.SqlClient.SNI 1.1.0
75+
- Microsoft.Identity.Client 3.0.8
76+
77+
#### .NET Core
78+
79+
- Microsoft.Win32.Registry 4.5.0
80+
- runtime.native.System.Data.SqlClient.sni 4.4.0
81+
- System.Security.Principal.Windows 4.5.0
82+
- System.Text.Encoding.CodePages 4.5.0
83+
- System.Configuration.ConfigurationManager 4.5.0
84+
- Microsoft.Identity.Client 3.0.8
85+
86+
#### .NET Standard
87+
88+
- Microsoft.Win32.Registry 4.5.0
89+
- runtime.native.System.Data.SqlClient.sni 4.4.0
90+
- System.Buffers 4.4.0
91+
- System.Diagnostics.DiagnosticSource 4.5.0
92+
- System.Memory 4.5.1
93+
- System.Security.Principal.Windows 4.5.0
94+
- System.Text.Encoding.CodePages 4.5.0
95+
- System.Configuration.ConfigurationManager 4.5.0
96+
- Microsoft.Identity.Client 3.0.8

release-notes/2.0/2.0.md

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

release-notes/2.0/README.md

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

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 1.1](1.1).
44

55
## Release Information
66

7+
- [Microsoft.Data.SqlClient 2.0](2.0)
78
- [Microsoft.Data.SqlClient 1.1](1.1)
89
- [Microsoft.Data.SqlClient 1.0](1.0)
910

0 commit comments

Comments
 (0)