github pointfreeco/swift-dependencies 0.3.0

latest releases: 1.4.1, 1.4.0, 1.3.9...
17 months ago

What's Changed

  • Added: A UUID.init(_ intValue:) helper for more easily testing with incrementing UUIDs (#69).
  • Changed: @Dependency's wrapped value is now computed by completely overriding the current dependency values with a version that merges the initial values of the wrapper (thanks @iampatbrown, #71). This helps propagate dependencies further, especially when dependencies hold onto their own dependencies via the @Dependency property wrapper.
  • Changed: A debug task local will now be compiled out of release mode, making dependency access slightly faster (#62).
  • Changed: TestDependencyKey now constrains its Value associated type to be Sendable in Swift >=5.7.1 (thanks @adriansergheev, #68).

New Contributors

Full Changelog: 0.2.0...0.3.0

Don't miss a new swift-dependencies release

NewReleases is sending notifications on new releases.