Skip to content

Releases: swift-server/swift-service-lifecycle

ServiceLifecycle 2.4.1

22 Feb 11:51
d7fe0e7

Choose a tag to compare

SemVer Minor

SemVer Patch

  • cancelOnGracefulShutdown hangs, if cancellation is not immediate in #177

Full Changelog: 2.4.0...2.4.1

ServiceLifecylce 2.4.0

12 Feb 10:02
55f45e3

Choose a tag to compare

SemVer Minor

  • Conform ServiceGroup to Service in #172

SemVer Patch

  • Adopt AsyncAlgorithms in #167
  • Update readme to not refer to alpha in #168
  • Make sure we return after gracefully shutdown in #170
  • Update TerminationBehavior doc comments and notes in #165
  • Update readme instructions & version in #164
  • Fix logic issues during graceful shutdown in #171

New Contributors

Full Changelog: 2.3.0...2.4.0

2.3.0

13 Oct 13:12
d673fdc

Choose a tag to compare

SemVer Minor

  • Add a configurable escalation behaviour for graceful shutdown and cancellation of the ServiceGroup in #162

2.2.0

10 Oct 18:51
b71a961

Choose a tag to compare

What's Changed

  • Bump minimum Swift version to 5.7 in #160
  • Add support for SIGWINCH in #161

Full Changelog: 2.1.0...2.2.0

2.1.0

20 Sep 08:21
45a31b6

Choose a tag to compare

SemVer Minor

  • Add async gracefulShutdown() function to wait on graceful shutdown trigger (#158)

2.0.0

24 Aug 09:33

Choose a tag to compare

This is the first major release of swift-service-lifecycle 🚀 which helps orchestrating components in your application using Structured Concurrency. To get started with this package check out the documentation.

What's changed since 2.0.0-beta.2?

  • Propagate service error during graceful shutdown (#153)
  • Add convenience init to the group (#154)
  • Fix in docs (#155, #156)
  • Vendor swift-async-algorithms (#157)

2.0.0-beta.2

22 Aug 19:55
98a9396

Choose a tag to compare

2.0.0-beta.2 Pre-release
Pre-release

What's Changed

  • Only log at debug levels (#151)
  • Propagate service error when gracefully shutting down (#152)

2.0.0-beta.1

16 Aug 12:32
748fcf3

Choose a tag to compare

2.0.0-beta.1 Pre-release
Pre-release

What's Changed

  • Add support for SIGQUIT (#146)
  • Add support for custom return/ThrowBehavior of services (#148)
  • Prefix default logging keys (#149)

This release includes a small breaking change. The conformance to Hashable and Equatable from the ServiceGroupConfiguration has been removed.

2.0.0-alpha.3

05 Jun 09:54
4eaaf07

Choose a tag to compare

2.0.0-alpha.3 Pre-release
Pre-release

What's Changed

  • Rename shutdownGracefully to triggerGracefulShutdown on the ServiceGroup #142

2.0.0-alpha.2

11 May 13:17
5074896

Choose a tag to compare

2.0.0-alpha.2 Pre-release
Pre-release

What's Changed

  • Fix an issue where cancelOnGracefulShutdown did hang waiting for a child task to finish #136