Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 100 additions & 5 deletions content/releasenotes/studio-pro/8.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,100 @@
title: "8.0"
parent: "8"
description: "The release notes Mendix Studio Pro version 8.0 (including all patches) with details on new features, bug fixes, and known issues."
#ki:PT-1591 as the only story to refer to for now.
#ki: "MySQL 8.0 cannot" = DAT-1530
---

## 8.0.0 Beta 3 {#803}

**Release date: July 9th, 2019**

{{% modelerdownloadlink "8.0.3" %}}

{{% alert type="info" %}}
Studio Pro 8.0.0 Beta 2 app projects that are converted to Beta 3 can no longer be opened in Beta 2. Support for previous beta versions is dropped with the release of Beta 3.
{{% /alert %}}

### New Features

#### Microflows in the Connector Kit

You can now expose your microflows as **Toolbox** actions, as is already available for Java and JavaScript actions.

### Improvements

* <a name="float-currency"></a>The types **float** and **currency** have been deprecated since Mendix 6. In Mendix 8, using these types is no longer allowed. If your app project still contains a lot of those types, we now help you more in getting rid of them. By right-clicking an error message and selecting **Convert all Float/Currency to Decimal**, you can quickly fix almost all float-related errors.
* To avoid confusion, we changed the naming of **variables** and **objects** in the microflow editor. Previously, the term "variable" could be used in different ways: as a name for a list of objects or as an object itself. This has now been cleared up. There are some outstanding changes that will be addressed in future.
* Exclusive split and inheritance split have been renamed to **Decision** and **Object type decision**, respectively.
* You can make many native widgets conditionally editable in Studio Pro.
* [Mendix Assist](/refguide/mx-assist-studio-pro) now takes the return type of a microflow into account when providing recommendations.
* In published OData services, you can now specify the path. It always starts with **/odata/**, but after that, you can specify more than just the service name. Use this, for example, to make the version a part of the URL.
* In the Studio Pro user interface of published OData services, we renamed **Entity set name** to **Exposed set name** in order to clearly express that this is an exposed name.
* We added a documentation/help button to the dialog box for editing a message definition.
* In the **Call REST action**, we added support for posting form data to a REST service.
* We upgraded Swagger UI (used in the interactive documentation of published REST services) from 3.4.3 to 3.22.2.
* Because this is Mendix Studio Pro, the executable file is now named **studiopro.exe**.
* We improved logging to better diagnose problems with staying signed in to Studio Pro.
* If **critical messages** have been logged, the echo action now only returns the first 10 messages. It also reports the total number of critical messages logged.
* Averages of integer attributes are now calculated using decimals instead of floats.
* The custom runtime property `DataStorage.CountOnAttribute` has been removed.
* Stricter type-checking is now applied on query parameter values: arbitrary arrays are no longer allowed to be passed, and passing null as an argument of `RANGEBEGIN/RANGEEND` now results in an error.

#### Nanoflow Improvements

Date expression functions can now be used in nanoflows. Note that these functions use the time settings of the user's browser instead of the server settings. Parsing and formatting time zones is not supported in nanoflows.

#### Database Improvements

We updated database vendor versions described below.

* We added support for the following:
* Oracle 12.2
* MariaDB 10.2, 10.3
* MySQL 8
* PostgreSQL 11
* We dropped support for the following versions no longer supported by vendors:
* Oracle 11, 12.1
* MySQL 5.5, 5.6
* MariaDB 10.0
* PostgreSQL 9.2, 9.3
* SQL Server 2008, 2008r2, 2012
* We dropped support for versions that will no longer be supported by Q4 2019:
* PostgreSQL 9.4
* SQL Server 2014

### Fixes

* <a name="69295"></a>We fixed an issue where the error check progress bar remained stuck. (Ticket 69295)
* <a name="82615"></a>**Design mode** now properly supports all the changes made to custom widget properties and no longer displays an eternal loading spinner for pages that contain them. (Ticket 82615)
* Previously, you could select the user role token in nanoflow XPath retrieves, resulting in an invalid token error. This is now updated, and the user role token is no longer selectable here. (Ticket 83007)
* SVG support was broken in [8.0.0 Beta 2](#802). It has been restored to its former glory.
* We made it possible to have more than one thousand documents at the same level in Studio Pro, but please try to avoid that situation anyway. (Ticket 82990)
* We noticed that Mendix Assist was rather slow on big microflows, which made it rather unusable in that context. Well, not anymore!
* We fixed an issue where log messages were truncated if they contained null characters.
* We fixed an issue where pasting a [Model Share](/refguide/model-share) into the **System** module resulted in an error.
* We added checks that warn you when you create a validation rule that will crash when running your app. (Tickets 82448, 46497)
* We fixed an issue where there was a difference between JSON validation in Studio Pro and MxBuild on Linux. (Tickets 61771, 62022)

### Breaking Changes

* We dropped support for the **float** and **currency** types. For more information on this change, see the [improvement](#float-currency) documented above.
* After being deprecated for years, cross-module associations to **System** with owner **Both** are no longer supported.
* We rely on the default locale preferences of the Java Virtual Machine (JVM). Since Java 9, the JVM prefers Common Locale Data Repository (CLDR) locales over built-in Java Runtime Environment (JRE) ones. This means that some locales will have different configurations. For example, in an **en_US** locale, the default date time format is different. As a consequence, in microflow expressions, functions like `formatDateTime` as well as `toString` calling on a `MendixDateTime` object using a default pattern might return a different result.
* We now require Java 11 as the minimum Java version for compiling and running Mendix applications.
* We removed the `code`, `permanent`, `eden`, `survivor`, and `tenured` fields from the `memory` section of the `runtime_statistics` admin action's result. They were already reported as `0` (in Mendix 7).
* The `com.mendix.core.conf.Configuration` interface's `getCACerficates` and `getClientCertificates` methods as well as the `com.mendix.core.conf.WebServiceCertificateInfo` class's `getCertificateInputStream` method now throw `IOException` instead of `FileNotFoundException`. As these are checked exceptions, users of these public API method should adapt their code.
* We stopped including **Bootstrap** JavaScript code in resources under the *lib/bootstrap/js* path. If your theme's HTML page still imports these files, you must include them in your theme explicitly.
* We migrated Studio Pro to **.NET Framework 4.7.2**. This adds more security, performance, and stability, and it includes better support for viewing Studio Pro on high DPI screens.
* MxBuild now requires **Mono 5.20.x** to run.

### Limitations

* Building native mobile apps with Mendix 8.0.0 Beta 3 requires using the latest version of the **Make It Native** app from [Google Play](https://play.google.com/store/apps/details?id=com.mendix.developerapp) or [Apple App Store](https://apps.apple.com/app/make-it-native/id1334081181). The latest version of the Make It Native app is not compatible with Mendix [8.0.0 Beta 2](#802) and below.

### Known Issues

* MySQL 8.0 cannot be used with the default authentication plugin as of this moment. Mendix uses the open-source [MariaDB](https://mariadb.com/) driver to connect, which has not added support as of yet. We will include the updated driver as soon as it is [released](https://jira.mariadb.org/browse/CONJ-663). To resolve this issue, you may consider using the [previous default plugin](https://mysqlserverteam.com/upgrading-to-mysql-8-0-default-authentication-plugin-considerations/) until the driver has been updated.

## 8.0.0 Beta 2 {#802}

**Release date: June 12th, 2019**
Expand Down Expand Up @@ -69,8 +160,10 @@ For more information, see [Subversion 1.9 in Mendix 8 Beta 2](https://forum.mend

### Known Issues

* When you create a new project based on a blank project template, the **Design mode** does not work, it keeps showing a loading indicator. (Ticket 82615)
* In some cases, while doing an error check, a progress bar starts loading and does not stop. This is a user interface problem, the error check itself is completed properly. (Ticket 69295)
* Fixed in [8.0.0 Beta 3](#69295).
* When you create a new project based on a blank project template, the **Design mode** does not work, it keeps showing a loading indicator. (Ticket 82615)
* Fixed in [8.0.0 Beta 3](#82615).

## 8.0.0 Beta 1 {#800}

Expand Down Expand Up @@ -153,8 +246,8 @@ The **Edit mode** in the page editor has been renamed to the **Structure mode**,
* It turned out that the fast re-run option (that is, when you re-run an app project already running locally) is too fast! Some people did not notice their browser was reloaded with new changes before they opened it, so we added an explicit notification message in the browser.
* We improved how we generate the contents of list views (via the **Automatically fill the contents** option). Now, inside a read-only list view, we generate text widgets instead of input widgets.
* We now allow you to pass a Boolean expression to a string function in microflow expressions.
{{% alert type="info" %}}This is based on an [upvoted idea from Sander Wamelink](https://forum.mendixcloud.com/link/ideas/402) submitted to the [Mendix Idea Forum](https://forum.mendixcloud.com/link/ideas). Thanks, Sander!
{{% /alert %}}
{{% alert type="info" %}}This is based on an [upvoted idea from Sander Wamelink](https://forum.mendixcloud.com/link/ideas/402) submitted to the [Mendix Idea Forum](https://forum.mendixcloud.com/link/ideas). Thanks, Sander!
{{% /alert %}}
* When using the **Batch Translate** and **Batch Replace** forms, we now warn you when you have nothing selected.
* We improved the performance of Mendix Studio Pro when you are adding or deleting documents. The algorithm ensuring consistency now performs fewer searches through the app project.
* We changed the deprecated content type for */api-doc/fonts/OpenSans-Light-webfont.woff* to *font/woff*.
Expand Down Expand Up @@ -297,5 +390,7 @@ We upgraded the following runtime dependencies:

### Known Issues

* When you create a new project based on a blank project template, the **Design mode** does not work, it keeps showing a loading indicator. (Ticket 82615)
* In some cases, while doing an error check, a progress bar starts loading and does not stop. This is a user interface problem, the error check itself is completed properly. (Ticket 69295)
* Fixed in [8.0.0 Beta 3](#69295).
* When you create a new project based on a blank project template, the **Design mode** does not work, it keeps showing a loading indicator. (Ticket 82615)
* Fixed in [8.0.0 Beta 3](#82615).