Changes
This section describes the changes made since the previous version of the client.
Merge of desktop and mobile widgets
In the Mendix 5 client release, the difference between desktop and mobile widgets has been lifted.  The widgets and other UI parts have been moved to a single namespace, mxui.  The mobile namespace (mobile) has been removed and common functionality has been merged.  Widgets should now be defined using dojo.declare, and inherit from mxui.widget._WidgetBase.
Namespace changes
- The contents of the mobile.domnamespace has been moved undermxui.dom
Deprecations
Deprecated functionality is supported for two major releases after the deprecation notice to allow for code updates. After this deadline, deprecated functions may be removed from the platform.
Deprecation notes also exist for version 3 and version 4 of the platform.
- mx
	- .mobilelost its meaning because of the merge of desktop and mobile widgets.
 
- mx.ui
	- .getLocalehas been deprecated, use- dojo.localeinstead
 
- mendix.lang
	- .inArrayhas been deprecated, use- dojo.indexOfinstead
 
- mxui.dom
	- .removeElementhas been deprecated, use- mxui.dom.orphaninstead
- .setTextContenthas been deprecated, use- mxui.dom.textinstead
- .getTextContenthas been deprecated, use- mxui.dom.textinstead
- .textContenthas been deprecated, use- mxui.dom.textinstead
- .removeChildNodeshas been deprecated, use- dojo.emptyinstead
- .clearSelectOptionshas been deprecated, use- dojo.emptyinstead
- .getAncestorClasshas been deprecated, use- dojo.queryinstead
- .getElementsByTagNameshas been deprecated, use- dojo.queryinstead
- .getAncestorNodeWithAttributehas been deprecated, use- dojo.queryinstead
- .setHTMLhas been deprecated, use- mxui.dom.htmlinstead
- .getSelectOptionshas been deprecated, use- mxui.dom.getSelectOptionsinstead
- .selectOptionhas been deprecated, use- dojo.attrinstead
- .hasClasshas been deprecated, use- dojo.hasClassinstead
- .getClasshas been deprecated, use- dojo.getAttrinstead
- .setClasshas been deprecated, use- dojo.replaceClassinstead
- .addClasshas been deprecated, use- dojo.addClassinstead
- .addClasseshas been deprecated, use- dojo.addClassinstead
- .removeClasshas been deprecated, use- dojo.removeClassinstead
- .showhas been deprecated, use- dojo.styleinstead
- .hidehas been deprecated, use- dojo.styleinstead
- .setReadOnlyhas been deprecated, use- dojo.setAttrinstead
- .unsetReadOnlyhas been deprecated, use- dojo.removeAttrinstead
- .applyDisableStylehas been deprecated, use- dojo.setAttrinstead
- .applyEnableStylehas been deprecated, use- dojo.removeAttrinstead
- .setOpacityhas been deprecated, use- dojo.styleinstead
- .insertCsshas been deprecated, use- mxui.dom.addCssinstead
- .escapeHTMLhas been deprecated, use- mxui.dom.escapeStringinstead
- .getFormElementTexthas been deprecated, use- dojo.getAttrinstead
- .getStringSizehas been deprecated, use- dojo.contentBoxinstead
- .clonehas been deprecated, use- dojo.cloneinstead
- .getFirstElementhas been deprecated, use- Element.childreninstead
- .getFirstChildhas been deprecated, use- dojo.queryinstead
 
- mobile.widget
	- ._Widgethas been deprecated, use- mxui.widget._WidgetBaseinstead
 
- mxui.widget
	- ._Widgethas been deprecated, use- mxui.widget._WidgetBaseinstead