Skip to content

v0.10.4

Choose a tag to compare

@ened ened released this 03 Aug 16:59
· 18 commits to main since this release

workmanager_linux v0.1.1 — first Linux release (fixes #324)

New platform package: systemd-based background execution for Linux.

  • One-off tasks via transient systemd-run --user units; periodic tasks as .timer/.service pairs with Persistent=true (catch-up on missed runs).
  • Headless execution: WorkmanagerLinux.maybeRunBackgroundTask(args, callbackDispatcher) from main() runs the task without a window and exits with a journal-friendly exit code.
  • Payloads as on-disk JSON, passed via --payload.
  • Pure Dart (no native code); injectable process runner for testing.
  • Constraints/backoff accepted but documented no-ops. Requires a systemd user session (loginctl enable-linger for timer persistence).

workmanager v0.10.4

  • Linux platform support wired in (Platform.isLinuxWorkmanagerLinux); dependency on workmanager_linux ^0.1.1.