-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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";
endProblem
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.0rewrite oncev5.0support is implemented. - Ensure
latestresolves to the true latest supported version. - Add/update tests to cover
latestresolution 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels