Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
gdlcf88 committed Jun 6, 2024
2 parents 405b3d0 + 3461074 commit e1927da
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 17 deletions.
2 changes: 1 addition & 1 deletion dotnet/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<AbpVersion>8.1.3</AbpVersion>
<AbpLeptonXThemeVersion>3.1.*-*</AbpLeptonXThemeVersion>
<BlazoriseVersion>1.5.0</BlazoriseVersion>
<BlazoriseVersion>1.5.2</BlazoriseVersion>

</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion dotnet/common.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Version>2.12.0</Version>
<Version>2.12.1</Version>
<NoWarn>$(NoWarn);CS1591;CS0436</NoWarn>
<AbpProjectType>app</AbpProjectType>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
using Newtonsoft.Json.Linq;
using Volo.Abp.Application.Services;
using Volo.Abp.Caching;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Json;

namespace EasyAbp.AbpHelper.Gui.UpdateCheck
{
Expand All @@ -17,16 +15,13 @@ public class UpdateCheckAppService : ApplicationService, IUpdateCheckAppService
private const string LatestReleaseUri = "https://api.github.com/repos/EasyAbp/AbpHelper.GUI/releases/latest";
private const int CacheExpirationMinutes = 10;

private readonly IJsonSerializer _jsonSerializer;
private readonly IHttpClientFactory _httpClientFactory;
private readonly IDistributedCache<UpdateCheckCacheItem> _cache;

public UpdateCheckAppService(
IJsonSerializer jsonSerializer,
IHttpClientFactory httpClientFactory,
IDistributedCache<UpdateCheckCacheItem> cache)
{
_jsonSerializer = jsonSerializer;
_httpClientFactory = httpClientFactory;
_cache = cache;
}
Expand Down Expand Up @@ -59,8 +54,8 @@ protected virtual async Task<string> RequestLatestVersionFromGithubRepositoryAsy
client.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue("product", "1"));

var str = await client.GetStringAsync(LatestReleaseUri);
var data = _jsonSerializer.Deserialize<JObject>(str);

var data = JObject.Parse(str);
var tagName = data["tag_name"]?.ToString() ?? "";

return tagName.Replace("v", "");
Expand Down
6 changes: 3 additions & 3 deletions dotnet/src/EasyAbp.AbpHelper.Gui.Blazor/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"version": "2.12.0",
"version": "2.12.1",
"name": "easyabp-abphelper-gui",
"private": true,
"dependencies": {
"@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~3.1.0",
"@abp/aspnetcore.components.server.leptonxlitetheme": "~3.1.0"
"@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~3.1.3",
"@abp/aspnetcore.components.server.leptonxlitetheme": "~3.1.3"
}
}
Empty file.
8 changes: 4 additions & 4 deletions dotnet/src/EasyAbp.AbpHelper.Gui.Blazor/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# yarn lockfile v1


"@abp/aspnetcore.components.server.leptonxlitetheme@~3.1.0":
"@abp/aspnetcore.components.server.leptonxlitetheme@~3.1.3":
version "3.1.3"
resolved "https://registry.npmjs.org/@abp/aspnetcore.components.server.leptonxlitetheme/-/aspnetcore.components.server.leptonxlitetheme-3.1.3.tgz#d2abe0eea924cf4a52a84756c3c6091a903bb625"
resolved "https://registry.yarnpkg.com/@abp/aspnetcore.components.server.leptonxlitetheme/-/aspnetcore.components.server.leptonxlitetheme-3.1.3.tgz#d2abe0eea924cf4a52a84756c3c6091a903bb625"
integrity sha512-8XF7pQDRAvOTL8UQBMrpDMdHFTRlmosqUsFVg8XKY7kZkrGWEzuABLE0jbfviYlLuzHHMo/8VDqkDauMaCvILw==
dependencies:
"@abp/aspnetcore.components.server.theming" "~8.1.3"
Expand All @@ -17,9 +17,9 @@
"@abp/bootstrap" "~8.1.3"
"@abp/font-awesome" "~8.1.3"

"@abp/aspnetcore.mvc.ui.theme.leptonxlite@~3.1.0":
"@abp/aspnetcore.mvc.ui.theme.leptonxlite@~3.1.3":
version "3.1.3"
resolved "https://registry.npmjs.org/@abp/aspnetcore.mvc.ui.theme.leptonxlite/-/aspnetcore.mvc.ui.theme.leptonxlite-3.1.3.tgz#c0096f346760a93e6b3ef5059704de388b7e9c60"
resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.leptonxlite/-/aspnetcore.mvc.ui.theme.leptonxlite-3.1.3.tgz#c0096f346760a93e6b3ef5059704de388b7e9c60"
integrity sha512-ztGbPTjrRzGtH+FNt0jwCnEMD60SjxQExi8WBgmeIzLViBk+F/jJhclZAQ2dkTe2IaPtpR7ftU6F8R9vAoXLdw==
dependencies:
"@abp/aspnetcore.mvc.ui.theme.shared" "~8.1.3"
Expand Down
2 changes: 1 addition & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "abphelper-gui",
"productName": "AbpHelper",
"version": "2.12.0",
"version": "2.12.1",
"license": "Apache-2.0",
"description": "AbpHelper is a tool that helps you with developing Abp vNext applications.",
"repository": "https://github.com/EasyAbp/AbpHelper.GUI",
Expand Down

0 comments on commit e1927da

Please sign in to comment.