Skip to content

v3.4.8

Choose a tag to compare

@github-actions github-actions released this 30 Jun 11:29
· 2431 commits to main since this release

HexLM v3.4.8

This release focuses on reliability fixes and operational polish.

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

Security boundaries are tighter by default

HexLM now enforces request signing more consistently, removes URL query token fallback, stores verification codes as hashes, and reduces public lookup metadata. These changes make client and public API integration safer without changing the normal admin workflow.

Commerce flows are more resistant to race conditions

This release hardens point deduction, card consumption, shop stock reservation, payment trade numbers, supply order processing, and sales link creation against concurrent requests. The goal is to prevent double-spend, duplicate payment binding, orphaned cards, and half-processed supply orders.

Operations get earlier failure signals

Payment callback failures, reconciliation errors, slow query threshold breaches, and scheduler startup panics now use the alert channel. Deployments with alert webhooks configured should see these issues proactively instead of discovering them only through logs.

Release notes are more useful for operators

The release workflow now supports structured English release notes, and the upgrade guide documents the payment number uniqueness migration. This should make GitHub releases easier to evaluate and upgrade from.

What's Changed

Security

  • Require cryptographic randomness failures to return errors instead of silently generating weak identifiers.
  • Enforce request signing and constant-time comparisons on sensitive request paths.
  • Back nonce replay protection with Redis when available, with memory fallback for smaller deployments.
  • Hide balance and internal identifiers from public account and card lookup responses.
  • Store verification codes as hashes rather than plaintext.
  • Reject session tokens passed through URL query parameters.

Fixes

  • Make session point deduction and card balance-consuming operations atomic.
  • Guard order payment handling against duplicate provider trade numbers.
  • Reserve and release shop stock more safely across abandoned or concurrent orders.
  • Retry shop sales link creation when public codes or raw sequence keys collide.
  • Retry duplicate supply order numbers and return conflict responses when retries are exhausted.
  • Process supply orders transactionally so cards, audit records, order status, and agent stats stay consistent.
  • Enforce file download ownership for app versions.
  • Fix the dashboard app list to show the latest application version.

Improvements

  • Alert on payment callback provider creation failures and verification failures.
  • Alert on reconciliation errors and slow query threshold breaches.
  • Isolate scheduler startup panics so one failed scheduler does not prevent later schedulers from starting.
  • Improve authorization list, card details, user detail, theme shell, and toolbar layout polish.
  • Add structured GitHub release note generation and release-note authoring guidance.

Breaking Changes

  • No user-facing API contract break is intended.
  • Deployments that relied on session tokens in URL query parameters must switch to the supported header-based token flow.

Upgrade Notes

  • Back up the database before upgrading.
  • Review deploy/config/config.example.yaml for any new configuration keys.
  • Existing data should be migrated by the server startup path unless you use versioned database migrations explicitly.
  • Review docs/RELEASE.md before applying the payment number uniqueness migration. Historical duplicate orders.payment_no values must be resolved before the migration can succeed.
  • Restart the service after replacing the binary.

Verify Downloads

Linux and macOS:

sha256sum -c SHA256SUMS.txt

Windows PowerShell:

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

Full Changelog: v3.4.7...v3.4.8