github pointfreeco/swift-dependencies 1.8.0

one day ago

What's Changed

  • Added: Test trait enhancements (#342, #344).

    The .dependencies and .dependency test traits now use Swift 6.1's TestScoping when available, leading to more reliable dependency injection.

    The .dependencies trait can also now be used in a "bare" fashion on a base test suite to ensure all tests are given a unique set of dependencies by default:

    @Suite(.dependencies) struct BaseTests {}
  • Fixed: Avoid test data race in dependency cache (#303).

  • Infrastructure: Update .spi.yml (thanks @finestructure, #336).

  • Infrastructure: Add Swift 6.0 to Linux test matrix (thanks @finestructure, #303).

  • Infrastructure: Added tests for prepareDependencies and updated docs (#337)

Full Changelog: 1.7.0...1.8.0

Don't miss a new swift-dependencies release

NewReleases is sending notifications on new releases.