github pointfreeco/swift-dependencies 1.2.0

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

What's Changed

  • Added: DependencyKey and TestDependencyKey now have a Value primary associated type (#173).
  • Added: @Dependency(MyDependency.self), for specifying a dependency by a type name instead of a key path (#172).
  • Fixed: Test values are now cached when accessed in a live context (thanks @oronbz, #78). This ensures a dependency isn't recreated every single time it is accessed in an application.
  • Fixed: XCTest is now dynamically linked on non-Apple platforms, like Linux and Windows (thanks @compnerd, #169).
  • Infrastructure: Improved macro warning message (thanks @ZevEisenberg, #167).
  • Infrastructure: Updated installation snippet (thanks @x-0o0, #168).
  • Infrastructure: Simplify WASI handling in tests (thanks @compnerd, #170).

New Contributors

Full Changelog: 1.1.5...1.2.0

Don't miss a new swift-dependencies release

NewReleases is sending notifications on new releases.