-
Notifications
You must be signed in to change notification settings - Fork 317
Release notes for v4.0.0-preview3 #1363
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
f02fdd9
add 4.0.0-preview3 release notes
fb267f9
Update CHANGELOG.md
a015aec
Update CHANGELOG.md
dd8c806
address feedback
5d0b0e3
Merge branch '4.0prev3releasenotes' of https://github.com/johnnypham/…
50204ad
typos
ac93cd1
Apply suggestions from code review
055c7bf
Update release-notes/4.0/4.0.0-preview3.md
2291d45
Apply suggestions from code review
a4197f6
update version number
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,118 @@ | ||
| # Release Notes | ||
|
|
||
| ## Microsoft.Data.SqlClient 4.0.0-preview3.21293.2 released 20 October 2021 | ||
|
|
||
| This update brings the below changes over the previous release: | ||
|
|
||
| ### Breaking changes over preview release v4.0.0-preview2 | ||
|
|
||
| - Dropped support for .NET Core 2.1 [#1272](https://github.com/dotnet/SqlClient/pull/1272) | ||
| - [.NET Framework] Exception will not be thrown if a User ID is provided in the connection string when using `Active Directory Integrated` authentication [#1359](https://github.com/dotnet/SqlClient/pull/1359) | ||
|
|
||
| ### Added | ||
|
|
||
| - Add `GetFieldValueAsync<T>` and `GetFieldValue<T>` support for `XmlReader`, `TextReader`, `Stream` [#1019](https://github.com/dotnet/SqlClient/pull/1019). [Read more](#getfieldvalueasynct-and-getfieldvaluet-support-for-xmlreader-textreader-stream-types) | ||
|
|
||
| ### Fixed | ||
|
|
||
| - Fixed `FormatException` when opening a connection with event tracing enabled [#1291](https://github.com/dotnet/SqlClient/pull/1291) | ||
| - Fixed improper initialization of `ActiveDirectoryAuthenticationProvider` [#1328](https://github.com/dotnet/SqlClient/pull/1328) | ||
| - Fixed `MissingMethodException` when accessing `SqlAuthenticationParameters.ConnectionTimeout` [#1336](https://github.com/dotnet/SqlClient/pull/1336) | ||
| - Fixed data corruption issues by reverting changes to async cancellations [#1352](https://github.com/dotnet/SqlClient/pull/1352) | ||
| - Fixed performance degradation by reverting changes to MARS state machine [#1357](https://github.com/dotnet/SqlClient/pull/1357) | ||
| - Fixed bug where environment variables are ignored when using `Active Directory Default` authentication [#1360](https://github.com/dotnet/SqlClient/pull/1360) | ||
|
|
||
| ### Changed | ||
|
|
||
| - Removed attributes for classes used in Microsoft.VSDesigner due to lack of support for Microsoft.Data.SqlClient [#1296](https://github.com/dotnet/SqlClient/pull/1296) | ||
| - Disable encryption when connecting to SQL LocalDB [#1312](https://github.com/dotnet/SqlClient/pull/1312) | ||
| - Various code health and performance improvements. See [milestone](https://github.com/dotnet/SqlClient/milestone/31?closed=1) for more info. | ||
|
|
||
| ## New features over preview release v4.0.0-preview2 | ||
|
|
||
| ### `GetFieldValueAsync<T>` and `GetFieldValue<T>` support for `XmlReader`, `TextReader`, `Stream` types | ||
|
|
||
| `XmlReader`, `TextReader`, `Stream` types are now supported when using `GetFieldValueAsync<T>` and `GetFieldValue<T>`. | ||
|
|
||
| Example usage: | ||
|
|
||
| ```cs | ||
| using (SqlConnection connection = new SqlConnection(connectionString)) | ||
| { | ||
| using (SqlCommand command = new SqlCommand(query, connection)) | ||
| { | ||
| connection.Open(); | ||
| using (SqlDataReader reader = await command.ExecuteReaderAsync()) | ||
| { | ||
| if (await reader.ReadAsync()) | ||
| { | ||
| using (Stream stream = await reader.GetFieldValueAsync<Stream>(1)) | ||
| { | ||
| // Continue to read from stream | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| ``` | ||
|
|
||
| ## Target Platform Support | ||
|
|
||
| - .NET Framework 4.6.1+ (Windows x86, Windows x64) | ||
| - .NET Core 3.1+ (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 4.0.0-preview1.21232.1 | ||
| - Azure.Identity 1.3.0 | ||
| - Microsoft.Identity.Client 4.22.0 | ||
| - Microsoft.IdentityModel.JsonWebTokens 6.8.0 | ||
| - Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
| - System.Buffers 4.5.1 | ||
| - System.Configuration.ConfigurationManager 5.0.0 | ||
| - 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.Encodings.Web 4.7.2 | ||
|
|
||
| #### .NET Core | ||
|
|
||
| - Microsoft.Data.SqlClient.SNI.runtime 4.0.0-preview1.21232.1 | ||
| - Azure.Identity 1.3.0 | ||
| - Microsoft.Identity.Client 4.22.0 | ||
| - Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
| - Microsoft.IdentityModel.JsonWebTokens 6.8.0 | ||
| - Microsoft.Win32.Registry 5.0.0 | ||
| - System.Buffers 4.5.1 | ||
| - System.Configuration.ConfigurationManager 5.0.0 | ||
| - System.Diagnostics.DiagnosticSource 5.0.0 | ||
| - System.IO 4.3.0 | ||
| - System.Runtime.Caching 5.0.0 | ||
| - System.Text.Encoding.CodePages 5.0.0 | ||
| - System.Text.Encodings.Web 4.7.2 | ||
| - 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.runtime 4.0.0-preview1.21232.1 | ||
| - Azure.Identity 1.3.0 | ||
| - Microsoft.Identity.Client 4.22.0 | ||
| - Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
| - Microsoft.IdentityModel.JsonWebTokens 6.8.0 | ||
| - Microsoft.Win32.Registry 5.0.0 | ||
| - System.Buffers 4.5.1 | ||
| - System.Configuration.ConfigurationManager 5.0.0 | ||
| - System.IO 4.3.0 | ||
| - System.Runtime.Caching 5.0.0 | ||
| - System.Text.Encoding.CodePages 5.0.0 | ||
| - System.Text.Encodings.Web 4.7.2 | ||
| - System.Resources.ResourceManager 4.3.0 | ||
| - System.Runtime.Loader 4.3.0 | ||
| - System.Security.Cryptography.Cng 5.0.0 | ||
| - System.Security.Principal.Windows 5.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.