github dagu-org/dagu v1.26.4

latest release: v1.26.5
2 days ago

Added

  • API: Added optional singleton flag to POST /dags/{fileName}/enqueue endpoint to prevent duplicate runs when a DAG is already executing or queued; returns HTTP 409 Conflict when enabled and active/queued runs exist (#1483, #1460)

Changed

  • Deps: Upgraded gopsutil from v3 to v4 (#1470)
    • Note: On Linux, UsedPercent for memory now derives from MemAvailable rather than the previous method, which may alter reported values by 6-10%
  • Release: Removed NetBSD from release targets

Fixed

  • Scheduler: Queue processor now respects maxConcurrency configuration in global config for DAG-based queues (#1482)
  • Runtime: Fixed dequeue command missing queue name parameter, causing API-based dequeue operations to fail (#1481)
  • Auth: API token authentication now works alongside builtin authentication mode; unified middleware supports JWT Bearer tokens, API tokens, Basic auth, and OIDC simultaneously (#1480, #1478, #1475)
  • UI: User Management menu now only displays for admin users when authentication mode is "builtin"; reset password functionality restricted to admin users (#1484)
  • Runtime: Special environment variables (DAG_RUN_ID, DAG_NAME, etc.) now work correctly in handlerOn.exit and other handler contexts (#1474)
  • Security: Escaped config path strings injected into HTML templates to prevent potential JavaScript injection vulnerabilities on Windows (#1472)

Contributors

Thanks to our contributors for this release:

Contribution Contributor
Dequeue command queue name fix (#1481) @kriyanshii
Singleton flag feature request (#1460) @kriyanshii
User creation error with builtin auth bug report (#1478) @Kaiden0001
DAG_RUN_ID in handlers bug report (#1474) @Kaiden0001
Remote node selection with builtin auth bug report (#1475) @jeremydelattre59
Singleton enqueue feedback @ghansham

Don't miss a new dagu release

NewReleases is sending notifications on new releases.