Releases: pointfreeco/swift-dependencies
Releases · pointfreeco/swift-dependencies
1.5.2
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
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
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
- @gemmakbarlow made their first contribution in #279
- @hyp made their first contribution in #282
Full Changelog: 1.4.1...1.5.0
1.4.1
What's Changed
- Fixed: Explicitly link to
IssueReportingTestSupport
inDependenciesTestSupport
to ensure a@Test
or@Suite
using the.dependency
trait is applying the given dependency in an Xcode app target's@Test
s (#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
- @mltbnz made their first contribution in #275
- @shimastripe made their first contribution in #276
Full Changelog: 1.4.0...1.4.1
1.4.0
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
1.3.8
1.3.7
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
- @andriyslyusar made their first contribution in #254
Full Changelog: 1.3.6...1.3.7