Skip to content

Releases: mysql-net/MySqlConnector

0.33.1

20 Dec 20:41
Compare
Choose a tag to compare
  • Add missing .ConfigureAwait(false)
    • Fixes a potential deadlock in clients that blocked on Tasks returned from async methods.

0.33.0

03 Dec 21:29
Compare
Choose a tag to compare

MySqlConnector

  • Implement logging framework: #390.
  • Implement MySqlDataAdapter: #183.
  • Get correct connection ID for Azure Database for MySQL.
  • Use AdoNet.Specification.Tests test suite to validate implementation.

MySqlConnector.Logging.log4net

  • Add new project, MySqlConnector.Logging.log4net, that adapts MySqlConnector logging for log4net.

0.32.0

24 Nov 20:27
Compare
Choose a tag to compare
  • Implement more MySqlParameter constructor overloads: #402
    • This improves compatibility with Connector/NET
  • Implement MySqlParameter.Precision and MySqlParameter.Scale
    • The properties are provided only for source compatibility
    • Not available on .NET 4.5
  • Implement MySqlDataReader.GetChars
  • Implement MySqlDataReader.Depth
  • Fix NullReferenceException in MySqlDataReader when reader is disposed
  • Breaking Throw InvalidCastException (instead of MySqlException) from MySqlDataReader.GetGuid if column is NULL
  • Breaking Throw InvalidOperationException (instead of MySqlException) from MySqlConnection.ConnectionString setter if connection is open
  • Breaking Throw ArgumentException (instead of InvalidOperationException) from MySqlConnectionStringBuilder for invalid option names

0.31.3

22 Nov 21:48
Compare
Choose a tag to compare
  • Fix return value of ExecuteScalar to be the first column from the first row of the first result set.
  • Fix return value of ExecuteNonQuery to correctly return -1 for SELECT statements.
  • Fix bug where NextResult returns true for a trailing comment in a SQL statement.
  • Breaking Throw InvalidOperationException if MySqlCommand.CommandText is set while the command is active.
  • Breaking Throw InvalidOperationException (instead of MySqlException) if a MySqlCommand is executed while there is an open reader.
  • Breaking Throw InvalidOperationException from MySqlCommand.Prepare when preconditions aren't met.

0.31.2

22 Nov 21:48
Compare
Choose a tag to compare
  • Breaking Throw InvalidOperationException when MySqlCommand.Connection can't be set (instead of MySqlException).
  • Breaking Throw InvalidOperationException from MySqlCommand.Prepare when preconditions aren't met.
  • Fix NullReferenceException when MySqlCommand.Connection isn't set (now correctly throws InvalidOperationException).

0.31.1

17 Nov 20:27
Compare
Choose a tag to compare
  • Fix InvalidOperationException if MySqlBulkLoader is used inside a transaction (again): #300
  • Breaking Remove MySqlBulkLoader.Transaction property (added in 0.24.0); MySqlBulkLoader will always use the ambient transaction, if any. This matches Connector/NET API & behaviour

0.31.0

14 Nov 18:12
Compare
Choose a tag to compare
  • Implement MinimumPoolSize: #85
  • Implement server load balancing with new LoadBalance connection string setting: #226
  • Add SourceLink
  • Wrap EndOfStreamException in MySqlException when connecting fails: #388
  • Fix StackOverflowException when reading large BLOBs asynchronously
  • Don't set Transaction on new MySqlCommand: #389
  • Ignore MySqlConnection.Cancel when connection is broken: #386
  • Improve internal code organisation: #376

0.30.0

31 Oct 14:37
Compare
Choose a tag to compare
  • Breaking Remove BufferResultSets connection string option: #378
  • The assembly is now strong-named: #224

0.29.4

31 Oct 05:26
Compare
Choose a tag to compare
  • Fix exception in MySqlTransaction.Dispose if the underlying connection is closed or faulted: #383

0.29.3

31 Oct 05:26
Compare
Choose a tag to compare
  • Remove System.Runtime.InteropServices.RuntimeInformation dependency on full framework: #381