diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-06 23:47:12 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-06 23:47:12 -0400 |
commit | d1a7194bf604ac9f960c45de0c82e6eaddd5ff5a (patch) | |
tree | fd8749686a8a0b86e48e06860e5d84f522119277 /docs | |
parent | b4e979cc991a0c2a45ad986210108edd2d43e43d (diff) | |
download | SMAPI-d1a7194bf604ac9f960c45de0c82e6eaddd5ff5a.tar.gz SMAPI-d1a7194bf604ac9f960c45de0c82e6eaddd5ff5a.tar.bz2 SMAPI-d1a7194bf604ac9f960c45de0c82e6eaddd5ff5a.zip |
allow null values in ISemanticVersion compare methods (#837)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/release-notes.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md index 732cd530..96a236ad 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -32,6 +32,7 @@ _This adds methods for working with asset names, parsed locales, etc._ * Added `helper.Content.ParseAssetName` to get an `IAssetName` for an arbitrary asset key. * If an asset is loaded multiple times in the same tick, `IAssetLoader.CanLoad` and `IAssetEditor.CanEdit` are now cached unless invalidated by `helper.Content.InvalidateCache`. + * The `ISemanticVersion` comparison methods (`CompareTo`, `IsBetween`, `IsNewerThan`, and `IsOlderThan`) now allow null values. A null version is always considered smaller than any non-null version per [best practices](https://docs.microsoft.com/en-us/dotnet/api/system.icomparable-1.compareto#remarks). * Fixed the `SDate` constructor being case-sensitive. * Fixed support for using locale codes from custom languages in asset names (e.g. `Data/Achievements.eo-EU`). * Fixed issue where suppressing `[Left|Right]Thumbstick[Down|Left]` keys would suppress the opposite direction instead. |