Skip to content

v2.0.0

Choose a tag to compare

@cbranch cbranch released this 28 Apr 12:46
· 14 commits to main since this release

What's Changed

  • Support setting environment variables in the new process, via environment in RestartConfig.
  • Add state transfer from old process to new, via the new lifecycle_handler in RestartConfig.
  • The restart task returns the child process as a std::process::Child on successful restart.

Migration

Users of v1.0.0 can migrate by:

  • partially initialising RestartConfig, now that it implements Default
  • ignoring or using the return value from the spawned restart task