MySQL Connector/NET Release Notes

3.4 Changes in MySQL Connector/NET 7.0.4 (2016-08-22, Milestone 3)

MySQL Connector/Net 7.0.4 is the first development release that expands cross-platform support to Linux and macOS when using Microsoft .NET Core framework. Now, .NET developers can use X DevAPI with .NET Core and Entity Framework Core 1.0 to create server applications that run on Windows, Linux, and macOS.

Functionality Added or Changed

  • Added support to X Protocol connections with flexible parameter lists that do not require string parsing.

  • Added support for URI connection strings in the following formats:

    • mysqlx://[user[:password]@]host[:port]

    • mysqlx://[user[:password]@]host[:port]/database

    • mysqlx://[user[:password]@]host[:port]/[database]?option=value[&option=value]

    • mysqlx+ssh://[user[:password]@]host[:port]

  • Document Store: Views are no longer implemented using a separate View class in the MySqlX namespace. Instead, the IsView property has been added to the Table class and views are implemented as tables.

  • Added in MySql.Data support for .NET Core 1.0, which runs on Windows, OS X, and Linux.

  • Added in MySQL.Data.EntityFrameworkCore support for Entity Framework (EF) Core (includes support for .NET Framework 4.5.1).

Bugs Fixed

  • Document Store: Passing no document or a DbDoc object that contained an empty array to the Add() method of a collection would throw an exception. Now, passing in either an empty document or array of documents returns a Results object in which RecordsAffected is zero. (Bug #23542066)

  • Document Store: Passing a DbDoc object that contained an array to the Add() method of a collection would throw an exception. (Bug #23542031)