Skip to content

Releases: GoodRequest/GoodNetworking

4.4.2

13 Nov 11:25
f8501fd

Choose a tag to compare

What's Changed

  • feat: Allow any HeaderConvertible in EndpointBuilder by @plajdo in #57

Full Changelog: 4.4.1...4.4.2

4.4.1

05 Nov 12:24
e052519

Choose a tag to compare

What's Changed

  • fix: Sendable CertificateDisposition for Xcode 16 by @plajdo in #56

Full Changelog: 4.4.0...4.4.1

4.4.0

04 Nov 10:43
2f519aa

Choose a tag to compare

What's Changed

  • feat: Authenticate with custom SSL/TLS certificate by @plajdo in #55

Full Changelog: 4.3.2...4.4.0

4.3.2

16 Oct 12:02
ed3ee0e

Choose a tag to compare

What's Changed

  • fix: Fix actor isolation crashes and data races by @plajdo in #54
  • feat: Optimized logging by response MIME type

Full Changelog: 4.3.1...4.3.2

4.3.1

30 Sep 10:11
d01d94d

Choose a tag to compare

What's Changed

Full Changelog: 4.3.0...4.3.1

4.3.0

25 Sep 12:44
5cf2c46

Choose a tag to compare

What's Changed

  • feat: Remove dependency on JSONPath (Sextant) by @plajdo in #52

Full Changelog: 4.2.0...4.3.0

4.2.0

03 Sep 12:43
065d3cd

Choose a tag to compare

What's Changed

  • Composite adapter+retrier by @plajdo in #51
  • Bug fixes

Full Changelog: 4.1.0...4.2.0

4.1.0

25 Aug 09:57
12b9d6a

Choose a tag to compare

What's Changed

  • Support for optionals in URL and Data resolution by @plajdo in #48
  • Small documentation improvements by @plajdo in #47

Full Changelog: 4.0.0...4.1.0

4.0.0

15 Aug 09:10
781e523

Choose a tag to compare

What's Changed

  • Swift 6.2 & GoodNetworking 4.0 by @plajdo in #42

Full Changelog: 3.3.1...4.0.0

Migration guide

  • Removeimport Alamofire and @preconcurrency import Alamofire
  • Replace BaseUrlProvider with URLConvertible
  • Replace func resolveBaseUrl() async -> String? -> func resolveUrl() async -> URL? (in URL providers)
  • Replace func url(on baseUrl: String) throws -> URL in Endpoints with func url(on baseUrl: any URLConvertible) async -> URL? or remove the function completely where default implementation is sufficient. Replace throw-s with return nil.
  • Replace var path: String { with var path: URLConvertible { and import GoodNetworking where required. Take care not to replace unrelated implementations.
  • Wrap string return values returning URLs in URL(string:) or URL(_:) (if optionals are accepted).
  • Replace Alamofire implementation of AuthenticatorInterceptors with new, simpler Authenticator protocol
  • Adapters, Retriers and Interceptors are now from local package (API is similar, but will require manual migration)
  • Simplified error handling to only 3 cases in NetworkError: local (network failure), remote (Invalid HTTP status code, server errors) and decoding (decoding failures).
  • GoodLogger dependency removed and replaced with local logging protocol

2.5.4

05 Aug 07:28
ce54f64

Choose a tag to compare

Xcode 16.4 (Swift 6.1) and newer compatibility fixes