Skip to content

Releases: Finomnis/tokio-graceful-shutdown

v0.15.1

09 Jul 23:09
Compare
Choose a tag to compare

Changes

  • Fix typo (#85)

v0.15.0

30 Mar 00:46
865d76d
Compare
Choose a tag to compare

Breaking Changes

  • Bump miette dependency to 7.0.0
  • Minimum Supported Rust Version (MSRV) is now 1.70.0.

v0.14.3

07 Feb 12:57
Compare
Choose a tag to compare

Changes

  • Add NestedSubsystem::finished() (#82)
  • Add SubsystemBuilder::detached() (#83)

Examples

  • Add 19_sequential_shutdown.rs
  • Add 20_orchestrated_shutdown_order.rs

v0.14.2

02 Dec 21:24
Compare
Choose a tag to compare

Changes

  • React to more signals on Windows:
    • CTRL_BREAK
    • CTRL_CLOSE
    • CTRL_SHUTDOWN

v0.14.1

21 Nov 02:54
cbd0791
Compare
Choose a tag to compare

Changes

  • Add SubsystemHandle::create_cancellation_token()
  • Update hyper example to hyper 1.0

v0.14.0

22 Oct 17:33
491ddcb
Compare
Choose a tag to compare

Full rewrite of this crate

The main problem was that the API followed the implementation and not the other way round. That had the effect that some API improvements weren't possible because they were no longer implementable.

With the new implementation, several API decisions that bothered me were finally improved.

Breaking Changes

  • Remove Toplevel::nested (which was a rather ugly hack), replace with configurable ErrorActions.
  • Remove partial shutdown mechanism; replace with NestedSubsystem::initiate_shutdown() and NestedSubsystem::join().
  • Add SubsystemHandle::wait_for_children().
  • Remove Toplevel::start. Instead, add a single subsystem to Toplevel::new, which can then spawn all further subsystems.
  • Rework SubsystemHandle::start; it now takes a SubsystemBuilder object that provides further subsystem configuration options.
  • Logging framework was changed from log to tracing.
  • Minimum Supported Rust Version (MSRV) is now 1.63.0.

The rest of the API is almost identical and migration should be mostly straight forward.

v0.13.0

16 Jun 17:55
3627fdc
Compare
Choose a tag to compare

Breaking Changes

  • Fix missing generic in Toplevel::nested (#61)

v0.12.1

21 Dec 07:35
Compare
Choose a tag to compare
  • Fix installation instructions in README

v0.12.0

18 Dec 11:59
Compare
Choose a tag to compare

Breaking Changes

  • Specify full versions on all dependencies

Changes

  • Bump dev dependencies
  • Fix build badge in README

v0.11.1

16 Aug 19:41
Compare
Choose a tag to compare
  • Fix incorrect version in README.md