Skip to content
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
Compare
Choose a tag to compare
@tanner0101 tanner0101 released this 21 Mar 20:15
· 27 commits to master since this release

New:

  • Vapor is now running on Swift NIO!
  • Providers now have separate willBoot and didBoot methods. Providers are expected to do as much work as possible in the didBoot 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.

Milestone