Skip to content

Releases: hominsu/deeplx-rs

v1.3.3

02 Feb 04:42
7038f1b
Compare
Choose a tag to compare

Chore

  • docker authentication

Bug Fixes

  • lint

Refactor

  • server to use SocketAddr config
    • Move the server run logic to a separate module
    • Change the config bind field to be a SocketAddr instead of a String

Commit Statistics

  • 3 commits contributed to the release over the course of 9 calendar days.
  • 9 days passed between releases.
  • 3 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details

v1.3.2

24 Jan 02:46
3e9a907
Compare
Choose a tag to compare

Bug Fixes

  • request library imports

Other

  • configure docker buildx cloud driver

Commit Statistics

  • 2 commits contributed to the release.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Configure docker buildx cloud driver (444652c)
    • Request library imports (cfcdb4c)

v1.3.1

24 Jan 02:04
11d34a9
Compare
Choose a tag to compare

Documentation

  • update install instructions and Dockerfile
    • Remove the server feature flag from the install command in README
    • Update the Dockerfile to use the latest rust version
  • update README.md

New Features

  • enhance translation robustness and error handling
    • Improve error handling for language detection.
    • Refactor translation logic for better readability and maintainability.
    • Improve the way alternative translations are collected.
    • Improve the way source language is determined.

Bug Fixes

  • new line

Refactor

  • improve server shutdown and config handling
  • Improve CLI and error handling
    • Updated Cargo.toml: Added thiserror and clap dependencies, removed argh.
    • Updated config.toml: Added debug, bind and concurrent fields, changed addr to bind.
    • Updated Dockerfile: Changed the CMD to use the run subcommand.
    • Updated main.rs: Refactored the main function to use clap for command-line argument parsing, added subcommands and changed the server setup.
    • Updated server/conf/mod.rs: Added default values for config fields.
    • Updated server/mod.rs: Modified the server setup to use clap and to handle the subcommand run.
    • Updated server/routes/middleware.rs: Modified the middleware to handle optional authentication.
  • Improve split_text error handling and response
    • Refactor split_text to directly return a SplitTextResponse instead of bytes.
    • Adjust the code to handle the response from make_request consistently.
  • enhance memory management
    • Added support for multiple memory allocators: mimalloc, rpmalloc, snmalloc, and tikv-jemallocator.
    • Removed mimalloc as the default global allocator.
  • improve error handling and middleware
    • Rename InternalServerError error variant to InternalServer
    • Remove unnecessary Future trait bound in from_request_parts functions
    • Simplify error handling in middleware and state extraction
    • Remove unnecessary async block in from_request_parts function in middleware.rs
    • Use or instead of or_else for optional token handling.
  • improve CI/CD workflows and Docker build
  • upgrade axum to 0.8 and remove async-trait
    • Change RequireAuth and AppState middleware to return a Future.
    • Change translate function to return a Future.
  • cli argument parsing
    • Replace clap with argh for command line parsing, reduced about 300
      KB of server.

Commit Statistics

  • 12 commits contributed to the release over the course of 31 calendar days.
  • 31 days passed between releases.
  • 12 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Update install instructions and Dockerfile (12c0470)
    • Improve server shutdown and config handling (7664819)
    • Improve CLI and error handling (543411c)
    • Improve split_text error handling and response (a90df31)
    • New line (ce7dde6)
    • Enhance translation robustness and error handling (e920199)
    • Enhance memory management (bed5362)
    • Improve error handling and middleware (f336482)
    • Improve CI/CD workflows and Docker build (49c8571)
    • Upgrade axum to 0.8 and remove async-trait (3eaa33b)
    • Update README.md (a98ad40)
    • Cli argument parsing (b33d789)

v1.2.2

23 Dec 14:27
f4d3038
Compare
Choose a tag to compare

Other

  • significantly reduced the size of the build artifacts
    • Add configuration for release mode optimization, including setting opt-level to 3, enabling strip and lto, setting codegen-units to 1, and setting panic to abort.
    • Remove the impersonate feature flag in Dockerfile, since it's not a stable and usable crate.

Commit Statistics

  • 1 commit contributed to the release.
  • 1 day passed between releases.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Significantly reduced the size of the build artifacts (d8bf36c)

v1.2.1

22 Dec 05:33
2fbc750
Compare
Choose a tag to compare

Documentation

  • update README.md

Refactor

  • remove generic types from router function

Commit Statistics

  • 2 commits contributed to the release.
  • 3 days passed between releases.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Update README.md (c6af5ff)
    • Remove generic types from router function (294dbe6)

v1.2.0

18 Dec 11:32
4e0f1cf
Compare
Choose a tag to compare

Chore

  • update dependencies

Documentation

  • update dependencies

New Features

  • configure proxy
    • Change the DeepLX struct to accept a proxy configuration.
    • Add a proxy field to the config struct.
  • improve token handling in authentication
    • Modify authentication to accept either a query parameter or a header for the token.
    • Extract the token from the query parameter or the authorization header.
    • Return an error if neither the query parameter nor the header contains a valid token.

Commit Statistics

  • 4 commits contributed to the release.
  • 4 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized

v1.1.0

17 Dec 12:03
87a16c8
Compare
Choose a tag to compare

Performance

  • enable memory allocation with mimalloc

Commit Statistics

  • 1 commit contributed to the release.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Enable memory allocation with mimalloc (cd332c0)

v1.0.0

16 Dec 23:13
2758be2
Compare
Choose a tag to compare

Chore

  • publish only source code files

Bug Fixes

  • ci

Commit Statistics

  • 2 commits contributed to the release.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details

v0.1.8

15 Dec 04:16
2b63521
Compare
Choose a tag to compare

Bug Fixes

  • add gzip support
    • Use bytes::Bytes instead of Vec<u8> for http responses.
    • Remove the manual decompression of the http response body.

Commit Statistics

  • 1 commit contributed to the release.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized

v0.1.7

15 Dec 02:29
13acb8f
Compare
Choose a tag to compare

Documentation

  • update REMEAD.md

New Features

  • add rquest for impersonation support

Commit Statistics

  • 2 commits contributed to the release.
  • 7 days passed between releases.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Update REMEAD.md (da8263e)
    • Add rquest for impersonation support (e2b6263)