Skip to content

Commit

Permalink
Version 4.17.0
Browse files Browse the repository at this point in the history
 * FEATURE - Additional public APIs in relation to SimpleTextTranslationCache
 * CHANGE - Default endpoint changed to GoogleTranslateV2
 * MISC - Improved error logging in GoogleTranslate
  • Loading branch information
randoman committed Jul 18, 2021
1 parent 669b1bd commit e01fdd3
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 9 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
### 4.16.3
### 4.17.0
* FEATURE - Additional public APIs in relation to SimpleTextTranslationCache
* CHANGE - Default endpoint changed to GoogleTranslateV2
* MISC - Improved error logging in GoogleTranslate

### 4.16.3
* MISC - Make "MaxConcurrency" property in HttpEndpoint and WwwEndpoint virtual
* BUG FIX - Fixed bug that caused exception spam if no endpoint were selected

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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", "4.16.3" ) );
_client.DefaultRequestHeaders.UserAgent.Add( new ProductInfoHeaderValue( "XUnity", "4.17.0" ) );
_client.DefaultRequestHeaders.Accept.Add( new MediaTypeWithQualityHeaderValue( "*/*" ) );
}

Expand Down
2 changes: 1 addition & 1 deletion src/XUnity.AutoTranslator.Patcher/Patcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public override string Version
{
get
{
return "4.16.3";
return "4.17.0";
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<Version>4.16.3</Version>
<Version>4.17.0</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public static class PluginData
/// <summary>
/// Gets the version of the plugin.
/// </summary>
public const string Version = "4.16.3";
public const string Version = "4.17.0";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<DevelopmentDependency>True</DevelopmentDependency>
<TargetFramework>net35</TargetFramework>
<Version>4.16.3</Version>
<Version>4.17.0</Version>
<LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<Version>4.16.3</Version>
<Version>4.17.0</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<Version>4.16.3</Version>
<Version>4.17.0</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<OutputType>Exe</OutputType>
<TargetFramework>net40</TargetFramework>
<AssemblyName>SetupReiPatcherAndAutoTranslator</AssemblyName>
<Version>4.16.3</Version>
<Version>4.17.0</Version>
<ApplicationIcon>icon.ico</ApplicationIcon>
<Win32Resource />
</PropertyGroup>
Expand Down

0 comments on commit e01fdd3

Please sign in to comment.