Releases: pointfreeco/swift-dependencies
Releases · pointfreeco/swift-dependencies
1.14.1
What's Changed
- Fixed: Adds the
FoundationNetworkingtrait to Package@swift-6.0.swift by @rhysm94 in #451
Full Changelog: 1.14.0...1.14.1
1.14.0
1.13.1
1.13.0
What's Changed
- Added:
@DependencyEntry(#443). A new macro for defining dependency values in a way similar to SwiftUI's@Entrymacro. - Added:
Clocks,CombineSchedulers, andFoundationpackage traits (thanks @danthorpe, #431; #433). These traits are enabled by default for backwards compatibility, but you may now opt out of certain functionality by explicitly disabling them. - Fixed: WASI & Android compatibility (thanks @diederich, #406; thanks @mansbernhardt, #438).
- Infrastructure: Linux CI (#439).
- Infrastructure: Enable upcoming features (#441).
- Infrastructure: Update stale documentation links (thanks @davdroman, #442).
New Contributors
- @danthorpe made their first contribution in #431
- @diederich made their first contribution in #406
- @mansbernhardt made their first contribution in #438
- @davdroman made their first contribution in #442
Full Changelog: 1.12.0...1.13.0
1.12.0
What's Changed
- Added: SwiftUI Environment support (#420). It is now possible to override an
@Dependencythrough the SwiftUI environment. - Added: SwiftSyntax 605 support (thanks @abdoughnut, #416).
New Contributors
- @abdoughnut made their first contribution in #416
Full Changelog: 1.11.0...1.11.1
1.11.0
What's Changed
-
Added:
@Dependency(_:as:)test helper for force-casting an existential dependency to a concrete type (thanks @maatheusgois-dd, #413).@Suite(.dependency(\.continuousClock, TestClock()) struct MySuite { @Dependency(\.continuousClock, as: TestClock<Duration>.self) var testClock // ... }
-
Infrastructure: Docs fixes (thanks @bradhowes, #414).
New Contributors
- @maatheusgois-dd made their first contribution in #383
- @bradhowes made their first contribution in #414
Full Changelog: 1.10.1...1.11.0
1.10.1
What's Changed
- Fixed: Address UUID ambiguity on Windows (thanks @0xpablo, #399).
- Fixed: Make
UUID.init(_:)work with larger integers (#403). - Fixed: '.assert' dependency no longer crashes in Swift Testing (#411).
- Fixed: Improve
#Previewapp entry point detection (#412). - Infrastructure: Document the Swift 6 version of APIs (#393).
- Infrastructure: Fix documentation typos (thanks @heiberg, #402).
- Infrastructure: Update package versioning (#401).
- Infrastructure: Add max line length setting to
.editorconfig(thanks @pyrtsa, #400).
New Contributors
Full Changelog: 1.10.0...1.10.1
1.10.0
What's Changed
- Added:
NotificationCenterdependency, for better Swift Testing support (#385). - Added: Test traits are now async-friendly (#384).
- Fixed: Support SwiftSyntax 602 (#389).
Full Changelog: 1.9.4...1.10.0
1.9.4
1.9.3
What's Changed
- Deprecated: Preview traits have been deprecated as they are not reliable (#368). Prefer
prepareDependencies. - Fixed: Pass correct source location column to issue reporters (thanks @omochi, #363).
- Fixed: Remove outdated warning (#374).
- Fixed: Importing
MuslifGlibcisn't available (thanks @slice, #376). - Fixed: Wasm support (thanks @zp-dzordz, #372).
- Fixed: Suppress unnecessary warnings in previews (#378).
New Contributors
- @omochi made their first contribution in #363
- @slice made their first contribution in #376
- @zp-dzordz made their first contribution in #372
Full Changelog: 1.9.2...1.9.3