Skip to content

v3.5.0

Choose a tag to compare

@github-actions github-actions released this 08 Jul 02:12
· 2190 commits to main since this release

HexLM v3.5.0

This release focuses on new user-facing capabilities, security hardening, reliability fixes, and operational polish.

Release Metadata

Item Link
Release tag v3.5.0
Release commit ed351e4
Full changelog v3.4.9...v3.5.0
Checksums SHA256SUMS.txt
Windows package hexlm_3.5.0_windows_amd64.zip

Download based on your OS

OS Download
Windows ZIP x64
Linux tar.gz x64 tar.gz arm64
macOS tar.gz Intel tar.gz Apple Silicon
Checksums SHA256SUMS.txt

Release Highlights

Account management becomes an operator workflow

HexLM now includes a full administrator account management center. Operators can create and edit backend accounts, protect install-created super administrators, inspect account security state, revoke sessions, and review account-scoped audit history from system settings.

Heartbeat billing moves off the request hot path

Client heartbeat is now focused on liveness. Time usage is settled by a dedicated usage settlement service, including scheduled settlement, logout settlement, offline-session cleanup, idempotent cursors, and ledger records for point deductions. This reduces write pressure while making billing recovery paths easier to audit.

Lightweight SQLite deployments get capacity guardrails

SQLite single-node deployments now emit capacity warning signals for online sessions, due settlements, and memory cache pressure. Runtime defaults and regression tests document the expected light-mode boundaries so operators can react before writer pressure becomes an outage.

Production deployments have clearer cache and database profiles

Redis can now be required for production deployments that depend on shared cache behavior, while lightweight SQLite installations can keep the memory fallback. Database pool profiles now apply conservative defaults for SQLite and server databases without overriding explicit operator settings.

Client protocol and session security are stricter

This release tightens client request signing, encrypted response keys, nonce consumption, application-bound session tokens, inactive user handling, and encrypted bodyless responses. SDK examples and parsing behavior were updated to match the stricter transport contract.

What's Changed

Features

  • Add the account management center with administrator CRUD, account metadata, deterministic avatar metadata, security actions, account session controls, and account audit history.
  • Add usage settlement services for time usage, logout settlement, offline sessions, idempotent point deduction, and settlement ledger records.
  • Add SQLite capacity alerts for lightweight deployments and production readiness checks for Redis-required deployments.
  • Add production Redis deployment profiles and database connection pool defaults for SQLite and server database modes.

Fixes

  • Fix billing and session consistency around heartbeat expiry, offline sessions, point deductions, stale sessions, direct login cleanup, concurrency limits, and cache invalidation.
  • Fix client security and SDK transport parity for app-bound session tokens, encrypted response keys, request signatures, nonce validation, encrypted bodyless responses, and response timestamp parsing.
  • Fix order and admin write paths by making manual delivery transactional, guarding status transitions, and enforcing unbind quota updates atomically.
  • Fix Docker cgroup memory reporting, dashboard map proxying, login captcha sizing, login rate-limit feedback, install field alignment, and login page accessibility attributes.

Improvements

  • Reduce write amplification and query work across login, heartbeat, session authentication, settlement, polling, CSV export, and cloud list loading paths.
  • Expand operation log coverage so more administrator actions appear in audit history with readable labels and themed action controls.
  • Document SQLite-to-server-database migration planning, Redis required mode, production runtime validation, and published single-node capacity guardrails.

Security

  • Require stricter client request validation for encrypted clients and bind session tokens to their application context.
  • Fail closed for session count errors and inactive user states instead of allowing ambiguous client access.
  • Harden secrets, CSRF, and login limit behavior for production-facing deployments.

Breaking Changes

  • The client heartbeat contract is now liveness-oriented. Clients that depended on heartbeat responses for balance refresh or immediate time deduction should move those reads to login, recharge, point deduction, access decision, or follow-up status flows.

Upgrade Notes

  • Back up the database before upgrading.
  • Review deploy/config/config.example.yaml and deployment environment examples for Redis required mode, runtime guardrails, and database pool profile changes.
  • If you run a production MySQL deployment, review the new Redis-backed deployment profile before enabling redis.required.
  • If your SDK or client code reads balance fields from heartbeat responses, update it for the liveness-only heartbeat contract before rolling this version to production clients.
  • Existing database changes should be applied by the server startup path unless your deployment uses versioned migrations explicitly.
  • Restart the service after replacing the binary.

Verify Downloads

Linux and macOS:

sha256sum -c SHA256SUMS.txt

Windows PowerShell:

Get-FileHash -Algorithm SHA256 .\hexlm_3.5.0_windows_amd64.zip

Full Changelog: v3.4.9...v3.5.0