make SemanticVersion.TryParse public

This commit is contained in:
Jesse Plamondon-Willard 2019-07-13 22:45:48 -04:00
parent e2f545484e
commit 4f7d861ce4
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
2 changed files with 2 additions and 3 deletions

View File

@ -27,8 +27,7 @@ These changes have not been released yet.
* For modders:
* Mods are now loaded much earlier in the game launch. This lets mods intercept any content asset, but the game is not fully initialised when `Entry` is called (use the `GameLaunched` event if you need to run code when the game is initialised).
* Added support for content pack translations.
* Added `IContentPack.HasFile` method.
* Added `Context.IsGameLaunched` field.
* Added fields and methods: `IContentPack.HasFile`, `Context.IsGameLaunched`, and `SemanticVersion.TryParse`.
* Added separate `LogNetworkTraffic` option to make verbose logging less overwhelmingly verbose.
* Added asset propagation for critter textures.
* The installer now recognises custom game paths stored in `stardewvalley.targets`, if any.

View File

@ -141,7 +141,7 @@ namespace StardewModdingAPI
/// <param name="version">The version string.</param>
/// <param name="parsed">The parsed representation.</param>
/// <returns>Returns whether parsing the version succeeded.</returns>
internal static bool TryParse(string version, out ISemanticVersion parsed)
public static bool TryParse(string version, out ISemanticVersion parsed)
{
if (Toolkit.SemanticVersion.TryParse(version, out ISemanticVersion versionImpl))
{