modrinth / labrinth

Our Rust-based backend utilizing the actix-web framework to serve Modrinth's API.
https://modrinth.com
GNU Affero General Public License v3.0
509 stars 73 forks source link

Changelogs in Forge update checker #921

Open Gaming32 opened 1 month ago

Gaming32 commented 1 month ago

Is your suggested enhancement related to a problem? Please describe.

Forge and NeoForge support changelogs in their update.json files. Labrinth's generated forge_update.json files do not include this information.

Describe the solution you'd like

It would be useful to support this information.

Describe alternatives you've considered

No response

Additional context

The full format of update.json files is as follows:

{
  "homepage": "<homepage url>",
  "promos": {
    "<mc version 1>-recommended": "<version 1>",
    "<mc version 1>-latest": "<version 2>",
    "<mc version 2>-recommended": "<version 3>",
    "<mc version 2>-latest": "<version 4>"
  },
  "<mc version 1>": {
    "<version 1>": "<changelog for version 1>",
    "<version 2>": "<changelog for version 2>"
  },
  "<mc version 2>": {
    "<version 3>": "<changelog for version 3>",
    "<version 4>": "<changelog for version 4>"
  }
}

Currently Labrinth only provides the homepage and promos fields.