github pointfreeco/swift-dependencies 1.5.0

latest release: 1.5.1
2 days ago

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 Package@swift-6.0.swift 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

Don't miss a new swift-dependencies release

NewReleases is sending notifications on new releases.