Releases: swift-server/swift-service-lifecycle
Releases · swift-server/swift-service-lifecycle
2.0.0-alpha.1
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
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
- Use swift-atomics from v1.0.0 (#14) - thanks @adam-fowler
1.0.0-alpha.9
- Switch up compiler directives for concurrency (#111) - Thanks @joshuawright11
1.0.0-alpha.8
- 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
shutdownIfNotStartedis set to false (#107) - Shutdown tasks that are marked with
shutdownIfNotStartedset to true when shutting down a never-started-lifecycle (#109)
1.0.0-alpha.7
1.0.0-alpha.6
- add semantics for stopping tasks that have no start handler #77
1.0.0-alpha.5
- 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
- Remove closure variants to reduce API confusion #46
1.0.0-alpha.3
adjust API per API review feedback