Changes

→‎Changes: + Version format
Line 309: Line 309:  
"Version": "1.0.0-beta"
 
"Version": "1.0.0-beta"
 
</source>
 
</source>
 +
 +
===Version format===
 +
Formatting a version no longer omits the patch number when it's zero. For example, the console now shows SMAPI 3.0.0 instead of 3.0. (That's more [https://semver.org/ standard], improves compatibility with external tools, and reduces player confusion.)
 +
 +
This doesn't affect most mod code. You may need to update your code if you use <tt>ISemanticVersion.ToString()</tt> and compare the output to a hardcoded two-part version string.
    
[[Category:Modding]]
 
[[Category:Modding]]
translators
8,404

edits