From c486cb95399bdb1ec2eabe6d22c965b114452d2e Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 7 Jan 2026 08:56:02 +0800 Subject: [PATCH 1/2] refactor: remove HttpClient service --- .../Extensions/ServiceCollectionExtensions.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/BootstrapBlazor.AzureTranslator/Extensions/ServiceCollectionExtensions.cs b/src/components/BootstrapBlazor.AzureTranslator/Extensions/ServiceCollectionExtensions.cs index cff96600..5737abdd 100644 --- a/src/components/BootstrapBlazor.AzureTranslator/Extensions/ServiceCollectionExtensions.cs +++ b/src/components/BootstrapBlazor.AzureTranslator/Extensions/ServiceCollectionExtensions.cs @@ -1,4 +1,4 @@ -// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. +// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ @@ -20,8 +20,6 @@ public static class ServiceCollectionExtensions public static IServiceCollection AddBootstrapBlazorAzureTranslator(this IServiceCollection services, Action< AzureTranslatorOption>? configOptions = null) { - services.AddHttpClient(); - services.AddSingleton(); services.AddOptionsMonitor(); From 8d7eea7f7513f8bfc817245f273082a78fde5daa Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 7 Jan 2026 08:56:11 +0800 Subject: [PATCH 2/2] chore: bump version 10.0.1 --- .../BootstrapBlazor.AzureTranslator.csproj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/BootstrapBlazor.AzureTranslator/BootstrapBlazor.AzureTranslator.csproj b/src/components/BootstrapBlazor.AzureTranslator/BootstrapBlazor.AzureTranslator.csproj index f667bc4a..0c2a96ab 100644 --- a/src/components/BootstrapBlazor.AzureTranslator/BootstrapBlazor.AzureTranslator.csproj +++ b/src/components/BootstrapBlazor.AzureTranslator/BootstrapBlazor.AzureTranslator.csproj @@ -1,5 +1,9 @@  + + 10.0.1 + + Bootstrap Blazor Azure WebAssembly wasm Translator Components Bootstrap UI components extensions of Azure Translator