Mendix Studio pro

9.9.0
Stable
December 17, 2021
Mendix Studio Pro is our low-code IDE for professional developers. It's a powerful visual model-driven development environment to build apps on the Mendix Platform. With Studio Pro you can easily create, change, integrate, test and deploy your applications, all in one place. Moreover, you can manage branch lines and security as well as extend your app with custom code using the built-in editors. Click 'Download Studio Pro' to get the installer for free (Windows OS required*). Learn more about the installation and the Studio Pro capabilities in our documentation. Not a professional developer? Learn How Mendix supports different developer profiles .Before installing, please read the Release Notes to learn about improvements, bug fixes, backwards compatibility, breaking changes and known issues. *If you are using a Mac, check out these instructions first.
Release Notes - **Release date: December 17th, 2021** ### New Features * We added support for PostgreSQL 14. #### Styling Editor With this release, we added an integrated editor that makes it easier to change the styling of your app and modules. This editor is based on the Monaco Editor, which is the same editor that powers Visual Studio Code and is also used for JavaScript actions. So, this should be a familiar and great experience. Without having to leave Studio Pro, you can now directly do (advanced) app styling and quickly see the changes. You can find and edit the styling files (JS, SCSS) and theme settings (JSON) inside the App Explorer using this new editor. We have also added a setting that lets you configure which styling files should be shown. There are three levels, which can be set via **Edit** > **Preference** > **General** > [Interface](https://docs.mendix.com/refguide/preferences-dialog#interface) or by simply right-clicking the **Styling** node: * **App only** – This option covers the most common use case and lets you customize your app-specific styling. With this, you can see all the files from the **theme** directory inside the **App** > **Styling** node in the App Explorer. * **App and UI resource modules** – Use this option if you would like to create or edit UI resource modules (for example, to build or extend your design system/theme). In addition to what the above option includes, this option adds a **Styling** node to modules that are marked as UI resources, containing the files from the corresponding **themesource** directory. * **App and all modules** – In addition to what the above option includes, this option adds a **Styling** node to all modules, regardless of whether they are marked as UI resources or not. ### Improvements * [MxAssist Performance Bot](https://docs.mendix.com/refguide/mx-assist-performance-bot) now supports fully-online apps for the **MXP006** recommendation to convert a microflow to a nanoflow. * MxAssist Performance Bot can now detect page objects as usage locations of the **MXP009** recommendation in order to avoid using too many levels of inheritance. * We added the new **MXP010** recommendation to MxAssist Performance Bot, which detects when duplicated access rules on an entity may impact performance. * We added the new **MXP011** recommendation to MxAssist Performance Bot, which helps detect when deeply nested list views can cause performance issues in your app. * We added the option to perform automatic retries for tasks that are executed in a [task queue](https://docs.mendix.com/refguide/task-queue#retry). Methods were added to the Java API to perform a fixed or exponential retry. * We removed the limit on the number of task queue threads. * We added the runtime configurations `com.mendix.core.ScheduledEventsCleanupAge` and `com.mendix.core.ProcessedTasksCleanupAge` in order to clean up old completed scheduled events and processed tasks. These settings are specified in milliseconds, and they are disabled by default. * We added several document types to the documentation export feature (accessible via **App Explorer** > [App](https://docs.mendix.com/refguide/project) > **Export documentation**): module roles, pages, constants, import and export mappings, consumed and published web services, snippets, and scheduled events. * We improved the metadata of [published OData services](https://docs.mendix.com/refguide/published-odata-services). Updatable OData resources are no longer annotated with **NonUpdatableNavigationProperties** when that collection is empty. * We changed how the names of external attributes and associations are displayed in the [Data Hub pane](https://docs.mendix.com/refguide/data-hub-pane) so they are now consistent with the dataset attributes and associations names in the [Data Hub Catalog](https://docs.mendix.com/data-hub/data-hub-catalog/). * At startup, we now rename the **MxAdmin** user in the database to sync with the user name defined in the model. * When you open an app from a network path or from a drive in a Mac (both of which will contain double backslashes (`\\`) in the beginning of the file path), a warning is shown to tell you about potential issues that might cause and asks if you wants to proceed anyway. ### Fixes * We upgraded the Cloud Foundry client (`mx-cf-client`) used to deploy Mendix applications from Mendix Studio Pro to compromised Cloud Foundry services by updating Apache Log4j libraries to 2.16.0, which addresses [CVE-2021-44228 and CVE-2021-45046](https://cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf). * We fixed an issue where the runtime server did not start if users with an [Administrator](https://docs.mendix.com/refguide/administrator) role had *1* as their password. We now inactivate these users and start normally. (Tickets 68808, 69887, 85399, 113060, 128346) * We fixed an issue where an offline-first app could not start without a network connection on a test environment. (Ticket 124745) * We fixed an issue that caused a nested data view listening to a data grid to update incorrectly. (Ticket 129385) * We fixed a bug where the limit, offset, filter, and sort order of a data source were erroneously applied to all data sources of the same [pluggable widget](https://docs.mendix.com/apidocs-mxsdk/apidocs/pluggable-widgets-client-apis-list-values). (Ticket 129488) * We fixed an issue that occurred with a reference selector that set a reference to an uncommitted object where that object could not be retrieved over association in a microflow. (Tickets 131593, 133345, 134576, 135463, 137455) * We fixed an issue where resuming Free Apps failed. (Ticket 132915) * We fixed an issue where a [Synchronize](https://docs.mendix.com/refguide/synchronize) nanoflow activity in **Unsynchronized objects** mode did not update the runtime database for objects that had been created on the device and synchronized with the runtime in the same session. (Ticket 133910) * We fixed an issue where a [Close page](https://docs.mendix.com/refguide/close-page) activity called from a data-source microflow resulted in an error. (Ticket 134521) * We fixed the app crash that happened while performing changes in the app's security, such as deleting [access rules](https://docs.mendix.com/refguide/access-rules). (Ticket 134605) * We fixed an issue where it was not always possible to paste when inline-editing a caption in the page editor's [Structure mode](https://docs.mendix.com/refguide/page#structure-mode). (Ticket 134741) * We fixed an issue where apps with hundreds of branches took a very long time to load from the app selector and [Branch Line Manager](https://docs.mendix.com/refguide/branch-line-manager-dialog). (Ticket 136374) * We fixed an issue where it was possible to select all tree items using Ctrl + A. * We fixed an issue in [consumed OData services](https://docs.mendix.com/refguide/consumed-odata-services) where parsing metadata without an entity container resulted in an error. Now, it results in a service with no entities. * We fixed an issue where metrics were missing because they were initialized too early. * We fixed a runtime issue that occurred with the [Send external object](https://docs.mendix.com/refguide/send-external-object) activity when sending external OData entities that had `Edm.Guid` as part of their key. The addressed URL had quotes around the `Guid`, which is syntactically incorrect. * We removed inconsistent text from the short description for MxAssist Performance Bot recommendation **MXP008**. * We fixed the incorrect format in OData metadata for the `UpdateMethod` and `SupportedFormats` capabilities. Please note that Studio Pro versions [9.4.0](https://docs.mendix.com/releasenotes/studio-pro/9.4) through [9.8.x](https://docs.mendix.com/releasenotes/studio-pro/9.8) are not able to read metadata produced by Studio Pro version 9.9.x for updatable services. Read-only services are working without issue. * We fixed an issue in [published OData services](https://docs.mendix.com/refguide/odata-query-options#paging) that occurred when paging was enabled and the queries went into an infinite loop. * We fixed an issue in published OData services that occurred while generating metadata XML. The `Name` property in the `EntityContainer` section can no longer contain a slash (`/`). * We fixed a bug with native apps where top-level exceptions did not trigger the fatal error handler correctly when they happened early in the startup process. * We fixed a bug where dialog boxes increased in height after an edit was done on the dialog box itself when the app was version-controlled. ### Deprecations * Starting with Studio Pro version 9.11.0, we will drop support for DB2 version 11.1. ### Known Issues * When you update a [consumed OData service](https://docs.mendix.com/refguide/consumed-odata-service) with a new version from [Mendix Data Hub](https://docs.mendix.com/data-hub/) but close the document without saving, the blue arrow icon will no longer be shown to notify you about the available update for that service. * Workaround: Closing your app and opening it again fixes this issue. * In the **Properties** pane, you cannot copy, paste, or delete using keyboard shortcuts. * Workaround: Perform the same operation using your mouse and the context menu.