Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation | Release Notes 5.2.0-preview1 #2009

Merged
merged 39 commits into from
Apr 21, 2023
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
7aebf45
SNI Update
Kaur-Parminder Mar 7, 2022
e7931b5
Revert "SNI Update"
Kaur-Parminder Mar 7, 2022
855f69f
Merge branch 'dotnet:main' into main
Kaur-Parminder Mar 8, 2022
fa1a16c
Merge branch 'dotnet:main' into main
Kaur-Parminder Mar 10, 2022
d82be37
Merge branch 'dotnet:main' into main
Kaur-Parminder Mar 14, 2022
d0d0eb3
Merge branch 'dotnet:main' into main
Kaur-Parminder Mar 28, 2022
c49997a
Merge branch 'dotnet:main' into main
Kaur-Parminder Mar 28, 2022
3580f8e
Merge branch 'dotnet:main' into main
Kaur-Parminder Apr 4, 2022
ab00b2c
Merge branch 'dotnet:main' into main
Kaur-Parminder Apr 8, 2022
72d3c31
Merge branch 'dotnet:main' into main
Kaur-Parminder Apr 21, 2022
a6cc693
Merge branch 'dotnet:main' into main
Kaur-Parminder Jun 7, 2022
a54308e
Merge branch 'dotnet:main' into main
Kaur-Parminder Jun 20, 2022
106cc80
Merge branch 'dotnet:main' into main
Kaur-Parminder Jul 13, 2022
a801b20
Merge branch 'dotnet:main' into main
Kaur-Parminder Jul 27, 2022
181c9db
Merge branch 'dotnet:main' into main
Kaur-Parminder Sep 6, 2022
9affade
Merge branch 'dotnet:main' into main
Kaur-Parminder Oct 10, 2022
342246d
Merge branch 'dotnet:main' into main
Kaur-Parminder Jan 13, 2023
d62e394
Merge branch 'dotnet:main' into main
Kaur-Parminder Jan 23, 2023
9c190af
Merge branch 'dotnet:main' into main
Kaur-Parminder Jan 31, 2023
fcf7414
Merge branch 'dotnet:main' into main
Kaur-Parminder Feb 2, 2023
9bfbacd
Merge branch 'dotnet:main' into main
Kaur-Parminder Feb 22, 2023
5b91c3c
Merge branch 'dotnet:main' into main
Kaur-Parminder Mar 2, 2023
8bc8419
Merge branch 'dotnet:main' into main
Kaur-Parminder Mar 10, 2023
f49c272
Merge branch 'dotnet:main' into main
Kaur-Parminder Mar 14, 2023
ab45557
Merge branch 'dotnet:main' into main
Kaur-Parminder Mar 28, 2023
f7e0e72
Merge branch 'dotnet:main' into main
Kaur-Parminder Apr 6, 2023
817675e
Merge branch 'dotnet:main' into main
Kaur-Parminder Apr 18, 2023
8d2c1a0
Release Notes 5.2.0-preview1
Kaur-Parminder Apr 19, 2023
a4d0621
reverting unintended ln
Kaur-Parminder Apr 19, 2023
efb63b4
update target paltform
Kaur-Parminder Apr 19, 2023
64afefc
reverting unintended 5.1 target platform support
Kaur-Parminder Apr 19, 2023
f68753f
build number update
Kaur-Parminder Apr 19, 2023
23709df
Apply suggestions from code review
Kaur-Parminder Apr 19, 2023
71891b8
review comments
Kaur-Parminder Apr 19, 2023
ae7dd43
review comments
Kaur-Parminder Apr 20, 2023
28e8f43
Update CHANGELOG.md
Kaur-Parminder Apr 20, 2023
a659462
review comments
Kaur-Parminder Apr 20, 2023
c7ee37d
review comments.
Kaur-Parminder Apr 20, 2023
e1f6d3c
review comments
Kaur-Parminder Apr 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,43 @@ All notable changes to this project will be documented in this file.

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

## [Preview Release 5.2.0-preview1.23109.1] - 2023-04-19
Kaur-Parminder marked this conversation as resolved.
Show resolved Hide resolved

This update brings the below changes over the previous release:

###Added
Kaur-Parminder marked this conversation as resolved.
Show resolved Hide resolved

