Skip to content

Release/v1.9.5 - #12

Merged
ALDamico merged 17 commits into
mainfrom
release/v1.9.5
Apr 28, 2026
Merged

Release/v1.9.5#12
ALDamico merged 17 commits into
mainfrom
release/v1.9.5

Conversation

@ALDamico

Copy link
Copy Markdown
Owner

No description provided.

Andrea Luciano Damico and others added 17 commits April 28, 2026 11:42
Introduces AddLibreTranslate() extension method that registers LibreTranslate
using IHttpClientFactory, following ASP.NET Core DI conventions. Adds
LibreTranslateConfiguration model and LibraryConstants for centralized defaults.
Marks direct HttpClient constructors as obsolete in favor of the DI-friendly
HttpClient constructor. Includes DI-based integration tests.
…sion-methods

Add DI registration support via IServiceCollection extension methods
Extends TargetFrameworks to include net8.0 and net10.0 alongside the existing
netstandard2.0, and runs tests against both runtimes.
Add explicit net8.0 and net10.0 targets
Replaces FormUrlEncodedContent with a generic RequestUtils.ToStringContent<T>()
helper. Adds LanguageCodeConverter and TextFormatConverter to handle custom type
serialization, and covers the suggest endpoint with integration tests.
Migrate POST requests from form-urlencoded to JSON body
Replaces FormUrlEncodedContent with a generic RequestUtils.ToStringContent<T>()
helper. Adds LanguageCodeConverter and TextFormatConverter to handle custom type
serialization, and covers the suggest endpoint with integration tests.
Migrate POST requests from form-urlencoded to JSON body
Adds GitHub Actions workflows for CI (build + test on net8.0 and net10.0 with
LibreTranslate service container) and NuGet publishing via trusted publishing
(OIDC). Rewrites README with modern badges, DI usage example, full API reference,
and language code documentation. Removes the legacy CodeQL workflow and the
LibreTranslate.Net.Cmd console project.
Add CI/CD workflows, update README, and remove legacy projects
@ALDamico
ALDamico merged commit acb1da1 into main Apr 28, 2026
2 checks passed
ALDamico added a commit that referenced this pull request Apr 28, 2026
Merge pull request #12 from ALDamico/release/v1.9.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant