Skip to content

Releases: pointfreeco/swift-dependencies

1.3.5

24 Jul 18:44
cc26d06
Compare
Choose a tag to compare

What's Changed

  • Fixed: Point Issue Reporting to xctest-dynamic-overlay repo. #251

Full Changelog: 1.3.4...1.3.5

1.3.4

22 Jul 23:12
Compare
Choose a tag to compare

What's Changed

  • Added: Swift Testing beta support (#239).
  • Fixed: Properly cache dependencies during re-entrancy (#249).

Full Changelog: 1.3.3...1.3.4

1.3.3

15 Jul 21:37
Compare
Choose a tag to compare

What's Changed

  • Fixed: Introduce more Swift 6 concurrency fixes (#235; thanks @hallee for addressing Xcode 16 beta 3 compatibility).
  • Fixed: Remove incompatible JavaScript logging on SwiftWasm runtime warning code paths (#242).

Full Changelog: 1.3.2...1.3.3

1.3.2

12 Jul 20:20
9085501
Compare
Choose a tag to compare

What's Changed

  • Changed: Swift Language Support: Drop <5.9, Add 6.0 (#226).
  • Fixed: Allow withRandomGenerator to rethrow errors (thanks @samisuteria, #232).
  • Fixed: Update Package.swift for SwiftSyntax 601-prerelease via new swiftlang GitHub organization (#231; #240).
  • Infrastructure: Remove reference to archived Cleanse project in README (thanks @BrentMifsud, #225).
  • Infrastructure: Add .editorconfig for consistent code formatting (thanks @Matejkob, #236).

New Contributors

Full Changelog: 1.3.1...1.3.2

1.3.1

12 Jun 21:44
00bc30c
Compare
Choose a tag to compare

What's Changed

  • Fixed: Remove insecure assert and precondition setters (#214). The ability to override these dependencies posed a security risk if a third party did so, so the library should prevent the possibility.
  • Fixed: Avoid deadlock when dependency values is first initialized if the main thread is blocked (#219).
  • Fixed: Support swift-syntax from 600.0.0-latest (#223).
  • Fixed: Silence some Swift 6 warnings (#224).

Full Changelog: 1.3.0...1.3.1

1.3.0

08 May 16:25
Compare
Choose a tag to compare

What's Changed

  • Added: assert and precondition dependencies, for making Swift assertions testable (#213).
  • Fixed: @DependencyClient now ignores static properties (thanks @rhysm94, #196).
  • Fixed: Improve runtime warning when no liveValue is defined (#206).
  • Fixed: Address some strict concurrency sendable warnings (#207).
  • Fixed: Improve @DependencyEndpoint failure messages by incorporating the type name (#208).
  • Fixed: @DependencyClient support for the package access modifier (thanks @ivanlisovyi, #209).
  • Fixed: @DependencyClient will now automatically ignore @Dependency properties via the new @DependencyEndpointIgnored marker macro (thanks @freak4pc, #212).
  • Infrastructure: Fix documentation (thanks @gibachan, #198).

New Contributors

Full Changelog: 1.2.2...1.3.0

1.2.2

05 Mar 00:44
Compare
Choose a tag to compare

What's Changed

  • Fixed: Support swift-syntax 510.0 (#190).
  • Infrastructure: Document Swift compiler bug in @DependencyClient (#189).

Full Changelog: 1.2.1...1.2.2

1.2.1

01 Feb 21:56
09e49dd
Compare
Choose a tag to compare

What's Changed

  • Fixed: @DependencyClient no longer fails when using Swift 5.9's package modifier (thanks @nhenri, #180).
  • Fixed: Sendability warnings have been addressed (#174).
  • Infrastructure: Update documentation for dependency key shorthand (#176).

New Contributors

Full Changelog: 1.2.0...1.2.1

1.2.0

22 Jan 22:58
Compare
Choose a tag to compare

What's Changed

  • Added: DependencyKey and TestDependencyKey now have a Value primary associated type (#173).
  • Added: @Dependency(MyDependency.self), for specifying a dependency by a type name instead of a key path (#172).
  • Fixed: Test values are now cached when accessed in a live context (thanks @oronbz, #78). This ensures a dependency isn't recreated every single time it is accessed in an application.
  • Fixed: XCTest is now dynamically linked on non-Apple platforms, like Linux and Windows (thanks @compnerd, #169).
  • Infrastructure: Improved macro warning message (thanks @ZevEisenberg, #167).
  • Infrastructure: Updated installation snippet (thanks @x-0o0, #168).
  • Infrastructure: Simplify WASI handling in tests (thanks @compnerd, #170).

New Contributors

Full Changelog: 1.1.5...1.2.0

1.1.5

15 Dec 22:19
c31b144
Compare
Choose a tag to compare

What's Changed

  • Fixed: @DependencyClient no longer tries to apply @DependencyEndpoint to let properties (#163).
  • Fixed: @DependencyClient no longer tries to apply @DependencyEndpoint to computed properties with explicit get blocks (#163).
  • Fixed: @DependencyEndpoint now properly forwards willSet and didSet accessors to the underlying storage (#163).
  • Infrastructure: Document default value requirement for @DependencyClient endpoints (#164).

Full Changelog: 1.1.4...1.1.5