Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Mendix Version Compatibility

Supported Mendix Studio Pro versions and MPR format mapping.

Supported Versions

mxcli supports Mendix Studio Pro versions 8.x through 11.x.

Studio Pro VersionMPR FormatStatus
8.xv1Supported
9.xv1Supported
10.0 – 10.17v1Supported
10.18+v2Supported
11.xv2Supported (primary development target)

Note: Development and testing is primarily done against Mendix 11.6. Other versions are supported but may have untested edge cases.

MPR Format Versions

v1 (Mendix < 10.18)

  • Single .mpr SQLite database file
  • All documents stored as BSON blobs in the UnitContents table
  • Self-contained – one file holds the entire project

v2 (Mendix >= 10.18)

  • .mpr SQLite file for metadata only
  • mprcontents/ folder with individual .mxunit files for each document
  • Better suited for Git version control (smaller, per-document diffs)

The library auto-detects the format. No configuration is needed.

Widget Template Versions

Pluggable widget templates are versioned by Mendix release. The embedded templates cover:

Mendix VersionTemplate Set
10.6.0DataGrid2, ComboBox, Gallery, and others
11.6.0Updated templates for current widgets

When creating pages with pluggable widgets, the library selects the template matching the project’s Mendix version, falling back to the nearest earlier version if an exact match is not available.

Feature Availability by Version

FeatureMinimum VersionNotes
Domain models8.xFull support
Microflows8.x60+ activity types
Nanoflows8.xClient-side flows
Pages8.x50+ widget types
Pluggable widgets9.xRequires widget templates
Workflows10.xUser tasks, decisions, parallel splits
Business events10.xEvent service definitions
View entities10.xOQL-backed entities
MPR v2 format10.18Per-document file storage
Calculated attributes10.xCALCULATED BY microflow

MxBuild Compatibility

The mx validation tool must match the project’s Mendix version:

# Auto-download the correct MxBuild version
mxcli setup mxbuild -p app.mpr

# Check the project
~/.mxcli/mxbuild/*/modeler/mx check app.mpr

MxBuild is downloaded on demand and cached in ~/.mxcli/mxbuild/{version}/.

Platform Support

mxcli runs on:

PlatformArchitecture
Linuxamd64, arm64
macOSamd64, arm64 (Apple Silicon)
Windowsamd64, arm64

No CGO or C compiler is required – the binary is fully statically linked using pure Go dependencies.