Skip to content

Releases: vknabel/EasyInject

1.4.0 Swift 5-Package-Syntax

03 Oct 16:02
Compare
Choose a tag to compare

Released: 2020-10-03

  • Upgraded to Swift 5-Package-Syntax - @vknabel

1.3.0 Swift 4 Package Syntax

03 Oct 15:58
Compare
Choose a tag to compare

Released: 2020-03-14

  • Upgraded to Swift 4-Package-Syntax - @vknabel

1.2.0

06 Oct 19:55
Compare
Choose a tag to compare

1.2.0

Released: 2017-10-06

API Additions

  • Generic subscripts for Injector. - @vknabel

Other Changes

  • Support for Swift 4.0 while retaining Swift 3 support. - @vknabel

1.1.0

06 Oct 19:56
Compare
Choose a tag to compare

1.1.0

Released: 2016-10-24

API Additions

  • Implemented CustomDebugStringConvertible for Provider, GenericProvidableKey - @vknabel
  • GenericProvidableKey now implemented CustomStringConvertible - @vknabel

Other Changes

  • Changed internal representation for .derive - @vknabel
  • Replaced protocol Providable with an typealias for Any (and therefore no adoption is required) - @vknabel

Stable Release

20 Oct 20:39
Compare
Choose a tag to compare

1.0.0

Released: 2016-10-18

Breaking Changes

  • Added new case InjectionError.cyclicDependency (#1). - @vknabel

API Additions

  • Added GenericProvidableKey which lets you define custom types in a typealias. - @vknabel
  • Detection of cyclic dependencies in LazyInjector (#1). - @vknabel
  • Provider.derive(_:) will now work for all ExpressibleByStringLiteral where K.StringLiteralType == String (previously only for String) - @vknabel

Other Changes

  • Added some basic guides to generated Jazzy docs - @vknabel

Updated Docs

26 Sep 11:09
Compare
Choose a tag to compare

0.8.1

Released: 2016-09-26

Other Changes

Drops Swift 2.x

08 Sep 16:03
Compare
Choose a tag to compare

0.8.0

Released: 2016-09-08

Breaking Changes:

Unit Tests

23 Aug 20:02
Compare
Choose a tag to compare

0.7.0

Released: 23/08/2016

Breaking Changes:

  • ComposedInjector throws an aggregated InjectionError.keyNotFound(_) as expected - @vknabel
  • Removed enum case InjectionError.invalidInjection(key:injected:expected:) - @vknabel

API Additions:

  • Added convenience GlobalInjector.init() - @vknabel
  • Added Injector.revoking(for:) that takes a Provider - @vknabel
  • Added Injector.revoke(for:) that takes a Provider - @vknabel

Other Changes:

Release 0.6.0

16 Aug 17:37
Compare
Choose a tag to compare

0.6.0

Released: 16/08/2016

Breaking Changes:

  • Updated Swift 3.0 to Beta 6 - @vknabel

Other Changes:

  • Fixes some warnings in Swift 2 and 3 - @vknabel

Rejecting Keys

10 Aug 07:29
Compare
Choose a tag to compare

Released: 10/08/2016

Breaking Changes:

  • Added Injector.revoking(key:) - @vknabel
  • Added MutableInjector.revoke(key:) - @vknabel

API Additions:

  • Injector.revoking(key:) will be implemented by InjectorDerivingFromMutableInjector - @vknabel
  • Added revoke{Left|Right|Both}(key:) and revoking{Left|Right|Both}(key:) to ComposedInjector - @vknabel

Other Changes:

  • Updated descriptions in README.md, EasyInject.podspec and Play.playground - @vknabel