Skip to content

Commit df70e69

Browse files
committed
1.37.2 hotfix release : fixed some parts of the PersistentIConfigNode patch public API was made internal in 1.37.0/1.37.1
1 parent b7bed53 commit df70e69

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

GameData/KSPCommunityFixes/KSPCommunityFixes.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"NAME": "KSPCommunityFixes",
33
"URL": "https://raw.githubusercontent.com/KSPModdingLibs/KSPCommunityFixes/master/GameData/KSPCommunityFixes/KSPCommunityFixes.version",
44
"DOWNLOAD": "https://github.com/KSPModdingLibs/KSPCommunityFixes/releases",
5-
"VERSION": {"MAJOR": 1, "MINOR": 37, "PATCH": 1, "BUILD": 0},
5+
"VERSION": {"MAJOR": 1, "MINOR": 37, "PATCH": 2, "BUILD": 0},
66
"KSP_VERSION": {"MAJOR": 1, "MINOR": 12, "PATCH": 5},
77
"KSP_VERSION_MIN": {"MAJOR": 1, "MINOR": 8, "PATCH": 0},
88
"KSP_VERSION_MAX": {"MAJOR": 1, "MINOR": 12, "PATCH": 5}

KSPCommunityFixes/Modding/PersistentIConfigNode.cs

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,13 @@ private static bool ConfigNode_ReadObject_Override(object obj, ConfigNode node)
8080
}
8181
}
8282

83-
// This is an expanded version of System.TypeCode
84-
internal enum DataType : uint
83+
/// <summary>
84+
/// Expanded version of System.TypeCode
85+
/// </summary>
86+
/// <remarks>
87+
/// This is part of the public modding API for this patch
88+
/// </remarks>
89+
public enum DataType : uint
8590
{
8691
INVALID = 0,
8792
IConfigNode,
@@ -119,7 +124,10 @@ internal enum DataType : uint
119124
LastValueType = ValueEnum,
120125
}
121126

122-
internal class FieldData
127+
/// <remarks>
128+
/// This is part of the public modding API for this patch
129+
/// </remarks>
130+
public class FieldData
123131
{
124132
private static readonly System.Globalization.CultureInfo _Invariant = System.Globalization.CultureInfo.InvariantCulture;
125133

KSPCommunityFixes/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
// Revision
3131
//
3232
[assembly: AssemblyVersion("1.36.1.0")]
33-
[assembly: AssemblyFileVersion("1.37.1.0")]
33+
[assembly: AssemblyFileVersion("1.37.2.0")]
3434

35-
[assembly: KSPAssembly("KSPCommunityFixes", 1, 37, 1)]
35+
[assembly: KSPAssembly("KSPCommunityFixes", 1, 37, 2)]
3636
[assembly: KSPAssemblyDependency("MultipleModulePartAPI", 1, 0, 0)]
3737
[assembly: KSPAssemblyDependency("ModuleManager", 1, 0)]

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,10 @@ If doing so in the `Debug` configuration and if your KSP install is modified to
210210

211211
### Changelog
212212

213+
##### 1.37.2
214+
**Bug fixes**
215+
- **PersistentIConfigNode** : Reverted the `DataType` and `FieldData` types to being public instead of internal as those are part of the public API for this patch, and in active use by ROLib and SEP.
216+
213217
##### 1.37.1
214218
**Bug fixes**
215219
- **PartParsingPerf** : Fixed [issue #305](https://github.com/KSPModdingLibs/KSPCommunityFixes/issues/305), incorrect parsing of `dragModelType` part config values resulting in various parts such as wings to generate additional drag.

0 commit comments

Comments
 (0)