From 32ace714088f07125979fc58ec49102a19203c89 Mon Sep 17 00:00:00 2001 From: blowfishpro Date: Sat, 11 Jun 2016 12:50:47 -0700 Subject: [PATCH] Prep for v1.4.0 --- B9PartSwitch/Properties/AssemblyInfo.cs | 6 +++--- GameData/B9PartSwitch/B9PartSwitch.version | 4 ++-- README.md | 11 +++++++++++ 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/B9PartSwitch/Properties/AssemblyInfo.cs b/B9PartSwitch/Properties/AssemblyInfo.cs index fcffbc50..1e525ede 100644 --- a/B9PartSwitch/Properties/AssemblyInfo.cs +++ b/B9PartSwitch/Properties/AssemblyInfo.cs @@ -32,7 +32,7 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.3.1.0")] -[assembly: AssemblyFileVersion("1.3.1.0")] +[assembly: AssemblyVersion("1.4.0.0")] +[assembly: AssemblyFileVersion("1.4.0.0")] -[assembly: KSPAssembly("B9PartSwitch", 1, 3)] +[assembly: KSPAssembly("B9PartSwitch", 1, 4)] diff --git a/GameData/B9PartSwitch/B9PartSwitch.version b/GameData/B9PartSwitch/B9PartSwitch.version index 8a4bab78..2e2f3f26 100644 --- a/GameData/B9PartSwitch/B9PartSwitch.version +++ b/GameData/B9PartSwitch/B9PartSwitch.version @@ -8,8 +8,8 @@ }, "VERSION": { "MAJOR": 1, - "MINOR": 3, - "PATCH": 1 + "MINOR": 4, + "PATCH": 0 }, "KSP_VERSION": { "MAJOR": 1, diff --git a/README.md b/README.md index 07b0e073..39fe2d50 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,17 @@ This plugin is distributed under [LGPL v3.0](http://www.gnu.org/licenses/lgpl-3. ## Changelog +### v1.4.0 + +* Find best subtype intelligently + * If subtype name was previously set, use it to find the correct subtype (allows subtypes to be reordered without breaking craft) + * If name was not previously set or not found, but index was, use it (this allows transitioning from current setup and renaming subtypes if necessary) + * If index was not previously set, try to infer subtype based on part's resources (this allows easy transitioning from a non-switching setup) + * Finally, just guess first node setup +* Add unit testing for subtype finding +* Get rid of some unnecessary logging in debug mode +* Refactor part switching a bit + ### v1.3.1 * Fix bug where having ModuleB9PartInfo on a root part would cause physics to break due to an exception (really a stock issue but no sense waiting for a fix)