Skip to content

Commit 0005dd3

Browse files
committed
update burst and bump version
1 parent 49b572a commit 0005dd3

File tree

12 files changed

+13
-11
lines changed

12 files changed

+13
-11
lines changed

Changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Changelog
22

3-
## 1.5.4.2
3+
## 1.5.5.0
44

5+
* Update `Unity.Burst` to version 1.5.5
56
* Allow setting `root-assembly` and `assembly-folder` arguments from config
67
* Burst compilation is now skipped if command line arguments and plugins haven't changed since the last time
78
* Fixed crash when logging error messages from a worker thread if KSPLog is set to display them on screen

GameData/000_KSPBurst/KSPBurst.version

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"VERSION" : {
1010
"MAJOR" : 1,
1111
"MINOR" : 5,
12-
"PATCH" : 4,
13-
"BUILD" : 1
12+
"PATCH" : 5,
13+
"BUILD" : 0
1414
},
1515
"KSP_VERSION_MIN" : {
1616
"MAJOR" : 1,
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

KSPBurst/AssemblyUtil.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ public static AssemblyVersion[] LoadedPluginVersions()
3131
// merge url into name so that multiple DLLs with the same name but different paths can be distinguished
3232
return LoadedPlugins().Select(assembly => new AssemblyVersion
3333
{
34-
Url = $"{assembly.url}/{assembly.name}", Guid = assembly.assembly.VersionId(),
34+
// use dllName instead of name since it's not guaranteed to be unique as it's set from KSPAssembly attribute
35+
Url = $"{assembly.url}/{assembly.dllName}", Guid = assembly.assembly.VersionId(),
3536
Version = assembly.assembly.GetName().Version
3637
}).ToArray();
3738
}
@@ -155,7 +156,7 @@ public static Dictionary<string, AssemblyVersion> VersionDictionary(IEnumerable<
155156
if (!dict.TryGetValue(key, out AssemblyVersion previous))
156157
dict.Add(key, version);
157158
else if (previous.Version is null ||
158-
(version.Version is not null && version.Version > previous.Version))
159+
version.Version is not null && version.Version > previous.Version)
159160
// use the most recent version
160161
dict[key] = version;
161162
}

KSPBurst/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("1.5.4.1")]
35-
[assembly: AssemblyFileVersion("1.5.4.1")]
36-
[assembly: KSPAssembly("KSPBurst", 1, 5, 4)]
34+
[assembly: AssemblyVersion("1.5.5.0")]
35+
[assembly: AssemblyFileVersion("1.5.5.0")]
36+
[assembly: KSPAssembly("KSPBurst", 1, 5, 5)]

ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Burst compatible Unity plugins and their dependencies are also bundled:
3838

3939
[comment]: # (begin_packages)
4040

41-
* [Unity.Burst 1.5.4](https://docs.unity3d.com/Packages/[email protected]/manual/index.html)
41+
* [Unity.Burst 1.5.5](https://docs.unity3d.com/Packages/[email protected]/manual/index.html)
4242
* [Unity.Mathematics 1.2.1](https://docs.unity3d.com/Packages/[email protected]/manual/index.html)
4343
* [Unity.Collections 0.1.1-preview](https://docs.unity3d.com/Packages/[email protected]/manual/index.html)
4444
* [Unity.Jobs 0.1.1-preview](https://docs.unity3d.com/Packages/[email protected]/manual/index.html)

0 commit comments

Comments
 (0)