Skip to content

v3.11.0: Improved versions.json handling

Compare
Choose a tag to compare
@Andre601 Andre601 released this 02 Apr 21:47
· 187 commits to master since this release
58e4e72

Overview

New versions.json handling

OneVersionRemake has changed in terms of how to handle the versions.json file.
When OVR is starting will it do one of three things depending on the situation and settings:

  • Create versions.json file
    • Will be done whenever the local versions.json is missing
  • Check for updates on the versions.json file
    • For that will OVR compare the remote and local file's file_version values. If local is lower than remote (or doesn't exist), will OVR perform an update, replacing the file in the process.
  • Load the file.

If the URL to the remote JSON results in the JSON not having any file_version property will OVR treat it as invalid JSON and inform you about this.

The new URL is https://www.andre601.ch/oneversionremake/protocol_versions.json
The old one is still supported for backwards compatibility, but won't work with this new version.

New Command: /ovr refresh

Requires the oneversionremake.command.refresh or oneversionremake.admin permission.

Will update the versions.json file, no matter the current UpdateVersions setting.

Full Changelogs (Auto-generated)

🚀 Features

🧰 Maintenance

  • Bump adventure-text-minimessage from 4.10.0 to 4.10.1 in /core by @dependabot in #139
  • Bump adventure-text-serializer-legacy from 4.10.0 to 4.10.1 in /core by @dependabot in #140
  • Bump adventure-api from 4.10.0 to 4.10.1 in /core by @dependabot in #141
  • Bump adventure-api from 4.10.0 to 4.10.1 in /bungeecord by @dependabot in #142
  • Bump maven-compiler-plugin from 3.10.0 to 3.10.1 in /bungeecord by @dependabot in #143
  • Bump maven-compiler-plugin from 3.10.0 to 3.10.1 in /velocity by @dependabot in #144
  • Bump maven-compiler-plugin from 3.10.0 to 3.10.1 in /core by @dependabot in #145
  • Bump maven-shade-plugin from 3.2.4 to 3.3.0 in /bungeecord by @dependabot in #147
  • Bump maven-shade-plugin from 3.2.4 to 3.3.0 in /core by @dependabot in #148
  • Bump maven-shade-plugin from 3.2.4 to 3.3.0 in /velocity by @dependabot in #149

Full Changelog: v3.10.0...v3.11.0