summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--release-notes.md6
-rw-r--r--src/StardewModdingAPI/SemanticVersion.cs2
2 files changed, 7 insertions, 1 deletions
diff --git a/release-notes.md b/release-notes.md
index 4e7b3a30..2ef8b332 100644
--- a/release-notes.md
+++ b/release-notes.md
@@ -1,5 +1,11 @@
# Release notes
+## 1.8
+See [log](https://github.com/Pathoschild/SMAPI/compare/1.7...1.8).
+
+* For mod developers:
+ * You can now create a `SemanticVersion` from a version string.
+
## 1.7
See [log](https://github.com/Pathoschild/SMAPI/compare/1.6...1.7).
diff --git a/src/StardewModdingAPI/SemanticVersion.cs b/src/StardewModdingAPI/SemanticVersion.cs
index daefda51..c29f2cf7 100644
--- a/src/StardewModdingAPI/SemanticVersion.cs
+++ b/src/StardewModdingAPI/SemanticVersion.cs
@@ -56,7 +56,7 @@ namespace StardewModdingAPI
/// <summary>Construct an instance.</summary>
/// <param name="version">The semantic version string.</param>
/// <exception cref="FormatException">The <paramref name="version"/> is not a valid semantic version.</exception>
- internal SemanticVersion(string version)
+ public SemanticVersion(string version)
{
var match = SemanticVersion.Regex.Match(version);
if (!match.Success)