Preview Release v4.0.0-preview1.21237.2
Pre-release
Pre-release
·
798 commits
to main
since this release
Breaking changes over stable release 3.0.0
- Changed
Encrypt
connection string property to betrue
by default. #1210 - The driver now throws
SqlException
replacingAggregateException
for active directory authentication modes. #1213 - Dropped obsolete
Asynchronous Processing
connection property from .NET Framework. #1148
Added
- Added
SqlCommand.EnableOptimizedParameterBinding
property that when enabled increases performance for commands with very large numbers of parameters. #1041 - Included
42108
and42109
error codes to retriable transient errors list. #1215 - Added new App Context switch to use OS enabled client protocols only. #1168
- Added
PoolBlockingPeriod
connection property support in .NET Standard. #1181 - Added support for
SqlDataReader.GetColumnSchema()
in .NET Standard. #1181 - Added PropertyGrid support with component model annotations to
SqlConnectionStringBuilder
properties for .NET Core. #1152
Fixed
- Fixed issue with connectivity when TLS 1.3 is enabled on client and server. #1168
- Fixed issue with connection encryption to ensure connections fail when encryption is required. #1210
- Fixed issue where connection goes to unusable state. #1128
- Fixed recursive calls to
RetryLogicProvider
when callingSqlCommand.ExecuteScalarAsync
. #1220 - Fixed async deadlock scenarios in web contexts with configurable retry logic provider. #1220
- Fixed
EntryPointNotFoundException
inInOutOfProcHelper
constructor. #1120 - Fixed async thread blocking issues on
SqlConnection.Open()
for active directory authentication modes. #1213 - Fixed driver behavior for Always Encrypted with secure enclaves to not fail when no user parameters have been provided. #1115
- Fixed bug with
LegacyRowVersionNullBehavior
App Context switch. #1182 - Fixed issues in Strings.resx file containing error messages. #1136 #1178
Changed
- Updated error code to match with Windows when certificate validation fails in non-Windows client environments. #1130
- Removed designer attributes from
SqlCommand
andSqlDataAdapter
. #1132 - Updated configurable retry logic default retriable error list. #1125
- Improved performance by changing
SqlParameter
bool fields to flags. #1064 - Improved performance by implementing static delegates. #1060
- Optimized async method allocations in .NET Framework by porting changes from .NET Core. #1084
- Various code improvements #902 #925 #933 #934 #1024 #1057 #1122 #1133 #1134 #1141 #1187 #1188 #1223 #1225 #1226
For detailed release notes, refer 4.0.0-preview1.md