Summary
openminds.getModelVersion currently rewrites latest to v4.0 as a temporary workaround because v5.0 is not supported yet.
Source: code/internal/+openminds/getModelVersion.m
% Todo: remove. Pin latest version to v4.0 as v5.0 is not supported yet.
if versionNum == "latest"
versionNum = openminds.internal.utility.VersionNumber("4.0");
versionNum.Format = "vX.Y";
end
Problem
The current behavior is a hidden override of latest, which can diverge from user expectations and from actual available model versions.
Proposed change
- Remove the temporary
latest -> v4.0 rewrite once v5.0 support is implemented.
- Ensure
latest resolves to the true latest supported version.
- Add/update tests to cover
latest resolution behavior.
Acceptance criteria
- The TODO block above is removed.
openminds.version() / openminds.getModelVersion() return the correct latest supported version without hardcoded fallback to v4.0.
- Regression tests verify behavior for both explicit version selection and
latest.
Notes
If v5.0 support is still pending, consider tracking this issue as blocked-by that support work and referencing the relevant milestone/PR.
Summary
openminds.getModelVersioncurrently rewriteslatesttov4.0as a temporary workaround becausev5.0is not supported yet.Source:
code/internal/+openminds/getModelVersion.mProblem
The current behavior is a hidden override of
latest, which can diverge from user expectations and from actual available model versions.Proposed change
latest -> v4.0rewrite oncev5.0support is implemented.latestresolves to the true latest supported version.latestresolution behavior.Acceptance criteria
openminds.version()/openminds.getModelVersion()return the correct latest supported version without hardcoded fallback to v4.0.latest.Notes
If v5.0 support is still pending, consider tracking this issue as blocked-by that support work and referencing the relevant milestone/PR.