Skip to content

Releases: swift-server/swift-service-lifecycle

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)

2.0.0-beta.2

22 Aug 19:55
98a9396
Compare
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
Compare
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
Compare
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
Compare
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

2.0.0-alpha.1

27 Apr 11:08
fafab8f
Compare
Choose a tag to compare
2.0.0-alpha.1 Pre-release
Pre-release

What's Changed

This release includes the first version of a fully async API that leverages Swift's Structured Concurrency to orchestrate services. The new APIs are rethought from the ground up. We provided documentation on how to adopt the new APIs here.

We encourage everyone to try and adopt the APIs and provide feedback on them.