Releases: hominsu/deeplx-rs
Releases · hominsu/deeplx-rs
v1.3.3
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 aSocketAddr
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
v1.3.2
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
v1.3.1
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
- Remove the
- 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
andclap
dependencies, removedargh
. - Updated config.toml: Added
debug
,bind
andconcurrent
fields, changedaddr
tobind
. - 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.
- Updated Cargo.toml: Added
- Improve
split_text
error handling and response- Refactor
split_text
to directly return aSplitTextResponse
instead of bytes. - Adjust the code to handle the response from
make_request
consistently.
- Refactor
- 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 toInternalServer
- Remove unnecessary
Future
trait bound infrom_request_parts
functions - Simplify error handling in middleware and state extraction
- Remove unnecessary
async
block infrom_request_parts
function inmiddleware.rs
- Use
or
instead ofor_else
for optional token handling.
- Rename
- improve CI/CD workflows and Docker build
- upgrade
axum
to 0.8 and removeasync-trait
- Change
RequireAuth
andAppState
middleware to return aFuture
. - Change
translate
function to return aFuture
.
- Change
- cli argument parsing
- Replace
clap
withargh
for command line parsing, reduced about 300
KB of server.
- Replace
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 removeasync-trait
(3eaa33b) - Update README.md (a98ad40)
- Cli argument parsing (b33d789)
v1.2.2
Other
- significantly reduced the size of the build artifacts
- Add configuration for release mode optimization, including setting
opt-level
to 3, enablingstrip
andlto
, settingcodegen-units
to 1, and settingpanic
to abort. - Remove the
impersonate
feature flag in Dockerfile, since it's not a stable and usable crate.
- Add configuration for release mode optimization, including setting
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
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
v1.2.0
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.
- Change the
- 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
v1.1.0
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)
- Enable memory allocation with
v1.0.0
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
v0.1.8
Bug Fixes
- add gzip support
- Use
bytes::Bytes
instead ofVec<u8>
for http responses. - Remove the manual decompression of the http response body.
- Use
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
- Add gzip support (063377c)
v0.1.7
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