Skip to content

Releases: pointfreeco/swift-dependencies

1.5.2

14 Nov 17:50
96eecd4
Compare
Choose a tag to compare

What's Changed

  • Fixed: Address compile failure on non-Apple platforms (thanks @finestructure, #304).
  • Infrastructure: Update GitHub Actions CI (#307).

Full Changelog: 1.5.1...1.5.2

1.5.1

12 Nov 17:47
28f8271
Compare
Choose a tag to compare

What's Changed

  • Fixed: A regression introduced in 1.5.0 that could cause previews with a dependency trait to crash has been fixed (#306).

Full Changelog: 1.5.0...1.5.1

1.5.0

11 Nov 18:38
a24a0f1
Compare
Choose a tag to compare

What's Changed

  • Added: prepareDependencies (#288). This API allows you to prepare dependencies globally at the entry point of your application. For Example:
    @main
    struct MyApp: App {
      init() {
        prepareDependencies {
          $0.analytics = AnalyticsClient(accessToken: mySecretToken)
        }
      }
      // ...
    }
  • Fixed: Restore Library Evolution support for Xcode 16 (thanks @gemmakbarlow, #279).
  • Fixed: Android support for Swift 6 (thanks @hyp, #282).
  • Fixed: Update [email protected] to silence warning (thanks @finestructure, #291).
  • Fixed: Dependencies accessed in withDependencies update closure are now cached eagerly (#287).
  • Fixed: Relax preview trait sendability requirement (#299).
  • Infrastructure: Add Macro Compatibility Check to CI workflow (thanks @Matejkob, #285).

New Contributors

Full Changelog: 1.4.1...1.5.0

1.4.1

20 Sep 17:19
Compare
Choose a tag to compare

What's Changed

  • Fixed: Explicitly link to IssueReportingTestSupport in DependenciesTestSupport to ensure a @Test or @Suite using the .dependency trait is applying the given dependency in an Xcode app target's @Tests (#278).
  • Infrastructure: Update test example in README (thanks @mltbnz, #275).
  • Infrastructure: Remove unneeded experimental feature in Package.swift (thanks @shimastripe, #276).
  • Infrastructure: Update Xcode CI to 16 (#277).

New Contributors

Full Changelog: 1.4.0...1.4.1

1.4.0

12 Sep 16:56
Compare
Choose a tag to compare

What's Changed

  • Added: #Preview and @Test traits for overriding dependencies (#274).
  • Fixed: Prevent dependencies cache from bleeding across Swift Testing tests (#269).
  • Infrastructure: Enable Swift 6 mode (#272).

Full Changelog: 1.3.9...1.4.0

1.3.9

26 Aug 16:03
Compare
Choose a tag to compare

What's Changed

  • Fixed: Address an Xcode 16 beta 6 error (#265).

Full Changelog: 1.3.8...1.3.9

1.3.8

21 Aug 17:12
21660b0
Compare
Choose a tag to compare

What's Changed

  • Fixed: Xcode 16 beta 6 build failure #262
  • Infrastructure: Turn off Swift 6 mode. #263

Full Changelog: 1.3.7...1.3.8

1.3.7

06 Aug 16:39
d7472be
Compare
Choose a tag to compare

What's Changed

  • Fixed: Add explicit XCTestDynamicOverlay dependency to DependenciesMacros target (thanks @andriyslyusar, #254).
  • Fixed: Address Swift 6 snapshot boundary issue (thanks @hallee, #256).

New Contributors

Full Changelog: 1.3.6...1.3.7

1.3.6

30 Jul 18:44
Compare
Choose a tag to compare

What's Changed

  • Fixed: Swift 6 snapshots (#252).

Full Changelog: 1.3.5...1.3.6

1.3.5

24 Jul 18:44
cc26d06
Compare
Choose a tag to compare

What's Changed

  • Fixed: Point Issue Reporting to xctest-dynamic-overlay repo (#251).

Full Changelog: 1.3.4...1.3.5