Skip to content

Releases: ihusnainalii/SwiftNetworkKit

v2.0.1

Choose a tag to compare

@github-actions github-actions released this 27 Sep 16:46
0da7056

2.0.1 (2026-09-27)

Documentation

  • bump README version references to 2.0.0 and document new APIs (7594ab9)
  • bump README version references to 2.0.0 and document new APIs (7f88af6)

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 27 Sep 16:06
e480a26

2.0.0 (2026-09-27)

⚠ BREAKING CHANGES

  • give NetworkError.sslPinningFailed a diagnosable reason
  • make SSLPinningConfiguration.includeSubdomains reachable
  • AuthorizationCodeFlow.authorizationURL throws instead of force-unwrapping

Features

  • add NetworkClient.validated(configuration:...), a throwing alternative to the trapping init (3ba3e3f)
  • give NetworkError.sslPinningFailed a diagnosable reason (675a4c7)
  • make SSLPinningConfiguration.includeSubdomains reachable (c928fbd)

Bug Fixes

  • AuthorizationCodeFlow.authorizationURL throws instead of force-unwrapping (858590b)
  • make asSendableError match its own documented behavior (8c79dff)

v1.2.1

Choose a tag to compare

@github-actions github-actions released this 27 Sep 15:44
f5d8f26

1.2.1 (2026-09-27)

Documentation

  • bump README version references to the released 1.2.0 (6546a60)

Tests

  • poll for the revalidation to register before cancelling it (035759a)

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 27 Sep 15:16
4f2f9e3

1.2.0 (2026-09-27)

Features

  • isolate cache and dedup by account and add clearCache() (bf4157b)

Bug Fixes

  • auth: do not hide a failed seed encoding in InMemoryTokenStorage (2e5e09d)
  • auth: surface token storage failures instead of swallowing them (bfd8fa1)
  • cache: hash disk cache keys with SHA-256 and stop persisting cookies (1372b82)
  • cache: let cancelAll stop a background revalidation (9566b00)
  • cache: run stale-while-revalidate refreshes through the queue and log failures (80f4527)
  • client: deregister requests before returning and log offline enqueue failures (730395b)
  • combine: guard the publisher task handle with the existing lock (b4fe786)
  • connectivity: publish network path updates in order (42ca6d0)
  • dedup: name both types when a shared key returns the wrong one (cfbca01)
  • download: report a failed move instead of returning a missing file URL (1ea9f03)
  • keychain: apply the current accessibility class when overwriting an item (257dcbe)
  • keychain: make the availability probe safe to call concurrently (1cbcb63)
  • logging: redact sensitive query items from logged URLs (a997da1)
  • metrics: strip bodies and credentials from failure events (ca4e618)
  • oauth: log the decoding cause of a malformed token response (62ece13)
  • oauth: mask credentials echoed in a failed token response (91f24b0)
  • offline: stop losing queued requests silently (60f0370)
  • pagination: collectAll throws at the page cap instead of returning a partial list (5655ff0)
  • pinning: log why a pin check failed and hash SPKI without CryptoKit (5c0edca)
  • pinning: report an unreadable certificate file as unreadable, not missing (ca4971d)
  • queue: release the queue slot when a waiting request is cancelled (707b81d)
  • revert nonisolated(nonsending) syntax that broke CI's swift-format (2c81ed1)
  • streams: bound the connectivity and offline event buffers (6ea657f)
  • swiftui: treat a cancelled load as neither a failure nor the end of a list (155501b)
  • transfers: run response interceptors for uploads and downloads (613ade7)
  • upload: surface a failed flush when closing a multipart body file (7da744f)
  • use the non-deprecated task-local overload in withCorrelation (209c527)

Performance

  • reuse one HTTP date formatter for Retry-After (b391719)

Documentation

  • demo: add an account-switch walkthrough for per-account cache and clearCache (961f1fc)
  • demo: show per-account caching in the CLI tour (112f01a)
  • document account-scoped cache, query redaction and offline limits; fix CustomAuth example (c051036)
  • note the collectAll page cap and sanitized failure metrics (ab2dce6)
  • note transfer sessions and offline replay limits on the public API (763eeb9)
  • record which QA review items are fixed (e3e37f6)
  • regenerate the API reference (3fb8921)
  • regenerate the API reference (9305e89)
  • update the QA record (cee4229)
  • update the QA record with the remaining fixes and what was skipped (6b67fa0)

Tests

  • only run the exit test where the host can spawn processes (6692f38)
  • skip keychain tests when the host has no keychain instead of failing (f7f333c)

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 10 Sep 06:08
02016a5

1.1.0 (2026-09-10)

Features

  • demo: image develops from a blurred preview as it downloads and… (b4951aa)

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 10 Sep 05:56
4563199

1.0.1 (2026-09-09)

Documentation

  • correct README for 1.0 and record the post-1.0 QA review (de3eec4)

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 09 Sep 19:47
1d80a55

1.0.0 (2026-09-09)

CI

  • build DocC and attach docc-static.tar.gz to each release (f4f9dc4)

Chores

v0.1.6

Choose a tag to compare

@github-actions github-actions released this 09 Sep 19:07
9fb123a

0.1.6 (2026-09-09)

Bug Fixes

  • archive URLRequest as JSON instead of NSKeyedArchiver (923875d)
  • Linux build for aux targets + swift-format @_spi imports (95ddb0e)
  • PKCE SHA-256 on Linux; drop Swift 6.0 from the Linux CI matrix (bb191af)

Tests

  • import FoundationNetworking in tests that use URLRequest/URLSession (5084a1d)
  • skip the downloadTask stub test on Linux (c0cb9ff)

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 09 Sep 18:09
b049574

0.1.5 (2026-09-09)

Documentation

  • generate a complete public API reference from the symbol graph (c3042d6)
  • generate a complete public API reference from the symbol graph (22e5738)

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 09 Sep 15:42
410bae9

0.1.4 (2026-09-09)

Features

  • benchmarks: real measured benchmarks for the package pipeline (8bdd0e2)
  • benchmarks: record real pipeline + concurrency traces (e0fcf00)
  • errors: add NetworkError.isRetryable; brand the SwiftUI demo (7987688)