summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/release-notes.md3
-rw-r--r--src/SMAPI/SemanticVersion.cs2
2 files changed, 2 insertions, 3 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index 49bc2eab..9980c310 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -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.
diff --git a/src/SMAPI/SemanticVersion.cs b/src/SMAPI/SemanticVersion.cs
index acdc92f8..b346cfdd 100644
--- a/src/SMAPI/SemanticVersion.cs
+++ b/src/SMAPI/SemanticVersion.cs
@@ -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))
{