You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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:
versions.json
fileversions.json
is missingversions.json
filefile_version
values. If local is lower than remote (or doesn't exist), will OVR perform an update, replacing the file in the process.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.New Command: /ovr refresh
Requires the
oneversionremake.command.refresh
oroneversionremake.admin
permission.Will update the
versions.json
file, no matter the currentUpdateVersions
setting.Full Changelogs (Auto-generated)
🚀 Features
🧰 Maintenance
Full Changelog: v3.10.0...v3.11.0
This discussion was created from the release v3.11.0: Improved versions.json handling.
Beta Was this translation helpful? Give feedback.
All reactions