Releases: pointfreeco/swift-dependencies
Releases · pointfreeco/swift-dependencies
1.6.3
What's Changed
- Fixed: Support throwing dependency traits by (#320).
- Fixed: Avoid caching app entry point dependencies in previews (#321).
- Infrastructure: Improve app entry point documentation (thanks @acosmicflamingo, #316).
New Contributors
- @acosmicflamingo made their first contribution in #316
Full Changelog: 1.6.2...1.6.3
1.6.2
1.6.1
1.6.0
What's Changed
- Added:
.dependency(Value.self)
to test and preview traits (#313).
Full Changelog: 1.5.2...1.6.0
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 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
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