Releases: mysql-net/MySqlConnector
Releases · mysql-net/MySqlConnector
2.2.0
- Support .NET 7.0.
- Add
MySqlDataSource, an implementation ofDbDataSourcefor MySQL: #1208. - Use source-generated regular expressions.
- Use UTF-8 literals to perform UTF-8 conversion at compile-time instead of runtime.
- Add
- Breaking Drop support for .NET 4.5: #1209.
- Add
DNS Check Intervalconnection string option: #1201. - Support restrictions in
MySqlConnection.GetSchema.- Schema collections are code-generated: #1190.
- Use user-provided callbacks when opening new connection to
KILL QUERY: #1179. - Set activity tags when opening a connection fails: #1196.
- Raise
Component.Disposedevent fromMySqlConnection.DisposeAsync: #1235. - Use
ValueTaskinstead ofValueTask<int>: #1233.- Breaking This changes the return type of
MySqlConnection.ResetConnectionAsyncfornetstandard2.0,net461,net471.
- Breaking This changes the return type of
- Possibly Breaking Normalize the order of keys in the connection string returned by
MySqlConnectionStringBuilder.ConnectionString: #1217. - Possibly Breaking Update dependencies.
- Update System.Diagnostics.DiagnosticSource to 6.0.0.
- Update System.Memory to 4.5.5.
- Update System.Threading.Tasks.Extensions to 4.5.4: #1144.
2.1.13
- Swallow (but log) exceptions in
MySqlDataReader.Dispose(Async): #1154. - Add
MySqlDataReader.GetBytes(string): #1197. - Eliminate allocation in
OnStatementBegin: #1207. - Thanks to @CorentinPtrl and @iamcarbon for contributions to this release.
2.1.12
2.1.11
2.1.10
2.1.9
- Set
Activitystatus to ERROR if an exception occurs duringExecuteReader: #1171. SSL Mode = Disabledis supported as a synonym forSSL Mode = None: #1168.- Added
MySqlSslMode.Disabledenum value.
- Added
MySqlAttributeimplementsICloneable: #1169.- (Internal) Unix domain socket connection uses
UnixDomainSocketEndPointclass: #1160. - Thanks to @qq362220083 for contributions to this release.
2.1.8
2.1.7
MySqlCommandno longer automatically appends a semicolon to the user-providedCommandText: #1133.- This improves compatibility with Sphinx Search (SphinxQL).
MySqlBulkCopysupportsMySqlDecimal,BigInteger,DateOnly,TimeOnly: #1143.- Fix
InvalidOperationExceptionwhen theTLS Versionconnection string option contains multiple values: #1138.
2.1.6
- Fix unintentional TLS downgrade: #1132.
- To ensure the desired TLS version is used, set
TlsVersionin your connection string.
- To ensure the desired TLS version is used, set
- Fix deadlock when cancelling a command: #1131.
- Fix
ArgumentExceptionwhen callingGetSchema("Parameters")against MySQL 8.0: #1128. - Set
MySqlParameter.SizeinDeriveParameters: #1125. - Thanks to @ahydrax and @lostatredrock for contributions to this release.