Skip to main content

Daily Changelog — 2026-05-21

BranchAuthorGenerated
feature/api-sync-lock, hotfix/contractAryan Jaya2026-05-21

Features

  • API packet sync verification and request locking 75d394785, 2026-05-21
    • Created a database-backed request locking mechanism with a migration for request_locks table.
    • Implemented VerifyPacketSyncMiddleware to verify and register request locks during sync operations.
    • Added the PruneRequestLocks Artisan command (php artisan prune:request-locks) to clear expired request locks.
    • Defined the PacketHandshakeReason enum for API packet handshakes.

Fixes

  • Enable FAF calculations for rental orders and first invoices on non-rental orders da5bfb89d, 2026-05-21
  • Keep additional_price updated when editing rental bin hire orders dad3d2ab7, 2026-05-21
  • Correct bin price calculations inside the edit rental order form dac99dbe5, 2026-05-21
  • Correct GST calculations and include gst_percent / is_gst_include fields when creating Bin Rental Fee Orders b55211dea, 2026-05-21
  • Comment out track route on v2.15.70 API endpoints 883901d62, 2026-05-21
  • Fix admin route controller namespace/class typo c3dd3d060, 2026-05-21

Styles

  • Reposition the FAF (Fuel Adjustment Factor) display block in the extra empty rental bin form ca1012d1c, 2026-05-21

Summary

  1. Implemented a robust request locking and packet sync verification middleware to prevent race conditions during mobile app API synchronizations.
  2. Resolved various rental order bugs including incorrect price calculations in the Edit Order form, wrong GST parameters during Bin Rental Fee Order generation, and updating the overall additional price when modifying rental bin hire orders.
  3. Enabled Fuel Adjustment Factor (FAF) calculation for both rental orders and first invoices on non-rental orders.