Skip to content

Releases: swift-server/swift-service-lifecycle

1.0.0-alpha.11

22 Jun 16:40
22363fe

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

Choose a tag to compare

1.0.0-alpha.10 Pre-release
Pre-release

1.0.0-alpha.9

22 Sep 18:48
cea89ce

Choose a tag to compare

1.0.0-alpha.9 Pre-release
Pre-release

1.0.0-alpha.8

10 Sep 16:45
2744df5

Choose a tag to compare

1.0.0-alpha.8 Pre-release
Pre-release
  • Remove [Lifecycle] prefix from log messages (#95) - Thanks @slashmo
  • Add support for async functions (#99)(#102)
  • Fix repeated shutdown issue on linux (#104)
  • Do not shutdown tasks that failed to start when shutdownIfNotStarted is set to false (#107)
  • Shutdown tasks that are marked with shutdownIfNotStarted set to true when shutting down a never-started-lifecycle (#109)

1.0.0-alpha.7

30 Mar 21:43
4714c3c

Choose a tag to compare

1.0.0-alpha.7 Pre-release
Pre-release
  • Expose shutdownIfNotStarted argument when registering handlers (#83)
  • Add support for stateful handlers (#84)
  • Add support for HUP, USR1, USR2 signals (#86) - Thanks @hassila
  • Add lifecycle metrics (#93)
  • CI and documentation improvement - Thanks @hassila and @fabianfett

1.0.0-alpha.6

26 Oct 23:20
a7356e1

Choose a tag to compare

1.0.0-alpha.6 Pre-release
Pre-release

⚠️ This release includes semantic changes

  • add semantics for stopping tasks that have no start handler #77

1.0.0-alpha.5

28 Sep 18:06
3a02d48

Choose a tag to compare

1.0.0-alpha.5 Pre-release
Pre-release
  • Setup shutdown hooks on ServiceLifecycle::startAndWait #69 reported by @tanner0101
  • Remove unused macOS(.v10_12) platform requirement #71 by @fabianfett
  • Add some NIO sugar to ServiceLifecycle.start() #72 by @fabianfett
  • Abstract registration function into a protocol #75
  • Improved readme docs and examples

1.0.0-alpha.4

14 Jul 17:52
b5ead64

Choose a tag to compare

1.0.0-alpha.4 Pre-release
Pre-release

⚠️ This release includes breaking api changes

  • Remove closure variants to reduce API confusion #46

1.0.0-alpha.3

28 May 02:39
6dde12a

Choose a tag to compare

1.0.0-alpha.3 Pre-release
Pre-release

adjust API per API review feedback

1.0.0-alpha.2

11 Apr 00:56
49d9472

Choose a tag to compare

1.0.0-alpha.2 Pre-release
Pre-release

second pre-release