github pointfreeco/swift-dependencies 1.6.4

latest release: 1.7.0
3 days ago

What's Changed

  • Deprecated: Preview traits have been deprecated in favor of prepareDependencies due to a quirk of Xcode previews that allows dependencies to bleed across previews when multiple are contained in the same file (#323).
  • Fixed: Bump swift-syntax from prerelease (thanks @Andrewangeta, #326).
  • Fixed: Allow prepareDependencies to override the full dependency context (#327). This can be useful for running an Xcode preview using live dependencies:
    #Preview {
      let _ = prepareDependencies { $0.context = .live }
      ContentView()
    }
  • Infrastructure: Fix unit tests on Xcode 16 (thanks @pyrtsa, #330).

New Contributors

Full Changelog: 1.6.3...1.6.4

Don't miss a new swift-dependencies release

NewReleases is sending notifications on new releases.