SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

Let mods specify dependency versions

Pathoschild opened this issue ยท 1 comments

commented

When a mod adds a dependency to its manifest (see #285), let it optionally specify min and/or max versions:

{
  ...,
  "Dependencies": [
    {
      "UniqueId": "EntoaroxFramework",
      "MinimumVersion": "1.6.6",
      "MaximumVersion": "1.7"
    }
  ]
}

If a dependency is available, but has a non-matching version, skip this mod with an appropriate error.

Split from #248.

commented

Done in develop for the upcoming version. I only implemented MinimumVersion for now, since I suspect MaximumVersion may be bad practice and would discourage updates.