Changes

Jump to navigation Jump to search
→‎Version format: tweak wording
Line 311: Line 311:     
===Version format===
 
===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.)
+
SMAPI no longer omits <code>.0</code> patch numbers when formatting versions. 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.
 
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,446

edits

Navigation menu