Data can be passed in and out of a MySQL stored procedure through the
MySqlCommand.Parameterscollection. When used with a legacy server (prior to MySQL 8.0), the command object consults the
mysql.proctable to determine the parameters of the stored procedure. This secondary action now is deprecated and will be removed in a future release. (WL #15645)
.NET Framework 4.6.2 replaces version 4.5.2 in target frameworks. (WL #15641)
Connector/NET no longer provides within the install and no-install bundles any third-party libraries that the connector does not build internally. Application developers must now ensure the availability of following libraries at run time.
For applications using OCI Authentication and SSL Certificates validation:
For applications using X DevAPI:
MySqlX.XdevAPI.Collection<T>is expanded to enable the use of generic types with operations performed on a collection.
Collection<T>now includes these new methods:
(Bug #31182148, WL #15476)
The zstd compression algorithm is deactivated in the connector. (Bug #35281610)
Asynchronous methods used with classic MySQL protocol connections now are implemented to ensure asynchronous behavior at the level of I/O operations. Previously, some asynchronous methods were executed in a synchronous context. (Bug #70111, Bug #26477952, WL #15484)
Connector/NET’s implementation of the
authentication_oci_clientplugin now permits using a security-token file to support ephemeral key-pair authentication when integration with an external identity provider is needed for classic MySQL protocol connections. In addition, .NET applications now can set the new
OciConfigProfileconnection option (see General Options) to specify which profile in the configuration file to use for authentication. (WL #15489)
Queries using the
MySql.Data.MySqlClient.MySqlConnectionclass did not connect as expected if the connector was installed using the MSI file. This fix now adds
System.CompilerServices.UnsafeDLLs to the MSI file for inclusion into the GAC.Important
This resolution requires Connector/NET 22.214.171.124, which supersedes the Connector/NET 8.0.33 release.
Connector/NET API member documentation was incomplete. (Bug #34975410, Bug #35141281)
When Connector/NET inserted multiple rows using a single
MySqlCommand.LastInsertedIdproperty returned the ID of the first row that was inserted rather than the last row. (Bug #109683, Bug #34993798)
A valid query formatted with tabs or new lines could return an invalid syntax error. (Bug #95226, Bug #29722378)