Skip to content

Conversation

@sciwhiz12
Copy link
Member

This PR resolves #12 by replacing the existing static versions table with a new dynamic versions table. This makes use of JS and the new Parchment mappings version endpoint to dynamically list out the latest version for each available Minecraft version.

The current implementation sorts the MC versions using the info from the launcher manifest, and falling back to a hardcoded array if that is not available. It also replaces the rows of the table with new rows, so that the original rows (which uses version badges) of the table remain if the script cannot access the versions endpoint.

This PR also does some miscellaneous fixes to the Gemfile for errors and warnings I encountered while installing Jekyll on my Windows machine.

As of PR creation, this is a draft since I am not quite sure of the final UX we want (if we should just have the table be blank if no JS is available, or some instructions pop up to find the latest versions).

This makes use of JS and the new Parchment mappings version endpoint to
dynamically list out the latest version for each available Minecraft
version.

The current implementation sorts the MC versions using the info from the
launcher manifest, and falling back to a hardcoded array if that is not
available.

The current impl. also replaces the rows of the table with new rows,
so that the original rows (which uses version badges) of the table remain
if the script cannot access the versions endpoint.
- Include the CSV gem, as it is no longer part of the standard set.
- Update the WDM gem.
- Simplify the platform declarations for Windows to ":windows".
The regular gem (which doesn't pull and build from GitHub) is enough for
any non-Windows platform.
@sciwhiz12 sciwhiz12 added the enhancement New feature or request label Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display the current recommended release for some versions on the website.

2 participants