Skip to content

v1.3.3

Latest

Choose a tag to compare

@mh4x0f mh4x0f released this 15 May 19:50
34c35f6

Flexphish v1.3.3

Highlights

  • Major improvements to the self-update flow on Linux.
  • Better reliability for binary replacement and restart behavior.
  • Fixed false update notifications when local version is newer than GitHub latest.
  • Improved update UX in the dashboard.
  • Improved Create Email Template modal usability.
  • fixed removed default security token jwt and test_mode_token

Backend Improvements

  • Integrated creativeprojects/go-selfupdate for safer binary updates.
  • Kept staged update/rollback flow for ui/ and templates/.
  • Added installed-binary verification after update.
  • Added executable-directory write-permission precheck with clearer error output.
  • Improved restart fallback logic with multiple executable candidates.
  • Enhanced restart failure diagnostics in API status (last_error).

Versioning & Update Logic Fixes

  • Fixed release version injection into runtime (internal/cli.Version).
  • Added semantic version comparison (latest > current) using hashicorp/go-version.
  • Update is now offered only when remote version is truly newer.

Frontend Improvements

  • Update button is blocked after successful install/restart states to prevent duplicate update attempts.
  • Automatic page reload after successful update states to reflect latest runtime information.
  • Create Email Template modal redesigned to be more compact:
    • Square-like modal footprint
    • Internal scroll for long content
    • Fixed-size HTML/Preview panels so modal does not grow unexpectedly

Dependencies

  • Added github.com/creativeprojects/go-selfupdate
  • Added/updated github.com/hashicorp/go-version

Validation

  • go test ./...
  • go test ./internal/application/update
  • pnpm tsc -p tsconfig.app.json

Upgrade Notes

  • If running via system-managed paths (/usr/local/bin, /opt, etc.), ensure the process has write permission to update the binary.
  • After updating to this version, update detection and restart behavior are significantly more stable on Linux.