* v6.0.0 Release Notes (#3063)
* Adding v6.0.0 release notes, updating related files
* Addressing PR comments
* Remove win-arm32 from support
* Retractively adding ARM64 to net462 support
* Adding descriptive paragraphs for bigger features
* .NET 8**+**
* Update SNI version
* Change PR number for SNI vbump
* Move PRs for called out additions
* Update release-notes/6.0/6.0.0.md
Co-authored-by: David Engel <dengel1012@gmail.com>
---------
Co-authored-by: David Engel <dengel1012@gmail.com>
* Add v6.0.1 release docs
* Addressing PR comments
* Fixing one more JSON reference
* Adding knock-on effect of #2258
* rewording slightly
---------
Co-authored-by: David Engel <dengel1012@gmail.com>
* Reverted changes to connection test matrix
Tests were failing in main branch - CI environment only supports TLS 1.2
* Remove const from ConnectionTestParametersData
Enhanced BCP tests to transfer multiple rows
Added SqlDataReader specific API tests
Added scenario of read MARS involving json datatype
Parameterized jsonArrayElements and rows for JsonBulkCopyTests
* Remove default .pfx file from TDS.Servers
Clients requiring a server certificate will need to generate their own.
* Infrastructure work - base class, project targets
* TestUtilities no longer targets netstandard2.0, so is now able to use CertificateRequest.
* Added a reference from Tests to TestUtilities.
* Added a base CertificateFixtureBase class. This provides basic infrastructure to generate a certificate and add it to a store (with cleanup on disposal.)
* Reworked SqlColumnEncryptionCertificateStoreProviderShould
Removed multiple hardcoded references to three certificates.
Also removed references to TestCertificate12.
* Cleanup: ExceptionsCertStore
This test class covered similar ground to the existing SqlColumnEncryptionCertificateStoreProviderShould test class.
* Rework ExceptionsAlgorithmErrors
Removes the last reference to Utility.CreateCertificate, replacing it with one which is generated dynamically.
Accordingly, removes Utility.CreateCertificate.
* Collection fixtures are unnecessary
* Update build.proj
* Running PowerShell with "runas" verb
* Switched to new .NET 9.0 APIs
* Introducing ISniNativeMethods and porting X64 implementation to it
* Adopting usage of SniNativeMethodsX64 in the netfx SniNativeMethodWrapper
* Migrating x86 implementation of native methods
* Migrating arm implementation of native methods
* Introduce a NotSupported implementation of ISniMethods
* Rewrite SniNativeMethodWrapper to select native method provider at static construction
* Create a netcore implementation of ISniNativeMethods
* Create merge file
* Resolve merge conflicts ... I think 😅
* Migrating to the merged version
* Cleaning up derelict code for unix
* Make SniNativeMethod implementations sealed
* Fix unix project
---------
Co-authored-by: Ben Russell <ben@holycrapitsbenrussell>
* Move reliabilitysection to netcore/netfx specific files
* Move BestEffortCleanup to netfx file
* Move AssignPendingDNSInfo to netfx file
* Move RunReliably to netfx only
* Move SNIErrorDetails to netcore file
* Port relevant change from master
* add test for bug
* change default value of UseMinimumLoginTimeout back to 'true'
* Update src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/LocalAppContextSwitches.cs
---------
Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>
Enhancements:
Adds .NET 9 to target frameworks
Fixes:
Adds missing DynamicallyAccessedMembers attribute to GetProviderSpecificFieldType and GetFieldType in netcore ref project.
Removes suppressions due to missing annotations in net6.0
Switches X509Certificate construction to use X509CertificateLoader.
Switches PKCS decoding to use SignedCMS.
Adds internal ReadExactly extension to System.IO.Stream in netfx to provide API parity between netcore and netfx and to address CA2022.
Guards ServicePointManager usage to netfx only, deprecated in .NET 9
https://learn.microsoft.com/en-us/dotnet/fundamentals/syslib-diagnostics/syslib0014https://learn.microsoft.com/en-us/dotnet/api/system.net.servicepointmanager?view=net-9.0
Package Versions:
Adds System.Security.Cryptography.Pkcs:9.0.0 to address SYSLIB0057
Adds Microsoft.Bcl.Cryptography:9.0.0, dependency of the pkcs package
Bumps Microsoft.Extensions.Caching.Memory to 9.0.0
Bumps System.Configuration.ConfigurationManager to 9.0.0
Test Dependencies:
Bumps Microsoft.DotNet.RemoteExecutor to 10.0.0-beta.24564.1
Bumps Xunit to 2.6.3 for all frameworks
* Extract ConsumerInfo and SqlAsyncCallbackDelegate and migrate usages
* Extracting AuthProviderInfo, migrating usages
* Extracting ConsumerNumber, migrating usages
* Extracting IoType, Prefix, Provider, and QueryType, migrating usages
* Extract secur32 interop for netfx usage only
* Extracting the rest of the enums/structs, migrating usages
* Extract SniErrors (and merge it at the same time), delete netcore's SNINativeMethodWrapper.Common.cs
* Extract SqlDependencyProcessDispatcherStorage