- Added support of `SqlDiagnosticListener` on **.NET Standard**. [#1931] (https://github.com/dotnet/SqlClient/pull/1931)

### Fixed

- Fixed AE enclave retry logic for async queries. [#1988](https://github.com/dotnet/SqlClient/pull/1988)
- Fixed activity correlator to continue use of same GUID for connection activity. [#1997](https://github.com/dotnet/SqlClient/pull/1997)
- Fixed behavior when error class is greater than 20 on connection retry. [#1953](https://github.com/dotnet/SqlClient/pull/1953)
- Fixed error message when symmetric key decryption failed using Always Encrypted. [#1948](https://github.com/dotnet/SqlClient/pull/1948)
- Fixed TransactionScope connection issue when Enlist is enable, Pooling is disabled and network connection type is Redirect. [#1960](https://github.com/dotnet/SqlClient/pull/1960)
- Fixed TDS RPC error on large queries in SqlCommand.ExecuteReaderAsync. [#1936](https://github.com/dotnet/SqlClient/pull/1936)
- Fixed throttling of token requests by calling AcquireTokenSilent. [#1925] (https://github.com/dotnet/SqlClient/pull/1925)
Kaur-Parminder marked this conversation as resolved.
Show resolved Hide resolved
- Fixed Linux code coverage result in Build proj. [#1950] (https://github.com/dotnet/SqlClient/pull/1950)
- Fixed NullReferenceException in GetBytesAsync. [#1906] (https://github.com/dotnet/SqlClient/pull/1906)
- Fixed Transient fault handling issue with OpenAsync. [#1983] (https://github.com/dotnet/SqlClient/pull/1983)
- Fixed invariant mode checks. [#1917] (https://github.com/dotnet/SqlClient/pull/1917)
- Fixed GC behavior in TdsParser by adding array rental capability in TryReadPlpUnicodeChars. [#1866] (https://github.com/dotnet/SqlClient/pull/1866)
Kaur-Parminder marked this conversation as resolved.
Show resolved Hide resolved

### Changed

- Updated Azure Identity version from 1.7.0 to 1.8.0. [#1921] (https://github.com/dotnet/SqlClient/pull/1921)
- Add and use TryReadChars method. [#1544] (https://github.com/dotnet/SqlClient/pull/1544)
- Removed reference to Microsoft.Win32.Registry since it's shipped starting with .NET 6.0. [#1974](https://github.com/dotnet/SqlClient/pull/1974)
- Added Microsoft.SqlServer.Types to verify support for SqlHierarchyId and Spatial for .NET Core. [#1848] (https://github.com/dotnet/SqlClient/pull/1848)

### Code health improvements

- Replaced calls to Method.GetCurrentMethod().Name with nameof(). [#1943] (https://github.com/dotnet/SqlClient/pull/1943)
- Removed LINQ operations. [#1949] (https://github.com/dotnet/SqlClient/pull/1949)
- Added allocation free path for close notifications. [#1198] (https://github.com/dotnet/SqlClient/pull/1198)
- Stopped creation of parameter prefixed names. [#1829](https://github.com/dotnet/SqlClient/pull/1829)
Kaur-Parminder marked this conversation as resolved.
Show resolved Hide resolved

## [Stable release 5.1.1] - 2023-03-28

This update brings the below changes over the previous release:
Expand Down
100 changes: 100 additions & 0 deletions release-notes/5.2/5.2.0-preview1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# Release Notes

## [Preview Release 5.2.0-preview1.23109.1] - 2023-04-19
Kaur-Parminder marked this conversation as resolved.
Show resolved Hide resolved

This update brings the below changes over the previous release:

###Added

- Added SqlDiagnosticListener on .NET Standard. [#1931] (https://github.com/dotnet/SqlClient/pull/1931)

### Fixed

- Fixed AE enclave retry logic for async queries. [#1988](https://github.com/dotnet/SqlClient/pull/1988)
- Fixed activity correlator to continue use of same GUID for connection activity. [#1997](https://github.com/dotnet/SqlClient/pull/1997)
- Fixed behavior when error class is greater than 20 on connection retry. [#1953](https://github.com/dotnet/SqlClient/pull/1953)
- Fixed error message when symmetric key decryption failed using Always Encrypted. [#1948](https://github.com/dotnet/SqlClient/pull/1948)
- Fixed TransactionScope connection issue when Enlist is enable, Pooling is disabled and network connection type is Redirect. [#1960](https://github.com/dotnet/SqlClient/pull/1960)
- Fixed TDS RPC error on large queries in SqlCommand.ExecuteReaderAsync. [#1936](https://github.com/dotnet/SqlClient/pull/1936)
- Fixed throttling of token requests by calling AcquireTokenSilent. [#1925] (https://github.com/dotnet/SqlClient/pull/1925)
- Fixed Linux code coverage result in Build proj. [#1950] (https://github.com/dotnet/SqlClient/pull/1950)
- Fixed NullReferenceException in GetBytesAsync. [#1906] (https://github.com/dotnet/SqlClient/pull/1906)
- Fixed Transient fault handling issue with OpenAsync. [#1983] (https://github.com/dotnet/SqlClient/pull/1983)
- Fixed invariant mode checks. [#1917] (https://github.com/dotnet/SqlClient/pull/1917)
- Fixed GC behavior in TdsParser by adding array rental capability in TryReadPlpUnicodeChars. [#1866] (https://github.com/dotnet/SqlClient/pull/1866)

### Changed

- Updated Azure Identity version from 1.7.0 to 1.8.0. [#1921] (https://github.com/dotnet/SqlClient/pull/1921)
- Add and use TryReadChars method. [#1544] (https://github.com/dotnet/SqlClient/pull/1544)
- Removed reference to Microsoft.Win32.Registry since it's shipped starting with .NET 6.0. [#1974](https://github.com/dotnet/SqlClient/pull/1974)
- Added Microsoft.SqlServer.Types to verify support for SqlHierarchyId and Spatial for .NET Core. [#1848] (https://github.com/dotnet/SqlClient/pull/1848)

### Code health improvements

- Replaced calls to Method.GetCurrentMethod().Name with nameof(). [#1943] (https://github.com/dotnet/SqlClient/pull/1943)
- Removed LINQ operations. [#1949] (https://github.com/dotnet/SqlClient/pull/1949)
- Added allocation free path for close notifications. [#1198] (https://github.com/dotnet/SqlClient/pull/1198)
- Stopped creation of parameter prefixed names. [#1829](https://github.com/dotnet/SqlClient/pull/1829)
Kaur-Parminder marked this conversation as resolved.
Show resolved Hide resolved

## Target Platform Support

- .NET Framework 4.6.2+ (Windows x86, Windows x64)
- .NET 6.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)

### Dependencies

#### .NET Framework

- Microsoft.Data.SqlClient.SNI 5.1.0
- Azure.Identity 1.8.0
- Microsoft.Identity.Client 4.47.2
- Microsoft.IdentityModel.JsonWebTokens 6.24.0
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.24.0
- System.Buffers 4.5.1
- System.Configuration.ConfigurationManager 6.0.1
- System.IO 4.3.0
- System.Runtime.InteropServices.RuntimeInformation 4.3.0
- System.Security.Cryptography.Algorithms 4.3.1
- System.Security.Cryptography.Primitives 4.3.0
- System.Text.Encoding.Web 6.0.0

#### .NET

- Microsoft.Data.SqlClient.SNI 5.1.0
- Azure.Identity 1.8.0
- Microsoft.Identity.Client 4.47.2
- Microsoft.IdentityModel.JsonWebTokens 6.24.0
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.24.0
- Microsoft.SqlServer.Server 1.0.0
- System.Buffers 4.5.1
- System.Configuration.ConfigurationManager 6.0.1
- System.Diagnostics.DiagnosticSource 6.0.0
- System.IO 4.3.0
- System.Runtime.Caching 6.0.0
- System.Text.Encoding.CodePages 6.0.0
- System.Text.Encodings.Web 6.0.0
- System.Resources.ResourceManager 4.3.0
- System.Security.Cryptography.Cng 5.0.0
- System.Security.Principal.Windows 5.0.0

#### .NET Standard

- Microsoft.Data.SqlClient.SNI 5.1.0
- Azure.Identity 1.6.0
- Microsoft.Identity.Client 4.47.2
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.24.0
- Microsoft.IdentityModel.JsonWebTokens 6.24.0
- Microsoft.SqlServer.Server 1.0.0
- Microsoft.Win32.Registry 5.0.0
- System.Buffers 4.5.1
- System.Configuration.ConfigurationManager 6.0.1
- System.IO 4.3.0
- System.Runtime.Caching 6.0.0
- System.Text.Encoding.CodePages 6.0.0
- System.Text.Encodings.Web 6.0.0
- System.Runtime.Loader 4.3.0
- System.Resources.ResourceManager 4.3.0
- System.Security.Cryptography.Cng 5.0.0
- System.Security.Principal.Windows 5.0.0
3 changes: 3 additions & 0 deletions release-notes/5.2/5.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
| Release Date | Version | Notes |
| :-- | :-- | :--: |
| 2023/04/19 | 5.2.0-preview1.23109.1 | [release notes](5.2.0-preview1.md) |
Kaur-Parminder marked this conversation as resolved.
Show resolved Hide resolved
3 changes: 3 additions & 0 deletions release-notes/5.2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
| Release Date | Version | Notes |
| :-- | :-- | :--: |
| 2023/04/19 | 5.2.0-preview1.23109.1 | [release notes](5.2.0-preview1.md) |
Kaur-Parminder marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion tools/props/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<!-- Should only be changed in future when a non-backwards compatible driver is released. -->
<!-- Future Assembly Version values shall be Major.Minor.0.0; e.g. 4.0.0.0 -->
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<NugetPackageVersion Condition="'$(NugetPackageVersion)' == ''">5.1.0-dev</NugetPackageVersion>
<NugetPackageVersion Condition="'$(NugetPackageVersion)' == ''">5.2.0-dev</NugetPackageVersion>
<Version>$(NugetPackageVersion)</Version>
</PropertyGroup>
<PropertyGroup>
Expand Down