Produce and read the release data-impact report (mxcli report release --against <deployed>): what deploying this model does to production data — tables and columns dropped, renamed or added, and changes whose effect must be tried on a copy. Use before deploying a release, after changing or moving entities and attributes, after a Marketplace module update, or when asked whether a change is safe for the data in production.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Report Release?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mendixlabs-report-release)
---
name: report-release
description: "Produce and read the release data-impact report (mxcli report release --against <deployed>): what deploying this model does to production data — tables and columns dropped, renamed or added, and changes whose effect must be tried on a copy. Use before deploying a release, after changing or moving entities and attributes, after a Marketplace module update, or when asked whether a change is safe for the data in production."
---
<!-- skill-index: generated by scripts/skill-index.py; make check-skill-index -->
## Find it fast
`sed -n '<from>,<to>p' SKILL.md` one section rather than reading the file;
`./mxcli syntax <topic>` answers *how do I write this* for a fraction of either.
| lines | section |
|---|---|
| 26-40 | Run it |
| 41-58 | How the data is identified |
| 59-75 | Reading it |
| 76-83 | What it does not see |
| 84-87 | Related |
<!-- /skill-index -->
# Release Data-Impact Report
`mxcli report release` answers one question before a deploy: **what happens to the
data already in production?** Nothing else in the toolchain answers it. A model can be
valid, pass `mx check` and build cleanly, and still drop a table on the next deploy.
## Run it
```bash
# against the deployed git revision (tag, branch or commit)
mxcli report release -p app.mpr --against v1.4.0 -o docs/release.html
# against a copy of the deployed .mpr
mxcli report release -p app.mpr --against /backups/deployed/App.mpr
# for CI: the changes as data
mxcli report release -p app.mpr --against origin/production --format json -o release.json
jq '[.data.changes[] | select(.effect == "destroys")] | length' release.json
```
`--against` must be **what is deployed** — a tag per release makes this cheap. The
project may sit in a subdirectory of the repository.
## How the data is identified
The runtime keys every table and column on the element's **GUID**, not its name. The
report pairs the two models the same way:
| Change | What the deploy does | Listed as |
|---|---|---|
| Rename or move to another module, same GUID | table or column renamed, rows kept | migrates |
| Same name, **new GUID** | table dropped and created empty; a column dropped and recreated with the model default | destroys |
| Removed, made non-persistent, made calculated | dropped with its data | destroys |
| Attribute type, shorter string, association type or ends, generalization | not measured | verify |
| New entity, attribute or association | added; existing rows get the default | adds |
A new GUID under an old name is the dangerous one, because nothing looks changed:
re-creating an entity instead of altering it, copying a module from another app, or a
tool that rebuilds a domain model. Moving an entity between modules is safe **only**
if its GUID is kept.
## Reading it
- **Destroys** is the release blocker. For each one, either undo it (keep the entity or
attribute) or keep its data first (an export, a migration flow that copies it into
the new element before the old one goes), then record the decision:
```yaml
items:
"release:entity:Sales.LegacyOrder": {status: accepted, note: "archived to S3 by MF_Archive in 1.4.0"}
```
`--annotations` with that file counts it apart in the verdict.
- **Verify** means deploy to a copy of production first and look at the data. The report
does not guess what the runtime does with a type conversion.
- A change in a **Marketplace module** usually comes from a module update; it destroys
the data all the same.
## What it does not see
- A database that drifted from its model: it compares two models, not a model with a
database.
- Removed or renamed enumeration values and changed defaults: rows keep values the
new model may not know.
- Indexes, validation and access rules: no stored data behind them.
## Related
- `report-quality` — whether the model builds and how it scores; `manage-security` —
access rules, which a release does not migrate for you.