MySQL for Visual Studio Release Notes

Abstract

This document contains release notes for the changes in each release of MySQL for Visual Studio.

For additional MySQL for Visual Studio documentation, see MySQL for Visual Studio.

Updates to these notes occur as new product features are added, so that everybody can follow the development process. If a recent version is listed here that you cannot find on the download page (http://dev.mysql.com/downloads/), the version has not yet been released.

The documentation included in source and binary distributions may not be fully up to date with respect to release note entries because integration of the documentation occurs at release build time. For the most up-to-date release notes, please refer to the online documentation instead.

For legal information, see the Legal Notices.

For help with using MySQL, please visit either the MySQL Forums or MySQL Mailing Lists, where you can discuss your issues with other MySQL users.

For additional documentation on MySQL products, including translations of the documentation into other languages, and downloadable versions in variety of formats, including HTML and PDF formats, see the MySQL Documentation Library.

Document generated on: 2016-08-17 (revision: 9605)


Table of Contents

Preface and Legal Notices
Changes in MySQL for Visual Studio 2.0
Changes in MySQL for Visual Studio 2.0.4 (Not yet released)
Changes in MySQL for Visual Studio 2.0.3 (2016-07-01, Milestone 2)
Changes in MySQL for Visual Studio 2.0.2 (2016-04-11, Milestone 1)
Changes in MySQL for Visual Studio 2.0.1 (Not released, Internal)
Changes in MySQL for Visual Studio 2.0.0 (Not released, Internal)
Changes in MySQL for Visual Studio 1.2
Changes in MySQL for Visual Studio 1.2.6 (2016-01-07)
Changes in MySQL for Visual Studio 1.2.5 (2015-10-29)
Changes in MySQL for Visual Studio 1.2.4 (2015-07-28)
Changes in MySQL for Visual Studio 1.2.3 (2014-08-06, General Availability)
Changes in MySQL for Visual Studio 1.2.2 (2014-07-15, Release Candidate)
Changes in MySQL for Visual Studio 1.2.1 (2014-07-01, Beta)
Changes in MySQL for Visual Studio 1.2.0 (2014-04-21, Alpha)
Changes in MySQL for Visual Studio 1.1
Changes in MySQL for Visual Studio 1.1.4 (2014-03-10, General Availability)
Changes in MySQL for Visual Studio 1.1.3 (2014-01-14, General Availability)
Changes in MySQL for Visual Studio 1.1.2 (Not released, Internal, Release Candidate)
Changes in MySQL for Visual Studio 1.1.1 (Not released, Internal, Beta)
Changes in MySQL for Visual Studio 1.1.0 (Not released, Internal, Alpha)
MySQL Visual Studio Plugin Release Notes
Changes in MySQL Visual Studio Plugin 1.0.1 (2006-10-04)
Changes in MySQL Visual Studio Plugin 1.0.0 (2006-10-04)

Preface and Legal Notices

This document contains release notes for the changes in each release of MySQL for Visual Studio.

Legal Notices

Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved.

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable:

U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.

This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle.

For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.

Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.

This documentation is NOT distributed under a GPL license. Use of this documentation is subject to the following terms:

You may create a printed copy of this documentation solely for your own personal use. Conversion to other formats is allowed as long as the actual content is not altered or edited in any way. You shall not publish or distribute this documentation in any form or on any media, except if you distribute the documentation in a manner similar to how Oracle disseminates it (that is, electronically for download on a Web site with the software) or on a CD-ROM or similar medium, provided however that the documentation is disseminated together with the software on the same medium. Any other use, such as any dissemination of printed copies or use of this documentation, in whole or in part, in another publication, requires the prior written consent from an authorized representative of Oracle. Oracle and/or its affiliates reserve any and all rights to this documentation not expressly granted above.

Changes in MySQL for Visual Studio 2.0

Changes in MySQL for Visual Studio 2.0.4 (Not yet released)

Version 2.0.4 has no changelog entries, or they have not yet been published because the product version has not yet been released.

Changes in MySQL for Visual Studio 2.0.3 (2016-07-01, Milestone 2)

Known limitation of this release: Some features such as the Entity Framework, and some Server Explorer functionality like drag and drop elements into a Dataset Designer, or Design Tables, do not function in this version.

Functionality Added or Changed

  • Added an error handler to manage exceptions from MySQL Shell, and to display relevant information about the exceptions in the selected output. This includes the full error message from MySQL Shell, and extra validation in case it contains terms such as "undefined" or "null".

  • Added SSL support for MySQL connections that use the X Protocol. SSL support works with PEM files, so SSL connections need to be created through the "MySQL Connections Manager" in MySQL for Visual Studio, or from MySQL Workbench.

  • Added support for the following X DevAPI functions: parseUri() and isOpen().

  • A new MySQL Output pane was added that contains a results grid view similar to the view found in MySQL Workbench. It contains the following data for executed statements: Success (with an icon if possible), Execution index (sequential), Execution Time, Query Text, Message (output from the server), and Duration / Fetch. This functionality is available for JavaScript and Python queries.

  • Added a console mode editor, where pressing Enter executes the code.

  • Added the ability to switch between "Batch" (execute multiple statements) and "Console" (execute each statement after pressing Enter) modes, from the Query Editor toolbar as a dropdown list.

  • A MySQL connection manager dialog was added to help fully manage MySQL connections. It supports connection sharing with MySQL Workbench, and supports create, edit, configure, and delete actions.

    MySQL connections created with the connection manager where the password is securely stored in the system's password vault functions with the Server Explorer in Visual Studio. The password is extracted from the password vault, and persists in the Server Explorer connections.

Bugs Fixed

  • The "mysqlx" module was not imported properly to execute JavaScript queries. (Bug #23091964, Bug #81052)

  • After opening a valid MySQL connection and creating a new JavaScript MySQL script, disconnecting then reconnecting to the MySQL Server while changing the port to 33060 would fail.

  • MySQL for Visual Studio now shows a message stating that a SSL connection is required by the MySQL server if the require_secure_transport variable is set.

  • All script editors now display detailed information about the connection used. Before, the information was displayed in the toolbar as labels, but now all information is consolidated in a menu opened where the connection name is displayed. Additional information includes the connection method, host identifier, server version, user, and schema.

  • Output from executing JavaScript and Python commands were not visible unless the Output window was already opened. The Output window now automatically opens when executing commands.

Changes in MySQL for Visual Studio 2.0.2 (2016-04-11, Milestone 1)

MySQL for Visual Studio 2.0.2 M1 is the first development release of MySQL for Visual Studio to add support for the new X DevAPI. The X DevAPI enables application developers to write code that combines the strengths of the relational and document models using a modern, NoSQL-like syntax that does not assume previous experience writing traditional SQL.

To learn more about how to write applications using the X DevAPI, see http://dev.mysql.com/doc/x-devapi-userguide/en/. For more information about how the X DevAPI is implemented in MySQL for Visual Studio, and its usage, see http://dev.mysql.com/doc/refman-5.7/en/mysql-shell-visual-studio.html.

Please note that the X DevAPI requires at least MySQL Server version 5.7.12 or higher with the X Plugin enabled. For general documentation about how to get started using MySQL as a document database, see Using MySQL as a Document Store.

Known limitation of this release: SSL connections are not yet supported.

Functionality Added or Changed

  • Updated the MySQL parser's grammar to include keywords introduced in MySQL 5.7.

  • Because the deprecated "File", "New", "Project", "Create a New Project", "Templates", "MySQL Files" option no longer exists, the resulting error is no longer present. In other words, the deprecated "MySQL Project Templates" were removed, in favor of "MySQL Item Templates".

  • Support for the "IF [NOT] EXISTS" clause for CREATE, DROP, and ALTER USER statements was added.

  • The JavaScript and Python editors now auto-detect the port for the X Protocol, and uses it to execute JavaScript and Python scripts. Before, it was hardcoded to 33060.

Bugs Fixed

  • The New MySQL Script - Python option would not function with MySQL Server 5.7.9 and higher. The error was similar to "An error occurred when trying to launch a MySql Script window".

  • Minor optimizations to the script editor window.

  • Added support for Visual Studio 2015 with .NET Framework 4.6.

  • The "New MySql Script" command bar button did not function. The error was similar to "An error occurred when trying to launch a MySql Script window".

  • The triple double quote """ used for multiline comments did not function correctly in the Python editor.

  • The JavaScript editor now only shows when working with connections using MySQL 5.7 and higher.

  • Opening an editor window for .mysql files that connected to MySQL Server versions lower than 5.6.6 would not function.

  • The Tree View in the Results tab did not display data headers.

Changes in MySQL for Visual Studio 2.0.1 (Not released, Internal)

Version 2.0.1 has no changelog entries, or they have not yet been published because the product version has not yet been released.

Changes in MySQL for Visual Studio 2.0.0 (Not released, Internal)

Version 2.0.0 has no changelog entries, or they have not yet been published because the product version has not yet been released.

Changes in MySQL for Visual Studio 1.2

Changes in MySQL for Visual Studio 1.2.6 (2016-01-07)

Bugs Fixed

  • With MySQL for Visual Studio installed, attempting to create MSSQL connections would fail and throw an exception. (Bug #22122881, Bug #77441)

  • The Tools, Extensions and Updates, Installed, Tools window always reported "1.0.0" as the current MySQL for Visual Studio version number. (Bug #22114385)

  • Executing Generate Database from Model from an existing Entity Framework model would throw an exception related to an error with the T4 template file, when then aborted the creation of the database. The Connector/Net Entity Framework assembly (MySql.Data.Entity.EF6.dll) path was fixed in the MySQL T4 template file (SSDLToMySQL.tt). (Bug #20234532, Bug #74388)

  • With Visual Studio 2012, generating a database from a model would fail and throw an exception. However, clicking OK after the error would cause the action to succeed. (Bug #18181649)

Changes in MySQL for Visual Studio 1.2.5 (2015-10-29)

Known limitation:

Item templates do not work correctly with MySQL Server 5.7.x, as it prevents the creation of an Entity Framework model.

Functionality Added or Changed

  • Project Templates were replaced with Item Templates.

    The Project Templates option was removed from the plugin toolbar, and from the Project menu, in order to add the Item Templates feature with two options: MySQL MVC Item and MySQL Windows Forms Item, which are available as a context menu for existing projects. They add new windows forms or MVC controllers/views connected to MySQL.

  • Added the Entity Framework option to the MySQL Website Configuration dialog for web projects, so Entity Framework version 5 or 6 can be used with a MySQL database provider. These automatically add the configuration/references needed to the web.config file and the project itself. Also, all available configuration options are now listed in the dialog.

Bugs Fixed

  • The Installer could not uninstall MySQL for Visual Studio if Visual Studio was uninstalled first. (Bug #21953055, Bug #71226)

  • In v1.2.4, the Launch Workbench and Open MySQL Utilities Console toolbar buttons were disabled. (Bug #21495692)

  • The "Templates" could not be uninstalled via Add/Remove Programs. Because Project Templates were replaced by Item Templates, this is no longer a concern. (Bug #21488922, Bug #77802)

  • The dataset designer wizard was not showing the stored procedure parameters when creating a "TableAdapter" using existing stored procedures for the "Select" command. Also, the stored procedure command had an "error" thus causing the dataset to not be created. (Bug #20233133, Bug #74195)

Changes in MySQL for Visual Studio 1.2.4 (2015-07-28)

This is a maintenance release that fixes bugs and adds support for Microsoft Visual Studio 2015.

Known limitations:

MySQL for Visual Studio project templates are designed to work with MVC 4, but Microsoft Visual Studio 2015 is the first VS version that ships with MVC 5. As a workaround for this release, you must install MVC 4 to get the project templates working with VS 2015. If MVC 4 is not installed, then the MySQL template menus and toolbars will be disabled.

If MySQL for Visual Studio 1.2.4 is installed before MVC 4, then you must uninstall and then reinstall the 1.2.4 plugin. Executing a "Change" or "Repair" will not work.

The Launch Workbench and Launch MySQL Utilities toolbar buttons are disabled in this release.

Bugs Fixed

  • Added Microsoft Visual Studio 2015 support. (Bug #21438524, Bug #77708)

  • Removed Microsoft Visual Studio 2008 support.

Changes in MySQL for Visual Studio 1.2.3 (2014-08-06, General Availability)

This is the first GA release in the MySQL for Visual Studio 1.2 series, and it is a version suitable for production environments.

Functionality Added or Changed

  • A MySQL Simple Membership provider option was added to the web configuration tool.

Bugs Fixed

  • Several DLL files were hardcoded with the version number "1.0.0.0" instead of using the current MySQL for Visual Studio value. (Bug #19209876)

Changes in MySQL for Visual Studio 1.2.2 (2014-07-15, Release Candidate)

This RC release of the 1.2.x branch improves the feature set that was added in the limited 1.2.x branch. This RC release should not be used in a production environment.

Bugs Fixed

  • The MySQL ASP.NET MVC 3 Project Wizard, MySQL Windows Forms Project, and MySQL Website Configuration wizards were improved.

  • The MySQL Windows Forms Wizard now generates an application with multiple forms that include different types of views based on user customization.

  • Entity Framework 5 / 6 support was added when generating new MySQL projects.

Changes in MySQL for Visual Studio 1.2.1 (2014-07-01, Beta)

This beta release of the 1.2.x branch improves the feature set that was added in the limited 1.2.0 release. This beta release should not be used in a production environment.

Bugs Fixed

  • The MySQL ASP.NET MVC 3 Project Wizard, MySQL Windows Forms Project, and MySQL Website Configuration wizards were improved.

  • The MySQL ASP.NET MVC 3 Project Wizard now generates browsable pages for all tables included in the Data Entity model.

  • A Create New MySQL Project dialog is now accessible from the MySQL Toolbar.

  • The name MySQL MVC 3 Template was changed to MySQL ASP.NET MVC 3 Project Wizard.

Changes in MySQL for Visual Studio 1.2.0 (2014-04-21, Alpha)

The first public release of the 1.2.x branch. This alpha release is not feature complete, has limitations, and should not be used in a production environment.

Functionality Added or Changed

  • The MySQL Website Configuration wizard was updated to include an ASP.NET Web Personalization provider. This allows you to store personalization state data for the content and layout of Web Parts pages that are generated by the Web Parts personalization service using MySQL as a data source.

    This feature requires Connector/Net 6.9.

  • The MySQL Website Configuration wizard was updated to include an ASP.NET Site Map provider. This allows you to show a hierarchical list of links that describe the structure of a site.

    This feature requires Connector/Net 6.9.

  • A MySQL Windows Forms Project wizard was added, and is available from the Visual Studio New Project dialog. This wizard automates the generation of a simple .NET Windows Forms Application with a form that is connected to a MySQL data source.

  • A MySQL MVC 3 Template wizard was added, and is available from the Visual Studio New Project dialog. This wizard automates the generation of an ASP.NET application that includes a MySQL Membership configuration section, and can be set up to use a new or existing MySQL database. Optionally, the application can also use the MySQL Role and MySQL Profile providers.

Changes in MySQL for Visual Studio 1.1

Changes in MySQL for Visual Studio 1.1.4 (2014-03-10, General Availability)

This is a maintenance release for the MySQL for Visual Studio 1.1 series, and it is suitable for production environments. It is compatible with Connector/Net 6.8.3 and later, and it supports MySQL Server versions 5.0 to 5.6.

Functionality Added or Changed

  • Introduced a new MySQL toolbar, which provides shortcuts to some of the main functionalities of MySQL for Visual Studio. See The MySQL Toolbar for details.

Bugs Fixed

  • The MySQL parser did not recognize the full string literal syntax of [_charset_name]'string' [COLLATE collation_name] as supported by the MySQL Server. This fix makes Connector/Net and MySQL for Visual Studio recognize the string literal syntax as specified in the Character String Literal Character Set and Collation section of the MySQL Server manual. (Bug #18169145)

  • In Visual Studio, the stored procedure debugger did not evaluate the last_insert_id() function in a watch expression correctly. This fix also corrects similar issues for two other information functions that query the debug data table: row_count() and found_row(). (Bug #18111085)

  • A new model could not be created with Entity Framework 6 in Visual Studio 2013 when using MySQL for Visual Studio 1.1.3 and Connector/Net 6.8.3. (Bug #18105394, Bug #71427)

  • The MySQL parser could not parse an if statement when there were any spaces before the parenthesis for the arguments (for example, if (1,1, 1)). Besides if, the same issue occurred for a number of other functions like row_count, ifnull, mod, repeat, and so on, and this fix corrects the problem for all of them. (Bug #17981407)

  • When debugging a stored routine in Visual Studio with the debugger, long identifiers caused the error "data too long for column 'pvarname'" to be thrown. That was because the SQL script of the debugger did not support the same lengths for identifier names as the MySQL server does. This fix matches the debugger with the MySQL server on the maximum lengths supported for identifier names. (Bug #17568158, Bug #70159)

Changes in MySQL for Visual Studio 1.1.3 (2014-01-14, General Availability)

This is the first GA release in the MySQL for Visual Studio 1.1 series, and it is a version suitable for production environments. It is compatible with Connector/Net 6.8.3, and it supports MySQL Server versions 5.0 to 5.6. It includes the following features:

  • Integration with Visual Studio 2013 (requires Professional Edition or higher)

  • Integration with Connector/Net 6.8.3

  • Support for Entity Framework 6 new designers in Visual Studio 2013 (requires Connector/Net 6.8.3)

  • A new data export tool

Bugs Fixed

  • Intellisense did not treat the keywords describe and desc as synonyms of explain. (Bug #17956087)

  • Intellisense showed views from all databases, instead of just the current one. (Bug #17954412)

  • The debugger failed with parser errors when debugging stored procedures with a Leave statement. (Bug #17616344)

Changes in MySQL for Visual Studio 1.1.2 (Not released, Internal, Release Candidate)

Bugs Fixed

  • Could not open the ASP.NET Web Configuration tool in the Solution Explorer when using MySQL for Visual Studio 1.0.2 and Connector/Net 6.7.5. (Bug #17898244, Bug #69808)

  • When opening or creating a .mysql file, trying to invoke Intellisense caused an error in some cases. (Bug #17890216)

  • Debugger failed to debug a routine correctly when it had two functions in a single expression. That was due to an error in handling the scope of the second function, which has been fixed. (Bug #17865915)

  • Installation on Windows Server 2008 failed. (Bug #17698406, Bug #70590)

Changes in MySQL for Visual Studio 1.1.1 (Not released, Internal, Beta)

Functionality Added or Changed

  • With MySQL for Visual Studio 1.0.2, the registration of the Data provider in the machine.config file was done by the installation of MySQL for Visual Studio. From MySQL for Visual Studio 1.1.1 onwards, the registration is no longer performed by MySQL for Visual Studio, but is performed during the installation of Connector/Net (from 6.8.1 and on). Also, the registration is no longer needed when using MySQL for Visual Studio only.

  • Added support for Entity Framework 6 for creating a model using Database First and Model First. This feature requires Connector/Net 6.8.1.

Bugs Fixed

  • When trying to edit or alter a stored procedure or trigger that included references to session variables, an error occurred and the changes were not saved, unless Allow User Variables=true was in the connection settings. Besides stopping the error, this fix also stops similar issues with renaming stored procedure or trigger using Alter Routine. (Bug #17830161)

  • Generation of database from a simple model failed in Visual Studio 2012.

    Important

    For this fix to work, you have to select the correct DDL Generation Template as an entity property. Also, there is a known issue found with Visual Studio 2010, which forces the user to go back and forth between steps in order to create the SQL script.

    (Bug #17800707, Bug #67964)

Changes in MySQL for Visual Studio 1.1.0 (Not released, Internal, Alpha)

Functionality Added or Changed

  • Added the MySQL Data Export tool.

  • Added support for Visual Studio 2013.

MySQL Visual Studio Plugin Release Notes

Note

This section contains separate Visual Studio Plugin release notes for versions of Connector/Net older than 5.1.2. From Connector/Net 5.1.2 to 6.6.x, the Visual Studio Plugin is part of the main Connector/Net package, and changes to the Visual Studio Plugin are described in the Connector/Net release notes.

Note

Since Connector/Net 6.7.x., the Visual Studio Plugin has been replaced by the product MySQL for Visual Studio, and these two products have conflicting version numbers.

Changes in MySQL Visual Studio Plugin 1.0.1 (2006-10-04)

This is a bug fix release to resolve an incompatibility issue with Connector/Net 5.0.1.

It is critical that this release only be used with Connector/Net 5.0.1. After installing Connector/Net 5.0.1, you will need to make a small change in your machine.config file. This file should be located at %win%\Microsoft.Net\Framework\v2.0.50727\CONFIG\machine.config (%win% should be the location of your Windows folder). Near the bottom of the file you will see a line like this:

<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient"
description=".Net Framework Data Provider for MySQL"
type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data"/>

It needs to be changed to be like this:

<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient"
description=".Net Framework Data Provider for MySQL"
type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data,
Version=5.0.1.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/>

Version 1.0.1 has no changelog entries, or they have not yet been published because the product version has not yet been released.

Changes in MySQL Visual Studio Plugin 1.0.0 (2006-10-04)

Bugs Fixed

  • Ability to work with MySQL objects (tables, views, stored procedures, etc) from within Server Explorer.

  • DDEX (Data Designer Extensibility) compatibility.