Skip to content

Releases: swift-server/swift-service-lifecycle

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.

1.0.0-alpha.11

22 Jun 16:40
22363fe
Compare
Choose a tag to compare
1.0.0-alpha.11 Pre-release
Pre-release

What's Changed

  • Add Swift Concurrency Availability to macOS 10.15, iOS 13, tvOS 13, and watchOS 6 (#118) - thanks @t089
  • shutdown() should cancel the signal handlers installed by start() (#120)
  • Add the ability to de-register a task by (#121)

Full Changelog: 1.0.0-alpha.10...1.0.0-alpha.11

1.0.0-alpha.10

07 Oct 17:21
531c6f8
Compare
Choose a tag to compare
1.0.0-alpha.10 Pre-release
Pre-release

1.0.0-alpha.9

22 Sep 18:48
cea89ce
Compare
Choose a tag to compare
1.0.0-alpha.9 Pre-release
Pre-release