This repository was archived by the owner on May 27, 2025. It is now read-only.
Releases: grdsdev/swift-http
Releases · grdsdev/swift-http
0.4.0
0.3.0
Changes
- Add
FetchMocktype for helping to write mocks - Add new
HTTPHeaderstype for case-insensitive HTTP headers - Add new static types for HTTP methods, and HTTP body
- Improvements on
URLSearchParams- Better handling or URL encoding/decoding
- Accept only
Stringvalues
Full Changelog: 0.2.0...0.3.0
0.2.0
Changes
- Specifies minimum support for platforms:
iOS 13,mac Catalyst 13,macOS 10.15,watchOS 6, andtvOS 13. - Make
RequestOptions'sbodyproperty mutable, and change its type to(any Sendable)?, to allow it to be easily mutated. - Remove
bytesconvenience methods, useDatainstead. - Cache collected
DatainResponse'sBodyto allow multiple responses, as:
let response = try await fetch(...)
let json = try await response.json()
let text = try await response.text()Full Changelog: 0.1.1...0.2.0
0.1.1
0.1.0
Full Changelog: https://github.com/grdsdev/swift-fetch/commits/0.1.0