Skip to content

Commit

Permalink
update Content Patcher schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Pathoschild committed Mar 19, 2024
1 parent c31ede0 commit f8daca5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* Fixed redundant `TRACE` logs for a broken mod which references members with the wrong types.

* For the web UI:
* Updated JSON validator for Content Patcher 2.0.0.
* Fixed uploaded log/JSON file expiry alway shown as renewed.
* Fixed update check for mods with a prerelease version tag not recognized by the ModDrop API. SMAPI now parses the version itself if needed.

Expand Down
2 changes: 1 addition & 1 deletion src/SMAPI.Web/wwwroot/schemas/content-patcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"title": "Format version",
"description": "The format version. You should always use the latest version to enable the latest features, avoid obsolete behavior, and reduce load times.",
"type": "string",
"pattern": "^1\\.29\\.[0-9]+$",
"pattern": "^2\\.0\\.[0-9]+$",
"@errorMessages": {
"pattern": "Incorrect value '@value'. You should always use the latest format version (currently 1.29.0) to enable the latest features, avoid obsolete behavior, and reduce load times."
}
Expand Down

0 comments on commit f8daca5

Please sign in to comment.