Release 1.2.0
Basically all the changes introduced with MySqlConnector 2.3.0:
-
Support .NET 8
- Implement
DbBatchCommand.CreateParameter
- Implement
-
Drop support for .NET 4.6.1 and .NET Core 3.1
-
Prevent connection pool falling back to an unsupported TLS version
-
SingleStoreDataSourceis now available for all TFMs, not just .NET 7.0.- This provides a single place to configure a SingleStore connection and makes it easier to register
SingleStoreConnectionwith dependency injection. - Add
SingleStoreDataSourceBuilderclass to configureSingleStoreDataSourceinstances. - Add
SingleStoreDataSource.NameandSingleStoreDataSourceBuilder.UseName
- This provides a single place to configure a SingleStore connection and makes it easier to register
-
Microsoft.Extensions.Logging is now used as the core logging abstraction
-
Expose connection pool metrics
-
Support higher-precision
DateTimevalues -
Remove
COM_MULTIprotocol support -
Use
ValueTaskinSingleStoreBulkCopyAPI for all TFMs- Breaking This changes the return type of WriteToServerAsync from Task to ValueTask on .NET Framework
-
Recycle
SingleStoreDataReaderobjects -
Implement faster parsing for result sets with multiple rows
-
Optimize parameter encoding for ASCII strings
-
Use
TcpClient.ConnectAsyncoverload withCancellationTokenon .NET 5.0 and later -
Fix cancellation when using a redirected connection
-
Fix
SingleStoreConnection.CloneWithfor connections created from aSingleStoreDataSource -
Reduce allocations on common code paths.
-
Fix bug when column name begins with
@inSingleStoreBulkCopy -
Ignore
SingleStoreDbTypewhen serializing enum values -
Fix potential error in reallocating an internal buffer when writing ASCII text.
-
Update handling of
ActivityStatusto latest conventions -
Reduce overhead of
CommandTimeout -
Reword end-of-stream message to be more generic