Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Releases: vapor/service

Service 1.0.2

26 Mar 20:41
fa5b5de
Compare
Choose a tag to compare

Fixed:

  • Silenced a Swift 5 warning. (#38)

Service 1.0.1

12 Feb 02:58
Compare
Choose a tag to compare

Fixed:

  • ServiceType.makeService(_:)'s internal variable was renamed to container. (#27)

Service 1.0.0

03 Apr 22:21
281a70b
Compare
Choose a tag to compare

📦 Introducing Service, a dependency injection / inversion of control framework.

Getting Started:
https://docs.vapor.codes/3.0/service/getting-started/

API Docs:
https://api.vapor.codes/service/1.0.0/Service


Changes since 1.0.0-rc.2.2:

New:

  • Cleaned up code, organized files, added many missing API docs. Converted some APIs to internal to reduce API surface.
  • Added ContainerAlias type allows a type to simply be an alias for another container. This allows SubContainer to become more specialized, reducing confusion.

Milestone:
1.0.0

Service 1.0.0 RC 2.2

25 Mar 03:46
02205a1
Compare
Choose a tag to compare
Service 1.0.0 RC 2.2 Pre-release
Pre-release

New:

  • Added arguments stored property to Environment. This can be used going forward to get and mutate the command line arguments in a non-static way.

API Docs:
https://api.vapor.codes/service/1.0.0-rc.2.2/Service/

Milestone:
1.0.0-rc.2.2

Service 1.0.0 RC 2.1

22 Mar 18:55
d2b233b
Compare
Choose a tag to compare
Service 1.0.0 RC 2.1 Pre-release
Pre-release

New:

  • Added some convenience methods for working with Extend.

Milestone

Service 1.0.0 RC 2

21 Mar 20:15
Compare
Choose a tag to compare
Service 1.0.0 RC 2 Pre-release
Pre-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

Service 1.0.0 RC 1

23 Feb 03:07
90426d6
Compare
Choose a tag to compare
Service 1.0.0 RC 1 Pre-release
Pre-release
Merge pull request #1 from vapor/beta

service beta

Service 1.0.0 Beta 2

21 Feb 02:31
ed02e0f
Compare
Choose a tag to compare
Service 1.0.0 Beta 2 Pre-release
Pre-release

New:

  • Removed isSingleton: Bool option from all service types. All class services will now be singletons.
  • ServiceType now includes conformance to Service
  • Better error messages

Milestone

Service 1.0.0 Beta 1.1

15 Feb 00:58
Compare
Choose a tag to compare
Pre-release
1.0.0-beta.1.1

prerelease semver updates

Service 1.0.0 Beta 1

10 Feb 00:39
Compare
Choose a tag to compare
Service 1.0.0 Beta 1 Pre-release
Pre-release
1.0.0-beta.1

3.0 dep