Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

0.2.0

Choose a tag to compare

@grdsdev grdsdev released this 13 Jan 16:59
· 29 commits to main since this release

Changes

  • Specifies minimum support for platforms: iOS 13, mac Catalyst 13, macOS 10.15, watchOS 6, and tvOS 13.
  • Make RequestOptions's body property mutable, and change its type to (any Sendable)?, to allow it to be easily mutated.
  • Remove bytes convenience methods, use Data instead.
  • Cache collected Data in Response's Body to 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