Skip to content

Releases: swift-server/swift-service-lifecycle

Swift Service Lifecycle 2.6.1

24 Jul 14:10
24c800f
Compare
Choose a tag to compare

SemVer Patch

  • Change 'unsafeDowncast' to 'as!' (#186)

ServiceLifecycle 2.6.0

03 Jun 16:04
d58e6bf
Compare
Choose a tag to compare

SemVer Minor

  • Add support for trapping sigabrt, sigill, sigsegv in #184

ServiceLifecycle 2.5.1

30 May 10:11
05d3852
Compare
Choose a tag to compare

SemVer Patch

  • Stop using renamed pattern which can cause compiler crash in #183

ServiceLifecycle 2.5.0

13 May 15:14
12a031b
Compare
Choose a tag to compare

SemVer Minor

  • Global cancelOnGracefulShutdown returns non nil value (#181, patch credit to @sidepelican)
  • Raise minimum Swift version to 5.8 (#178)

SemVer Patch

  • Support compiling against Musl (#182)

ServiceLifecycle 2.4.1

22 Feb 11:51
d7fe0e7
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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)