Replies: 1 comment
-
|
One thing worth considering: the Mendix Content API already solves a very similar version-availability problem for Marketplace add-ons. Each component release carries a minimum (and sometimes maximum) Studio Pro version, and Studio Pro uses that metadata to resolve the highest compatible release at download time. The conceptual model is the same — mapping capabilities to version ranges — just applied to external packages rather than internal platform features. The proposal currently mixes To be clear: I'm not suggesting adopting the Marketplace's full data model (component → releases → packages). The per-feature YAML registry is the right abstraction for platform capabilities. The alignment is specifically about the version bound format and comparison semantics. Concretely, something like: view_entities:
min_version: "10.18.0"
mdl: "CREATE VIEW ENTITY Module.Name (...) AS SELECT ..."
notes: "OQL stored inline on OqlViewEntitySource"
page_parameters:
min_version: "11.0.0"
workaround:
description: "Pass data via a non-persistent entity"
max_version: "10.99.99"rather than the current mix of It would also be worth explicitly referencing the Content API's versioning conventions as prior art in the proposal doc itself — even if you decide to diverge, making that a conscious and documented decision prevents a future contributor from accidentally introducing a third versioning format into the ecosystem. Small additional thought on open question #2 (granularity): per-concept with per-property overrides seems right, and it mirrors how the Marketplace handles it — a module has one compatibility range, but release notes can call out property-level changes. The registry could follow the same pattern: feature-level |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
To enable to correct execution of the example MDL scripts on different version i've introduced a version annotation. This allows you to run MDL statements only on specific versions.
-- @Version: 10.18+
-- @Version: 11.0+
-- @Version: any
See for example: https://github.com/mendixlabs/mxcli/blob/main/mdl-examples/doctype-tests/01-domain-model-examples.mdl
This proposal describes how we can add version awareness for coding agents: https://github.com/mendixlabs/mxcli/blob/main/docs/11-proposals/PROPOSAL_version_aware_agent_support.md
Beta Was this translation helpful? Give feedback.
All reactions