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 itsValue
associated type to beSendable
in Swift >=5.7.1 (thanks @adriansergheev, #68).
New Contributors
- @adriansergheev made their first contribution in #68
- @iampatbrown made their first contribution in #71
Full Changelog: 0.2.0...0.3.0