This repository has been archived by the owner on Nov 16, 2020. It is now read-only.
Service 1.0.0 RC 2
Pre-release
Pre-release
New:
- Vapor is now running on Swift NIO!
- Providers now have separate
willBoot
anddidBoot
methods. Providers are expected to do as much work as possible in thedidBoot
method, making it much simpler for other providers to pre-empt that typical work (such as running something before migrations run in Fluent). - Provider lifecycle methods now return a Future to ensure proper handling of async work. Note, this does not include the
register
services method since no async work should be done before there is a container available.
Fixed:
- Service tags and "needed by/for" have been removed. They were not really useful for anything and unnecessarily complicated the API.