Skip to content

v2.28.0

Latest

Choose a tag to compare

@yohamta0 yohamta0 released this 29 Nov 09:37
6a72fdb

Summary

Dagu v2.28.0 adds workflow tests, worker enrollment by invite over built-in TLS, and node inventories you can manage from the Web UI.

  • Workflow tests: the new dagu test command runs test files kept beside their DAGs. Tests can mock steps, assert outputs, streams, notifications, attempts, and called_with. It adds --init, --update, a JUnit XML report, and dagu schema test.
  • Worker invites and peer TLS: the coordinator serves built-in TLS and h2c on one port, and dagu peer init creates the peer CA. Workers join with dagu worker invite or the Add worker dialog in System status. Worker certificates expire after 90 days and renew while the worker runs. Removing a worker revokes its certificate and stops its runs.
  • Nodes page: create, edit, import, and export inventories and nodes, test connections, and trust host keys from the Web UI or the dagu nodes commands.
  • Security fixes: coordinator peers now authenticate with a shared token, and archive extraction stays inside its destination. Handling of run IDs, the remote proxy, environment values, and webhooks is tighter. Upgrading is recommended.

This release includes security fixes. Upgrading is recommended.

Added

Changed

Fixed

Contributors

Thanks to our contributors for this release:

Contribution Contributor
Authenticate coordinator peers with a shared token (#4037) @0xGenesi (report)
Authenticate coordinator peers with a shared token (#4037) @5ud0er (report)
Complete browser extracts that find nothing (#3969) @AniketR10
ui: add French locale (#4195) @AsLY4
test: end the suspension at the next hourly fire in TestDismissDAGMissedSlots (#4016), test: drop the 100ms deadline from the startup observation bound test (#4018) @AyhamJo7
fix(textsearch): avoid overflowing the Grep limit into a negative slice bound (#3965), fix(stringutil): preserve UTF-8 in quoted value parsing (#3973), fix(spec): parse fractional day durations correctly (#3974), fix(spec): reject negative retry backoff multipliers (#3975), Keep partial sub-runs in the failed expansion budget (#3988), fix(mailbox): don't skip text after self-closing style tags (#3989), fix(value): avoid slice bound overflow on huge step length (#3994), fix(ir): compare backoff against max before duration conversion (#3996), fix(stringutil): strip raw C1 bytes from ANSI sequences (#3997), fix(value): preserve custom string types in walkValue (#3998) @CJstate
fix(wait): match redirect status and send Host header (#4285) @DipanshuAmbilkar03
bug: wait.http follows redirects, so an expected 3xx status never matches (#4278), bug: wait.http drops the Host header from with.headers (#4279) @DipanshuAmbilkar03 (report)
fix(xlsx): detect Excel workbook holders on macOS (#3285), feat(xlsx): support aliased input keys in update_rows (#3286), fix(xlsx): invalidate formula caches after workbook writes (#3294) @DivyamTalwar
Skip job reports while a server reports runs (#4199), cmd: deduplicate workflow test path aliases (#4246) @FOWEPJF255
bug: dagu test runs the same file twice through a case-only path alias (#4245) @FOWEPJF255 (report)
feat: show dagu ls -n NEXT_RUN in the configured/local timezone (#4143) @MaxAuMax (report)
Use Status.IsTerminal for every terminal run check (#3970), Log failed wait.http polls to step stderr (#4001), Add a JUnit XML report to dagu test (#4336) @RyoKusnadi
ui: Fix run file links, dialog focus and graph colours (#3722), examples: Add workspace demo workflows (#3743), specs: Document Healthy status of continuous runs (#3813), ui: Add tool sub-run helpers for the visual editor (#3825) @SCcagg5
Authenticate coordinator peers with a shared token (#4037) @SCcagg5 (report)
Authenticate coordinator peers with a shared token (#4037) @SaifSalah (report)
fix(wait): name the proxy in the http status line (#4191) @Staberman
Authenticate coordinator peers with a shared token (#4037) @a25370 (report)
fix(js): respect step, DAG, and process TZ in js.run Date (#4286) @aloneangel45
Keep archive extraction inside its destination (#4069) @aoi0120 (report)
Replay misses on pages whose path carries a record ID (#4341), Keep record-specific recordings to their record (#4342), Show a long run's steps that need attention in the run inspector (#4346) @aramidefemi
Resolve value references in the DAG-level working_dir (#4000) @codeafridi
Authenticate coordinator peers with a shared token (#4037) @curryadmin (report)
fix(ui): show the community label at the same level and styling as the version number (#4027), fix(store): collapse duplicate usernames in the user list (#4028) @four-bytes-robby
fix(ui): sidebar renders the community edition label misaligned with the version number (#4026), bug: duplicate user in user list (#4025) @four-bytes-robby (report)
Close run ID, remote proxy, env, and webhook gaps (#4031), Authenticate coordinator peers with a shared token (#4037) @lanjianchun (report)
Hide queue dequeue controls when run permission is disabled (#4242) @mv2sa
Queue detail shows Dequeue selected when run_dags is disabled (#4241) @mv2sa (report)
Print dagu ls -n NEXT_RUN in the configured timezone with --local-time (#4196) @mvanhorn
ui: add German locale (#4107) @papa-aus-rastatt
ui: add German (de) locale (#4101) @papa-aus-rastatt (report)
fix(agent): resolve value references in working_dir for file secret lookup (#4012), fix(wait): neutral wording for http errors and strip nested local addresses (#4017), Let new extract steps inherit the DAG model (#4156), Fail streaming chat on an error chunk (#4243), fix(runtime): report each inline step retry (#4308) @pcbeingused333
bug: retry counter not getting updated on retry (#4306) @pommetjehorlepiep (report)
Close run ID, remote proxy, env, and webhook gaps (#4031) @r-bedekar (report)
Close run ID, remote proxy, env, and webhook gaps (#4031), Authenticate coordinator peers with a shared token (#4037) @sfwani (report)
Add a2a.send and a2a.get_task actions (#3972), feat(ui): edit per-schedule parameter overrides in the visual editor (#3978), test(harness): allow real OpenCode v2 checks against newer binaries (#3983), fix(harness): settle OpenCode subagent sessions with the managed step (#3986), feat: add run ownership and terminal-state retry safeguards (RFC 023, step 3) (#4200), Add DAG-level outputs and validation (RFC 023, step 2) (#4201), fix: show retry-disabled reason on hidden, focusable and touch controls (follow-up to #4200) (#4212), feat(a2a): add deterministic and configurable outbound message IDs (#4225) @tbrandenburg
feat: Add native A2A client actions for remote agent tasks (#3914), feat: edit per-schedule parameter overrides in the visual editor (#3971), test(harness): Allow the real OpenCode v2 test to target newer 2.x binaries (#3982), bug(harness): OpenCode 2.3 background subagents outlive managed step completion and cancellation (#3984), bug(harness): managed OpenCode step hangs when a background subagent waits for permission or input (#3985), feat: Add run ownership and terminal-state retry safeguards (RFC 023, step 3) (#4130), feat: Add DAG-level outputs and validation (RFC 023, step 2) (#4129), feat(a2a): Add deterministic and configurable outbound message IDs (RFC 023, step 7) (#4131) @tbrandenburg (report)
Close run ID, remote proxy, env, and webhook gaps (#4031) @tonghuaroot (report)
Authenticate coordinator peers with a shared token (#4037) @zhunlian (report)

Full Changelog: v2.27.0...v2.28.0