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
- @gemmakbarlow made their first contribution in #279
- @hyp made their first contribution in #282
Full Changelog: 1.4.1...1.5.0