From 33bc50199b2dcefc74ec2aa53cee4d03ec5ec37b Mon Sep 17 00:00:00 2001
From: ManlyMarco <39247311+ManlyMarco@users.noreply.github.com>
Date: Sat, 7 Sep 2024 02:00:23 +0200
Subject: [PATCH] Version 5.4.0
---
CHANGELOG.md | 11 +++++++++--
README.md | 4 ++--
.../ExtDeepLTranslateLegitimate.cs | 2 +-
src/XUnity.AutoTranslator.Patcher/Patcher.cs | 2 +-
...XUnity.AutoTranslator.Plugin.BepInEx-IL2CPP.csproj | 2 +-
.../XUnity.AutoTranslator.Plugin.BepInEx.csproj | 2 +-
.../Constants/PluginData.cs | 2 +-
.../XUnity.AutoTranslator.Plugin.Core.csproj | 2 +-
.../XUnity.AutoTranslator.Plugin.IPA.csproj | 2 +-
.../XUnity.AutoTranslator.Plugin.MelonMod.csproj | 2 +-
.../XUnity.AutoTranslator.Plugin.UnityInjector.csproj | 2 +-
.../XUnity.AutoTranslator.Setup.csproj | 2 +-
12 files changed, 21 insertions(+), 14 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9a9c620a..5d9c7b1a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
-### 5.3.1
-* Various bugfixes and minor improvemnents to the IL2CPP build and to the DeepL endpoint
+### 5.4.0
+ * FEATURE - Keep the outline style when overriding TextMeshPro Font
+ * BUG FIX - Update to BepInEx 6.0 BE-704 to fix some IL2CPP crashes
+ * BUG FIX - Fix failing to get some Il2CppTypes silently and crashing later
+ * BUG FIX - Update DeepL supported languages
+
+### 5.3.1
+ * BUG FIX - Various bugfixes and minor improvemnents to the IL2CPP build
+ * BUG FIX - Various bugfixes to the DeepL endpoint
### 5.3.0
* FEATURE - Added support for latest MelonLoader and BepInEx bleeding edge builds (only for IL2CPP, use stable release for Mono), also dropped support for earlier versions!
diff --git a/README.md b/README.md
index 089f2132..5da31f87 100644
--- a/README.md
+++ b/README.md
@@ -103,7 +103,7 @@ The file structure should like like this:
#### BepInEx IL2CPP Plugin
The instructions for installation for IL2CPP are the same as for the standard version except that you must install BepInEx 6 for IL2CPP, which as of this writing are only available as bleeding edge builds [right here](https://builds.bepis.io/projects/bepinex_be) and you must use the `BepInEx-IL2CPP` package of this plugin instead.
-The current version (5.3.1) was built against bleeding edge build 672.
+The current version (5.4.0) was built against bleeding edge build 704.
### MelonLoader Plugin
REQUIRES: [Melon Loader](https://melonwiki.xyz) (follow its installation instructions first!).
@@ -125,7 +125,7 @@ The file structure should like like this:
{GameDirectory}/AutoTranslator/Translation/AnyTranslationFile.txt (these files will be auto generated by plugin!)
```
-The current version (5.3.1) was built against v0.6.1 Open-Beta.
+The current version (5.4.0) was built against v0.6.1 Open-Beta.
#### MelonLoader IL2CPP Plugin
The instructions for installation for IL2CPP are the same as for the standard version except that you must use the `MelonMod-IL2CPP` package of this plugin instead.
diff --git a/src/Translators/DeepLTranslate.ExtProtocol/ExtDeepLTranslateLegitimate.cs b/src/Translators/DeepLTranslate.ExtProtocol/ExtDeepLTranslateLegitimate.cs
index d0f6e976..73d98e84 100644
--- a/src/Translators/DeepLTranslate.ExtProtocol/ExtDeepLTranslateLegitimate.cs
+++ b/src/Translators/DeepLTranslate.ExtProtocol/ExtDeepLTranslateLegitimate.cs
@@ -93,7 +93,7 @@ private void CreateClientAndHandler()
_handler.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;
_client = new HttpClient( _handler, true );
- _client.DefaultRequestHeaders.UserAgent.Add( new ProductInfoHeaderValue( "XUnity", "5.3.1" ) );
+ _client.DefaultRequestHeaders.UserAgent.Add( new ProductInfoHeaderValue( "XUnity", "5.4.0" ) );
_client.DefaultRequestHeaders.Accept.Add( new MediaTypeWithQualityHeaderValue( "*/*" ) );
}
diff --git a/src/XUnity.AutoTranslator.Patcher/Patcher.cs b/src/XUnity.AutoTranslator.Patcher/Patcher.cs
index f3b0ed21..f32f7fb1 100644
--- a/src/XUnity.AutoTranslator.Patcher/Patcher.cs
+++ b/src/XUnity.AutoTranslator.Patcher/Patcher.cs
@@ -29,7 +29,7 @@ public override string Version
{
get
{
- return "5.3.1";
+ return "5.4.0";
}
}
diff --git a/src/XUnity.AutoTranslator.Plugin.BepInEx-IL2CPP/XUnity.AutoTranslator.Plugin.BepInEx-IL2CPP.csproj b/src/XUnity.AutoTranslator.Plugin.BepInEx-IL2CPP/XUnity.AutoTranslator.Plugin.BepInEx-IL2CPP.csproj
index 92e5ee46..9fe39a9d 100644
--- a/src/XUnity.AutoTranslator.Plugin.BepInEx-IL2CPP/XUnity.AutoTranslator.Plugin.BepInEx-IL2CPP.csproj
+++ b/src/XUnity.AutoTranslator.Plugin.BepInEx-IL2CPP/XUnity.AutoTranslator.Plugin.BepInEx-IL2CPP.csproj
@@ -3,7 +3,7 @@
XUnity.AutoTranslator.Plugin.BepInEx_IL2CPP
net6.0
- 5.3.1
+ 5.4.0
diff --git a/src/XUnity.AutoTranslator.Plugin.BepInEx/XUnity.AutoTranslator.Plugin.BepInEx.csproj b/src/XUnity.AutoTranslator.Plugin.BepInEx/XUnity.AutoTranslator.Plugin.BepInEx.csproj
index 5793b584..9aef1e82 100644
--- a/src/XUnity.AutoTranslator.Plugin.BepInEx/XUnity.AutoTranslator.Plugin.BepInEx.csproj
+++ b/src/XUnity.AutoTranslator.Plugin.BepInEx/XUnity.AutoTranslator.Plugin.BepInEx.csproj
@@ -2,7 +2,7 @@
net35
- 5.3.1
+ 5.4.0
diff --git a/src/XUnity.AutoTranslator.Plugin.Core/Constants/PluginData.cs b/src/XUnity.AutoTranslator.Plugin.Core/Constants/PluginData.cs
index 5f1a4592..12f1ca2b 100644
--- a/src/XUnity.AutoTranslator.Plugin.Core/Constants/PluginData.cs
+++ b/src/XUnity.AutoTranslator.Plugin.Core/Constants/PluginData.cs
@@ -23,7 +23,7 @@ public static class PluginData
///
/// Gets the version of the plugin.
///
- public const string Version = "5.3.1";
+ public const string Version = "5.4.0";
///
/// Gets the author of the plugin.
diff --git a/src/XUnity.AutoTranslator.Plugin.Core/XUnity.AutoTranslator.Plugin.Core.csproj b/src/XUnity.AutoTranslator.Plugin.Core/XUnity.AutoTranslator.Plugin.Core.csproj
index 4c91cebb..5b9efc4a 100644
--- a/src/XUnity.AutoTranslator.Plugin.Core/XUnity.AutoTranslator.Plugin.Core.csproj
+++ b/src/XUnity.AutoTranslator.Plugin.Core/XUnity.AutoTranslator.Plugin.Core.csproj
@@ -11,7 +11,7 @@
True
True
net35;net6.0
- 5.3.1
+ 5.4.0
latest
true
diff --git a/src/XUnity.AutoTranslator.Plugin.IPA/XUnity.AutoTranslator.Plugin.IPA.csproj b/src/XUnity.AutoTranslator.Plugin.IPA/XUnity.AutoTranslator.Plugin.IPA.csproj
index e101031e..8b614c19 100644
--- a/src/XUnity.AutoTranslator.Plugin.IPA/XUnity.AutoTranslator.Plugin.IPA.csproj
+++ b/src/XUnity.AutoTranslator.Plugin.IPA/XUnity.AutoTranslator.Plugin.IPA.csproj
@@ -2,7 +2,7 @@
net35
- 5.3.1
+ 5.4.0
diff --git a/src/XUnity.AutoTranslator.Plugin.MelonMod/XUnity.AutoTranslator.Plugin.MelonMod.csproj b/src/XUnity.AutoTranslator.Plugin.MelonMod/XUnity.AutoTranslator.Plugin.MelonMod.csproj
index de57c0a2..60a65db5 100644
--- a/src/XUnity.AutoTranslator.Plugin.MelonMod/XUnity.AutoTranslator.Plugin.MelonMod.csproj
+++ b/src/XUnity.AutoTranslator.Plugin.MelonMod/XUnity.AutoTranslator.Plugin.MelonMod.csproj
@@ -2,7 +2,7 @@
net35;net6.0
- 5.3.1
+ 5.4.0
diff --git a/src/XUnity.AutoTranslator.Plugin.UnityInjector/XUnity.AutoTranslator.Plugin.UnityInjector.csproj b/src/XUnity.AutoTranslator.Plugin.UnityInjector/XUnity.AutoTranslator.Plugin.UnityInjector.csproj
index 01830d39..01e5a3b6 100644
--- a/src/XUnity.AutoTranslator.Plugin.UnityInjector/XUnity.AutoTranslator.Plugin.UnityInjector.csproj
+++ b/src/XUnity.AutoTranslator.Plugin.UnityInjector/XUnity.AutoTranslator.Plugin.UnityInjector.csproj
@@ -2,7 +2,7 @@
net35
- 5.3.1
+ 5.4.0
diff --git a/src/XUnity.AutoTranslator.Setup/XUnity.AutoTranslator.Setup.csproj b/src/XUnity.AutoTranslator.Setup/XUnity.AutoTranslator.Setup.csproj
index ed3cacc2..30033a5d 100644
--- a/src/XUnity.AutoTranslator.Setup/XUnity.AutoTranslator.Setup.csproj
+++ b/src/XUnity.AutoTranslator.Setup/XUnity.AutoTranslator.Setup.csproj
@@ -4,7 +4,7 @@
Exe
net40
SetupReiPatcherAndAutoTranslator
- 5.3.1
+ 5.4.0
icon.ico